All posts
bollinger bandsstandard deviationsigmabreakoutmean reversionbacktestUSDJPY

Bollinger Band Settings: Which Sigma Works Best?

We tested Bollinger Bands from 0.5 to 4 standard deviations on USD/JPY. The hourly breakout favored 1σ; wider fade settings failed to repeat across two years.

The Bollinger Band dialog has a box called “Deviation” or “Standard Deviations.” Two is the familiar default, but whether 1σ, 2σ or 3σ is best depends first on what you do at the band.

We tested USD/JPY from 0.5σ through 4σ in 0.25 steps, crossed with seven periods from 10 to 50. A lower-band fade, an upper-band fade and a close-based breakout were run on 15-minute, hourly and four-hour bars across 2024, 2025, and the two halves of 2025: 3,780 backtests in all.

The short answer is that 1σ is the most defensible starting point for an hourly breakout. From 0.5σ through 1.25σ, all seven periods were profitable in both 2024 and 2025. Within that group, 1σ ranked first of the 15 deviations in 2024 and fourth in 2025. The 2025 winner, 1.75σ, fell to twelfth in 2024.

That does not make 1σ universally optimal. It means that, among these candidates, 1σ made the best compromise between profit, survival across periods and transfer to another year. The fade did not produce a repeatable “best sigma.”

0246770.570.757171.2551.551.756232.2522.512.753323.2543.543.7544deviation (σ)periods positive both years
0.5 to 1.25σ1.5 to 4σseven periods; USD/JPY hourly breakout
All seven periods stayed positive in both years from 0.5σ through 1.25σ. The apparent recovery beyond 3.5σ rests on only 6.3, 4.1 and 2.3 trades a year on average.

What Bollinger Bands sigma changes

Let SMA(n) be the simple moving average of the last n closes, SD(n) their standard deviation and k the deviation setting. The bands are:

Upper = SMA(n) + k × SD(n)

Lower = SMA(n) − k × SD(n)

The 2 in the settings dialog does not mean 2%. It multiplies the rolling standard deviation by two. Raising sigma pushes both bands away from the mean, producing fewer touches and fewer close-based breaks. Raising period also tends to reduce frequency because the centre line reacts more slowly.

SettingWhere it sitsRole in this hourly test
Close to the meanBreakout candidate with many signals
The conventional widthMany breakout settings survived both years
Far from the meanFew trades, highly dependent on rare moves
Reached very rarelyOnly a handful of trades per year

The often-quoted 68%, 95% and 99.7% figures for 1σ, 2σ and 3σ describe a normal distribution of independent observations. A market has serial dependence, trends and jumps, so those percentages are not market signal frequencies.

0%25%50%75%100%0.50.7511.251.51.7522.252.52.7533.253.53.75445%87.1%99.1%deviation (σ)
closes finishing insideperiod 20; 6,226 USD/JPY H1 bars in 2025
Measured on price rather than a theoretical distribution, 45.0% of closes sat inside 1σ, 87.1% inside 2σ and 99.1% inside 3σ.

On 6,226 hourly USD/JPY bars in 2025, using period 20, 45.0% of closes finished inside 1σ, 87.1% inside 2σ and 99.1% inside 3σ. That leaves 12.9% outside 2σ. Merely reaching 2σ does not establish that price is abnormal or due to reverse.

The settings dialog

For the conventional 20-period, 2σ display in MT4 or MT5, the inputs are below. TradingView and Formiq expose the corresponding period and deviation fields.

FieldExampleWhat it controls
Period20Lookback for the moving average and standard deviation
Shift0Horizontal displacement; normally zero
Deviations2.000Multiplier applied to standard deviation
Apply toClosePrice used in the calculation; this test uses closes
Style / ColorAnyDisplay only; it does not change the calculation

Formiq's backtester adds a trigger choice.

TriggerRule
Band touchBuy when the low reaches the lower band, or sell when the high reaches the upper band
Band breakoutBuy on a close above the upper band, or sell on a close below the lower band

