DiPart

StockSharp.Algo.Indicators

The part of the indicator DirectionalIndex.

Erbt von: DecimalLengthIndicator

Konstruktoren

DiPart()

Initialize DiPart.

Eigenschaften

NumValuesToInitialize : int

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

Methoden

GetValue(ICandleMessage, ICandleMessage) : decimal

To get the part value.

current
The current candle.
prev
The previous candle.

Rückgabe: Value.

OnProcessDecimal(IIndicatorValue) : decimal?

To handle the input value.

input
The input value.

Rückgabe: The new value of the indicator.

Reset()

Reset state.