ChoppinessIndex

StockSharp.Algo.Indicators

Choppiness Index indicator.

Inherits: DecimalLengthIndicator

Constructors

ChoppinessIndex
public ChoppinessIndex()
choppinessIndex = ChoppinessIndex()

Initializes a new instance of the ChoppinessIndex.

Properties

Measure
public override IndicatorMeasures Measure { get; }
value = choppinessIndex.Measure

IndicatorMeasures.

Methods

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = choppinessIndex.OnProcessDecimal(input)

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

Reset
public override void Reset()
choppinessIndex.Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).