NexusFi: Find Your Edge


Home Menu

 





DM strategy


Discussion in Traders Hideout

Updated
    1. trending_up 1,093 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 tamerrashdan 
New York
 
Experience: Beginner
Platform: NT
Broker: AMP/CQG
Trading: ES
Posts: 125 since Oct 2011
Thanks Given: 14
Thanks Received: 76

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 D3<D2<D1 then it enters short position
There is no target/stoploss/breakeven
The strategy will reverse on 2 consecutive D's going the other way
If it is long and D goes down in value for 2 price bars in a row then it will reverse short
If it is short and D goes up in value for 2 price bars in a row then it will reverse long
Sorry if it is complicated
Please let me know what you think
The strategy will always look back 3 price bars where the current D is D(n)
If D(n)>D(n-1)>D(n-2), it will enter long at market
If D(n)<D(n-1)<D(n-2), it will enter short at market
The strategy will reverse if the opposite condition applies
Thanks


Follow me on X Started this thread Reply With Quote




Last Updated on August 27, 2015


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts