Class EnvelopePainter
Элемент графика для Envelope.
Inherited Members
Namespace: StockSharp.Xaml.Charting.IndicatorPainters
Assembly: StockSharp.Xaml.Charting.dll
Syntax
[Indicator]
public class EnvelopePainter : BaseChartIndicatorPainter<Envelope>, IChartIndicatorPainter, IPersistable
Constructors
EnvelopePainter()
Создать объект.
Declaration
public EnvelopePainter()
Properties
Band
Band.
Declaration
public ChartBandElement Band { get; }
Property Value
Type | Description |
---|---|
ChartBandElement |
MovingAverage
Declaration
public ChartLineElement MovingAverage { get; }
Property Value
Type | Description |
---|---|
ChartLineElement |
Methods
Load(SettingsStorage)
Загрузить настройки.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
StockSharp.Xaml.Charting.IndicatorPainters.BaseChartIndicatorPainter<StockSharp.Algo.Indicators.Envelope>.Load(Ecng.Serialization.SettingsStorage)
OnDraw(Envelope, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>)
Отрисовать значения на графике.
Declaration
protected override bool OnDraw(Envelope indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
Type | Name | Description |
---|---|---|
Envelope | indicator | |
IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> | data | Значения индикатора для отрисовки на графике. |
Returns
Type | Description |
---|---|
Boolean | true если данные были успешно отрисованы, иначе, возвращается false. |
Overrides
StockSharp.Xaml.Charting.IndicatorPainters.BaseChartIndicatorPainter<StockSharp.Algo.Indicators.Envelope>.OnDraw(StockSharp.Algo.Indicators.Envelope, System.Collections.Generic.IDictionary<StockSharp.Algo.Indicators.IIndicator, System.Collections.Generic.IList<StockSharp.Xaml.Charting.ChartDrawData.IndicatorData>>)
Save(SettingsStorage)
Сохранить настройки.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
StockSharp.Xaml.Charting.IndicatorPainters.BaseChartIndicatorPainter<StockSharp.Algo.Indicators.Envelope>.Save(Ecng.Serialization.SettingsStorage)
Implements
Ecng.Serialization.IPersistable