Any help would be appreciated. Thank you.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Chart Type
Collapse
X
-
Hello Zeos6,
Thanks for opening the thread.
You can use BarsPeriod to tell you about the primary data series.
Here are a couple conditions as an example.
Detects if the primary data series is tick based.
Detects if the data series is a minute chart with a period less than 1440. (There are 1440 minutes in a day.)Code:if (BarsPeriod.BarsPeriodType == BarsPeriodType.Tick) { }
BarsPeriod can be referenced here: https://ninjatrader.com/support/help...barsperiod.htmCode:if (BarsPeriod.BarsPeriodType == BarsPeriodType.Minute && BarsPeriod.Value < 1440) { }
Please let me know if I may be of further help.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
557 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment