The intuition
Imagine a dog on a long lead walking beside its owner. The dog darts ahead, lags behind, circles back. At any moment it may be far from the owner, but the lead keeps pulling it back towards a rough centre. Mean reversion in markets is the hope that some price series behave like that dog: the stretch is temporary, and the lead is real.
The key word is lead. Without something tethering the price to an anchor, a large deviation is just a large deviation, and it may keep going. Everything in this lesson comes down to one question: is there a real tether, and is it still attached?
Plausible tethers include:
- Liquidity and overreaction. A large seller pushes a price down for reasons unrelated to value; once the pressure ends, the price recovers part of the move.
- Economic linkage. Two companies in the same industry, or two closely related instruments, share drivers, so their prices should not drift apart without limit.
- Valuation anchors. Over long periods, extreme valuations sometimes fade, although this is slow and unreliable on any given timescale.
None of these is a law of nature. They are tendencies, and they can weaken or vanish.
The mechanics: measuring stretch with a z-score
To trade or study mean reversion systematically, you need a rule for 'unusually far'. The standard tool is the z-score:
z = (current value − average) ÷ standard deviation
The average defines the anchor. The standard deviation defines what counts as normal wobble. A z-score of +2 means the price is two standard deviations above its recent average.
Worked example (hypothetical numbers)
Suppose a hypothetical asset has traded over the last 20 days with an average price of 100 and a standard deviation of 4.
| Day price | Calculation | z-score |
|---|---|---|
| 100 | (100 − 100) ÷ 4 | 0 |
| 106 | (106 − 100) ÷ 4 | +1.5 |
| 108 | (108 − 100) ÷ 4 | +2.0 |
| 92 | (92 − 100) ÷ 4 | −2.0 |
A simple illustrative rule might be: when z falls below −2, open a small long position; exit when z returns to 0. Here, the asset drops to 92, z = −2, and the rule buys. If the price drifts back to 100, the position gains 8 per unit, a gain of about 8.7% on the entry price. That is an illustrative outcome, not a forecast.
Notice what the rule assumes: the 20-day average of 100 remains a fair centre. If the asset falls to 92 because something fundamental changed, the average itself will soon fall, and the 'cheap' price may simply be the new normal.
Choices that shape the result
- Lookback window. A short window reacts quickly but flags noise; a long window is steadier but slow to notice a new level.
- Entry and exit thresholds. A threshold of ±2 trades less often than ±1, but each trade has more room to revert.
- Time stop. If the price has not reverted within a set number of days, exit anyway. This is a defence against the tether having snapped.
Relatives of the same idea
Short-term reversal
Across many markets, researchers have documented that assets that fell sharply over a very short horizon, such as the past week or month, have sometimes shown a mild tendency to bounce afterwards, while sharp risers have sometimes given back some gains. A common explanation is temporary price pressure from liquidity demands. The effect, where it appears, involves frequent trading, so transaction costs and bid-ask spreads can consume much of it. See our lesson on transaction cost modelling for how to account for this.
Pairs ideas
A pairs approach does not ask whether one price will return to its own average. It asks whether the spread between two related assets will return to its usual range. Suppose two hypothetical companies in the same industry normally trade at a price ratio of about 1.00, with a typical wobble of 0.05. If the ratio rises to 1.15, the spread has a z-score of +3. A pairs rule would take a relatively short position in the expensive one and a relatively long position in the cheap one, aiming to profit when the gap narrows.
The appeal is that broad market moves partly cancel out, because you hold both sides. The risk is that the relationship itself breaks: one company is acquired, loses a major customer, or faces a regulatory shock. Then the spread does not narrow; it widens permanently.
When mean reversion fails
The structural break
A structural break is a lasting change in the process generating prices. The old average stops being relevant. Examples of the kind of event that can cause one include a company's business model being displaced, a currency peg being abandoned, or a sector's economics changing.
Before a break, the price looks cheap relative to history. After the break, the history is no longer a guide. From inside the trade, the two situations can look identical for a long time.
The danger of averaging in
Mean reversion rules often add to a position as it moves against you, because the z-score gets more extreme and the 'opportunity' looks better. Consider a hypothetical sequence with equal-sized purchases:
- Buy 100 units at 92 (z = −2).
- Price falls to 88. Buy another 100 units.
- Price falls to 84. Buy another 100 units.
Average cost is 88, with 300 units held, a total outlay of 26,400. If the price then settles at 70 because the business has been permanently repriced, the position is worth 21,000, a loss of 5,400, or about 20% of the money invested. The position was largest exactly when the thesis was weakest.
Compare that with a ceiling of one entry plus a hard exit. Losing roughly 22 on 100 units (entry 92, exit at 70) is 2,200, far smaller than the 5,400 lost by averaging in. This is not a claim that one approach is always better; it shows how averaging in concentrates risk in the scenario where the strategy is wrong.
Trending regimes
Even without a permanent break, markets go through periods when moves persist rather than fade. A mean reversion rule applied through a strong trend repeatedly buys dips that keep dipping. Our lesson on trend following vs mean reversion regimes explores how time horizon and regime change which behaviour dominates.
Payoff profile: the mirror of trend following
The two families tend to produce opposite shapes of results, at least in stylised form.
- Mean reversion: a high proportion of winning trades, each fairly small, because profits are capped at the return to the average. Losses are less bounded, because a failed trade may keep running against you. The return distribution tends to have a 'negative skew': steady gains punctuated by occasional sharp losses.
- Trend following: a lower proportion of winning trades, with small losses cut quickly and occasional large gains from sustained moves. The distribution tends to have a 'positive skew'. See trend following explained.
Neither shape is better. They feel different to live with. Mean reversion rewards patience with frequent small confirmations, which can build overconfidence just before a large loss. Trend following demands tolerance of many small losses and long flat stretches.
Common mistakes
- Treating a high z-score as a guarantee. A z-score describes distance, not the probability of return.
- Using too short a history. A calm 20-day window makes ordinary moves look extreme.
- Ignoring costs. Frequent small gains can be erased by spreads and fees.
- No exit for being wrong. Without a stop or time limit, a structural break becomes an open-ended loss.
- Averaging in without a cap. Doubling down scales risk precisely when the evidence is worst.
- Backtest optimism. Tuning the lookback and thresholds until history looks smooth is a classic path to overfitting.
- Assuming correlation equals a tether. Two prices that moved together in the past may have done so by coincidence.
Try this
Take a hypothetical price series: average 50, standard deviation 2.5.
- Calculate the z-score when the price is 44.
- Suppose a rule buys at z ≤ −2 and adds one equal unit at z ≤ −3. At what two prices would those buys occur?
- If the price then falls to 38 and stays there, compute the total loss on both units in price points.
- Now rewrite the rule with a maximum of one unit and an exit at z = −4. Compare the loss.
Write one sentence on what evidence would tell you the average had shifted, rather than the price being temporarily stretched.
Answers: (1) −2.4; (2) buys at 45 and 42.5; (3) losses of 7 and 4.5, total 11.5; (4) exit at 40, loss of 5 on one unit.
This lesson is education, not a recommendation of any strategy or product.