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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X