VortexIndicator
StockSharp.Algo.Indicators
Вихревой индикатор.
Наследует: BaseComplexIndicator<IVortexIndicatorValue>
Конструкторы
VortexIndicator
public VortexIndicator()
vortexIndicator = VortexIndicator()
Инициализирует новый экземпляр VortexIndicator.
VortexIndicator
public VortexIndicator(int length)
vortexIndicator = VortexIndicator(length)
Инициализирует новый экземпляр VortexIndicator.
- length
- Продолжительность периода.
VortexIndicator
public VortexIndicator(VortexPart plusVi, VortexPart minusVi)
vortexIndicator = VortexIndicator(plusVi, minusVi)
Инициализирует новый экземпляр VortexIndicator.
- plusVi
- +VI часть.
- minusVi
- -VI часть.
Свойства
Length
public int Length { get; set; }
value = vortexIndicator.Length
vortexIndicator.Length = value
Продолжительность периода.
Measure
public override IndicatorMeasures Measure { get; }
value = vortexIndicator.Measure
IndicatorMeasures.
Методы
CreateValue
protected override IVortexIndicatorValue CreateValue(DateTime time)
result = vortexIndicator.CreateValue(time)
Создать.
- time
- Время
Load
public override void Load(SettingsStorage storage)
vortexIndicator.Load(storage)
Загрузить настройки.
- storage
- Хранилище настроек.
Save
public override void Save(SettingsStorage storage)
vortexIndicator.Save(storage)
Сохраните настройки.
- storage
- Хранилище настроек.
ToString
public override string ToString()
result = vortexIndicator.ToString()
Преобразовать к строковому представлению.
Возвращает: Строковое представление.