Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 31 Jul 2013, 11:07 AM

Buy Alert Expression:
Close > DHIGH (2)
Sell Alert Expression:
Close < DLOW (2)

About backtesting, if you run it on historical daily chart, the results may not be the best because on daily chart, the buy/sell will come only end of the day.

If you are looking at backtesting on intraday data, we presently give only 22 days intraday data, so you can backtest on that. The new version of algoZ will have a lot more days of intraday data to backtest on. Check the blog , an example for more.

View the full comment thread »