The same 20 and 2σ can give opposite results when a touch is faded and a close outside is followed. The trading direction has to be fixed before sigma can be compared.

How this was measured

ItemValue
PairUSD/JPY
Windows1 Jan to 31 Dec 2025; 2024 and the two halves of 2025 as comparisons
Timeframes15-minute / one-hour / four-hour
2025 bars24,903 M15, 6,226 H1, 1,610 H4
Periods10, 14, 20, 25, 30, 40, 50
Deviations0.5σ to 4σ in 0.25 steps, 15 values
Fade longBuy the close of a bar whose low touched the lower band; exit at the close of a bar touching the opposite 1σ band
Fade shortSell the close of a bar whose high touched the upper band; exit at the close of a bar touching the opposite 1σ band
BreakoutBuy a close above the upper band, sell a close below the lower band, reverse on the opposite close
Grid7 periods × 15 deviations × 3 systems = 315 settings, on 3 timeframes and 4 windows: 3,780 runs
Costs0.3-pip spread, zero slippage, 0.1 lots
FillsSignal-bar close; exit and reversal on the same bar
Stops and targetsNone in the main grid; added separately below
MeasurementFormiq's production backtester, with pips re-derived from every fill

The fade's opposite band stays fixed at 1σ so the experiment changes the entry sigma only. Moving the entry and exit together would not reveal which one caused the result.

The hourly sigma results

Each row below averages its seven periods. “Positive both” counts the periods that made money in both 2024 and 2025.

SigmaMean pips 2025Mean pips 2024Mean 2025 tradesPositive both
0.5σ+1,069.1+1,430.3363.47 / 7
0.75σ+1,113.0+1,217.8301.17 / 7
+1,081.9+1,568.8260.47 / 7
1.25σ+999.7+1,088.6222.47 / 7
1.5σ+1,368.1+693.0188.75 / 7
1.75σ+1,850.2+590.2151.75 / 7
+979.6+742.2129.06 / 7
2.25σ−18.9+1,530.997.73 / 7
2.5σ−812.6+895.665.02 / 7
2.75σ−1,133.3+990.740.01 / 7
−124.9+462.221.73 / 7
3.25σ+772.2+114.012.72 / 7
3.5σ+509.1+210.86.34 / 7
3.75σ+329.7+697.94.14 / 7
+394.5+989.92.34 / 7

All seven periods survived both years from 0.5σ through 1.25σ. One sigma ranked first in 2024 and fourth in 2025, the most even placement in that robust group. Two sigma was also viable, with six of seven periods positive in both years, but its result depended more on period.

The apparent return to four survivors from 3.5σ upward needs the trade column beside it. Those settings averaged 6.3, 4.1 and 2.3 trades in 2025. A few successful outliers are not the same as a stable setting.

The whole 105-setting breakout grid changed with timeframe.

TimeframePositive 20252025 medianPositive 20242024 medianPositive both
M1555 / 105+138.5 pips65 / 105+404.3 pips44 / 105
H175 / 105+672.9 pips86 / 105+902.5 pips67 / 105
H432 / 105−270.8 pips84 / 105+926.6 pips27 / 105

Hourly bars retained 67 settings in both years. Four-hour bars went from 84 winners in 2024 to 32 in 2025, which is why the answer here is explicitly an hourly one.

Period 20 side by side

Fixing period at 20 makes the frequency change easier to see.

Sigma2025 trades, win, PF, pips2024 trades, win, PF, pips
277, 38.27%, 1.137, +1,052.5280, 34.29%, 1.281, +2,071.7
1.75σ158, 44.94%, 1.348, +1,846.0169, 40.24%, 1.407, +2,331.5
132, 43.18%, 1.235, +1,177.5137, 41.61%, 1.270, +1,434.6
2.75σ48, 41.67%, 0.703, −955.648, 50.00%, 1.219, +791.9
24, 37.50%, 1.017, +33.734, 44.12%, 1.255, +780.1

