Class AverageDirectionalIndexPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
Chart painter for AverageDirectionalIndex indicator.
[Indicator(typeof(AverageDirectionalIndex))]
public class AverageDirectionalIndexPainter : BaseChartIndicatorPainter<AverageDirectionalIndex>, IChartIndicatorPainter, IPersistable
- Inheritance
-
AverageDirectionalIndexPainter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
AverageDirectionalIndexPainter()
Create instance.
public AverageDirectionalIndexPainter()
Properties
Adx
[Display(ResourceType = typeof(LocalizedStrings), Name = "Adx", Description = "AdxLine")]
public IChartLineElement Adx { get; }
Property Value
DiMinus
[Display(ResourceType = typeof(LocalizedStrings), Name = "DiMinus", Description = "DiMinusLine")]
public IChartLineElement DiMinus { get; }
Property Value
DiPlus
[Display(ResourceType = typeof(LocalizedStrings), Name = "DiPlus", Description = "DiPlusLine")]
public IChartLineElement DiPlus { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(AverageDirectionalIndex, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(AverageDirectionalIndex indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
indicator
AverageDirectionalIndexIndicator.
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.