RelativeVigorIndexPainter

StockSharp.Xaml.Charting.IndicatorPainters

O elemento gráfico para RelativeVigorIndex.

Herda de: BaseChartIndicatorPainter<RelativeVigorIndex>

Construtores

RelativeVigorIndexPainter
public RelativeVigorIndexPainter()
relativeVigorIndexPainter = RelativeVigorIndexPainter()

Criar instância.

Propriedades

Average
public IChartLineElement Average { get; }
value = relativeVigorIndexPainter.Average

Média.

Signal
public IChartLineElement Signal { get; }
value = relativeVigorIndexPainter.Signal

Sinal.

Métodos

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task