At period 20 alone, 1.75σ beats 1σ in both years. Across all seven periods, however, 1.75σ falls to twelfth in 2024. The best sigma after fixing one period is not the same question as the sigma that survives changing the period.

No stable sigma for the fade

The 105 hourly settings point in a different direction when the band is faded.

SystemPositive 2025MedianPositive 2024MedianPositive both
Fade long39 / 105−169.8 pips51 / 105−35.3 pips25 / 105
Fade short13 / 105−522.8 pips23 / 105−1,039.1 pips1 / 105
Breakout75 / 105+672.9 pips86 / 105+902.5 pips67 / 105

Widening the entry often made the fade-long loss smaller. Averaged over seven periods, 1σ made −833.0 pips in 2025 and −112.5 in 2024. At 2.75σ the figures were +150.5 and +1.7; at 3σ, −2.8 and +46.4.

But the best 2025 fade-long sigma, 2.75σ, was not the 2024 winner; that was 3σ. Their year-to-year sigma rank correlation was only +0.182. The short fade retained just one of 105 settings in both years. A wider band may simply trade less and therefore lose less; it did not establish a repeatable mean-reversion optimum.

Out-of-sample transfer

Choosing sigma by 2025 alone selects 1.75σ for the breakout, with a seven-period mean of +1,850.2 pips. In 2024 it made +590.2 and ranked twelfth of 15. Choosing on 2024 selects 1σ at +1,568.8; it made +1,081.9 and ranked fourth in 2025.

SelectionSigmaSelection yearOther yearRank in other year
Best mean in 20251.75σ+1,850.2 pips2024 +590.212 / 15
Best mean in 2024+1,568.8 pips2025 +1,081.94 / 15

Optimizing period and sigma together is less stable still. The 2025 winner, period 10 and 1.75σ, made +2,753.0 pips but ranked 63rd in 2024 at +686.0. The 2024 winner, period 25 and 2.25σ, made +2,793.5 but ranked 68th in 2025 at +231.3.

The rank correlation across all 105 settings was +0.040 between years and +0.104 between the two halves of 2025. Profit can remain positive while the fine ordering fails to transfer. That is why the conclusion favors a neighborhood of surviving settings over the single best row.

Can win rate choose sigma?

No. Averaged over all 105 hourly settings in 2025, the fade long won 61.6%, the fade short 60.5% and the breakout 41.0%.

SystemMean win rateMean winMean lossWin-rate vs profit rank correlation
Fade long61.6%+38.4 pips−64.0 pips+0.299
Fade short60.5%+39.6 pips−80.2 pips+0.662
Breakout41.0%+188.8 pips−93.0 pips+0.462

The fade is right more often but loses more when wrong. The breakout's average winner is about twice its average loser. Looking only for the sigma with the highest hit rate discards that payoff shape.

Filters, exits and costs

We added common filters to the period 20 and 1σ breakout used as the robust baseline.

Condition20252024
Plain277 trades, +1,052.5 pips280, +2,071.7 pips
ADX ≥ 20188, −1,033.2 pips185, −3.9 pips
ADX ≥ 25134, −1,572.2 pips126, +218.7 pips
ADX ≥ 3094, −972.7 pips88, −231.8 pips
Tokyo hours164, +519.4 pips162, +2,139.6 pips
London and New York hours207, +1,073.5 pips218, +2,154.3 pips

None of the ADX thresholds beat the baseline in both years. London and New York hours improved it slightly in both, from +1,052.5 to +1,073.5 in 2025 and +2,071.7 to +2,154.3 in 2024, but that session result needs more pairs and years before it becomes a setting recommendation.

Exit20252024
Opposite 1σ only+1,052.5 pips+2,071.7 pips
SL 30 / TP 60+1,634.1 pips+1,415.4 pips
SL 50 / TP 100+1,131.1 pips+1,868.3 pips
SL 100 / TP 200+1,333.9 pips+1,980.6 pips
24-bar time exit+989.1 pips+1,559.0 pips

Fixed stops and targets improved 2025 at the cost of 2024. None beat the plain rule in both years.

