1) Add a strategy for first time and enable it through Strategy Dialog
2) Refresh chart that has running strategy on it by pressing F5.
3) Using Strategies Tab of ControlPanel. Clicking on Enable checkbox to stop/start the strategy.
I have found that the indicators that the strategy loads do not get initialized the same way in each of these scenarios.
The attached sample strategy shows that in scenario 3 (Strategies Tab of ControlPanel) , the ChartPanel property of each indicator is null when the strategy is started from the Strategies Tab, when in the other two scenarios, it is correctly initialized.
Seems like a bug because the code goes through all the states as expected and the ChartPanel is still null in the OnBarUpdate method.
Gary
Comment