I've got a bunch of indicators that plot below the chart panel. When I load them on a chart, the ranges of their scales are set to 'Automatic' by default.
I've looked at the NinjaTrader documentation about ChartPanel, Scales, and PanelIndex, but I didn't understand how to put all the pieces together.
Specifically, I'd like to set the scales of these indicators to 'Fixed' from within the indicator code and set the upper MaxValue and the lower MinValue that indicate the maximum and the minimum Y value of objects within the chart panel.
How should I do that?

Comment