Can a study remove itself from a chart?
Can a study remove itself from a chart?
If i call Dispose() it results in an exception, the indicator appears to be gone but the chart pane wont close. Is there a way to do this?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Can a study remove itself from a chart?
Hello AlphaCat,
There is no way for a study to completely remove itself from the chart. Dispose and Destroy should not be called from your code, they are used by MultiCharts for release of unmanaged resources.
There is no way for a study to completely remove itself from the chart. Dispose and Destroy should not be called from your code, they are used by MultiCharts for release of unmanaged resources.