Independent market intelligence
Research over noise · Risk before return
Forex · Strategy research

EUR/USD H4: breakout after a Bollinger Band squeeze

Does a quiet market make the next breakout more useful? We define a squeeze precisely, wait for a completed H4 close and compare the same breakout rules with and without the low-volatility filter.

12 min read

In simple terms

Under these rules, a position is opened after a completed four-hour candle closes beyond the previous candle’s Bollinger Band, provided that earlier band was unusually narrow. A narrow band does not choose the direction. The historical test includes false breakouts, trading costs and losing periods; it does not establish a reliable profitable edge.

Study scope

Educational retrospective simulation. The model uses a USD account, fractional base-currency units, a 0.5% initial risk budget and a five-times entry-notional cap. These are study conventions, not recommended settings. Later-period and GBP/USD results are retrospective comparisons.

Contents
01

What a squeeze does and does not tell us

Bollinger BandWidth describes how wide the bands are relative to their middle line. A low reading identifies relatively quiet recent prices; it does not tell us whether the next move will be up or down or whether a breakout will persist. This study adds a specific closing-price trigger and tests the resulting positions after explicit costs.

02

Data, complete H4 candles and the clock

The study uses 34 HistData M1 archives for EUR/USD and GBP/USD, from 2019 through October 2026. Source OHLC is Bid-only, in fixed EST without daylight saving; adding five hours gives UTC. The test begins 2020-01-01 and ends before 2026-11-01; 2019 provides warm-up. H4 starts are 00:00, 04:00, 08:00, 12:00, 16:00 and 20:00 UTC. A signal candle requires all 240 distinct minutes. Missing prices are never filled.

03

Build the bands from completed closes

The middle band is the arithmetic mean of the latest 20 accepted H4 closes. Standard deviation uses the same 20 values with division by 20, not a sample correction. Upper and lower bands equal that mean plus or minus two standard deviations. BandWidth is the distance between the bands divided by the absolute middle value. The model advances over accepted candles without inventing prices in omitted buckets.

04

Define unusually narrow before the breakout

Here a squeeze has a fixed percentile definition. Let s be the completed H4 candle immediately before the candidate breakout t. BandWidth at s must be at or below the 20th-percentile threshold of the 120 finite BandWidth observations immediately before s. The candidate s is excluded from its own threshold. The percentile uses linear interpolation between sorted observations; neither s nor any later price can move that reference threshold.

05

The exact long and short triggers

Candles s and t must be adjacent UTC H4 buckets, four hours apart. The close of s must lie inside its own bands, including the boundaries. A long signal requires the completed close of t above the upper band of s; a short requires it below the lower band of s. ATR14 at t must be positive. Both filtered and control cases require the same indicator and threshold warm-up; the control removes only the squeeze inequality.

06

Entry and execution sides

Entry is at the next UTC H4 opening minute, only if that exact minute exists; a missing boundary cancels the request. There is one position at a time, with no exit and re-entry in the same minute. A long opens at Bid plus full spread and adverse slippage; a short at Bid minus slippage. Long exits use Bid and short exits use modeled Ask. A completed signal cannot be filled earlier within the candle that produced it.

07

Protection, failed breakouts and time exits

The fixed stop is two signal-candle ATR14 values from the actual entry fill; the target is twice that initial price-risk distance. ATR14 uses an arithmetic seed followed by Wilder smoothing. A completed accepted H4 close on the wrong side of its current middle band schedules the next observed minute-open exit. The time limit is 120 elapsed hours, including weekends. Standing stop and target orders take priority over scheduled market exits; a minute reaching both is treated as a stop. Gap stops use the first observed quote and can lose more than planned.

08

Model costs explicitly

The EUR/USD base case uses a 1-pip full spread, 0.1 pip adverse slippage per side and 0.25 pip commission per side. GBP/USD uses a 1.5-pip spread. At 22:00 UTC on weekdays the model debits 0.5 pip per roll unit, with Wednesday counting three units, equally for long and short. Stress doubles the spreads, raises per-side slippage to 0.3 pip and commission to 0.5 pip, and uses a 1-pip roll debit. These are scenarios, not historical broker conditions.

09

Account size and the meaning of risk

