Table of Contents

Class RelativeVigorIndexPainter

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

The chart element for RelativeVigorIndex.

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

Constructors

RelativeVigorIndexPainter()

Create instance.

public RelativeVigorIndexPainter()

Properties

Average

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

Property Value

IChartLineElement

Signal

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

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

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

Draw values on chart.

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

Parameters

indicator RelativeVigorIndex

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.