TickAtlas

Bollinger Bands API

Upper band, middle band, lower band, and bandwidth for any symbol and timeframe. Detect squeezes, breakouts, and volatility expansion via simple REST calls.

Upper + Lower + Middle Bandwidth 20-Period / 2 StdDev 7 Timeframes
  • Four Components

    Upper band, middle band (SMA 20), lower band, and bandwidth — everything you need for volatility-based strategies.

  • Squeeze Detection

    Monitor bandwidth over time. When it contracts to historical lows, a volatility expansion (breakout) is likely coming.

  • Band Touch Signals

    Compare price vs bands for mean-reversion setups. Price below lower band in a range = potential buy signal.

  • Volatility Measurement

    Bandwidth tells you the current volatility regime. Wide bands = high volatility. Narrow bands = low volatility.

  • BB + RSI Confluence

    Combine Bollinger Bands with RSI via /v1/multi. Price below lower band + RSI below 30 = high-probability reversal.

  • Historical Bands

    Get past Bollinger Band values for backtesting band-touch and squeeze strategies.

Bollinger Bands API Response

bash
curl -H "X-API-Key: YOUR_KEY" \
  "https://tickatlas.com/v1/indicator?symbol=EURUSD&name=bollinger-bands&timeframe=H4"

# Response:
{
  "success": true,
  "data": {
    "symbol": "EURUSD",
    "indicator": "bollinger-bands",
    "timeframe": "H4",
    "upper": 1.09850,
    "middle": 1.09620,
    "lower": 1.09390,
    "width": 0.00460
  }
}

# Width is contracting → potential squeeze → watch for breakout

Bollinger Bands Endpoints

Endpoint Description Returns
/v1/indicator?name=bollinger-bands BB for one symbol upper, middle, lower, width
/v1/multi?indicators=bollinger-bands BB for multiple symbols Batched results
/v1/multi?indicators=bollinger-bands,rsi BB + RSI confluence Combined data

Frequently Asked Questions

What Bollinger Bands components does the API return?

The API returns four values: upper band, middle band (SMA), lower band, and bandwidth. All calculated with the standard 20-period SMA and 2 standard deviations.

How can I detect a Bollinger Band squeeze?

Monitor the bandwidth value. A decreasing bandwidth indicates a squeeze (contracting volatility). When bandwidth reaches a historical low, a breakout is likely imminent.

Can I detect price touching the bands?

Compare the current price from /v1/ohlcv with the upper and lower band values. Price above upper band = overbought zone, below lower band = oversold zone.

What timeframes are available?

Bollinger Bands are available on all 7 timeframes: M1, M5, M15, M30, H1, H4, and D1.

Can I combine Bollinger Bands with other indicators?

Yes. Use /v1/multi to fetch Bollinger Bands alongside RSI, MACD, or any of the 42 indicators. BB squeeze + RSI oversold is a common confluence setup.

Get Bollinger Bands Data Now

14-day free trial. Upper, lower, middle, and bandwidth — one API call.