OscillatorOfMovingAverage

StockSharp.Algo.Indicators

Oszillator des Moving Average Indikators.

Erbt von: BaseIndicator

Konstruktoren

OscillatorOfMovingAverage
public OscillatorOfMovingAverage()
oscillatorOfMovingAverage = OscillatorOfMovingAverage()

Initialisiert eine neue Instanz von OscillatorOfMovingAverage.

Eigenschaften

LongPeriod
public int LongPeriod { get; set; }
value = oscillatorOfMovingAverage.LongPeriod
oscillatorOfMovingAverage.LongPeriod = value

Lange Zeit.

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

IndicatorMeasures.

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

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

ShortPeriod
public int ShortPeriod { get; set; }
value = oscillatorOfMovingAverage.ShortPeriod
oscillatorOfMovingAverage.ShortPeriod = value

Kurzfristige Periode.

Methoden

CalcIsFormed
protected override bool CalcIsFormed()
result = oscillatorOfMovingAverage.CalcIsFormed()

Calc IsFormed.

Rückgabe: IsFormed

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = oscillatorOfMovingAverage.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Rückgabe: Task

OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = oscillatorOfMovingAverage.OnProcess(input)

Um den Eingabewert zu verarbeiten.

input
Der Eingangswert.

Rückgabe: Der resultierende Wert.

Reset
public override void Reset()
oscillatorOfMovingAverage.Reset()

Zustand zurücksetzen.

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = oscillatorOfMovingAverage.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Rückgabe: Task

ToString
public override string ToString()
result = oscillatorOfMovingAverage.ToString()

Konvertieren Sie in eine Liniendarstellung.

Rückgabe: String-Leistung.