MT5 Bollinger Bands: squeezes, band width and the 95% misconception

MT5 Bollinger Bands: squeezes, band width and the 95% misconception

Read the three lines

Bollinger Bands place an upper and lower band around a moving average using a multiple of standard deviation. In the standard example, the middle is a 20-period SMA and the distance is two standard deviations. These are settings to understand and test, not an optimal configuration for every market.

Adding the indicator does not create a probability model. The bands summarize a rolling sample of prices; they do not guarantee that a fixed percentage of future prices will remain inside.

Two standard deviations are not a trading guarantee

The familiar “about 95%” statement belongs to a particular normal-distribution model. Market prices, rolling estimates and future outcomes do not automatically satisfy that model. A touch of the upper band is therefore not proof that price is statistically required to reverse.

Price can move along a band during a trend. A breakout rule and a mean-reversion rule can interpret the same touch in opposite ways. Decide which hypothesis you are evaluating before selecting examples.

Make a squeeze measurable

One descriptive measure is band width = (upper−lower)/middle, when the middle is nonzero. With synthetic values upper=110, lower=90 and middle=100, width is 0.20, or 20%. Keep the ratio and percentage notation consistent.

Instead of calling a chart “tight” by eye, compare its current width with a predefined historical window or threshold. State the window and whether the comparison excludes the current observation. A contraction describes reduced dispersion; it does not identify the eventual breakout direction.

Use band position carefully

A common normalized location is %B = (price−lower)/(upper−lower). With the same bands and price=105, %B is 0.75. Values can exceed 1 or fall below 0 when price lies outside the bands. A zero-width band requires a defined missing or flat-data policy.

Do not silently clamp out-of-band values if your later rule needs to detect them. Keep applied price and shift consistent with the chart. A plotted forward shift changes where the band appears, not what data was available earlier.

Compare contractions that break in both directions

Record width, price location and the next observations for all events satisfying a frozen squeeze rule. Include breakouts that fail and intervals that remain quiet. If you add confirmation, record its delay rather than entering retrospectively at the start of the squeeze.

Use the ATR guide to contrast range-based volatility with dispersion-based bands. The two can provide different descriptions, but their combination still needs a defined purpose.

Sources and further reading

Back to top

MQLume Bespoke

Built around your ambition.

Explore bespoke services →

Have something more specific in mind?

Ask us about advanced custom development. Share your requirements through private support or email; we will discuss the scope and quote separately.

100% committed to following up on your delivery and support requests.

Free downloads. Real source files.

FREE

Lizard [MQLume]

MQL5 / MT5Version v2.21

Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

US$149.00FREE
FREE

Scraper Gold [MQLume]

MQL5 / MT5Version v3.7

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.

US$95.00FREE
FREE

EA Black Dragon [MQLume]

MQL5 / MT5Version v13.0

Trend-based entries with optional grid additions, side controls and virtual exits.

US$30.00FREE
FREE

Hamster Scalping [MQLume]

MQL5 / MT5Version v21.0

RSI entries with two ATR filters, configurable sessions and optional grid management.

US$30.00FREE
MQLume

More to explore. A community to share it with.

Stay close to MQLume, wherever you like to learn.

YouTube

See our EAs in action. Explore backtests, walkthroughs and practical guides.

Watch on YouTube

Telegram

Meet other EA users, share ideas and keep up with what’s new.

Join the community Follow official updates

Cart

One personal-use licence per project. Each project can be added once.

Your cart is waiting for its first passenger.

Choose an EA or source edition to get started.

Continue shopping