Page 1 of 1

ItSelf() is returning invalid properties after chart close

Posted: Tue Sep 26, 2006 3:01 pm
by michal.kreslik
Hello,

NTIndicatorObjects.ItSelf() is returning invalid properties if the chart from which the indicator was called is closed without removing the indicator first.

See the attached pic.

Michal

Posted: Tue Sep 26, 2006 3:12 pm
by michal.kreslik
This is how the ItSelf() properties look when the indicator is applied to the chart and everything is OK:


Posted: Tue Sep 26, 2006 3:18 pm
by michal.kreslik
I'm trying to detect the event of IDL indicator chart being closed.

From the above ItSelf() properties listings, it seems the best way will be to check for ItSelf().FuncName change to "Unknown" value.

Although this doesn't look like the best programming practice.

Michal