DirectionalIndex

StockSharp.Algo.Indicators

Welles Wilder Directional Movement Index.

继承自: BaseComplexIndicator<IDirectionalIndexValue>

构造函数

DirectionalIndex()

Initializes a new instance of the DirectionalIndex.

属性

Length : int

Period length.

Measure : IndicatorMeasures

IndicatorMeasures.

Minus : DiMinus

DI-.

NumValuesToInitialize : int

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

Plus : DiPlus

DI+.

方法

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

返回值: The resulting value.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

返回值: Строковое представление.