Concepts › Signals › Technicals › Trend & direction
trend_medium
Medium-term trend classification from `sma_50` slope. One of `uptrend`, `downtrend`, `sideways`.
Watch this signal live on real tickers: Open in Explore →
At a glance
| Type | text |
| Group | Technicals |
| Category | Trend & direction |
| Update cadence | post-close daily |
| Intervals | 1m/1h/1d |
| Universe | all tickers |
| History | full · since 2003 |
| Nullable | yes — NULL where not applicable |
Trend direction and strength: MACD, ADX/±DI, SMA-based trend reads, and reversal composites.
Query it
Every applicable form factor, grouped by endpoint family. Swap YOUR_KEY for the value from /dashboard/keys. Response payloads are real captures, sampled 2026-08-18 and trimmed — your run's values and dates will differ.
Use scan /v2/scan
The whole market through a WHERE clause — this signal composed freely with any other column. Docs →
Live — the whole market, ranked by this column
curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=trend_medium IS NOT NULL" \
-d "order=trend_medium" -d "columns=trend_medium" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-08-18, trimmed)
{
"as_of": "2026-08-18T00:26:00.783Z",
"query": {
"q": "trend_medium IS NOT NULL",
"limit": 2,
"order": "trend_medium",
"dir": "desc",
"fields": [
"trend_medium"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "A",
"name": "Agilent Technologies Inc.",
"asset_class": "stocks",
"asset_type": "CS",
"price": 147.295,
"day_change_pct": -0.0083,
"gap_pct": -0.0048,
"relative_volume": null,
"market_cap": 41949616642,
"trend_medium": "up"
},
{
"ticker": "AAAA",
"name": "Amplius Aggressive Asset Allocation ETF",
"asset_class": "stocks",
"asset_type": "ETF",
"price": 30.97,
"day_change_pct": 0.0001,
"gap_pct": 0.0004,
"relative_volume": null,
"market_cap": null,
"trend_medium": "up"
}
]
}As-of — the same scan at a past date
curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=trend_medium IS NOT NULL" \
-d "order=trend_medium" -d "columns=trend_medium" \
-d "asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-08-18, trimmed)
{
"as_of": "2026-05-20",
"query": {
"q": "trend_medium IS NOT NULL",
"asof": "2026-05-20",
"interval": "auto",
"limit": 2,
"order": "trend_medium",
"dir": "desc",
"fields": [
"trend_medium"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "AAAA",
"name": "Amplius Aggressive Asset Allocation ETF",
"asset_class": "stocks",
"asset_type": "ETF",
"price": 30.0451,
"day_change_pct": 1.1967072866775785,
"gap_pct": 0.3374896429076565,
"relative_volume": 0.06305769416615663,
"market_cap": null,
"trend_medium": "up"
},
{
"ticker": "AACG",
"name": "ATA Creativity Global American Depositary Shares",
"asset_class": "stocks",
"asset_type": "ADRC",
"price": 1.17,
"day_change_pct": 1.7391304347826104,
"gap_pct": 4.782608695652188,
"relative_volume": 0.4856363308379183,
"market_cap": null,
"trend_medium": "up"
}
]
}Use series /v2/series
Its history over time, on one aligned grid. Docs →
History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,trend_medium" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-08-18, trimmed)
{
"as_of": "2026-08-18T00:26:03.546Z",
"interval": "1d",
"tickers": [
"AAPL",
"MSFT"
],
"columns": [
"close",
"trend_medium"
],
"count": 6,
"series": {
"AAPL": [
{
"t": "2026-08-12",
"close": 302.25,
"trend_medium": "sideways"
},
{
"t": "2026-08-13",
"close": 305.26,
"trend_medium": "sideways"
},
{
"t": "2026-08-14",
"close": 305.93,
"trend_medium": "sideways"
}
],
"MSFT": [
{
"t": "2026-08-12",
"close": 492.43,
"trend_medium": "up"
},
{
"t": "2026-08-13",
"close": 496.88,
"trend_medium": "up"
},
{
"t": "2026-08-14",
"close": 495.4,
"trend_medium": "up"
}
]
}
}Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.