Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator recalculating prior bar values

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

    Indicator recalculating prior bar values

    I have an indicator based on multi-data series. The problem is that it is recalculating prior bar values. Is there a way to stop prior bar values being recalculated once that bar has closed?

    #2
    Hi Sparkyboy,

    You could use a bool that is set to false after a bar closes and then reset to true after some criteria. Then you could have your calculations be done only if the bool is false.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X