Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 04 May 2013, 10:16 AM

APM,

If you want to use the 5 min candle on the chart, you can right click on the chart and change the interval from 1 min to 5min.

If you want to use a 5 min candle while going live, you will need to set it in the alert preferences box. Check this example.

Buy: CLOSE > EMA (CLOSE, 34) AND SOPK(20, 3, 4, SIMPLE) > SOPD (20, 3, 4) AND REF (SOPK(20, 3, 4, SIMPLE), 1) < REF(SOPD(20, 3, 4, SIMPLE), 1) AND SOPD (20, 3, 4) > 30

Sell: CLOSE < EMA (CLOSE, 34) AND SOPK(20, 3, 4, SIMPLE) < SOPD (20, 3, 4) AND REF (SOPK(20, 3, 4, SIMPLE), 1) > REF (SOPD(20, 3, 4, SIMPLE), 1) AND SOPD (20, 3, 4) < 80

View the full comment thread »