Class MovingAverageConvergenceDivergenceSignalPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element for MovingAverageConvergenceDivergenceSignal.
[Indicator(typeof(MovingAverageConvergenceDivergenceSignal))]
public class MovingAverageConvergenceDivergenceSignalPainter : BaseChartIndicatorPainter<MovingAverageConvergenceDivergenceSignal>, IChartIndicatorPainter, IPersistable
- Inheritance
-
MovingAverageConvergenceDivergenceSignalPainter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
MovingAverageConvergenceDivergenceSignalPainter()
Create instance.
public MovingAverageConvergenceDivergenceSignalPainter()
Properties
Macd
Macd line color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "MACD", Description = "MACDDesc")]
public IChartLineElement Macd { get; }
Property Value
SignalMa
SignalMa line color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SignalMa", Description = "SignalMaDesc")]
public IChartLineElement SignalMa { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(MovingAverageConvergenceDivergenceSignal, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(MovingAverageConvergenceDivergenceSignal indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
indicator
MovingAverageConvergenceDivergenceSignalIndicator.
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.