I can distinguish between "yours" State.Terminated and "mine" State.Terminated , which , i presume should occur , when the indicator is removed from a chart, placing a flag in State.Configure or State.Dataloaded code.
However I would like to understand how things work internally.
I generated test indicator, which doesn't do nothing .
Placing breakpoints in Visual studio I noticed the following scenario:
1) When "indicators" window is opened on a chart, NT traverses all State.SetDefaults for all items (indicators, strategies, bartypes etc...)
2) When my test indicator is added to "configured" tab, before pressing OK , the following state changes are accessed.:
SetDefaults
3) When OK is pressed the following occurs:
Terminated
SetDefaults again.
Configure
DataLoaded.
Please explain. Sorry in case it is described in help. Thanks.
Comment