Table of Contents

Class BollingerBandsPainter

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

The chart element for BollingerBands.

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

Constructors

BollingerBandsPainter()

Create instance.

public BollingerBandsPainter()

Properties

Band

[Display(ResourceType = typeof(LocalizedStrings), Name = "Band", Description = "Band")]
public IChartBandElement Band { get; }

Property Value

IChartBandElement

MovingAverage

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

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

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

Draw values on chart.

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

Parameters

indicator BollingerBands

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.