I have a strategy which places a corporate logo on the chart, by placing a control in the UserControlCollection. This works just fine when the strategy is enabled from the chart's Strategy dialogue window, or by pressing F5 to reload the chart.
If, however, the strategy is currently not enabled and the checkbox to enable it is clicked in the Strategies tab of the Control Centre, the logo is not visible. Note this is the same strategy, still running on a chart, but just its Enable property set from a different location. It is as if the UserControlCollection is not the same one if the strategy is Enabled on the Control Centre.
I even wrote some code to wait until the chart window is active, and THEN putting the logo on, but there was no improvement - it is still missing if the original enabling occurred from the Control Centre.
Thoughts?
Thanks.
saltminer
Comment