Class AverageDirectionalIndex
Welles Wilder Average Directional Index.
Inherited Members
Namespace: StockSharp.Algo.Indicators
Assembly: StockSharp.Algo.dll
Syntax
[DescriptionLoc("Str757", false)]
public class AverageDirectionalIndex : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Constructors
AverageDirectionalIndex()
Initializes a new instance of the AverageDirectionalIndex.
Declaration
public AverageDirectionalIndex()
AverageDirectionalIndex(DirectionalIndex, LengthIndicator<Decimal>)
Initializes a new instance of the AverageDirectionalIndex.
Declaration
public AverageDirectionalIndex(DirectionalIndex dx, LengthIndicator<Decimal> movingAverage)
Parameters
Type | Name | Description |
---|---|---|
DirectionalIndex | dx | Welles Wilder Directional Movement Index. |
LengthIndicator<Decimal> | movingAverage | Moving Average. |
Properties
Dx
Welles Wilder Directional Movement Index.
Declaration
public DirectionalIndex Dx { get; }
Property Value
Type | Description |
---|---|
DirectionalIndex |
Length
Period length.
Declaration
[DisplayNameLoc("Str736")]
[DescriptionLoc("Str737", false)]
[CategoryLoc("General")]
public virtual int Length { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MovingAverage
Moving Average.
Declaration
public LengthIndicator<Decimal> MovingAverage { get; }
Property Value
Type | Description |
---|---|
LengthIndicator<Decimal> |
Methods
Load(SettingsStorage)
Load settings.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
Save(SettingsStorage)
Save settings.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
Implements
Ecng.Serialization.IPersistable
Ecng.Common.ICloneable<>