TickAtlas

BB Width API — Detect the Squeeze Before the Pop

Bollinger Band Width = (upper − lower) / middle. Watch it compress to detect low-volatility coiling — a precursor to breakouts.

No credit card. $2.50 PAYG credit on sign up.

EURUSD H4 — BB Width
SQUEEZE BB Width Oscillator squeeze low expanding
BB Width = 0.00312 Squeeze Updated 2s ago

What is the BB Width API?

Bollinger Band Width measures the percentage distance between the upper and lower Bollinger Bands relative to the middle band: (Upper − Lower) / Middle × 100. When BB Width contracts to its lowest point in a given period, a volatility squeeze is forming — historically a precursor to a significant directional breakout. Our API delivers the current width value, individual band levels, and a squeeze signal so your bot can detect and trade breakouts programmatically.

One Request. Instant Data.

REQUEST
curl -X GET \
  "https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=BB_width&timeframe=H1" \
  -H "X-API-Key: YOUR_API_KEY"

Why Use TickAtlas?

Pre-Calculated, Sub-100ms

Indicator values are computed server-side on every new candle. Your app queries the result — no TA library, no candle history needed.

7 Timeframes

M1, M5, M15, M30, H1, H4, D1 — the same endpoint serves scalpers and position traders alike.

Forex, Crypto, Commodities

EURUSD, GBPUSD, XAUUSD, BTCUSD, USDJPY — data available for all symbols active on connected broker terminals.

Plug into any stack

  • ChatGPT Custom GPTs
  • Claude Tools
  • Python / pandas
  • Node.js
  • Discord bots
  • Slack webhooks
  • n8n
  • Zapier
  • Google Sheets

Frequently Asked Questions

How is BB Width calculated?

BB Width = (Upper Band − Lower Band) / Middle Band × 100. The Bollinger Bands use 20-period SMA as the middle band, with upper and lower bands set at 2 standard deviations. Our API pre-calculates this using broker candle close prices.

What qualifies as a 'squeeze' signal?

The API classifies a squeeze when the current BB Width is near its lowest value over the lookback window — indicating unusually contracted bands relative to recent history. When the squeeze ends and width expands, that is typically the breakout entry.

Can I use BB Width history to identify past squeezes?

Yes — use GET /v1/indicator/history with indicator=BB_width. Plot the width series to find historical squeeze lows. This is useful for understanding how long squeezes typically last on a given symbol/timeframe before breaking out.

Does the response include the band levels?

Yes. The BB_width response includes bb_upper, bb_lower, and bb_middle — so you get the squeeze detection signal AND the exact price levels to set bracket orders around, all in one API call.

Start Building in 5 Minutes

Sign up, grab your API key, make your first request.

Every new account gets $2.50 in free PAYG credits. No card required.