VortexPart
StockSharp.Algo.Indicators
Часть индикатора Vortex.
Наследует: DecimalLengthIndicator
Конструкторы
VortexPart
public VortexPart(bool isPositive)
vortexPart = VortexPart(isPositive)
Инициализирует новый экземпляр VortexPart.
- isPositive
- IsPositive
Свойства
IsPositive
public bool IsPositive { get; }
value = vortexPart.IsPositive
Это положительная (+VI) или отрицательная (-VI) часть.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = vortexPart.NumValuesToInitialize
Число значений, которые необходимо обработать для инициализации индикатора (be IsFormed equals).
Методы
CalcIsFormed
protected override bool CalcIsFormed()
result = vortexPart.CalcIsFormed()
Расчет IsFormed.
Возвращает: IsFormed
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = vortexPart.OnProcessDecimal(input)
Для обработки входного значения.
- input
- Входное значение.
Возвращает: Новое значение индикатора.