Table of Contents

Class MovingAverageConvergenceDivergenceHistogramPainter

Namespace
StockSharp.Xaml.Charting.IndicatorPainters
Assembly
StockSharp.Xaml.Charting.dll
[Indicator(typeof(MovingAverageConvergenceDivergenceHistogram))]
public class MovingAverageConvergenceDivergenceHistogramPainter : BaseChartIndicatorPainter<MovingAverageConvergenceDivergenceHistogram>, IChartIndicatorPainter, IPersistable
Inheritance
MovingAverageConvergenceDivergenceHistogramPainter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

MovingAverageConvergenceDivergenceHistogramPainter()

Create instance.

public MovingAverageConvergenceDivergenceHistogramPainter()

Properties

Histogram

Histogram line.

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

Property Value

IChartLineElement

Macd

Macd line.

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

Property Value

IChartLineElement

Signal

Signal line.

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

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

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

Draw values on chart.

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

Parameters

indicator MovingAverageConvergenceDivergenceHistogram

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.