Breakouts

Bollinger Squeeze Breakout

A compression-and-break rule using 20-period Bollinger Bands with two standard deviations and a precisely defined 120-bar bandwidth minimum.

Category
Breakouts
Timeframes
H4
Pairs
EURUSD, GBPUSD, USDJPY, AUDUSD
Test status
Mechanical bar tests completed; profitability unverified
MT5 EURUSD H4 historical chart for Bollinger Squeeze Breakout, with MT5 Bollinger Bands(20,2), Close; EMA(50), Close, teal; Bollinger bandwidth: 100 x (upper-lower)/middle; MT5 ATR(14). Context only.
Genuine MT5 EURUSD H4 chart, 2025-09-09 20:00 to 2025-10-24 00:00 broker time. BB(20,2) | EMA50 teal | bandwidth (%) | ATR(14). Historical context only; no qualified entry, executed trade or performance result is claimed.. Open image for full size.

How the rule works

A squeeze says recent dispersion is small relative to its own history; it does not predict breakout direction. The finite five-bar arming window prevents an old compression from justifying a much later signal. The breakout can still be false, especially when a news jump expands both price range and spread before the next entry quote.

Setup

  • At close, define bandwidth as (upper−lower)/middle. A squeeze exists when today’s bandwidth is below every value in the prior 120 completed H4 bars, excluding today. Wait for a later close outside a band.
  • Mark a squeeze on its completed timestamp. It remains eligible for exactly the next five H4 bars. The first valid outside-band close consumes it; ignore later signals from the same squeeze, even after a losing trade.

Indicators

  • Bollinger Bands(20,2)
  • Bandwidth
  • ATR(14)
  • EMA(50)

Long entry

  • Buy next-bar ask if the squeeze was active in one of the prior five completed bars and the current close finishes above the upper band and EMA(50).

Short entry

  • Sell next-bar bid under the mirror condition below lower band and EMA(50). One breakout may create only one trade.

Stop loss

  • Initial stop is the middle band at signal close, capped at 2×ATR(14); if the middle-band stop is farther, use 2×ATR and accept that it is editorial.

Exit

  • Exit on a completed close through the middle band, at a 2R target, or after 12 H4 bars. A stop has priority over any close-based rule.

Risk and position size

  • Risk 0.40% equity. Size from initial stop and do not raise risk because a squeeze appears unusually narrow.

Costs and execution

  • MT5 documents the band formula and volatility-sensitive width, but not this percentile or exit rule. Use completed bars, next-bar prices and broker-specific spread, slippage and swaps.

When the method can fail

  • Avoid relying on a squeeze to predict direction, news releases that widen spreads, and a middle band near zero in malformed data. Breakouts can be false and fast.

Worked example

  • Hypothetical sequence: a completed width minimum arms the next five bars. On the third bar, close 1.1050 exceeds upper band 1.1040 and EMA50. Next entry 1.1052, middle band 1.1000 and ATR14 0.0030 give a 52-pip initial stop and 2R target 1.1156. A sixth-bar breakout is ineligible.

Historical test results

No tested pair meets the complete research-screen criterion. Positive cells alone do not qualify the strategy.

24 mechanical runs across 4 pairs on H4. Decisions use completed strategy bars; fills use native ICMarketsEU-Demo M15 Bid candles with explicitly modelled costs. Full window: 1 January 2025–18 September 2026. Each row starts with an independent USD10,000 account.

PairPeriodCostsTradesNet returnProfit factorMax drawdownAmbiguous bars
EURUSDcombinedbase11-0.28%0.88951.51%0
EURUSDcombinedstress11-1.33%0.56291.96%0
GBPUSDcombinedbase12+1.08%1.46461.91%0
GBPUSDcombinedstress12+1.04%1.44261.89%0
USDJPYcombinedbase16+2.35%1.93681.11%0
USDJPYcombinedstress16+2.22%1.87051.13%0
AUDUSDcombinedbase14-3.05%0.27833.38%0
AUDUSDcombinedstress14-3.06%0.26333.37%0
Show 2025 and 2026 separately
PairPeriodCostsTradesNet returnProfit factorMax drawdownAmbiguous bars
EURUSD2025base4-0.79%0.3041.51%0
EURUSD2025stress4-0.84%0.25791.50%0
EURUSD2026base7+0.54%1.37081.26%0
EURUSD2026stress7-0.49%0.74321.34%0
GBPUSD2025base7-0.15%0.90731.91%0
GBPUSD2025stress7-0.13%0.91681.89%0
GBPUSD2026base5+1.23%2.73340.90%0
GBPUSD2026stress5+1.17%2.5660.96%0
USDJPY2025base12+0.57%1.2711.11%0
USDJPY2025stress12+0.49%1.22621.13%0
USDJPY2026base4+1.78%5.5170.66%0
USDJPY2026stress4+1.73%5.42160.68%0
AUDUSD2025base9-2.32%0.16432.56%0
AUDUSD2025stress9-2.35%0.13612.52%0
AUDUSD2026base5-0.76%0.48790.98%0
AUDUSD2026stress5-0.78%0.48221.01%0
Costs, execution and qualification criteria

Base: Spread 1.0 pip for majors; 1.5 EURGBP/EURJPY; 2.0 GBPJPY/AUDNZD. USD7/100k round-trip commission; 0.1 pip adverse market/stop slippage per fill. Financing=max(negative current native swap,0.2pip/night), no positive credit, native triple-swap day.

