DemandIndex

StockSharp.Algo.Indicators

Demand Index Indikator.

Erbt von: SimpleMovingAverage

Konstruktoren

DemandIndex
public DemandIndex()
demandIndex = DemandIndex()

Initialisiert eine neue Instanz von DemandIndex.

Eigenschaften

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

IndicatorMeasures.

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

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

Methoden

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = demandIndex.OnProcessDecimal(input)

Um den Eingabewert zu verarbeiten.

input
Der Eingangswert.

Rückgabe: Der neue Wert des Indikators.

Reset
public override void Reset()
demandIndex.Reset()

Zustand zurücksetzen.