Class VortexIndicator
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Vortex Indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "VI", Description = "Vortex")]
[IndicatorIn(typeof(CandleIndicatorValue))]
[Doc("topics/api/indicators/list_of_indicators/vortex_indicator.html")]
[IndicatorOut(typeof(VortexIndicatorValue))]
public class VortexIndicator : BaseComplexIndicator<VortexIndicatorValue>, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
VortexIndicator
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
VortexIndicator()
Initializes a new instance of the VortexIndicator.
public VortexIndicator()
VortexIndicator(VortexPart, VortexPart)
Initializes a new instance of the VortexIndicator.
public VortexIndicator(VortexPart plusVi, VortexPart minusVi)
Parameters
plusViVortexPart+VI part.
minusViVortexPart-VI part.
VortexIndicator(int)
Initializes a new instance of the VortexIndicator.
public VortexIndicator(int length)
Parameters
lengthintPeriod length.
Properties
Length
Period length.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Period", Description = "IndicatorPeriod", GroupName = "General")]
public int Length { get; set; }
Property Value
Measure
public override IndicatorMeasures Measure { get; }
Property Value
MinusVi
-VI part.
[Browsable(false)]
public VortexPart MinusVi { get; }
Property Value
PlusVi
+VI part.
[Browsable(false)]
public VortexPart PlusVi { get; }
Property Value
Methods
CreateValue(DateTimeOffset)
Create VortexIndicatorValue.
protected override VortexIndicatorValue CreateValue(DateTimeOffset time)
Parameters
timeDateTimeOffset
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
ToString()
public override string ToString()