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
Load
public override void Load(SettingsStorage storage)
gatorOscillatorPainter.Load(storage)
Carregar as configurações.
- storage
- Configuração do armazenamento.
OnDraw
protected override bool OnDraw(GatorOscillator indicator, IDictionary<IIndicator, IList<IndicatorData>> data)
result = gatorOscillatorPainter.OnDraw(indicator, data)
Save
public override void Save(SettingsStorage storage)
gatorOscillatorPainter.Save(storage)
Gravar as definições.
- storage
- Configuração do armazenamento.