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[[COLOR="Red"][B]1[/B][/COLOR]];
    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.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X