AreLinesConfigurable

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Indicator > AddLine() >

AreLinesConfigurable

Previous page Return to chapter overview Next page

Definition

Determines if the line(s) 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

ns


protected override void OnStateChange()
{
    if (State == State.SetDefaults)
    {
        AddLine(Brushes.Gray, 30, "Lower");
        AreLinesConfigurable = false; // Indicator lines are not configurable
    }
}