I want to reset some of the indicator settings in my code.
I can do this - it works well and it saves the settings fine.
Now I'm trying to do this when the indicator/workspace/chart/Ninja is being closed. So - when they close the indicator, I'd like to have an event in which I execute some code.
The OnTermination event does allow me to execute code but it appears this is too late to make changes to the indicator settings - I would guess that's because they've already been saved.
So - is there an even that will trigger when the indicator is being closed but before Ninja has saved away all the settings?
Thanks
Pete
Comment