Class EnvelopePainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element for Envelope.
[Indicator(typeof(Envelope))]
public class EnvelopePainter : BaseChartIndicatorPainter<Envelope>, IChartIndicatorPainter, IPersistable
- Inheritance
-
EnvelopePainter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
EnvelopePainter()
Create instance.
public EnvelopePainter()
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(Envelope, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(Envelope indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
indicator
EnvelopeIndicator.
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.