Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Prior Day Values for ADX, +DMI, and -DMI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_RyanM1
    replied
    Hello TrendTracker,

    You can reference other indicator values if they're plots. ADX is a plot so that will work.

    +DMI and -DMI are available as plots as part of the DM indicator. You can access them through:

    DM(14).DiPlus[0]
    DM(14).DiMinus[0]
    Last edited by NinjaTrader_RyanM1; 05-12-2010, 12:58 PM. Reason: Simpler solution

    Leave a comment:


  • TrendTracker
    started a topic Prior Day Values for ADX, +DMI, and -DMI

    Prior Day Values for ADX, +DMI, and -DMI

    I am doing a set of calculations that require prior day values for ADX, +DMI, and -DMI. I can get the prior day value of ADX by using "ADX(period)[1]". Is their a similar way of getting prior day values for +DMI and -DMI, or do I have to go through the same set of calculations used in the NinjaScript code for the DM indicator?

    Thanks in advance.

    Bob

Latest Posts

Collapse

Topics Statistics Last Post
Started by gbajaj, Yesterday, 11:16 PM
0 responses
1 view
0 likes
Last Post gbajaj
by gbajaj
 
Started by PWillard, Yesterday, 10:30 PM
0 responses
1 view
0 likes
Last Post PWillard  
Started by waldoalvarez, 06-19-2021, 05:50 AM
2 responses
16 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by Noongun, Yesterday, 03:17 PM
1 response
9 views
0 likes
Last Post NinjaTrader_EricB  
Started by Reardon, Yesterday, 12:48 PM
1 response
21 views
0 likes
Last Post NinjaTrader_EricB  
Working...
X