Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicators and order of State.DataLoaded
Collapse
X
-
Indicators and order of State.DataLoaded
I have an indicator that creates other indicators to be used to do its calculations. The parent indicator creates the other indicators in State.Configure. The child indicators State.DataLoaded is occurring after the parents State.DataLoaded. Why isn't the child indicator executing State.DataLoaded first?Tags: None
-
Hello ntbone,
I don't know of any resources which would outline details on why that order of processing is used, are you seeing some kind of problem? If you are seeing a problem please provide details about the situation you are seeing including relevant code if there is a problem happening with some code.
-
The problem is that my parent indicator needs the child indicator to have executed the DataLoaded state before it executes its own DataLoaded state. Since the order of execution is not happening I am having to move the code in the parent one to a later state and add extra checks to make sure its only executed twice. I moved the code to State.Historical and the documetnation says there are situations where State.Historical may execute more then once..
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
639 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 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
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
572 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment