Table of Contents

Class MovingAverageConvergenceDivergenceSignalPainter

Namespace
StockSharp.Xaml.Charting.IndicatorPainters
Assembly
StockSharp.Xaml.Charting.dll
[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

IChartLineElement

SignalMa

SignalMa line color.

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

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings 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 MovingAverageConvergenceDivergenceSignal

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.