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.
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 →
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.
How BB is Calculated
Middle Band = SMA(20)
Upper Band = SMA(20) + 2 × StdDev(20)
Lower Band = SMA(20) - 2 × StdDev(20)
Bandwidth = (Upper - Lower) / Middle × 100 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.
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.
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
BB Across Different Timeframes
BB works across all 7 timeframes but performs best on M30, H1, H4, D1 for most trading styles.
Accessing BB via TickAtlas API
https://tickatlas.com/v1/indicator Python Example
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
{
"symbol": "EURUSD",
"indicator": "BB_Upper",
"timeframe": "H1",
"timestamp": "2026-03-21T14:00:00Z",
"value": 58.43,
"signal": "neutral"
} Common Mistakes to Avoid
- 1
Trading band touches as automatic buy/sell signals — price can "walk the bands" in trends
- 2
Not recognizing the squeeze pattern which is the most reliable BB signal
- 3
Using BB in isolation without momentum confirmation
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
More volatility indicators
- Indicator
Average True Range (ATR)
ATR measures market volatility by calculating the average of the true range over a specified period.
Read more - Indicator
Standard Deviation (StdDev)
Standard Deviation measures the dispersion of price from its mean.
Read more - Indicator
Relative Strength Index (RSI)
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and magnitude of price movements on a scale from 0 to 100.
Read more
Ready to use BB data in your application?
Start your free trial and access real-time BB data across 7 timeframes.