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
Band.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Band", Description = "Band")]
public IChartBandElement Band { get; }
Property Value
MovingAverage
[Display(ResourceType = typeof(LocalizedStrings), Name = "MovingAverage", Description = "MovingAverage")]
public IChartLineElement MovingAverage { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings 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
BollingerBandsIndicator.
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.