TickAtlas

A/D Line API — Smart-Money Volume Flow

The Accumulation/Distribution line shows whether volume is supporting or undermining price moves. Spot divergence early via a single REST call.

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

EURUSD H4 — A/D Line
Price A/D Line bearish divergence 1.84M
A/D = 1,842,356 Divergence Detected Updated 2s ago

What is the A/D Line API?

The Accumulation/Distribution Line is a cumulative volume-flow indicator. Each bar's contribution is weighted by where the close falls within the high-low range — a close near the high adds more than a close near the low. When the A/D Line rises alongside price, volume confirms the trend. When A/D diverges from price (one goes up, the other down), it signals potential reversal. Our API delivers the current A/D value so your bot can detect divergence without aggregating tick data yourself.

One Request. Instant Data.

REQUEST
curl -X GET \
  "https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=AD&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 the A/D Line calculated?

Each bar's Money Flow Multiplier = ((Close - Low) - (High - Close)) / (High - Low). This is multiplied by volume to get the Money Flow Volume. The A/D Line is a running cumulative sum of these values. Brokers use tick volume, which is the basis for our calculation.

Why does the A/D value look like a large number?

A/D is a cumulative indicator — it accumulates volume-weighted values from the start of the data series. The absolute number is not meaningful by itself; what matters is the direction and trend of the A/D line relative to price. Compare current values to historical values using the history endpoint.

How do I detect A/D divergence programmatically?

Fetch A/D history alongside OHLC history for the same symbol and timeframe. Compare the slope of the last N A/D values against the slope of the last N closing prices. If price trend and A/D trend move in opposite directions, that is divergence.

Is A/D different from OBV?

Yes. On-Balance Volume (OBV) adds full volume when close is up and subtracts it when close is down. A/D uses a multiplier based on the close's position within the high-low range, giving partial credit based on where price closed — making it more nuanced than OBV for Forex candles.

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.