VortexIndicator
StockSharp.Algo.Indicators
Vortex Indicator.
Inherits: BaseComplexIndicator<IVortexIndicatorValue>
Constructors
VortexIndicator
public VortexIndicator()
vortexIndicator = VortexIndicator()
Initializes a new instance of the VortexIndicator.
VortexIndicator
public VortexIndicator(int length)
vortexIndicator = VortexIndicator(length)
Initializes a new instance of the VortexIndicator.
- length
- Period length.
VortexIndicator
public VortexIndicator(VortexPart plusVi, VortexPart minusVi)
vortexIndicator = VortexIndicator(plusVi, minusVi)
Initializes a new instance of the VortexIndicator.
- plusVi
- +VI part.
- minusVi
- -VI part.
Properties
Length
public int Length { get; set; }
value = vortexIndicator.Length
vortexIndicator.Length = value
Period length.
Measure
public override IndicatorMeasures Measure { get; }
value = vortexIndicator.Measure
IndicatorMeasures.
Methods
CreateValue
protected override IVortexIndicatorValue CreateValue(DateTime time)
result = vortexIndicator.CreateValue(time)
Create .
- time
- Time
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = vortexIndicator.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = vortexIndicator.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
ToString
public override string ToString()
result = vortexIndicator.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.