Table of Contents

Class CandlePatternIndicatorPainter

Namespace
StockSharp.Xaml.Charting.IndicatorPainters
Assembly
StockSharp.Xaml.Charting.dll

The chart element for CandlePatternIndicatorPainter.

[Indicator(typeof(CandlePatternIndicator))]
public class CandlePatternIndicatorPainter : BaseChartIndicatorPainter<CandlePatternIndicator>, IChartIndicatorPainter, IPersistable
Inheritance
CandlePatternIndicatorPainter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

CandlePatternIndicatorPainter()

Create instance.

public CandlePatternIndicatorPainter()

Properties

PatternElement

[Display(ResourceType = typeof(LocalizedStrings), Name = "Pattern", Description = "Pattern")]
public CandlePatternElement PatternElement { get; }

Property Value

CandlePatternElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

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

Draw values on chart.

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

Parameters

indicator CandlePatternIndicator

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.