Two instruments may both rise from 100 to 110 over five intervals. One advances steadily; the other repeatedly reverses. Their net returns are identical, but the path between those endpoints is not. Kaufman's Efficiency Ratio (ER) quantifies that distinction, making it useful for studying directional movement relative to price noise.
What does the Efficiency Ratio measure?
For a lookback of N intervals, let C(t) denote the latest completed close. The unsigned Efficiency Ratio is calculated as follows:
Net displacement = |C(t) − C(t−N)|
Path length = sum of |C(i) − C(i−1)| over the last N intervals
ER = Net displacement / Path length
Because absolute net displacement cannot exceed the sum of absolute intermediate changes, ER lies between 0 and 1 when the denominator is positive. A value of 1 means all nonzero closing-price changes are in the same direction; a value of 0 means the endpoints match despite movement between them. When every close is identical the denominator is zero; use a documented convention such as returning 0, or mark the observation unavailable. N intervals require N+1 closes. Do not substitute an N-bar high-low range for the denominator.
Worked example: same return, different efficiency
Consider two hypothetical paths with six completed closes, representing five intervals. Both start at 100 and end at 110.
| Observation | A: Directional path | B: Uneven path |
|---|---|---|
| Closes | 100, 102, 104, 106, 108, 110 | 100, 107, 101, 109, 103, 110 |
| Absolute step sizes | 2 + 2 + 2 + 2 + 2 | 7 + 6 + 8 + 6 + 7 |
| Net displacement | 10 | 10 |
| Path length | 10 | 34 |
| ER | 1.000 | 0.294 |
| Endpoint price return | 10% | 10% |

Path B has not earned a smaller endpoint return; it has experienced more back-and-forth movement. An ER of 0.294 is a geometric ratio, not a 29.4% probability of a successful trend. If the same sequences were reflected into descending paths, their unsigned ER values would remain unchanged. Direction must therefore be supplied by another measure, such as the sign of the net price change or the slope of a moving average.
Using ER as a market-regime filter
As an illustrative research hypothesis, classify ER at or above 0.60 as relatively directional, ER at or below 0.30 as relatively inefficient, and values between the two as transitional. These are example thresholds, not established universal trading rules. With a positive five-interval price change, A meets the directional condition and B meets the inefficient condition. Neither observation by itself triggers a long entry.
A trader could combine a directional filter with an independently defined breakout: require positive net change, ER at least 0.60, and a completed close above a prior swing high known before the signal. A low ER could instead suppress new trend-following signals, rather than automatically initiate a mean-reversion trade. A falling ER may be caused by a larger path length, a smaller net displacement or the rolling window dropping an earlier move; it is not proof that a reversal is imminent.
ER versus ATR: efficiency is not volatility
ATR estimates the size of true ranges, incorporating price gaps; ER compares net closing-price movement with cumulative absolute closing-price changes. A slow staircase of tiny increases can have ER = 1 while ATR remains small. A volatile alternating market can have substantial ATR and low ER. Therefore an ER filter does not replace volatility-based risk sizing. Similarly, ADX is derived from directional movement and smoothing rather than the same path-length ratio, so its thresholds are not interchangeable with ER thresholds.
Practical risk example
Suppose a separate hypothetical long setup has an entry at 110, a stop at 106, and a reference target at 118. With a round-trip cost estimate of 0.50 per share, planned risk is 4.50 per share and target net reward is 7.50, giving a reward/risk ratio of about 1.67:1. A risk budget of 225 permits at most floor(225/4.50) = 50 shares under those assumptions. For a contract, incorporate the point value, tick size and contract costs. ER does not determine the stop distance, guarantee an execution price or cap actual losses during gaps.
Common mistakes and validation
- Use completed bars consistently and do not backdate signals that require a confirmed close or swing.
- Require enough warm-up data and handle flat windows and missing observations explicitly.
- Remember that closing prices omit intrabar movement. Two paths with identical closes can have very different intrabar risks.
- Compare a baseline strategy without ER to the same strategy with an ER filter, including realistic fees, spreads and slippage.
- Evaluate nearby lookbacks and thresholds on training data, then freeze the choices for chronological out-of-sample testing. Report trade count, net expectancy and drawdown across trending and sideways markets. No backtest results are claimed here.
For custom ER indicators, market-regime alerts or integrations with existing strategy rules, explore our Custom Trading Software Development Services.
Risk disclosure: This article is for education only and is not investment advice. All price paths and risk calculations are hypothetical. Trading can result in substantial losses; no indicator guarantees future returns.