AreLinesConfigurable

View as Markdown

Definition

Determines if the line used in an indicator are configurable from within the indicator dialog window.

Property Value

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

Syntax

AreLinesConfigurable

Examples

Please note that in the following example, the indicator lines are not configurable.

1protected override void OnStateChange()
2{
3 if (State == State.SetDefaults)
4 {
5 AddLine(Brushes.Gray, 30, "Lower");
6 AreLinesConfigurable = false; // Indicator lines are not configurable
7 }
8}