Are there any conditions under which OnStartUp would not be called, especially in Replay Mode?
I have some code to initialize some List<> variables and started getting Object reference not set... I am doing the new List... in OnStartUp so I put a print statement to see where things were going wrong.
The Print statement isn't getting executed either. Maybe I have this wrong but if I hit F5 to refresh the chart, I thought I would reload the indicator and should therefore go through Initialize and OnStartUp again.
When using Lists is there anything I should be putting in Dispose() that could cause this (I have nothing in Dispose relating to these Lists)?
Any thoughts?
Best Regards,
Scott
Comment