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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
57 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
78 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
39 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
101 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
61 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment