EnvelopePainter

StockSharp.Xaml.Charting.IndicatorPainters

O elemento gráfico para o Envelope.

Herda de: BaseChartIndicatorPainter<Envelope>

Construtores

EnvelopePainter
public EnvelopePainter()
envelopePainter = EnvelopePainter()

Criar instância.

Propriedades

Band
public IChartBandElement Band { get; }
value = envelopePainter.Band

Banda.

MovingAverage
public IChartLineElement MovingAverage { get; }
value = envelopePainter.MovingAverage

MovingAverage.

Métodos

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task

OnDraw
protected override bool OnDraw(Envelope indicator, IDictionary<IIndicator, IList<IndicatorData>> data)
result = envelopePainter.OnDraw(indicator, data)
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = envelopePainter.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task