Directional Movement Index (DX)
Namespace: OpenQuant.API.Indicators
Assembly: OpenQuant.API (in OpenQuant.API.dll)
Syntax
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: 