• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Previous day values Pivots()

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

    Previous day values Pivots()

    How in the strategy to get the values of the levels Pivots() of the previous day?

    This code does not work:
    Code:
    Pivots(PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 20).Pp[1];
    How to do it right?
    Last edited by Kostiantyn; 04-09-2017, 12:40 PM.

    #2
    Hello Kostiantyn,

    From my understanding, the Pivots indicator does not hold these values for previous days.

    On each day, you will need to save these values to a series or to a variable or array so that you can call them at a later time.

    http://ninjatrader.com/support/helpG...us/seriest.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by iq200, Today, 01:33 PM
    0 responses
    2 views
    0 likes
    Last Post iq200
    by iq200
     
    Started by lunardiplomacy, Today, 07:57 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by PN720, Today, 12:54 PM
    0 responses
    4 views
    0 likes
    Last Post PN720
    by PN720
     
    Started by billythekid72, Today, 12:09 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by alcorr247, Today, 12:29 PM
    2 responses
    11 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X