In a strategy I am using AddChartIndicator.
The indicator that is added uses OnRender to draw stuff on the chart.
Sometimes (not always), when the strategy disabled, the Indicator is left on the chart as a phantom.
How do I know this?
1. The OnRender continues to work so I can see the graphics on the chart
2. When I go to the Indicator list, these hidden indiactors are in the list (just without the name). I can select them with the mouse and remove them.
3. Once I remove these phantom indicators from the indicator list, the rendedred objects also disappear from the chart
I have a log of the machine where this is happening. There are a few rendering related errors in there but not sure its related.
Comment