HighPoint=Avg[BarsInProgress];
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Multi Time Frame Tick Bars
Collapse
X
-
Multi Time Frame Tick Bars
When using multiple time frames of tick bars, it appears that only the main instrument is firing the OnBarClose() method. This is causing my code to execute improperly when I use BarsInProgress as follows. Is there a way around this? Will this affect the code when running live?
Code:Tags: None
-
My mistake. FYI it was not firing because I had the period type as minute instead of tick.
Code:protected override void Initialize() { Add(PeriodType.Minute,TimeFrame1); }
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
605 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
351 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment