ItSelf() is returning invalid properties after chart close

C# discussion

Moderator: moderators

User avatar
michal.kreslik
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Sat May 13, 2006 2:40 am
Reputation: 0
Location: Monte Carlo, Monaco
Real name: Michal Kreslik
Gender: Male
Contact:

ItSelf() is returning invalid properties after chart close

Postby michal.kreslik » Tue Sep 26, 2006 3:01 pm

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
Attachments
ItSelfProperties.png
ItSelfProperties.png (14.18 KiB) Viewed 378 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
michal.kreslik
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Sat May 13, 2006 2:40 am
Reputation: 0
Location: Monte Carlo, Monaco
Real name: Michal Kreslik
Gender: Male
Contact:

Postby michal.kreslik » Tue Sep 26, 2006 3:12 pm

This is how the ItSelf() properties look when the indicator is applied to the chart and everything is OK:


User avatar
michal.kreslik
rank: 1000+ posts
rank: 1000+ posts
Posts: 1032
Joined: Sat May 13, 2006 2:40 am
Reputation: 0
Location: Monte Carlo, Monaco
Real name: Michal Kreslik
Gender: Male
Contact:

Postby michal.kreslik » Tue Sep 26, 2006 3:18 pm

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

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “C# coding for NeoTicker”