ArePlotsConfigurable

View as Markdown

Definition

Determines if the plot(s) used in an indicator are configurable within the indicator dialog window.

Property Value

A bool which returns true if any indicator plot(s) are configurable; otherwise, false. Default set to true.

Syntax

ArePlotsConfigurable

Examples

protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
AddPlot(Brushes.Orange, "SMA");
ArePlotsConfigurable = false; // Plots are not configurable in the indicator dialog
}
}