DemandIndex

StockSharp.Algo.Indicators

Demand Index indicator.

继承自: SimpleMovingAverage

构造函数

DemandIndex()

Initializes a new instance of the DemandIndex.

属性

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.

方法

OnProcessDecimal(IIndicatorValue) : decimal?

To handle the input value.

input
The input value.

返回值: The new value of the indicator.

Reset()

Reset state.