Directional Movement Index (DX)


Namespace: OpenQuant.API.Indicators
Assembly: OpenQuant.API (in OpenQuant.API.dll)

Syntax

Visual Basic (Declaration)
Public Class DX
    Inherits Indicator
C#
public class DX : Indicator
C++
ref class DX : Indicator
J#
public class DX extends Indicator
JScript
public class DX extends Indicator

Remarks

The concept of Directional Movement is based on the assumption that in an upward trend today?s highest price is higher than yesterday?s highest price and in a downward trend today?s lowest price is lower than yesterday?s lowest price. If this is the case, it is a matter of the so-called Outside Days.

The Directional Movement Index (DX) is calculated by dividing the difference between the PDI and MDI by the sum of both figures. The result is a percentage, with which the extent and/or intensity or the trend is quantified.

Note, that there are two styles of indicator ADX. Some trading systems use a bit diffrent formula to calculate this indicator. Therefore Quant Studio gives an opportunity to use two styles ADX - classical (QuantStudio style) and little bit changed (MetaStock style.)

ADX has QuantStudio style by Default.

Formula for Quant Studio (classical) style:

Inheritance Hierarchy

System.Object
   OpenQuant.API.Indicator
      OpenQuant.API.Indicators.DX

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also