So if there perhaps is something like Bars.IsHistorical == True.. that would be great.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Check if bar is historical or not
Collapse
X
-
Check if bar is historical or not
Is there a way in a script to check if the bar is historical? For example: when I run a strategy in a live environment, I want to skip any logic that is based on historical bars.
So if there perhaps is something like Bars.IsHistorical == True.. that would be great.Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 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
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment