I would like to understand better the sequence of Initialize and Dispose of an Indicator in NT7.
I have one chart window open and on this chart MyIndicator is loaded.
So it shows up as MyIndicator(ES 12-09,1Min,..)
fine.
Now I put some Print statements in Dispose and Initialize
Then I change the symbol in the chart window from ES 12-09 to FDAX 12-09.
From the Print statements I get.
MyIndicator(FDAX(12-09).Dispose ( ????? My expectation: MyIndicator(ES 12-09)
MyIndicaor(FDAX(12-09).Initialize
MyIndicator(FDAX(12-09).Dispose
Now I am puzzled:
I would expect the first .Dispose to be associated with the (ES 12-09) Instrument, which is the one beeing disposed.
Could you please enlight what is happening?
P.S. Please enable debugging for the scripts, it is almost impossible to debug only via Print statements.
Best regards
Andreas

thank you Ray
Comment