Thank you!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
What does this code do?
Collapse
X
-
What does this code do?
Hi - I'm wondering what does the code in the screenshot do? I have 2 more additonal data series. It's generated by the builder. I'm not sure if they need to be changed or not.
Thank you!
1 PhotoTags: None
-
Hello HiddenPhilosopher,
This code will prevent the code from continuing if the primary series is not processing if there are multiple series added to a script, and will prevent the code from continuing if the first series (the primary series BarsInProgress 0) or the third series (BarsInProgress 2) do not have at least one bar to process in OnBarUpdate().
Chelsea B.NinjaTrader Customer Service
-
My primary series is 1 minute, and I added 30 minute additional data series. My strategy uses 200 EMA on 30 minute bar data. Apparently, to calculate 200 EMA, it needs to have 200 30 minute historical bars when strategy is started. How should I set properly to make it work? Please help me understand it. Thank you!Originally posted by NinjaTrader_ChelseaB View PostHello HiddenPhilosopher,
This code will prevent the code from continuing if the primary series is not processing if there are multiple series added to a script, and will prevent the code from continuing if the first series (the primary series BarsInProgress 0) or the third series (BarsInProgress 2) do not have at least one bar to process in OnBarUpdate().
https://ninjatrader.com/support/help...inprogress.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
134 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
118 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment