DiPart

StockSharp.Algo.Indicators

The part of the indicator DirectionalIndex.

继承自: DecimalLengthIndicator

构造函数

DiPart()

Initialize DiPart.

属性

NumValuesToInitialize : int

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

方法

GetValue(ICandleMessage, ICandleMessage) : decimal

To get the part value.

current
The current candle.
prev
The previous candle.

返回值: Value.

OnProcessDecimal(IIndicatorValue) : decimal?

To handle the input value.

input
The input value.

返回值: The new value of the indicator.

Reset()

Reset state.