VolumeProfileIndicator
StockSharp.Algo.Indicators
Volumenprofil.
Erbt von: BaseIndicator
Konstruktoren
VolumeProfileIndicator
public VolumeProfileIndicator()
volumeProfileIndicator = VolumeProfileIndicator()
Initialisiert eine neue Instanz von VolumeProfileIndicator.
Eigenschaften
Step
public decimal Step { get; set; }
value = volumeProfileIndicator.Step
volumeProfileIndicator.Step = value
Die Gruppierungszunahme.
UseTotalVolume
public bool UseTotalVolume { get; set; }
value = volumeProfileIndicator.UseTotalVolume
volumeProfileIndicator.UseTotalVolume = value
Um das Gesamtvolumen in Berechnungen zu verwenden (wenn Kerzen nicht VolumeProfile enthalten).
Methoden
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = volumeProfileIndicator.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = volumeProfileIndicator.OnProcess(input)
Um den Eingabewert zu verarbeiten.
- input
- Der Eingangswert.
Rückgabe: Der resultierende Wert.
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = volumeProfileIndicator.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
ToString
public override string ToString()
result = volumeProfileIndicator.ToString()
Konvertieren Sie in eine Liniendarstellung.
Rückgabe: String-Leistung.