DM strategy | Hire a Consultant or Programmer

# DM strategy

 August 27th, 2015, 08:36 PM #1 (permalink) tamerrashdan  Elite Member New York   Trading Experience: Beginner Platform: NT Broker/Data: AMP/CQG Favorite Futures: ES   Posts: 122 since Oct 2011 Thanks: 14 given, 73 received DM strategy I have an idea for a strategy It uses DM which comes with NinjaTrader There are 2 values +D and -D At each bar close the strategy will calculate (+D)-(-D) taking both absolute values for +D and -D For example +D=17.23 -D=-15.68 So the strategy will calculate 17.23-15.68 and we will call this value D Of course if -D=22.16 then D=17.23-22.16 I'm sure you get the idea by now Whenever the strategy starts, it will calculate D after the close of the price bar For bar 1 we have D1 For bar 2 we have D2 For bar 3 we have D3 And so on To go long the value D has to be going up 2 price bars in a row and to to go short the value D has to be going down 2 price bars in a row This is why when the strategy first starts, it will calculate D for 3 bars first and if D3>D2>D1 then it enters long position and if D3D(n-1)>D(n-2), it will enter long at market If D(n)