Class GatorOscillatorPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element for GatorOscillator.
[Indicator(typeof(GatorOscillator))]
public class GatorOscillatorPainter : BaseChartIndicatorPainter<GatorOscillator>, IChartIndicatorPainter, IPersistable
- Inheritance
-
GatorOscillatorPainter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
GatorOscillatorPainter()
Create instance.
public GatorOscillatorPainter()
Properties
Histogram1
Histogram1 line color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Up", Description = "TopHistogram")]
public IChartLineElement Histogram1 { get; }
Property Value
Histogram2
Histogram2 line color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Down", Description = "LowHistogram")]
public IChartLineElement Histogram2 { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(GatorOscillator, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(GatorOscillator indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
indicator
GatorOscillatorIndicator.
data
IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>Indicator values to draw on chart.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.