Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator executed on future bars
Collapse
X
-
Indicator executed on future bars
Hi, when debugging single-timeframe indicator on historical data, it usually calls OnBarUpdate() only on visible bars. OnBarUpdate() for the bars behind the right side is executed after I scroll the chart to see them. One question is why this does not happen always...I have not found a consitency. Sometimes it waits, sometimes OnBarUpdate() is called for all the bars, even the hidden on the right. Second question, why it never waits in multi-timeframe indicator? I cannot check the output bar by bar, OnBarUpdate() is called for every bar, regardless if it's hidden or not. Is there a way how can I control this behavior and switch it off? Thank you.Tags: None
-
Hello mantak007,
Single series indicators will process all bars up to the last visible bar on the chart until you scroll to the right to see more bars, then it will also process those as well.
Multiseries indicators however will process all bars all the way to the last bar loaded on the chart regardless of where you have the chart scrolled to.
This is expected and how the bars are referenced in NinjaTrader and there are no settings to overirde the behavior.JoydeepNinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
579 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment