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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
68 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
151 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
100 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
288 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment