GET /v1/indicator Indicators

Accumulation/Distribution Line (A/D)

Retrieve real-time A/D values for any supported symbol and timeframe. The A/D Line measures the cumulative flow of money into and out of a security.

GET https://tickatlas.com/v1/indicator
! Authentication Required

All requests require an API key passed in the X-API-Key header.

header
X-API-Key: YOUR_API_KEY

Don't have an API key? Get started here.

Parameters

Parameter Type Required Default Description
symbol string Required — Trading symbol (e.g., EURUSD, GBPUSD, XAUUSD)
indicator string Required AD Indicator name. Use: AD
timeframe string Optional H1 Timeframe: M1, M5, M15, M30, H1, H4, D1 (default: H1)

Request Examples

cURL
curl -H "X-API-Key: YOUR_API_KEY" "https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=AD&timeframe=H1"

Response

200 Success Response
200 OK
{
  "success": true,
  "data": {
    "symbol": "EURUSD",
    "indicator": "AD",
    "timeframe": "H1",
    "value": 1234567,
    "bid": 1.08432,
    "ask": 1.08443,
    "updated_at": 1711548000,
    "server_time": "2024-03-27T14:00:00+00:00"
  }
}

Error Responses

400 Bad Request
400
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Parameter \"symbol\" is required"
  }
}
401 Unauthorized
401
{
  "success": false,
  "error": {
    "code": "INVALID_API_KEY",
    "message": "Invalid API key"
  }
}
429 Rate Limited
429
{
  "success": false,
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Rate limit exceeded",
    "reset_in_seconds": 60
  }
}

See full error documentation for all error codes.

Playground

Shows the documented example response. Live values come from the API, called with your key.

Common Use Cases

Build a A/D-based trading bot

Create a market screener filtering by A/D values

Feed A/D data into machine learning models