With spread varied on the 2025 period 20 and 1σ breakout, net profit moved from +1,135.6 pips at zero to +1,052.5 at 0.3, +858.6 at 1, +581.6 at 2 and +304.6 at 3 pips. Its simple break-even spread was about 4.10 pips. One sigma trades often, so low cost is part of the setting.

What the test supports

  1. For an hourly breakout, 1σ is the most defensible baseline. Every period from 10 to 50 survived both years at 0.5σ through 1.25σ, and 1σ ranked first in 2024 and fourth in 2025
  2. The single-year winner is not the best setting. The 2025 winner, 1.75σ, ranked twelfth in 2024; the year-to-year sigma rank correlation was +0.068
  3. Two sigma is viable, not uniquely correct. Six of seven hourly breakout periods were profitable in both years, including period 20
  4. The fade has no defensible best sigma here. Only 25 of 105 long settings and one short setting survived both years; widening mainly reduced frequency
  5. Results above 3.5σ need their sample size attached. Two to six trades a year cannot separate a setting from a few large moves

Which Bollinger Bands period works best? compares lookbacks from 5 through 200 and tests whether the best bar count changes with timeframe. The broader comparison between fading and following the bands is in 315 Bollinger Band backtests. RSI periods and 30/70 levels also show why a higher fade win rate need not produce more profit. MA disparity settings put the band at a percentage of price rather than a standard deviation, while backtesting without code shows how to rebuild the condition on your own pair.

Limits of this test

  • One pair, USD/JPY, and two independent calendar years. Nothing here guarantees the same order on other pairs or regimes
  • USD/JPY rose 1,632 pips in 2024 and finished 56 pips lower in 2025. That regime difference is the point of splitting years and also a limit on generalization
  • Picking a winner from a period-and-sigma grid creates a multiple-comparison uplift. The other year checks it, but is not an untouched future sample
  • Three sigma and wider settings have small samples. A 4σ mean of 2.3 trades cannot be compared with 260.4 trades at 1σ at equal confidence
  • Touch rules use highs and lows; breakouts use closes. Counting wick breaks as signals would produce a different test
  • Fills are at bar closes and spread is fixed. Live fills and changing spreads are not reproduced
  • The fade exit stays at the opposite 1σ band to isolate entry sigma. A study that optimizes the exit as well answers a different question

Questions people ask

What is the best standard deviation for Bollinger Bands?
For the hourly USD/JPY breakout in this test, 1σ is the most defensible starting point. Every one of the seven periods from 10 to 50 was profitable in both 2024 and 2025 at 0.5σ through 1.25σ. Within that robust group, 1σ ranked first in 2024 and fourth in 2025. The 2025 winner, 1.75σ, fell to twelfth in 2024.
Are 2 standard deviations good for Bollinger Bands?
They were reasonable, but less stable than 1σ for the hourly breakout. Six of seven periods at 2σ were profitable in both years. Period 20 and 2σ made 1,177.5 pips in 2025 and 1,434.6 in 2024. Measured containment was 87.1%, below the familiar theoretical 95%.
Are 3σ and 4σ Bollinger Bands stronger signals?
They are rarer, not automatically stronger. The hourly breakout averaged 21.7 trades a year at 3σ, 6.3 at 3.5σ and 2.3 at 4σ in 2025. A few large moves can decide the whole result at those sample sizes, so the number of profitable settings is not enough evidence.
Which Bollinger Band sigma is best for mean reversion?
This USD/JPY test found no stable answer for the fade. Of 105 hourly settings, only 25 fade-long settings and one fade-short setting were profitable in both years. Wider bands reduced the number of trades and often reduced the loss, but the winning sigma did not retain the same rank in another year.
How much price stays inside 1σ, 2σ and 3σ Bollinger Bands?
On 6,226 hourly USD/JPY bars in 2025 with period 20, 45.0% of closes finished inside 1σ, 87.1% inside 2σ and 99.1% inside 3σ. The familiar 68%, 95% and 99.7% are normal-distribution figures, not guaranteed market frequencies.

Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.