BollingerBandsPainter
StockSharp.Xaml.Charting.IndicatorPainters
Das Diagrammelement für BollingerBands.
Erbt von: BaseChartIndicatorPainter<BollingerBands>
Konstruktoren
BollingerBandsPainter
public BollingerBandsPainter()
bollingerBandsPainter = BollingerBandsPainter()
Erstellen Sie Instanz.
Eigenschaften
MovingAverage
public IChartLineElement MovingAverage { get; }
value = bollingerBandsPainter.MovingAverage
MovingAverage.
Methoden
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = bollingerBandsPainter.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
OnDraw
protected override bool OnDraw(BollingerBands indicator, IDictionary<IIndicator, IList<IndicatorData>> data)
result = bollingerBandsPainter.OnDraw(indicator, data)
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = bollingerBandsPainter.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task