RelativeVigorIndexPainter
StockSharp.Xaml.Charting.IndicatorPainters
El elemento gráfico para RelativeVigorIndex.
Hereda de: BaseChartIndicatorPainter<RelativeVigorIndex>
Constructores
RelativeVigorIndexPainter
public RelativeVigorIndexPainter()
relativeVigorIndexPainter = RelativeVigorIndexPainter()
Crear instancia.
Propiedades
Average
public IChartLineElement Average { get; }
value = relativeVigorIndexPainter.Average
Promedio.
Métodos
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = relativeVigorIndexPainter.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Devuelve: 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
Devuelve: Task