BollingerBandsPainter
StockSharp.Xaml.Charting.IndicatorPainters
El elemento gráfico para BollingerBands.
Hereda de: BaseChartIndicatorPainter<BollingerBands>
Constructores
BollingerBandsPainter
public BollingerBandsPainter()
bollingerBandsPainter = BollingerBandsPainter()
Crear instancia.
Propiedades
MovingAverage
public IChartLineElement MovingAverage { get; }
value = bollingerBandsPainter.MovingAverage
MovingAverage.
Métodos
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = bollingerBandsPainter.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Devuelve: 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
Devuelve: Task