Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 26 Apr 2013, 11:25 AM

As explained to Jimmy above, a pretty simple code:

Buy expression: EMA(Close,3)>EMA(Close,15)
Buy exit: 0

Sell Expression: EMA(Close,3)<EMA(Close,15)
Sell exit: 0

Gautam, after writing, when you are backtesting the strategy, first open the historical chart which will by default give daily candles. Click on backtest as shown in the simple example. It will now show you backtested result for the above as per daily candles.

If it is daily candle that you are using, you can’t take the strategy live, in the sense the chart will show you a buy/sell at the end of the day and you will have to execute it manually the next day.


View the full comment thread »