Momentum

StockSharp.Algo.Indicators

Momentum.

Erbt von: DecimalLengthIndicator

Konstruktoren

Momentum()

Initializes a new instance of the Momentum.

Eigenschaften

Measure : IndicatorMeasures

IndicatorMeasures.

NumValuesToInitialize : int

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Methoden

CalcIsFormed() : bool

Calc IsFormed.

Rückgabe: IsFormed

GetCapacity() : int

Gets the capacity of the buffer for data storage.

Rückgabe: The capacity of the buffer. By default, it is equal to Length.

OnProcessDecimal(IIndicatorValue) : decimal?

To handle the input value.

input
The input value.

Rückgabe: The new value of the indicator.