Stress: Double base spread; 0.3 pip adverse slippage/fill; same commission; double max(negative current native swap,0.5pip/night).

Research candidate only if a pair has >=30 trades in EACH calendar subperiod, positive net returns and PF >=1.10 in EACH subperiod under BOTH cost scenarios, and combined maximum drawdown <=15% under BOTH scenarios. Not a statistical profitability proof. All pairs and failures are retained.

Profit factor is the sum of positive net trade results divided by the absolute sum of negative results. Drawdown includes adverse M15 intrabar marks. The end of each test window liquidates open positions, so separate subperiod returns do not add exactly to the continuous-window return.

  • Bar execution, not a real-tick MT5 Strategy Tester run. Same-bar ambiguity is treated adversely and counted.
  • Current swap snapshot is an explicit stress assumption, not historical funding.
  • One isolated USD10,000 account per strategy/pair, leverage ceiling30, broker minimum lots and steps. Results cannot be added into one portfolio.
  • 2026 is a later evaluation slice, not untouched independent out-of-sample evidence; no parameter optimization was performed.
  • Retrospective scheduled MT5 calendar may contain revised release times. UTC export normalized to NY-close broker clock against BLS releases.
  • General discretionary event avoidance is fixed as high-impact events for either currency +/-30min. IDs1/17 next60min; ID20 next120min. ID13 UK bank holidays excluded. Subjective trend quality, unscheduled events and all-country holiday/session quality are not fully quantifiable; these are documented mechanical variants.
  • Sparse broker histories are reported with shorter effective coverage and are ineligible for a candidate label.
  • Native indicator parity: ATR, SMA, RSI, MACD, bands, stochastic, WPR, CCI and Ichimoku matched native buffers on EURUSD H4 within rounding tolerance; Wilder ADX matched the MetaQuotes ADXW example. EMA200 seed residual at 1,000 bars was 0.000000715, falling below 0.0000000001 after 2,000 bars.
  • Built-in iSAR differs from the published MetaQuotes example on reversal bars. ID9 therefore uses actual built-in iSAR buffers exported by MT5, joined by timestamp, not the approximate Python SAR. Native GBPUSD/USDJPY SAR history needs 300 warm-up bars from January 2025, so those rows start later and cannot pass the full-period screen.
  • 37 automated checks passed: execution gaps, short ask prices, ambiguous stop/target candles, partial commissions, pending expiry, time zones, rule regression cases and monthly portfolio no-lookahead/cash costs.

Interpretation: these are mechanical bar-model tests, not verified real-tick or live performance. Price rules were held fixed; subjective market-quality exclusions remain outside the mechanical model. Strategy adaptation requires a new test.

Download all test metrics and assumptions (JSON) · Download simulated trade logs and reproducible research code · Broker commission and swap documentation

Execution conventions

  • Bar [0] is forming; [1] is the most recently completed bar. Unless explicitly stated otherwise, indicators use Close with zero plot shift and signals use completed bars. EMA is exponential, SMA is arithmetic and MT5 ATR is its native true-range average. Use at least 300 completed warm-up bars; a longer rule-specific requirement takes priority.
  • A close-based signal is executed at the first available quote after the close, never retrospectively at the signal close. Buy at ask, sell at bid; close longs at bid and shorts at ask. A standing stop or target can fill within a bar. A gap through a stop fills at the first executable price, which can be worse than the stop.
  • R means the initial entry-to-protective-stop distance, fixed at entry. Convert that distance into account-currency loss using the symbol tick size and loss-side tick value. Lots = cash risk / loss per lot, rounded down to the broker volume step. Round prices to the trade tick and recheck risk plus minimum stop/freeze distances before submitting. Budget commission and slippage separately; skip if minimum size exceeds the risk limit.
  • Use one position per symbol and no averaging down. A trailing stop only tightens after a completed bar and becomes active on the next quote. The entry bar is holding bar one; a time exit executes on the quote after the specified holding bar closes. When a hard stop and a close-based exit compete, the stop already active takes precedence. With OHLC-only data, assume stop before target if both can occur in one bar; tick data is needed to resolve the order.
  • The article defines the price rule. Any discretionary news exclusion changes the tested variant and must be recorded in advance. Map broker timestamps to the named London/New York time zone using historical daylight-saving offsets; do not assume a fixed UTC offset. Include spread, commission, slippage, overnight financing and triple-swap days in a profitability test.

Adapt and test your version

  • Treat these inputs as a reproducible starting specification. Choose a currency pair, session and holding period that match the time you can monitor the market, then record any changes to indicator periods, thresholds, stop distance or exits as a new version.
  • Change one hypothesis at a time. Reserve a later period and additional pairs for evaluation before looking at their results. Include your account’s actual trading and financing costs, compare small parameter changes, and forward-test on demo. A selected profitable window does not validate the strategy or its modified version.

Reproduce the chart in MT5

  • Open EURUSD on H4. Add the indicators listed above through Insert → Indicators; use Close and zero shift unless a different setting is specified. The Data Window displays exact values for the selected completed candle.
  • Compare the signal candle with the required earlier bars before moving forward. Use the crosshair to read prices and times. For custom channels, session levels or Supertrend, reproduce the formula in this guide and check the calculation before relying on an external indicator.
  • Draw entry, initial SL and target only after a candle has satisfied every condition. Label planned levels as plans; they do not demonstrate a historical fill. The featured chart is genuine historical MT5 context and is not a trade-performance report.

Sources