I load an indicator, during the startup method. I assign a property on the indicator to something. I then switch timeframes on the chart. The property I set before is related to the timeframe and I expect the property to be updated. I see it in the "watch window", the startup method runs again, the afforementioned property gets assigned its new value. Them BAM! It goes back to the freaking old value!
I'm going nuts here! Is there some kind of voodoo serialization at work? I've tried calling dispose() on just about everything I can, but it won't forget the previous value.
How can I make the indicator start with a clean slate and forget EVERYTHING before I changed the timeframe? I want to start afresh...
Comment