GatorOscillatorPainter
StockSharp.Xaml.Charting.IndicatorPainters
The chart element for GatorOscillator.
Inherits: BaseChartIndicatorPainter<GatorOscillator>
Constructors
GatorOscillatorPainter
public GatorOscillatorPainter()
gatorOscillatorPainter = GatorOscillatorPainter()
Create instance.
Properties
Histogram1
public IChartLineElement Histogram1 { get; }
value = gatorOscillatorPainter.Histogram1
Histogram1 line color.
Histogram2
public IChartLineElement Histogram2 { get; }
value = gatorOscillatorPainter.Histogram2
Histogram2 line color.
Methods
Load
public override void Load(SettingsStorage storage)
gatorOscillatorPainter.Load(storage)
Load settings.
- storage
- Settings storage.
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)
Save settings.
- storage
- Settings storage.