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
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings 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
CandlePatternIndicatorIndicator.
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.