IntradayMomentumIndex

StockSharp.Algo.Indicators

Intraday Momentum Index (IMI) indicator.

Inherits: LengthIndicator<ValueTuple<decimal, decimal>, CircularBufferEx<ValueTuple<decimal, decimal>>>

Constructors

IntradayMomentumIndex
public IntradayMomentumIndex()
intradayMomentumIndex = IntradayMomentumIndex()

Initializes a new instance of the IntradayMomentumIndex.

Properties

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

IndicatorMeasures.

Methods

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

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

Reset
public override void Reset()
intradayMomentumIndex.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).