NinjaScript > Language Reference > Indicator >
AutoScale
Definition If true, the indicator plot(s) are included to determine the y scaling of the chart.
Property Value
This property returns true if the indicator plot(s) are included in the y-scale; otherwise, false. Default set to true.
Syntax
Examples
// Initialize method of a custom indicator protected override void Initialize() { Add(new Plot(Color.Orange, "SMA")); AutoScale = false; }