Class AverageDirectionalIndex
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Welles Wilder Average Directional Index.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Adx", Description = "AverageDirectionalIndex")]
public class AverageDirectionalIndex : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
AverageDirectionalIndex
- Implements
-
IPersistableICloneable<IIndicator>
- Derived
- Inherited Members
- Extension Methods
Remarks
Constructors
AverageDirectionalIndex()
Initializes a new instance of the AverageDirectionalIndex.
public AverageDirectionalIndex()
AverageDirectionalIndex(DirectionalIndex, LengthIndicator<decimal>)
Initializes a new instance of the AverageDirectionalIndex.
public AverageDirectionalIndex(DirectionalIndex dx, LengthIndicator<decimal> movingAverage)
Parameters
dx
DirectionalIndexWelles Wilder Directional Movement Index.
movingAverage
LengthIndicator<decimal>Moving Average.
Properties
Dx
Welles Wilder Directional Movement Index.
[Browsable(false)]
public DirectionalIndex Dx { get; }
Property Value
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
MovingAverage
Moving Average.
[Browsable(false)]
public LengthIndicator<decimal> MovingAverage { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
ToString()
public override string ToString()