AlligatorPainter

StockSharp.Xaml.Charting.IndicatorPainters

Chart painter for Alligator indicator.

Inherits: BaseChartIndicatorPainter<Alligator>

Constructors

AlligatorPainter
public AlligatorPainter()
alligatorPainter = AlligatorPainter()

Create instance.

Properties

Jaw
public IChartLineElement Jaw { get; }
value = alligatorPainter.Jaw

Jaw.

Lips
public IChartLineElement Lips { get; }
value = alligatorPainter.Lips

Lips.

Teeth
public IChartLineElement Teeth { get; }
value = alligatorPainter.Teeth

Teeth.

Methods

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alligatorPainter.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

OnDraw
protected override bool OnDraw(Alligator indicator, IDictionary<IIndicator, IList<IndicatorData>> data)
result = alligatorPainter.OnDraw(indicator, data)
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alligatorPainter.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task