GatorOscillatorPainter

StockSharp.Xaml.Charting.IndicatorPainters

El elemento gráfico para GatorOscillator.

Hereda de: BaseChartIndicatorPainter<GatorOscillator>

Constructores

GatorOscillatorPainter
public GatorOscillatorPainter()
gatorOscillatorPainter = GatorOscillatorPainter()

Crear instancia.

Propiedades

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

Color de línea Histogram1.

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

Color de línea Histogram2.

Métodos

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: 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

Devuelve: Task