ScaleJustification

NinjaScript > Language Reference > Indicator >

ScaleJustification

Print this Topic Previous pageReturn to chapter overviewNext page

Definition
Determines which scale the indicator will be plotted on

 

Property Value

This property returns a ScaleJustification value of either:

 

ScaleJustification.Right

ScaleJustification.Left

ScaleJustification.Overlay

 

 

Syntax

ScaleJustification

 

 

Examples

// Initialize method of a custom indicator
protected override void Initialize()
{
    Add(new Plot(Color.Orange, "SMA"));
    ScaleJustification = ScaleJustification.Left; // Indicator will be plotted on the left scale
}