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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
182 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
334 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
258 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
358 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
188 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment