DisparityIndex

StockSharp.Algo.Indicators

Disparity Index indicator.

Inherits: SimpleMovingAverage

Constructors

DisparityIndex
public DisparityIndex()
disparityIndex = DisparityIndex()

Initializes a new instance of the DisparityIndex.

Properties

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

IndicatorMeasures.

Methods

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

To handle the input value.

input
The input value.

Returns: The new value of the indicator.