Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 06 May 2013, 02:31 PM

Dharam,

You cannot really this strategy live because it is based on daily candles or daily chart. But yes you can in the evening backtest the strategy and if an buy/sell indicator comes you can take a buy/sell the next day.

Buy: CLOSE > ((REF(HIGH, 1) + REF (LOW, 1) + REF(CLOSE, 1))/ 3) * 1.001

Sell: CLOSE < ((REF(HIGH, 1) + REF (LOW, 1) + REF(CLOSE, 1))/ 3) * 0.999

Buy exit: 0
Sell exit: 0

Once you have saved the strategy, open intraday historical chart and backtest. If a buy/sell indicator comes up, you can take the trade the next day.

View the full comment thread »