Bollinger Bands strategy tested on Bitcoin: buy the lower band or the upper?
Buying a close under the lower Bollinger Band and selling at the middle, run on BTC/USDT Perp with fees, slippage and funding, against the breakout rule.
- Written by
- The EdgeLuma team
- Published
- Reading time
- 15 min
Table of contents
- What are Bollinger Bands?
- The two Bollinger Bands strategies we tested
- How the test was run
- The result: buying the lower band lost
- Did it work in any year?
- Was it the costs?
- Did it work on other coins?
- Against buy and hold
- Does a trend filter help the lower band?
- Why we didn’t search for better settings
- How to run this test in EdgeLuma
- Frequently asked questions
The rule most guides teach for Bollinger Bands, buy a close under the lower band, lost 0.11R a trade over 477 hourly trades on BTC/USDT Perp, after fees, slippage and funding. The rule that did better was its exact opposite, the one John Bollinger’s own rules point to, and on Solana most of its gain came from one year.
Many of the tests that come up in a search for this rule are TradingView scripts, trading apps’ guides or exchanges’ research notes. Gate’s study, for one, tested a five-minute Bitcoin strategy and doesn’t say over which period.
So we wrote down the two ways Bollinger Bands are usually traded and fixed the rules before looking at any result. Then we ran them over more than two years of Bitcoin’s perpetual, and on Ethereum and Solana. Every run we made is in a table below.
What are Bollinger Bands?
Bollinger Bands are three lines drawn around the price: a moving average in the middle and a band two standard deviations above and below it. John Bollinger introduced them in the 1980s. With the usual settings, 20 candles and two standard deviations:
middle band = average close of the last 20 candles
upper band = middle band + 2 × standard deviation of those 20 closes
lower band = middle band − 2 × standard deviation of those 20 closesThe standard deviation measures how far the closes stray from their average, so the bands widen when the market swings and narrow when it goes quiet. The Wikipedia article on Bollinger Bands notes that they use the population form of the standard deviation, dividing by 20 and not 19. That’s the form EdgeLuma computes.
Traders read a close outside the bands in two opposite ways. One reading says the price has stretched too far from its average and will come back to it, the idea called mean reversion. The other says the close is the start of a move, the idea behind volatility breakout systems. John Bollinger’s own rules for the bands side with the second: “Closes outside the Bollinger Bands are initially continuation signals, not reversal signals.” The same list says a touch of the lower band isn’t, by itself, a buy signal.
The two Bollinger Bands strategies we tested
We tested both readings with their plainest rules, written before the test and left unchanged after it:
| Part | Lower band rule | Upper band rule |
|---|---|---|
| Idea | mean reversion | breakout |
| Entry | a candle closes under the lower band: buy at the next candle’s open, at market | a candle closes over the upper band: buy at the next candle’s open, at market |
| Exit | a candle closes back over the middle band: sell at the next open | a candle closes back under the middle band: sell at the next open |
| Stop | two ATR(14) below the entry | two ATR(14) below the entry |
| Target | no take-profit order: the exit above or the stop ends the trade | no take-profit order: the exit above or the stop ends the trade |
| Bands | 20 candles, two standard deviations | 20 candles, two standard deviations |
| Risk | the same on every trade, 1% of the account | the same on every trade, 1% of the account |
Both rules trade BTC/USDT Perp on Bybit, long only. Only the candle that crosses the band opens a trade, so a run of closes outside the band counts once. The middle band works as the lower band rule’s goal, but the exit waits for a candle to close over it. A take-profit order resting on the middle band would sell sooner, at the band itself, and that’s a different rule we didn’t test. The average true range puts the stop at a distance that follows the market’s own swings, the same stop as in our RSI test. We ran each rule on hourly, four-hour and daily candles.
How the test was run
Every result below comes from EdgeLuma’s backtest engine, under these conditions:
- The data is Bybit’s hourly candles for BTC/USDT Perp from 9 August 2024 to 21 October 2026, 19,264 of them, with no hour missing. The four-hour and daily candles are built from them. We picked no window: the test covers the whole stretch.
- The test reads a signal when its candle closes and fills it at the next candle’s open. For Bitcoin, the stop is checked on the one-minute candles inside each hour, so a stop hit and recovered within the hour still counts as hit. A trade still open when the data ends is closed at the last close.
- Fees follow Bybit’s own fee schedule for USDT perpetuals, at the rate a new account pays. We read it on 7 September 2026 and again, unchanged, on 21 November 2026. Market orders pay the taker fee.
- Slippage is half the exchange’s price tick, to cross the spread, plus the order book’s impact for the order’s size. The impact was measured on live order books on 6 September 2026.
- Funding is charged at Bybit’s own past funding rates, at every funding time a trade was open.
- Results are in R, the risk of one trade. 1R includes the round trip’s fees and slippage, so a trade stopped at its stop loses 1R, plus any funding it paid.
The runs were made on 21 November 2026. Results are hypothetical: a backtest replays the past with hindsight, and the past doesn’t promise the future. Leveraged perpetual futures can lose all the money you trade.
The result: buying the lower band lost
On hourly candles the lower band rule lost 0.11R a trade. It won a little more than half its trades and still lost, because its average win was much smaller than its average loss. The upper band rule was flat on hourly candles and made 0.17R a trade on four-hour candles.
BTC/USDT Perp, Bybit, 9 August 2024 to 21 October 2026, after fees, slippage and funding:
| Rule | Candles | Trades | Won | Expectancy | Total | Max drawdown |
|---|---|---|---|---|---|---|
| Lower band | 1 hour | 477 | 53% | −0.11R | −50.79R | 54.30R |
| Lower band | 4 hours | 119 | 54% | −0.07R | −7.74R | 18.24R |
| Lower band | 1 day | 15 | 67% | +0.08R | +1.16R | 3.28R |
| Upper band | 1 hour | 367 | 31% | 0.00R | −1.27R | 36.71R |
| Upper band | 4 hours | 93 | 37% | +0.17R | +15.88R | 9.93R |
| Upper band | 1 day | 18 | 22% | −0.14R | −2.46R | 6.43R |
Only one of these results is large enough to stand out from luck. By the rule in our guide to how many trades a backtest needs, the lower band’s hourly loss stands out after about 260 trades. It has 477. The upper band’s four-hour gain would need about 780 trades and has 93. The daily runs, at 15 and 18 trades in two years, can’t say anything either way. Max drawdown is the deepest fall from a peak of the running total, in R.
What the trades looked like, on the same runs:
| Rule | Candles | Average win | Average loss | Longest losing streak | Median trade |
|---|---|---|---|---|---|
| Lower band | 1 hour | +0.65R | −0.95R | 7 | 6 hours |
| Lower band | 4 hours | +0.73R | −0.99R | 7 | 24 hours |
| Upper band | 1 hour | +1.51R | −0.68R | 12 | 12 hours |
| Upper band | 4 hours | +1.81R | −0.77R | 7 | 40 hours |
The two rules make and lose money in opposite ways. The lower band rule sells as soon as the close is back over the middle band. That usually came within hours, so its wins stayed small, while its losers often ran the whole way to the stop: 213 of its 477 hourly trades ended there. The upper band rule wins only about one trade in three. Its exit waits for the close to fall back under the middle band, so a winner can run. A loser is often closed by the same exit before it reaches the stop. Our guide to win rate and expectancy explains why the second shape can make money and the first can lose it.
Did it work in any year?
The lower band rule lost in every year, and the upper band rule lost in 2025. Split by the year each trade closed, on BTC/USDT Perp, with the number of trades in brackets:
| Year | Lower band, 1 hour | Upper band, 1 hour | Upper band, 4 hours | Bitcoin’s price |
|---|---|---|---|---|
| 2024, from 9 August | −0.06R (81) | +0.08R (71) | +0.30R (17) | +55% |
| 2025 | −0.09R (218) | −0.15R (173) | −0.12R (44) | −7% |
| 2026, to 21 October | −0.15R (178) | +0.15R (123) | +0.49R (32) | −6% |
The lower band’s loss per trade grew a little each year. The upper band rule lost in 2025 and made money in 2026, and Bitcoin ended both of those years a little lower.
Was it the costs?
For the lower band rule, mostly yes. We ran the Bitcoin tests again with no fees, no slippage and no funding:
| Rule | Candles | Without costs | With costs |
|---|---|---|---|
| Lower band | 1 hour | −0.01R | −0.11R |
| Lower band | 4 hours | −0.02R | −0.07R |
| Upper band | 1 hour | +0.12R | 0.00R |
| Upper band | 4 hours | +0.26R | +0.17R |
Without costs the lower band rule was close to zero on both timeframes, so the signal had no edge to lose. On hourly candles the costs took 0.10R to 0.13R a trade, and that turned nothing into a clear loss. The upper band rule had something before costs, and on hourly candles the costs took all of it. Even its cost-free hourly result, +0.12R over 367 trades, wasn’t large enough to stand out from luck.
On a $10,000 account, the hourly lower band test paid $4,281 in fees, $74 in slippage and $108 in funding. Bitcoin’s order book is deep enough that a small order barely moves it, but the fee is paid on every entry and every exit. On hourly candles a stop two ATR away sits close to the entry, so the round trip’s fees are a large slice of each trade’s risk. Our guide to fees and slippage works through that arithmetic. The upper band rule held its trades about twice as long and paid more funding: $345 on the hourly test, beside $3,485 in fees.
Did it work on other coins?
The lower band rule lost on Ethereum and Solana too, and the upper band rule made money on both, most of all on four-hour candles. In EdgeLuma’s data, Ethereum’s perpetual runs from 15 October 2024 to 15 October 2026 and Solana’s from 25 October 2022 to 13 November 2026. Both are Bybit’s, and the results are after fees, slippage and funding.
| Market | Rule | Candles | Trades | Won | Expectancy | Total |
|---|---|---|---|---|---|---|
| ETH/USDT Perp | Lower band | 1 hour | 412 | 53% | −0.09R | −39.10R |
| ETH/USDT Perp | Lower band | 4 hours | 104 | 55% | −0.05R | −5.36R |
| SOL/USDT Perp | Lower band | 1 hour | 903 | 55% | −0.06R | −52.18R |
| SOL/USDT Perp | Lower band | 4 hours | 214 | 56% | −0.05R | −9.86R |
| ETH/USDT Perp | Upper band | 1 hour | 338 | 29% | +0.05R | +15.79R |
| ETH/USDT Perp | Upper band | 4 hours | 93 | 24% | +0.14R | +12.75R |
| SOL/USDT Perp | Upper band | 1 hour | 644 | 35% | +0.10R | +64.71R |
| SOL/USDT Perp | Upper band | 4 hours | 158 | 36% | +0.24R | +37.78R |
The lower band’s hourly loss stands out from luck on Ethereum, where it needed about 340 trades and made 412. On Solana it comes close: about 925 needed, 903 made. None of the upper band results does. The nearest, Solana on four-hour candles, would need about 230 trades and has 158.
Solana’s numbers lean on one year. Its price went from about $10 to about $102 during 2023, and that year gave the four-hour upper band rule 29.51R of its 37.78R. Without 2023 the rule made +0.07R a trade over 118 trades, and the hourly version +0.03R over 476. Ethereum’s four-hour run was positive in each of its three years, over 10, 44 and 39 trades.
For these two coins EdgeLuma’s one-minute candles start in September 2026, so before then the stop was checked on the hourly candle itself. With a stop and no target that gives the same trades. We ran Bitcoin both ways to check: every trade of the hourly and four-hour runs kept its entry, its exit price and its result, and only the minute recorded for a stop changed.
Against buy and hold
Holding Bitcoin or Solana did better than either rule. The table shows the four-hour runs on a $10,000 account that risks 1% of its starting balance on every trade. Beside them is the change in each coin’s price over the same period:
| Market | Period | Lower band rule | Upper band rule | Holding the coin |
|---|---|---|---|---|
| BTC/USDT Perp | Aug 2024 to Oct 2026 | −7.7% | +15.9% | +36.3% |
| ETH/USDT Perp | Oct 2024 to Oct 2026 | −5.4% | +12.8% | −8.8% |
| SOL/USDT Perp | Oct 2022 to Nov 2026 | −9.9% | +37.8% | +168.5% |
Ethereum fell over its period, and there the upper band rule came out ahead of holding. Both rules were out of the market most of the time and risked a small part of the account on each trade. So the comparison says as much about the sizing as about the signal.
Does a trend filter help the lower band?
No. A common fix for buying dips is to buy them only while the longer trend is up. We tested one version, chosen before the run: the lower band rule plus a second condition, that the close is above its 200-candle simple moving average.
| Rule | Candles | Trades | Won | Expectancy | Total |
|---|---|---|---|---|---|
| Lower band | 1 hour | 477 | 53% | −0.11R | −50.79R |
| Lower band, above the 200 SMA | 1 hour | 144 | 50% | −0.18R | −25.64R |
| Lower band | 4 hours | 119 | 54% | −0.07R | −7.74R |
| Lower band, above the 200 SMA | 4 hours | 41 | 56% | −0.06R | −2.36R |
On hourly candles the filter made the loss per trade larger, and a loss that size stands out from luck after about 85 trades. On four-hour candles it changed little, over 41 trades. In our RSI test the same filter turned the hourly result slightly positive on 24 trades. Here it went the other way, on six times as many.
Why we didn’t search for better settings
Because the best of a few dozen settings would almost certainly look good on this data by luck alone. We could have tried 10 or 50 candles, bands 1.5 or 2.5 standard deviations wide, other exits and other stops, then kept whichever did best. That’s overfitting, and a result found that way usually fades on the next stretch of data.
So the rules were fixed before the first run, and the one filter was chosen before it was tested. Every run made for this article is in its tables: sixteen with costs and four without. The upper band rule made money in five of its six hourly and four-hour runs, but those aren’t six separate tests. The three coins move together. Over the two years they share, their daily price changes had a correlation of about 0.8, so a good stretch for one was usually good for all three.
We also didn’t test the squeeze, the narrowing of the bands that many traders watch for before a breakout. It needs its own rule for what counts as narrow, decided before the test.
How to run this test in EdgeLuma
In EdgeLuma you describe a System in the System Builder in your own words. For the upper band rule that would be “buy BTC/USDT Perp on the 4-hour chart when a candle closes above the upper Bollinger Band (20, 2), exit when a candle closes back below the middle band, stop two ATR below the entry, risk 1% per trade”. When the description leaves a choice open, the EdgeLuma AI assistant asks you. By default the backtest charges the exchange’s verified fees and slippage, and the funding on a perpetual. It checks fills on finer candles and reports the result in R, with every trade listed. The report also shows the same backtest before costs, beside the result with them.
From there you can change one thing at a time: the coin, the timeframe, the width of the bands, a filter. Each change is a new run, so keep count of how many you try. To read a result, attach the run in the Chat and ask the EdgeLuma AI assistant about it. You could ask how a rule that wins only a third of its trades can still make money. Like any backtest, a report replays the past. It doesn’t tell you what to trade, and nothing in a report is financial advice.
Test a strategy yourself: start with the Free plan, no card needed.
Key takeaways
- The textbook Bollinger Bands rule, long on a close under the lower band and out when the close is back over the middle band, lost 0.11R a trade over 477 hourly trades on BTC/USDT Perp after fees, slippage and funding.
- It won a little more than half its trades, but its wins averaged +0.65R against losses of −0.95R. Without costs it was close to zero, and it lost on Ethereum and Solana too.
- The opposite rule, long on a close over the upper band, made +0.17R a trade on four-hour candles and was flat on hourly ones. Its 93 four-hour trades are far too few to tell an edge from luck.
- On Solana most of the upper band rule’s gain came from 2023, when the coin rose about tenfold. Without that year it made +0.07R a trade on four-hour candles, over 118 trades.
- The rules were fixed before the first run, and all 20 runs are in the tables. The result fits John Bollinger’s own rule that a close outside the bands is at first a sign of continuation.
Frequently asked questions
Do Bollinger Bands work on Bitcoin?
The textbook way of trading them didn’t. Buying a close under the lower band and selling back at the middle band lost 0.11R a trade over 477 hourly trades on BTC/USDT Perp, after fees, slippage and funding, from August 2024 to October 2026. Buying a close over the upper band did better, +0.17R a trade on four-hour candles, but over 93 trades, too few to rule out luck.
Is a close below the lower Bollinger Band a buy signal?
Not on its own, by John Bollinger’s rules or by this test. His rules say a touch of the lower band isn’t in itself a buy signal, and that closes outside the bands are at first continuation signals. On Bitcoin, Ethereum and Solana, the rule that bought those closes lost on every hourly and four-hour run.
What are the best Bollinger Bands settings for crypto?
There isn’t a set that holds in general. Twenty candles and two standard deviations are Bollinger’s defaults, and his rules call them just that: defaults, which a given market may need changed. Any setting picked because it did best on past data has been fitted to that data, so test it on a stretch you didn’t use to choose it.
How accurate is the Bollinger Bands strategy?
Its accuracy, the share of trades it wins, says little on its own. The lower band rule won a little more than half its hourly trades on Bitcoin and still lost, because its wins were smaller than its losses. The upper band rule won about a third of its trades and did better. The number to judge is the expectancy, the average result per trade after costs.




