← tickerbot.io
View as markdown
Concepts › Signals › Technicals › Trend & direction

macd_histogram

MACD line minus signal. Positive when bullish, negative when bearish.

metadata
typenumeric
unitUSD
cadencepost-close daily
intervals1d
universeall tickers
historyfull · since 2003
nullableyes — NULL where not applicable

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-18, trimmed.

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker with macd_histogram above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/macd_histogram" \
  --data-urlencode "condition=> 1.245173" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:39:37.368Z",
 "signal": "macd_histogram",
 "condition": "> 1.245173",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 575.802163
  },
  {
   "ticker": "BWET",
   "name": "Breakwave Tanker Shipping ETF",
   "value": 22.638626
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/macd_histogram" \
  --data-urlencode "condition=> 1.245173" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "macd_histogram",
 "condition": "> 1.245173",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 1569.6473070976772
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "value": 491.15487778632087
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/macd_histogram/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 1.245173", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook — the same shape as GET /v2/webhooks/{id}, plus a one-time signing_secret for HMAC verification.

The whole market, filtered on it /v2/scan

Live — the whole market, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "macd_histogram IS NOT NULL", "order": "macd_histogram", "columns": "macd_histogram" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:39:40.351Z",
 "query": {
  "q": "macd_histogram IS NOT NULL",
  "limit": 2,
  "order": "macd_histogram",
  "dir": "desc",
  "fields": [
   "macd_histogram"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 760698.18,
   "change_1d_pct": -0.42382741642148175,
   "gap_pct": -0.1289,
   "relative_volume": 0.3262,
   "market_cap": 1113593331736,
   "macd_histogram": 575.802163
  },
  {
   "ticker": "BWET",
   "name": "Breakwave Tanker Shipping ETF",
   "asset_class": "stocks",
   "asset_type": "ETV",
   "price": 796.612,
   "change_1d_pct": 1.3501272264631001,
   "gap_pct": 0.5089,
   "relative_volume": 0.204,
   "market_cap": null,
   "macd_histogram": 22.638626
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "macd_histogram IS NOT NULL", "order": "macd_histogram", "columns": "macd_histogram", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "macd_histogram IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "macd_histogram",
  "dir": "desc",
  "fields": [
   "macd_histogram"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 733609.77,
   "change_1d_pct": -0.5005058999050566,
   "gap_pct": 0.1665536416655364,
   "relative_volume": 1.9825114678899083,
   "market_cap": 1060165881900,
   "macd_histogram": 1569.6473070976772
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "asset_class": "crypto",
   "asset_type": null,
   "price": 64222.99,
   "change_1d_pct": 1.1780821486186746,
   "gap_pct": -0.00018905021172890105,
   "relative_volume": 0.4125663243882887,
   "market_cap": null,
   "macd_histogram": 491.15487778632087
  }
 ]
}
Subscribe — webhook on a market-wide condition
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "macd_histogram > 1.245173", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.

Its history /v2/series

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,macd_histogram" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:39:42.918Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "macd_histogram"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "macd_histogram": 1.59282
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "macd_histogram": 1.543537
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "macd_histogram": 1.637254
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "macd_histogram": -3.102938
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "macd_histogram": -3.465232
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "macd_histogram": -3.244271
   }
  ]
 }
}

Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.

Related signals — Trend & direction