The account starts with USD 10,000. Before entry, 0.5% of realized cash budgets the initial stop distance plus entry commission, with notional capped at five times cash. Exit costs, carry and gaps can make the realized loss larger. This CFD-style model uses fractional units; it does not cash-fund the full notional or reproduce broker lot steps, margin liquidation, swap credits or interest on cash. Returns belong to this specific account convention.

10

Try a BandWidth arithmetic example

The worksheet uses an editable middle value, standard deviation and multiplier to calculate upper and lower bands and their percentage width. Its cutoff is a supplied example, not an estimate from the preceding 120 market observations. Passing this comparison is not a trade signal: the real test also needs the completed-bar sequence, adjacency, price trigger, costs and position rules. Editing the worksheet does not rerun the historical study.

BandWidth arithmetic worksheet

Editable example, not live data. The study fixes the multiplier at 2 and computes the squeeze cutoff from 120 earlier widths. This worksheet uses the supplied cutoff; changing its inputs does not change the study.

Upper band
—
Lower band
—
BandWidth (%)
—
Width at or below cutoff?
—

upper = middle + k × σ; lower = middle − k × σ; BandWidth% = 100 × (upper − lower) ÷ |middle|

11

Full-sample results after costs

The filtered base case returns −2.43% from 156 trades, versus −8.91% from 332 trades without the squeeze restriction. Its minute-close maximum drawdown is −12.60% and profit factor 0.928. The zero-cost rerun returns +1.21%; removing costs changes fills and protective levels and may change the trade set. Account return compounds the USD model and is not a sum of R. Profit factor includes allocated carry and both commissions; minute-close drawdown misses intraminute equity extremes.

Full sample · 2020–October 2026
CaseNet returnMax. drawdownTradesProfit factorNet R
EUR/USD · squeeze filter−2.43%−12.60%1560.928−4.50
EUR/USD · no squeeze restriction−8.91%−15.42%3320.879−17.84
EUR/USD · zero costs+1.21%−11.19%1561.037+2.82
EUR/USD · cost stress−7.76%−14.65%1570.785−15.84
USD account equity sampled at accepted H4 closes; drawdown uses every observed minute-close mark. Filtered and control base-cost accounts begin at USD 10,000.
EUR/USD · squeeze filterEUR/USD · no squeeze restriction
USD account equity sampled at accepted H4 closes; drawdown uses every observed minute-close mark. Filtered and control base-cost accounts begin at USD 10,000.
12

Earlier and later periods, plus GBP/USD

The earlier interval is 2020–2023; the later one is 2024 through October 2026. Each starts flat with a fresh USD 10,000 account while retaining prior indicator history. These are separate runs, not slices of one trade ledger. GBP/USD applies the same rules with its declared spread and shares dollar exposure with EUR/USD. A favorable later period does not turn this retrospective comparison into an untouched forward test.

Separate period and transfer runs
CaseNet returnMax. drawdownTradesProfit factorNet R
EUR/USD · filtered · earlier−9.58%−10.90%850.543−20.02
EUR/USD · filtered · later+7.90%−2.30%711.550+15.52
EUR/USD · control · earlier−7.19%−13.01%1880.837−14.49
EUR/USD · control · later−1.85%−5.11%1440.942−3.35
GBP/USD · squeeze filter−7.47%−8.34%1560.784−15.21
GBP/USD · no squeeze restriction−9.15%−14.16%3360.874−18.42
GBP/USD · filtered · later−4.81%−5.28%640.672−9.77
GBP/USD · cost stress−10.44%−10.96%1560.711−21.83
13

Sensitivity without replacing the rules

The protocol also tests 10th- and 30th-percentile squeeze cutoffs and stops of 1.5 and 2.5 ATR, changing one parameter at a time. All variants are retained. A stronger row is not a reason to substitute new settings after seeing the sample; comparing variants creates selection risk. The 20-period bands, two-standard-deviation multiplier and other entry conditions stay fixed in these checks.

14

What source conflicts and rejected candles mean

The raw EUR/USD data contains six conflicting timestamps; GBP/USD has 18. Main-series calculations remove every such timestamp; first- and last-occurrence alternatives are tested separately for EUR/USD. A single absent or conflicting minute can invalidate an entire H4 signal candle. Protective stops still examine every available M1 quote while holding, including inside incomplete H4 buckets. These conventions do not certify source completeness or reveal prices that were never recorded.

