JurikMovingAverage
StockSharp.Algo.Indicators
Jurik Moving Average.
Erbt von: DecimalLengthIndicator
Konstruktoren
JurikMovingAverage
public JurikMovingAverage()
jurikMovingAverage = JurikMovingAverage()
Initialisiert eine neue Instanz von JurikMovingAverage.
Eigenschaften
Phase
public int Phase { get; set; }
value = jurikMovingAverage.Phase
jurikMovingAverage.Phase = value
Phase.
Methoden
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = jurikMovingAverage.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = jurikMovingAverage.OnProcessDecimal(input)
Um den Eingabewert zu verarbeiten.
- input
- Der Eingangswert.
Rückgabe: Der neue Wert des Indikators.
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = jurikMovingAverage.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
ToString
public override string ToString()
result = jurikMovingAverage.ToString()
Konvertieren Sie in eine Liniendarstellung.
Rückgabe: String-Leistung.