The ADX is implemented as a composite function. It uses the Directional Movement Index function and the Modified Moving Average. The expression is:
MMA(DMI(close; high))
The result of the DMI function is used as an argument for the MMA function. The arguments of the DMI are described in the "Directional Movement Index" topic.
The result is an array.
The ADX is a part of the Directional Movement System developed by J. Welles Wilder. The system consists of three lines:
Declining ADX shows that the market is losing direction. When ADX falls below both +DI and -DI it signals a lifeless market. When ADX rises above both +DI and -DI it signals that the market is becoming overheated. The ADX is defined as a moving average of the Directional Movement Index. By default, the Modified Moving Average is used for smoothing with a period of 14 days. You can use another type of moving average by changing the original formula. For more information about the DMI and the MMA functions, see the "Directional Movement Index" and the "Modified Moving Average" topics.
Windows Forms: Data Manipulation\Functions\Directional Movement