AdaptivePriceZone
StockSharp.Algo.Indicators
Индикатор адаптивной ценовой зоны (APZ).
Наследует: BaseComplexIndicator<IAdaptivePriceZoneValue>
Конструкторы
AdaptivePriceZone
public AdaptivePriceZone()
adaptivePriceZone = AdaptivePriceZone()
Инициализирует новый экземпляр AdaptivePriceZone.
AdaptivePriceZone
public AdaptivePriceZone(DecimalLengthIndicator ma)
adaptivePriceZone = AdaptivePriceZone(ma)
Инициализирует новый экземпляр AdaptivePriceZone.
- ma
- Скользящее среднее.
Свойства
BandPercentage
public decimal BandPercentage { get; set; }
value = adaptivePriceZone.BandPercentage
adaptivePriceZone.BandPercentage = value
Процент полосы для расчета верхних и нижних полос.
LowerBand
public AdaptivePriceZoneBand LowerBand { get; }
value = adaptivePriceZone.LowerBand
Нижняя группа.
MovingAverage
public DecimalLengthIndicator MovingAverage { get; }
value = adaptivePriceZone.MovingAverage
Скользящая средняя.
Period
public int Period { get; set; }
value = adaptivePriceZone.Period
adaptivePriceZone.Period = value
Период для расчетов MA и стандартных отклонений.
UpperBand
public AdaptivePriceZoneBand UpperBand { get; }
value = adaptivePriceZone.UpperBand
Верхняя группа.
Методы
CreateValue
protected override IAdaptivePriceZoneValue CreateValue(DateTime time)
result = adaptivePriceZone.CreateValue(time)
Создать.
- time
- Время
Load
public override void Load(SettingsStorage storage)
adaptivePriceZone.Load(storage)
Загрузить настройки.
- storage
- Хранилище настроек.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = adaptivePriceZone.OnProcess(input)
Для обработки входного значения.
- input
- Входное значение.
Возвращает: Результирующее значение.
Save
public override void Save(SettingsStorage storage)
adaptivePriceZone.Save(storage)
Сохраните настройки.
- storage
- Хранилище настроек.