Table of Contents

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

IChartLineElement

Histogram2

Histogram2 line color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Down", Description = "LowHistogram")]
public IChartLineElement Histogram2 { get; }

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings 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 GatorOscillator

Indicator.

data IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>

Indicator values to draw on chart.

Returns

bool

true if the data was successfully drawn, otherwise, returns false.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.