PaintPriceMarkers

View as Markdown

Definition

If true, any indicator plot values display price markers in the y-axis.

Property Value

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

Warning: This property should ONLY be set from the OnStateChange() method during State.SetDefaults or State.Configure.

Syntax

PaintPriceMarkers

Examples

1protected override void OnStateChange()
2{
3 if (State == State.SetDefaults)
4 {
5 PaintPriceMarkers = true; // Indicator plots values display in the y-axis
6 AddPlot(Brushes.Orange, "SMA");
7 }
8}