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

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