# macd_signal

MACD signal line (9-EMA of MACD line).

A numeric signal column on the Tickerbot computed state table (20,798+ ticker rows) — computed by the platform, queryable by bare name across the API. Values are NULL on rows the signal doesn't apply to.

- Group: Technicals
- Category: Trend & direction
- Type: numeric
- Unit: USD
- Update cadence: post-close daily
- Intervals: 1d
- Universe: all tickers
- History: full · since 2003
- Nullable: yes

## Query it

Every applicable form factor, grouped by endpoint family. Response payloads are real captures, sampled 2026-08-18 and trimmed; your run's values and dates will differ.

### Use signals — `/v2/signals/{signal}`

One signal across the market: who matches now, who matched then, and a push when someone starts. (https://tickerbot.io/docs/endpoints/signals.md)

#### Live — every ticker with macd_signal above a cutoff

```bash
curl -G "https://api.tickerbot.io/v2/signals/macd_signal" \
  --data-urlencode "condition=> 8.576822" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-08-18T00:24:36.222Z",
 "signal": "macd_signal",
 "condition": "> 8.576822",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 8072.714016
  },
  {
   "ticker": "MTD",
   "name": "Mettler-Toledo International",
   "value": 42.983655
  }
 ]
}
```

#### As-of — the same read at a past date

```bash
curl -G "https://api.tickerbot.io/v2/signals/macd_signal" \
  --data-urlencode "condition=> 8.576822" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-05-20",
 "signal": "macd_signal",
 "condition": "> 8.576822",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 990.6762882805937
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "value": 795.7923231205122
  }
 ]
}
```

#### Subscribe — webhook when a ticker starts matching

```bash
curl -X POST "https://api.tickerbot.io/v2/signals/macd_signal/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 8.576822", "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.

### Use scan — `/v2/scan`

The whole market through a WHERE clause — this signal composed freely with any other column. (https://tickerbot.io/docs/endpoints/scan.md)

#### Live — the whole market, ranked by this column

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=macd_signal IS NOT NULL" \
  -d "order=macd_signal" -d "columns=macd_signal" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-08-18T00:24:39.729Z",
 "query": {
  "q": "macd_signal IS NOT NULL",
  "limit": 2,
  "order": "macd_signal",
  "dir": "desc",
  "fields": [
   "macd_signal"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 747658.72,
   "day_change_pct": -0.0105,
   "gap_pct": 0,
   "relative_volume": null,
   "market_cap": 1078304184071,
   "macd_signal": 8072.714016
  },
  {
   "ticker": "MTD",
   "name": "Mettler-Toledo International",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 1417.42,
   "day_change_pct": -0.0011,
   "gap_pct": -0.0071,
   "relative_volume": null,
   "market_cap": 28432277952,
   "macd_signal": 42.983655
  }
 ]
}
```

#### As-of — the same scan at a past date

```bash
curl -G "https://api.tickerbot.io/v2/scan" \
  --data-urlencode "q=macd_signal IS NOT NULL" \
  -d "order=macd_signal" -d "columns=macd_signal" \
  -d "asof=2026-05-20" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-05-20",
 "query": {
  "q": "macd_signal IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "macd_signal",
  "dir": "desc",
  "fields": [
   "macd_signal"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 720840,
   "day_change_pct": 0.03330557868442965,
   "gap_pct": 0.05550929780738274,
   "relative_volume": 1.7831074035453596,
   "market_cap": null,
   "macd_signal": 990.6762882805937
  },
  {
   "ticker": "X:BTCUSD",
   "name": "Bitcoin",
   "asset_class": "crypto",
   "asset_type": null,
   "price": 77547.62,
   "day_change_pct": 0.09245444943651589,
   "gap_pct": -0.000012907224559909754,
   "relative_volume": 0.937883233067203,
   "market_cap": null,
   "macd_signal": 795.7923231205122
  }
 ]
}
```

#### Subscribe — webhook on a market-wide condition

```bash
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "macd_signal > 8.576822", "target_url": "https://example.com/hooks/tickerbot"}'
```

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

### Use series — `/v2/series`

Its history over time, on one aligned grid. (https://tickerbot.io/docs/endpoints/series.md)

#### History — the column on an aligned time grid

```bash
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,macd_signal" \
  -H "Authorization: Bearer YOUR_KEY"
```

Response (sampled 2026-08-18, trimmed):

```json
{
 "as_of": "2026-08-18T00:24:41.427Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "macd_signal"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "macd_signal": 1.594916
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "macd_signal": 0.849003
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "macd_signal": 0.186832
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "macd_signal": 20.930091
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "macd_signal": 24.179727
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "macd_signal": 25.056314
   }
  ]
 }
}
```

## Related signals (Trend & direction)

- [adx_14](https://tickerbot.io/docs/signals/adx_14.md)
- [in_downtrend](https://tickerbot.io/docs/signals/in_downtrend.md)
- [in_uptrend](https://tickerbot.io/docs/signals/in_uptrend.md)
- [macd_above_signal](https://tickerbot.io/docs/signals/macd_above_signal.md)
- [macd_below_signal](https://tickerbot.io/docs/signals/macd_below_signal.md)
- [macd_histogram](https://tickerbot.io/docs/signals/macd_histogram.md)
- [macd_line](https://tickerbot.io/docs/signals/macd_line.md)
- [minus_di](https://tickerbot.io/docs/signals/minus_di.md)
- [plus_di](https://tickerbot.io/docs/signals/plus_di.md)
- [trend_long](https://tickerbot.io/docs/signals/trend_long.md)
- [trend_medium](https://tickerbot.io/docs/signals/trend_medium.md)
- [trend_reversal_bearish_today](https://tickerbot.io/docs/signals/trend_reversal_bearish_today.md)
- [trend_reversal_bullish_today](https://tickerbot.io/docs/signals/trend_reversal_bullish_today.md)
- [trend_short](https://tickerbot.io/docs/signals/trend_short.md)

---

Full catalog: https://tickerbot.io/docs/signals.md · Schema: https://tickerbot.io/docs/schema.md · Interactive: https://tickerbot.io/explore?signal=macd_signal · HTML: https://tickerbot.io/docs/signals/macd_signal/
