First off, if I create a band new chart, say for "RTY 12-23" in a new tab with no indicators or strategies, then add a strategy, even a simple one like "Sample MA crossover", the bars on the chart disappear and the price scale is centered at zero. If you enable the strategy, the price scale recovers to the current price and the strategy begins. But when disabled, it goes back to zero. It was doing this on my strategy, and thought I had done something to cause it, but I can repeat it on other sample strategies as well. If, however, you add any indicator to the chart, like an EMA, this behavior goes away. So, for now I just add an indicator to keep it visible.
My strategy also includes the EMA, SMA, and Swing indicators in the code using the AddChartIndicator() function. This works well, but also is only visible when enabled. Is there a way to keep them visible when not enabled?
My strategy primarily uses the 1 Minute chart, but also needs a 5 Minute data series. This works ok and the 5-minute SMA displays as expected on the 1-minute chart. However, the execution markers disappear when the strategy is attached and enabled. If I manually add the 5-minute data series to the chart, the execution markers display on the 5-minute pane, but not the 1-minute one where the strategy is applied.
I have a lot more questions, but this is a good start. Will keep searching the Forum and see if I can find some of the other answers.
Thanks in advance!
Dave.
Comment