Wilder's Average Directional Movement Index

Input variables

"Length" is the number of time periods used when computing the moving average

Calculation

"WADX" consists of three lines: "PDI", "MDI" and "ADX". The cyan line representing the "Plus Directional Indicator" (PDI), the magenta line representing the "Minus Directional Indicator" (MDI) and the blue line, the "ADX". To calculate them, you have to use the following formulas:

From "Indicator Properties" you can change the settings for indicator:


You can set the line thickness, color and style. Also you can choose the "Length" value used in the formulas above.

Wilder's Average Directional Movement Index indicator on ESZ07 chart

Go to the top of page