The Average Directional Movement Index Calculator calculates ADX from high, low and close prices to quantify trend strength regardless of direction over a chosen period.
Report an issue
Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.
What Is a Average Directional Movement Index Calculator?
The Average Directional Movement Index (ADX) is a technical indicator that quantifies trend strength. It does not indicate direction, only how strong the trend is. Values usually range from 0 to 100. Lower values signal weak or range-bound markets. Higher values point to stronger trends.
An ADX calculator automates the full set of calculations behind ADX, including True Range, directional movement, and smoothing. The tool takes a time series of high, low, and close prices. It applies a lookback length, commonly 14 periods, and outputs +DI, −DI, DX, and ADX. This lets you test trading scenarios, validate assumptions, and compare assets using identical methods.

Average Directional Movement Index Formulas & Derivations
ADX is built from directional movement and range. The original method uses Wilder’s smoothing, which behaves like an exponential average. Below are the core steps and formulas.
- True Range (TR): max of (High − Low, |High − Prior Close|, |Low − Prior Close|).
- Directional Movement (DM): +DM = High − Prior High if positive and larger than Low − Prior Low; else 0. −DM = Prior Low − Low if positive and larger than High − Prior High; else 0.
- Smoothing (Wilder’s): TRt,s = TRt−1,s − TRt−1,s/N + TRt. Apply the same to +DM and −DM series.
- Directional Indicators: +DI = 100 × (+DMs/TRs). −DI = 100 × (−DMs/TRs).
- DX and ADX: DX = 100 × |(+DI − −DI)|/(+DI + −DI). ADX is the Wilder-smoothed average of DX over N periods.
The first smoothed values often use simple sums over the first N periods. Later values use the recursive Wilder formula to maintain continuity. Some traders use standard exponential moving averages instead; results will be close but not identical. Your choice of smoothing method is an assumption the Calculator can apply consistently across tests.
How the Average Directional Movement Index Method Works
The ADX method measures how directional price changes are, relative to total price movement. It compares recent upward and downward moves, normalizes by range, and smooths the result. This converts choppy day-to-day changes into a stable measure of trend strength.
- Compute +DM and −DM to capture upward and downward directional moves.
- Compute TR to measure the magnitude of price movement and gaps.
- Smooth +DM, −DM, and TR to reduce noise and stabilize readings.
- Derive +DI and −DI as percentages of total movement.
- Calculate DX from the difference and sum of +DI and −DI.
- Smooth DX into ADX, a single series that tracks trend strength.
ADX does not show whether the trend is up or down. For direction, compare +DI and −DI. Many strategies only act when ADX exceeds a threshold, and then use +DI versus −DI for bias. The Calculator presents each series so you can test scenarios and rules without manual math.
What You Need to Use the Average Directional Movement Index Calculator
Bring a clean time series and a clear plan. The Calculator lets you set parameters and see how each choice affects the results. Clear inputs lead to credible outputs.
- Price data: High, Low, and Close for each period (daily, hourly, etc.).
- Lookback length: N periods for smoothing (commonly 14).
- Smoothing method: Wilder’s (default) or exponential alternative.
- Data frequency: Minutes, hours, days, or weeks to match your strategy.
- Missing data rule: How to treat holidays, halts, or gaps.
- Rounding preference: Decimal precision for displayed results.
Expect undefined or partial values in the first N−1 periods. Zero TR creates divide-by-zero risks, which the Calculator handles by returning neutral or prior values. Corporate actions, bad feeds, and extreme outliers can distort TR and DI. Verify ranges and spot-check a few periods to validate assumptions.
How to Use the Average Directional Movement Index Calculator (Steps)
Here’s a concise overview before we dive into the key points:
- Select the asset and time frame, then load High, Low, and Close data.
- Choose the lookback length N (start with 14 if unsure).
- Pick Wilder’s smoothing or switch to exponential smoothing if desired.
- Set handling for missing periods and adjust rounding precision.
- Run the calculation to generate +DI, −DI, DX, and ADX series.
- Review the chart or table, focusing on ADX thresholds and DI crossovers.
These points provide quick orientation—use them alongside the full explanations in this page.
Worked Examples
A trending stock over 30 trading days: Highs and lows are rising, and pullbacks are shallow. With N = 14 and Wilder’s smoothing, +DM dominates −DM, and TR is steady. The Calculator returns +DI near 32, −DI near 12, DX around 45, and an ADX that climbs from 18 to 34 by day 20. Interpretation: Trend strength crossed the 25 level and kept rising, confirming a sustained move. What this means: The market is trending strongly; trend-following entries have better odds than mean-reversion trades.
A range-bound currency pair over 25 sessions: Highs and lows oscillate inside a narrow band, with frequent reversals. Using N = 14, +DM and −DM alternate, and their smoothed values are similar. The Calculator shows +DI near 17, −DI near 16, DX fluctuating around 4–7, and ADX near 14.7 and flat. Interpretation: Trend strength is weak, with no persistent direction. What this means: Stand aside or use range strategies; trend entries risk whipsaws.
Limits of the Average Directional Movement Index Approach
ADX is reliable for gauging strength, yet it has well-known limits. Understanding them keeps your expectations realistic and your assumptions sound.
- Lag: Smoothing delays signals, especially after sharp reversals.
- Direction blindness: ADX measures strength only, not up or down.
- Range whipsaws: Indicators derived from DI can flip in choppy markets.
- Parameter sensitivity: Changing N or smoothing changes timing and levels.
- Data quality: Bad ticks or gaps inflate TR and distort readings.
Use ADX with a clear risk plan and complementary tools. Confirm direction with price structure, moving averages, or +DI versus −DI. Test scenarios across assets and time frames before acting on live trades.
Units & Conversions
ADX and DI are unitless ratios reported as percentages. TR and price differences use the asset’s price units. Period length determines responsiveness, so it helps to restate values consistently across time frames.
| Quantity | Native Unit | Typical Display | Conversion Note |
|---|---|---|---|
| ADX | Unitless | 0–100 % | Decimal 0.34 equals 34% |
| +DI / −DI | Unitless | 0–100 % | Relative to smoothed TR |
| DX | Unitless | 0–100 % | |+DI − −DI| / (+DI + −DI) |
| True Range (TR) | Price units | Same as asset | No conversion; watch for splits |
| Lookback N | Periods | 14, 20, 30 | Match to minutes, hours, or days |
Use the table to keep displays consistent. If your platform outputs decimals, multiply by 100 to show percentages. When changing time frames, keep the same N only if that serves your strategy’s responsiveness.
Troubleshooting
Most ADX issues come from data gaps, wrong parameter choices, or misunderstandings about smoothing. The list below covers frequent problems and quick fixes.
- Flat or zero ADX: Check if prices are constant or TR is zero from missing updates.
- Spiky ADX: Inspect for gaps, holidays, or split-adjustment errors inflating TR.
- DI stuck near 0 or 100: Confirm smoothing method and verify the first N-period seed.
- Different values across tools: Align lookback, smoothing type, and rounding rules.
If outputs still look wrong, audit five consecutive rows by hand. Compute TR, +DM, −DM, and DI step by step. Small rounding differences are normal; large differences usually trace back to data or the initial seed.
FAQ about Average Directional Movement Index Calculator
What ADX level indicates a strong trend?
Many traders use 25 as the first strength threshold. ADX from 25 to 50 suggests a solid trend. Above 50 is very strong.
Does ADX show trend direction?
No. ADX measures strength only. To infer direction, compare +DI and −DI, or confirm with price structure and moving averages.
What is the best lookback period?
Fourteen is the classic default. Shorter periods react faster but can whipsaw. Longer periods are smoother but lag more.
Should I use Wilder’s smoothing or an EMA?
Wilder’s method is standard and matches many references. An EMA is acceptable if used consistently across tests and assets.
Glossary for Average Directional Movement Index
True Range (TR)
The greatest of High − Low, |High − Prior Close|, or |Low − Prior Close|. Captures intraday movement and gaps.
Positive Directional Movement (+DM)
The increase in High over the prior High when it exceeds the corresponding drop in Low. Otherwise set to zero.
Negative Directional Movement (−DM)
The decrease in Low from the prior Low when it exceeds the corresponding rise in High. Otherwise set to zero.
Directional Indicators (+DI and −DI)
Percent measures of upward and downward movement: smoothed DM divided by smoothed TR, scaled to 0–100.
Directional Index (DX)
A normalized difference of +DI and −DI: 100 times their absolute difference divided by their sum.
Average Directional Movement Index (ADX)
A smoothed average of DX that tracks trend strength over time, independent of direction.
Smoothing (Wilder’s)
A recursive averaging method similar to an exponential moving average, designed to stabilize indicator values.
Lookback Period (N)
The number of periods used for smoothing and averaging. Controls responsiveness and lag.
Sources & Further Reading
Here’s a concise overview before we dive into the key points:
- Investopedia: Average Directional Index (ADX) Explained
- StockCharts ChartSchool: Average Directional Index (ADX)
- TA-Lib Documentation: ADX Function
- TradingView Help Center: Average Directional Index (ADX)
- J. Welles Wilder Jr.: New Concepts in Technical Trading Systems (Wiley)
- CFA Institute Research Foundation: Technical Analysis Overview
These points provide quick orientation—use them alongside the full explanations in this page.
Disclaimer: This tool is for educational estimates. Consider professional advice for decisions.
References
- International Electrotechnical Commission (IEC)
- International Commission on Illumination (CIE)
- NIST Photometry
- ISO Standards — Light & Radiation