Table of Contents

Class AlligatorPainter

Namespace
StockSharp.Xaml.Charting.IndicatorPainters
Assembly
StockSharp.Xaml.Charting.dll

Chart painter for Alligator indicator.

[Indicator(typeof(Alligator))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Alligator")]
public class AlligatorPainter : BaseChartIndicatorPainter<Alligator>, IChartIndicatorPainter, IPersistable
Inheritance
AlligatorPainter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

AlligatorPainter()

Create instance.

public AlligatorPainter()

Properties

Jaw

Jaw.

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

Property Value

IChartLineElement

Lips

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

Property Value

IChartLineElement

Teeth

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

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnDraw(Alligator, IDictionary<IIndicator, IList<IndicatorData>>)

Draw values on chart.

protected override bool OnDraw(Alligator indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)

Parameters

indicator Alligator

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.