Bollinger Band Mean Reversion Backtest: Bar-Close Signals vs Next-Bar Execution
Bollinger reversion rules buy closes below the lower band. The bands move with the bar, so intrabar 'touches' and closed-bar signals are different sets.
Short answer
A Bollinger mean-reversion rule buys when a bar closes below the lower band and exits near the middle band. Intrabar, the band widens as price falls, so many touches never become closed-bar signals; filling at intrabar touches captures prices that didn't produce a confirmed signal. Use closed-bar signals, next-bar open fills with reversion-appropriate slippage, and compute break-even cost.
Signal time vs execution time
| Execution model | Assumption | Net avg (illustrative) |
|---|---|---|
| Intrabar band touch | Touches that never closed below | +0.24% |
| Next bar open + slippage | Realistic | +0.06% |
| Signal bar close | Zero latency | +0.09% |
Where the difference comes from
Because bands expand during the move, intrabar touches are much more frequent than closed-bar signals and are biased toward better prices — a large share of the apparent edge comes from those.
Break-even after realistic execution
| Item | Value (illustrative) |
|---|---|
| Trades | 240 |
| Gross avg per trade | +0.15% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.03%) | −0.06% |
| Net avg per trade | -0.01% |
| Break-even round-trip cost | 0.15% |
Related: Bollinger Bands in Crypto: Why the Value Changes Before Candle Close, EMA Crossover Backtest: Bar-Close Signals vs Next-Bar Execution.
Test the bollinger reversion rule with next-bar fills in ChartsPod.
Open the ChartsPod terminalUse closed-bar signals, next-bar open fills with reversion-appropriate slippage, and compute break-even cost.
See Bollinger Band Mean Reversion Backtest on live data in the free ChartsPod terminal.
Open the ChartsPod terminalQuestions readers ask
Why do intrabar Bollinger touches mislead?
Bands widen; many touches never close below.
Realistic fill?
Next bar open plus slippage.
Is the edge large?
Often small; costs decide.
Sources and methodology
Backtest cost logic follows TradingView's Pine Script strategy documentation; indicator definitions are standard. All performance numbers are illustrative examples of the method, not results of real tests.
- TradingView Pine Script: Strategies — simulated fills and assumptions.
- TradingView Pine Script: Repainting — live vs historical calculation.
- ChartsPod documentation — guides for order flow, derivatives, alerts, backtests, journal and workspaces.
- TradingView Pine Script: Strategies — simulated fills and assumptions.
- TradingView Pine Script: Repainting — live vs historical calculation.
This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.
CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.