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.

MinusVi
public VortexPart MinusVi { get; }
value = vortexIndicator.MinusVi

-VI часть.

PlusVi
public VortexPart PlusVi { get; }
value = vortexIndicator.PlusVi

+VI часть.

Методы

CreateValue
protected override IVortexIndicatorValue CreateValue(DateTime time)
result = vortexIndicator.CreateValue(time)

Создать.

time
Время
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = vortexIndicator.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Возвращает: Task

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = vortexIndicator.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Возвращает: Task

ToString
public override string ToString()
result = vortexIndicator.ToString()

Преобразовать к строковому представлению.

Возвращает: Строковое представление.