GatorOscillatorPainter

StockSharp.Xaml.Charting.IndicatorPainters

O elemento gráfico para GatorOscillator.

Herda de: BaseChartIndicatorPainter<GatorOscillator>

Construtores

GatorOscillatorPainter
public GatorOscillatorPainter()
gatorOscillatorPainter = GatorOscillatorPainter()

Criar instância.

Propriedades

Histogram1
public IChartLineElement Histogram1 { get; }
value = gatorOscillatorPainter.Histogram1

Cor da linha Histogram1.

Histogram2
public IChartLineElement Histogram2 { get; }
value = gatorOscillatorPainter.Histogram2

Cor da linha do histograma2.

Métodos

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task