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

1 protected override void OnStateChange()
2 {
3 if (State == State.SetDefaults)
4 {
5 AddPlot(Brushes.Orange, "SMA");
6 ArePlotsConfigurable = false; // Plots are not configurable in the indicator dialog
7 }
8 }