Volatility · TickAtlas Learn

Bollinger Bands (BB)

Bollinger Bands consist of a middle SMA band with upper and lower bands at standard deviations. They measure volatility and identify overbought/oversold conditions relative to recent price action.

10 min readUpdated 2026-03-21Volatility
BB · quick spec
GET /v1/indicator ?symbol=EURUSD&indicator=BB_upper&timeframe=H1
Family
Volatility
Series
upper · middle · lower · width
Best timeframes
M30 · H1 · H4 · D1
Last updated
2026-03-21

TL;DR

  • BB is a volatility indicator used in technical analysis
  • Price touching upper band suggests overbought; lower band suggests oversold. Band squeeze (narrowing) precedes breakouts. ~95% of price stays within bands.
  • Best timeframes: M30, H1, H4, D1
  • Skip to API docs
Understand

What is Bollinger Bands?

Bollinger Bands consist of a middle SMA band with upper and lower bands at standard deviations. They measure volatility and identify overbought/oversold conditions relative to recent price action.

Calculate

How BB is calculated

formula
Middle Band = SMA(20)
Upper Band = SMA(20) + 2 × StdDev(20)
Lower Band = SMA(20) - 2 × StdDev(20)
Bandwidth = (Upper - Lower) / Middle × 100
Interpret

How to interpret BB

Price touching upper band suggests overbought; lower band suggests oversold. Band squeeze (narrowing) precedes breakouts. ~95% of price stays within bands.

Apply

Trading strategies using BB

Strategy 1: Bollinger Band Squeeze

Trade breakouts when bands narrow significantly, indicating low volatility before a move.

Entry rules

Identify squeeze (bandwidth at multi-bar low). Enter on breakout above upper band (buy) or below lower band (sell) with volume confirmation.

Exit rules

Exit when price returns to the middle band or bands begin narrowing again.

Strategy 2: Bollinger Band Bounce

In ranging markets, trade bounces off the bands.

Entry rules

Buy at lower band with bullish candlestick. Sell at upper band with bearish candlestick.

Exit rules

Target the middle band (SMA 20) or opposite band.

Combine

Combining BB with other indicators

BB works best when combined with complementary indicators:

  • BB + ATR: Combine for stronger confluence signals
  • BB + Standard Deviation: Combine for stronger confluence signals
  • BB + RSI: Combine for stronger confluence signals
Timeframes

BB across different timeframes

BB works across all 7 timeframes but performs best on M30, H1, H4, D1 for most trading styles.

M30H1H4D1

Learn about all 7 timeframes

Query

Accessing BB via the TickAtlas API

GET https://tickatlas.com/v1/indicator

Python example

python
import requests

url = "https://tickatlas.com/v1/indicator"
headers = {"X-API-Key": "YOUR_API_KEY"}
params = {
  "symbol": "EURUSD",
  "indicator": "BB_upper",
  "timeframe": "H1"
}

response = requests.get(url, headers=headers, params=params)
data = response.json()
print(data)

Sample response

200 OK
{
  "success": true,
  "data": {
    "symbol": "EURUSD",
    "indicator": "BB_upper",
    "timeframe": "H1",
    "value": 1.0889,
    "updated_at": 1711548000,
    "server_time": "2024-03-27T14:00:00+00:00",
    "bid": 1.0856,
    "ask": 1.0857
  }
}
Avoid

Common mistakes to avoid

  • Trading band touches as automatic buy/sell signals — price can "walk the bands" in trends
  • Not recognizing the squeeze pattern which is the most reliable BB signal
  • Using BB in isolation without momentum confirmation
FAQ

Frequently asked questions

What do narrow Bollinger Bands mean?

Narrow bands (squeeze) indicate low volatility. This typically precedes a significant price move. The longer the squeeze, the more powerful the eventual breakout tends to be.

Can Bollinger Bands predict direction?

Bollinger Bands primarily measure volatility, not direction. They show WHEN a move might occur (squeeze/expansion) but not WHICH direction. Combine with RSI or MACD for direction.

Continue learning

From learning to building

Put BB to work in your application.

Sign up with $2.50 of starting credit and query pre-calculated BB data across 7 timeframes, from M1 to D1.