# ema_12

12-day EMA. Fast-side input of canonical MACD (`macd = ema_12 − ema_26`).

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: Moving averages & VWAP
- 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 ema_12 above a cutoff

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

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

```json
{
 "as_of": "2026-08-18T00:23:40.035Z",
 "signal": "ema_12",
 "condition": "> 450.1712",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "BRK.A",
   "name": "Berkshire Hathaway Inc.",
   "value": 764194.9398
  },
  {
   "ticker": "NVR",
   "name": "NVR, Inc.",
   "value": 6332.5076
  }
 ]
}
```

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

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

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

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

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

```bash
curl -X POST "https://api.tickerbot.io/v2/signals/ema_12/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 450.1712", "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=ema_12 IS NOT NULL" \
  -d "order=ema_12" -d "columns=ema_12" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:23:44.612Z",
 "query": {
  "q": "ema_12 IS NOT NULL",
  "limit": 2,
  "order": "ema_12",
  "dir": "desc",
  "fields": [
   "ema_12"
  ],
  "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,
   "ema_12": 764194.9398
  },
  {
   "ticker": "NVR",
   "name": "NVR, Inc.",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 6241,
   "day_change_pct": -0.0106,
   "gap_pct": -0.0037,
   "relative_volume": null,
   "market_cap": 16809750339,
   "ema_12": 6332.5076
  }
 ]
}
```

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

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

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

```json
{
 "as_of": "2026-05-20",
 "query": {
  "q": "ema_12 IS NOT NULL",
  "asof": "2026-05-20",
  "interval": "auto",
  "limit": 2,
  "order": "ema_12",
  "dir": "desc",
  "fields": [
   "ema_12"
  ],
  "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,
   "ema_12": 720765.8644613415
  },
  {
   "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,
   "ema_12": 78319.09805184085
  }
 ]
}
```

#### 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": "ema_12 > 450.1712", "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,ema_12" \
  -H "Authorization: Bearer YOUR_KEY"
```

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

```json
{
 "as_of": "2026-08-18T00:23:46.666Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "ema_12"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-08-12",
    "close": 302.25,
    "ema_12": 312.4036
   },
   {
    "t": "2026-08-13",
    "close": 305.26,
    "ema_12": 311.4071
   },
   {
    "t": "2026-08-14",
    "close": 305.93,
    "ema_12": 310.5632
   }
  ],
  "MSFT": [
   {
    "t": "2026-08-12",
    "close": 492.43,
    "ema_12": 468.7524
   },
   {
    "t": "2026-08-13",
    "close": 496.88,
    "ema_12": 477.8043
   },
   {
    "t": "2026-08-14",
    "close": 495.4,
    "ema_12": 480.4741
   }
  ]
 }
}
```

## Related signals (Moving averages & VWAP)

- [above_sma_10](https://tickerbot.io/docs/signals/above_sma_10.md)
- [above_sma_20](https://tickerbot.io/docs/signals/above_sma_20.md)
- [above_sma_200](https://tickerbot.io/docs/signals/above_sma_200.md)
- [above_sma_50](https://tickerbot.io/docs/signals/above_sma_50.md)
- [above_vwap](https://tickerbot.io/docs/signals/above_vwap.md)
- [above_vwap_minute](https://tickerbot.io/docs/signals/above_vwap_minute.md)
- [day_vwap](https://tickerbot.io/docs/signals/day_vwap.md)
- [death_cross](https://tickerbot.io/docs/signals/death_cross.md)
- [death_regime](https://tickerbot.io/docs/signals/death_regime.md)
- [ema_21](https://tickerbot.io/docs/signals/ema_21.md)
- [ema_26](https://tickerbot.io/docs/signals/ema_26.md)
- [ema_9](https://tickerbot.io/docs/signals/ema_9.md)
- [golden_cross](https://tickerbot.io/docs/signals/golden_cross.md)
- [golden_regime](https://tickerbot.io/docs/signals/golden_regime.md)
- [held_above_vwap_30m](https://tickerbot.io/docs/signals/held_above_vwap_30m.md)

---

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