I am testing the DMindex and found some issue with it.
The custom strategy is very basic:
if CrossAbove(DMIndex(3), 10, 1) EnterLong if CrossBelow(DMIndex(3), 65, 1) && Close[0] >= Position.AvgPrice) ExitLong
If I backtest from 1 Jan. 2010 to 1 Nov. 2011 it generates 4 trades
- 03/02/2010 to 26/02/2010
- 08/03/2010 to 12/03/2010
- 19/04/2010 to 31/12/2010
- 17/03/2011 to 07/06/2011
If I backtest from 1 Jan. 2009 to 1 Nov. 2011 it generates only 2 trades
- 09/02/2009 to 31/03/2009
- 17/03/2011 to 07/06/2011
I do not understand at all why the 3 trades that happened in 2010 are not executed!!!
I know re DMIndex
I've also plotted the DMIndex on another charting platform and the results are quite different. With NT the DMIndex of 15/04/2010 is 3.32 while for the other it is 54.9. The definition is the same and I was expecting the same levels.
All in all I was wondering if there was an issue with the definition of the DMIndex or something else because of these inconsistencies.
Any brilliant ideas/explanations?
Kind regards,
Chris
Comment