dwlf_get_events
Retrieve dated market indicator events—cycle highs/lows, crossovers, breakouts, divergences—and filter by symbol, watchlist, event type, timeframe, or date window for analysis.
Instructions
Get indicator events (cycle lows/highs, crossovers, breakouts, divergences, etc.). Filter by a single symbol or a symbols watchlist, by type (e.g. cycle.low.confirmed), by timeframe (1d / 4h / 1h — without this the response is dominated by hourly noise), and by time window via days or explicit fromDate / toDate. 📑 PAGINATION: results are paged. When scoped by customEventId or eventName, this tool AUTO-FOLLOWS the cursor and gives the event’s COMPLETE history in one call (filtersApplied.autoPaginated / pagesFetched report what happened) — but you still need to pass a wide days (e.g. 2000) or fromDate/toDate, or the 7-day default caps how far back it looks. For non-scoped queries a cursor in the response means there are MORE pages: follow it (or use a tight fromDate/toDate) before trusting any count or “oldest” date — page 1 holds only the most-recent matches. 💡 Events are dated records of what happened: cycle pivots, swing points, MA/EMA crosses and trend-line breaks, each with the price on its date. They describe structure, cycles and breaks, and are not candles; for accounts without raw OHLC access (most API-key callers) they are how DWLF shows what price did. for a single-call summary across those types, use dwlf_get_price_picture instead. RSI(14): rsi.exit.overbought / rsi.exit.oversold (back inside 70 / 30), rsi.midline.bullish / rsi.midline.bearish (a close across 50). Divergence: rsi.divergence.* and dss.divergence.*, each {regular,hidden}.{bullish,bearish} (e.g. rsi.divergence.regular.bullish), compare price with RSI(14) or DSS at consecutive confirmed daily cycle lows (bullish) or highs (bearish). Each row carries a divergence block (both pivots' prices, both oscillator readings, barsBetween); it is dated by the later pivot and knowable at eventTimestamp. SMA reclaim / loss (daily): sma.reclaimed / sma.lost on the 50, 100 and 200-day SMA (length on the row): two closes in a row on the other side, each at least half an ATR beyond the average, so a one-day poke through it (sma.cross.*) is not one. ADX / DMI (daily, Wilder 14): adx.trend.started.bullish / .bearish (ADX rises to 25; side from the DIs), adx.trend.faded (ADX falls below 20: ranging again), adx.di.cross.bullish / .bearish (DIs cross while ADX >= 20); each row carries an adx block (adx, previousAdx, plusDI, minusDI, threshold). Context (trending vs ranging), not a call, and events only: not builder nodes. Trend starts and fades fire a few times a year per symbol, so pass a wide days (e.g. 365) for them. On-chain (onchain.*, Bitcoin): only on BTCOC/USD and only daily, so pass symbol: "BTCOC" and timeframe: "1d"; with no type its TA events come too, so name a type to read one (dwlf_describe_onchain_events lists them; dwlf_explain_event gives one type's definition and occurrences). When a row became knowable: its confirmedAt (inside the onchain block on on-chain rows) when it has one, else its eventTimestamp; give that, not the row's date, as when it was known.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dwlf_get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Restrict to events fired in the last N days (e.g. `5` for the last 5 days). ⚠️ DEFAULT IS 7 DAYS if omitted — anything older is silently hidden. For historical lookups (verifying old cycle pivots, finding an event that seems to have gone) pass an explicit larger value like `days: 120` or use `fromDate`/`toDate` for a precise window. Hit this footgun multiple times across sessions; documenting loudly. | |
| type | No | Filter by one exact event type id, no wildcards (e.g. `cycle.low.confirmed`, `cycle.high.confirmed`, `onchain.sth_sopr.lose`, `custom_event`). | |
| limit | No | Number of events to give (default: 20). | |
| symbol | No | Filter by a single trading symbol — accepts BTC, BTC/USD, BTC-USD, BTCUSD, or stock tickers | |
| toDate | No | Inclusive upper bound on event date, ISO `YYYY-MM-DD`. | |
| symbols | No | Filter by multiple symbols at once. Each accepts the same shapes as `symbol`. Use this for watchlist queries (e.g. "what cycle lows fired across my watchlist today"). | |
| fromDate | No | Inclusive lower bound on event date, ISO `YYYY-MM-DD`. Mutually useful with `toDate`. | |
| eventName | No | Filter custom event fires by their human-readable name (e.g. `wcl_confirmed`). Only honoured when `type` is `custom_event`. Useful when you know the name but not the ID. | |
| timeframe | No | Filter by candle timeframe. Set it — without it the API answers with mostly hourly events and daily-bar fires get truncated past the limit. Use `1w` to query weekly cycle events (e.g. for multi-timeframe DCL analysis). | |
| customEventId | No | Filter to fires of a specific custom event by its event definition ID. Only honoured when `type` is `custom_event` (the tool defaults `type` to `custom_event` when you set this and leave `type` unset). The tool auto-follows pagination for this scoped query and gives the event’s COMPLETE set — but pass a wide `days` (e.g. 2000) or `fromDate`/`toDate`, or the 7-day default caps how far back it looks. Combine with `symbol` / `symbols` to scope to a single asset, or omit to see fires across the watchlist. | |
| uniquePerSymbol | No | If true, give only the most recent event per symbol (useful for "latest fire" snapshots). |