NinjaScript > Language Reference > Indicator >

PaintPriceMarkers

Print this Topic Previous pageReturn to chapter overviewNext page

Definition
If true, any indicator plot values are displayed by price markers in the y-axis.

 

Property Value

This property returns true if the indicator plot values are displayed in the y-axis; otherwise, false. Default set to true.

 

Syntax

PaintPriceMarkers

 

 

Examples

// Initialize method of a custom indicator
protected override void Initialize()
{
    Add(new Plot(Color.Orange, "SMA"));
    PaintPriceMarkers = true; // Indicator plots values are displayed in the y-axis
}