Momentum

StockSharp.Algo.Indicators

Momentum.

继承自: DecimalLengthIndicator

构造函数

Momentum()

Initializes a new instance of the Momentum.

属性

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.

方法

CalcIsFormed() : bool

Calc IsFormed.

返回值: IsFormed

GetCapacity() : int

Gets the capacity of the buffer for data storage.

返回值: The capacity of the buffer. By default, it is equal to Length.

OnProcessDecimal(IIndicatorValue) : decimal?

To handle the input value.

input
The input value.

返回值: The new value of the indicator.