Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
BarsInProgress question
Collapse
X
-
BarsInProgress question
If I Add a tick Bars object (Add(Period.Tick,150) - BarsInProgress index = 1 - to a 30 Minutes Bar Chart - BarsInProgress index = 0 - which one will trigger first on historical and real time data with CalculateOnBarClose = false;
Thanks
Tags: None
-
Hello,
Thanks for your note.
If I understand your question correctly the smallest time frame OnBarUpdate() will always occur first.
Also OnBarUpdate() will not run for any BarsArray until all data is there for all BarsArrays. Then the indicator/strategy will start its OnBarUpdate() loop.
For example, you have tick data back to this 1st of this month but Minute data a year back. The indicator will only run a Month back.
Let me know if I can be of further assistance.BrettNinjaTrader Product Management
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment