Bollinger Band Reversion for US500 (S&P 500)
Buy lower band, exit upper band — volatility-adaptive mean reversion.
Indicators
Bollinger Bands (20, 2σ)
Recommended Timeframes
15m, 1h, 4h
Symbol Volatility
medium
Trading Sessions
New York (Mon–Fri, with extended hours)
Why Bollinger Band Reversion Works on US500
Bollinger Bands plot two standard deviations around a 20-period SMA. Price reaching the lower band signals a statistical extreme — about 2.5% probability assuming normality. The strategy fades these extremes. Works on range-bound symbols; layer in a "no entry if bands are widening" rule to skip breakout regimes.
The S&P 500 (US500) is the global benchmark equity index. Strong long-term uptrend with regime shifts; momentum and trend bots dominate, mean-reversion works in QE periods only.
Equity indices reflect aggregate corporate earnings, sentiment, and Fed policy. They trend more cleanly than individual stocks and gap less than commodities.
Best For
- • Mean-reverting forex
- • Quiet sessions
Avoid In
- • Trending crypto
- • News spikes
Pine Script Source
Copy this into PineForge — backtest on US500 or any supported symbol, then deploy as a live bot.
//@version=5
strategy("Bollinger Band Reversion", overlay=true)
length = input.int(20, "BB Length")
mult = input.float(2.0, "BB Multiplier")
basis = ta.sma(close, length)
dev = ta.stdev(close, length) * mult
upper = basis + dev
lower = basis - dev
if close < lower
strategy.entry("Long", strategy.long)
if close > upper
strategy.close("Long")Backtest Bollinger Band Reversion on US500 in 30 seconds
Sign up for PineForge, paste this Pine Script, and run a 1-year backtest on real US500 data — no credit card required.