DirectionalIndex

StockSharp.Algo.Indicators

Welles Wilder Directional Movement Index.

Erbt von: BaseComplexIndicator<IDirectionalIndexValue>

Konstruktoren

DirectionalIndex
public DirectionalIndex()
directionalIndex = DirectionalIndex()

Initialisiert eine neue Instanz von DirectionalIndex.

Eigenschaften

Length
public int Length { get; set; }
value = directionalIndex.Length
directionalIndex.Length = value

Periodendauer.

Measure
public override IndicatorMeasures Measure { get; }
value = directionalIndex.Measure

IndicatorMeasures.

Minus
public DiMinus Minus { get; }
value = directionalIndex.Minus

DI-.

NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = directionalIndex.NumValuesToInitialize

Anzahl der Werte, die verarbeitet werden müssen, damit der Indikator initialisiert werden kann (be IsFormed @ = ).

Plus
public DiPlus Plus { get; }
value = directionalIndex.Plus

DI+.

Methoden

CreateValue
protected override IDirectionalIndexValue CreateValue(DateTime time)
result = directionalIndex.CreateValue(time)

Erstellen .

time
Uhrzeit
Load
public override void Load(SettingsStorage storage)
directionalIndex.Load(storage)

Lasteinstellungen.

storage
Einstellungen Lagerung.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = directionalIndex.OnProcess(input)

Um den Eingabewert zu verarbeiten.

input
Der Eingangswert.

Rückgabe: Der resultierende Wert.

Save
public override void Save(SettingsStorage storage)
directionalIndex.Save(storage)

Einstellungen speichern.

storage
Einstellungen Lagerung.
ToString
public override string ToString()
result = directionalIndex.ToString()

Konvertieren Sie in eine Liniendarstellung.

Rückgabe: String-Leistung.