NinjaScript > Language Reference > Indicator >

VerticalGridLines

Print this Topic Previous pageReturn to chapter overviewNext page

Definition
Plots vertical grid lines on the indicator panel.

 

Property Value

This property returns true if vertical grid lines are plotted on the indicator panel; otherwise, false. Default set to true.

 

Syntax

VerticalGridLines

 

 

Examples

// Initialize method of a custom indicator
protected override void Initialize()
{
    Add(new Plot(Color.Orange, "SMA"));
    VerticalGridLines = false; // Vertical grid lines will not plot on the indicator panel
}

 

 

Tips

1.The indicator panel's parent object has a similar property 'VerticalGridLines' which if set to false, will override the indicator's local setting if true.