Predeclared sensitivity and data-policy runs
CaseNet returnMax. drawdownTradesProfit factorNet R
EUR/USD · 10th-percentile cutoff−0.16%−10.15%1040.993−0.02
EUR/USD · 30th-percentile cutoff−3.29%−13.76%1980.919−6.20
EUR/USD · stop 1.5 ATR−6.17%−13.59%1640.865−12.16
EUR/USD · stop 2.5 ATR−3.74%−10.11%1540.866−7.36
EUR/USD · first conflict row−2.43%−12.60%1560.928−4.50
EUR/USD · last conflict row−2.43%−12.60%1560.928−4.50
15

Two actual trades and the breakout reference

Examples are the first positive and first negative net filtered EUR/USD trades entered in the later interval. E/X identify the execution candles; exact UTC minutes and modeled fills are listed below. The breakout compares close t with the already completed bands at s; the frozen reference is distinguished from subsequently changing bands. Exit-candle prices after an execution are context, not information used to trigger it. S/T apply only while holding; slippage can move a fill beyond its level.

Q marks the squeeze candle s and B the completed breakout candle t. B+(s) and B−(s) are the frozen upper and lower bands used for that breakout; the evolving BB20×2 lines provide context. Time gaps are compressed and shaded; Δt is elapsed time between neighboring shown bucket starts, not a count of missing candles. Candles are recorded Bid OHLC; short exits and stops use modeled Ask, so fills can differ from the Bid candle. Exit-candle quotes after the fill are context only.

First later-period filtered trade with positive net P&L. E: entry; X: exit; S: stop; T: target. UTC; USD per EUR.
First later-period filtered trade with positive net P&L. E: entry; X: exit; S: stop; T: target. UTC; USD per EUR.
E · UTC
2024-03-05 16:00
X · UTC
2024-03-08 13:40
E · USD/EUR
1.08726
X · USD/EUR
1.09712
S · USD/EUR
1.08233
T · USD/EUR
1.09713
Net R
+1.937
First later-period filtered trade with negative net P&L. E: entry; X: exit; S: stop; T: target. UTC; USD per EUR.
First later-period filtered trade with negative net P&L. E: entry; X: exit; S: stop; T: target. UTC; USD per EUR.
E · UTC
2024-01-23 16:00
X · UTC
2024-01-24 09:08
E · USD/EUR
1.08309
X · USD/EUR
1.08855
S · USD/EUR
1.08854
T · USD/EUR
1.07219
Net R
−1.020
16

How to use the evidence

Read the full sample, subperiods, cost stress and data-policy alternatives together. A quieter setup can reduce trade frequency and change losses without proving a durable edge. A band touch or a narrow BandWidth alone is insufficient. This is an explicit example of testing a rule set, not a live signal or a forecast. New entry conditions would need a new declared protocol and genuinely later evidence.

Questions and answers

Does a squeeze predict the direction?

No. It describes recent relative volatility. This model waits for a completed close above or below the previous bands to select direction, and that breakout can still fail.

Can I enter when the live candle first touches a band?

That is not the tested rule. The H4 candle must finish, and entry is possible only on the exact next H4 opening minute.

Does the squeeze candle enter its own percentile history?

No. Its threshold uses the 120 finite BandWidth values before that candle, with linear percentile interpolation. Future prices are excluded.

Why reject a candle missing one minute?

That is the predeclared completeness convention for signals. No missing OHLC is invented; available M1 observations still manage an existing position.

Does a profitable later period prove the strategy works?

No. The split is retrospective, and the full sample, costs, sensitivity and correlated GBP/USD comparison must remain visible.

Does the worksheet calculate the historical squeeze percentile?

No. It calculates bands and BandWidth from supplied arithmetic inputs and compares them with an editable example cutoff. It does not read the 120 historical widths or simulate trades.

Sources and reproducibility

Three primary references; calculation files are available below.

Original archives, hashes, source conflicts and independently implemented calculations are retained with the research source.

Risk disclosure

Educational information only, not investment or trading advice. Leveraged currency positions can lose more than the planned stop budget. Historical simulations do not predict future returns.

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.