Table of Contents

Class DirectionalIndex

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

Welles Wilder Directional Movement Index.

[Display(ResourceType = typeof(LocalizedStrings), Name = "DMI", Description = "WellesWilderDirectionalMovementIndex")]
public class DirectionalIndex : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
DirectionalIndex
Implements
IPersistable
ICloneable<IIndicator>
Inherited Members
Extension Methods

Remarks

Constructors

DirectionalIndex()

Initializes a new instance of the DirectionalIndex.

public DirectionalIndex()

Properties

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

Minus

DI-.

[TypeConverter(typeof(ExpandableObjectConverter))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "DiMinus", Description = "DiMinusLine", GroupName = "General")]
public DiMinus Minus { get; }

Property Value

DiMinus

Plus

DI+.

[TypeConverter(typeof(ExpandableObjectConverter))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "DiPlus", Description = "DiPlusLine", GroupName = "General")]
public DiPlus Plus { get; }

Property Value

DiPlus

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string