Mean Reversion Trading: Z-Score, Bollinger Bands and Examples

Mean Reversion Trading: Z-Score, Bollinger Bands and Examples

Mean reversion trading bets that a price that has moved unusually far from its average will move back toward it. Traders measure “unusually far” with a z-score = (price − moving average) ÷ standard deviation, or with Bollinger Bands set 2 standard deviations around a 20-period average. It tends to work in range-bound markets and fail in strong trends, so the stop-loss and the market filter matter as much as the entry.

Key takeaways

  • Mean reversion buys weakness and sells strength, the opposite of trend following.
  • A z-score below −2 or a close outside the lower Bollinger Band is a common “stretched” signal.
  • Win rates are often high but average wins small, so a few large losses can erase many winners.
  • Use it in ranging markets, always with a hard stop, because a “cheap” price can keep getting cheaper.

How mean reversion works

Prices oscillate around some measure of fair value: a moving average, VWAP or a valuation level. When a move overshoots, often from forced selling, an emotional reaction or a temporary order imbalance, the price can snap back as those pressures fade. Academic work, such as James Poterba and Lawrence Summers’ 1988 study, found evidence of mean reversion in stock returns over longer horizons. Short-term traders apply the same idea on hours or days.

Measuring the stretch: z-score and Bollinger Bands

z-score = (Price − Moving average) ÷ Standard deviation

Hypothetical example: a stock’s 20-day average is $100.61 and the standard deviation of its closes is $1.50. It closes at $97.37: z = (97.37 − 100.61) ÷ 1.50 = −2.16, more than two standard deviations below its average. Bollinger Bands draw exactly this: lines at the 20-period average ± 2 standard deviations.

Figure. A hypothetical range-bound market. Both band breaks reverted toward the average within a few bars. In a trending market, the same signals would fail repeatedly.

Worked trade example

Hypothetical example using the chart above, on a $50,000 account risking 1% ($500):

  • Signal: close at $97.37, below the lower band (z ≈ −2.2) in a market that has been ranging between $97 and $103.
  • Entry: next open near $97.40.
  • Stop: $96.40, below the range low, so risk = $1.00 per share.
  • Size: $500 ÷ $1.00 = 500 shares.
  • Target: the 20-period average near $100.40, a reward of $3.00, so 1:3.

In this sample the price reached the average within four bars. Many mean reversion trades are smaller: the typical target is “back to the middle,” not a trend.

Figure. A hypothetical but typical profile: (0.65 × 0.8R) − (0.35 × 1.0R) = +0.17R. If losses run past the planned stop, the edge disappears quickly.

Size the mean-reversion trade in the calculator

Hypothetical example. A stock closes 2 standard deviations below its 20-day average. The trader buys at $88.40, places the stop at $86.20 and targets the average at $92.80, risking a smaller 0.75% because the trade fades the move.

Inputs
Account equity$20,000
Risk per trade0.75% ($150)
Entry / stop / target$88.40 / $86.20 / $92.80
What the TradeRiskMath Stocks calculator returns
Position size68 shares
Capital at risk$149.60 (0.8% of equity, rounded)
Risk-to-reward1 : 2.00
Break-even win rate33.3%
Profit at target+$299.20

Mean-reversion systems usually win more often than they lose but with smaller winners, so a 1 : 2 target is on the generous side. Check your own win rate in the Expectancy calculator before raising the risk percentage.

Open these numbers in the Stocks calculator →

Results read from the live TradeRiskMath calculator in November 2026. The calculator runs in your browser; nothing you enter is stored. Educational only, not financial advice.

Mean reversion vs trend following

Mean reversionTrend following
EntryBuy weakness, sell strengthBuy strength, sell weakness
Best marketRanges, choppy conditionsSustained trends
Typical win rateHigher (often 55%–70%)Lower (often 30%–45%)
Typical payoffSmaller winsFew large wins
Main dangerA range turns into a trendLong choppy periods

See trend following core principles and breakout vs range trading for the other side.

Rules that keep mean reversion survivable

  • Filter the regime. Avoid fading moves when a longer moving average is sloping strongly, or when ATR is expanding sharply.
  • Always use a stop. Never average down on a fading position. “It’s oversold” is not a risk plan.
  • Avoid news-driven moves. Gaps on earnings or guidance changes often reflect new information, not an overreaction.
  • Take profits at the mean. Hoping for a full swing to the opposite band lowers the win rate the strategy depends on.
Figure. A simple checklist that turns the idea into rules. Each step removes a common way mean reversion trades go wrong.

Frequently asked questions

What is mean reversion in trading?

Mean reversion is the idea that prices that move unusually far from their average tend to move back toward it. Traders buy when price is stretched below the average and sell when it is stretched above, usually targeting a return to the average.

How do you measure if a stock is oversold for mean reversion?

A common method is the z-score: (price − moving average) ÷ standard deviation. A z-score below −2, or a close below the lower Bollinger Band (20-period average minus 2 standard deviations), is a typical stretched signal.

Usually not. In a strong trend, price can stay stretched for a long time and repeated fade signals produce losses. Most mean reversion traders use a trend or volatility filter to avoid these conditions.

What is the biggest risk of mean reversion trading?

A few large losses. Because wins are usually small, one trade that keeps going against you without a stop can erase many winners. A hard stop-loss and strict position sizing are essential.

Are Bollinger Bands a mean reversion indicator?

They are often used that way, but John Bollinger notes that a touch of a band is not a signal by itself. In trends, price can “walk the band.” Confirmation and context are needed.

Sources

Educational content only, not financial advice. Examples are hypothetical and use round numbers for clarity. Trading involves substantial risk of loss. Reviewed by the TradeRiskMath Editorial Team.