Table of Contents

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
IPersistable
ICloneable<IIndicator>
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 DirectionalIndex

Welles Wilder Directional Movement Index.

movingAverage LengthIndicator<decimal>

Moving Average.

Properties

Dx

Welles Wilder Directional Movement Index.

[Browsable(false)]
public DirectionalIndex Dx { get; }

Property Value

DirectionalIndex

Length

Period length.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Period", Description = "IndicatorPeriod", GroupName = "General")]
public int Length { get; set; }

Property Value

int

Measure

public override IndicatorMeasures Measure { get; }

Property Value

IndicatorMeasures

MovingAverage

Moving Average.

[Browsable(false)]
public LengthIndicator<decimal> MovingAverage { get; }

Property Value

LengthIndicator<decimal>

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string