Class RelativeVigorIndexPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element for RelativeVigorIndex.
[Indicator(typeof(RelativeVigorIndex))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "RVI")]
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
Signal
[Display(ResourceType = typeof(LocalizedStrings), Name = "Signal", Description = "SignalPart")]
public IChartLineElement Signal { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings 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
RelativeVigorIndexIndicator.
data
IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>Indicator values to draw on chart.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.