RelativeVigorIndexPainter
StockSharp.Xaml.Charting.IndicatorPainters
Das Diagrammelement für RelativeVigorIndex.
Erbt von: BaseChartIndicatorPainter<RelativeVigorIndex>
Konstruktoren
RelativeVigorIndexPainter
public RelativeVigorIndexPainter()
relativeVigorIndexPainter = RelativeVigorIndexPainter()
Erstellen Sie Instanz.
Eigenschaften
Average
public IChartLineElement Average { get; }
value = relativeVigorIndexPainter.Average
Durchschnitt.
Methoden
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = relativeVigorIndexPainter.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: 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
Rückgabe: Task