This is the plot statement:
Add(new Plot(Color.Blue, "ROC"));
I assume that this defaults to PlotStyle.Line.
Add a indicator to a panel. Like HMA(Close,20); Need to ass an indicator so that the y-axis gets set. Now add myRoc(Close,True, 14) to the panel. Set the user parameter: BolPlotBckGrnd to True. As far as I can tell it does not make any difference if Auto scale is true or false.
Using this setup, try changing the Plot Style from Line to Dot, Hash, and Square. All of these styles have no effect on the y-axis. Now try, Style = Bar. Notice how the y-axis has now changed even though nothing is being plotted. And Auto scale = True or False makes no difference.
Is this by design or is this a bug.
Thanks,
Comment