dwlf_get_ranges
Identifies where a symbol’s price sits within daily or weekly support-resistance ranges, including live position and breakout/retest state; omit the symbol to list all symbols currently in a range.
Instructions
Range / support-resistance CONTEXT derived from cycle pivots — answers "where in a range are we?". Pass a symbol for that symbol's current daily + weekly ranges, or OMIT it to list every symbol currently in a range (optionally filtered by timeframe / state). Each range carries: bounds (floor/ceiling/touches/since); a live block — livePosition (0 = floor, 1 = ceiling) and liveState (near_floor | mid_range | near_ceiling | above | below), recomputed from the latest price = WHERE PRICE IS NOW; and a snapshot block — the weekly lifecycle narrative (state broke_out_up / broke_down / retesting_* + brokeDaysAgo + ageDays), which can be up to a week old. Use it for the classic reads: "at the BOTTOM of a range" (near_floor — significant alongside a daily cycle low), "at the TOP of the range — think twice about entering here", "broke out of the range", "retesting an edge". IMPORTANT: "not in a range" is a first-class, common answer — a symbol with no clear current range simply is not returned in the list, or gives inRange:false. Prefer live for current location and snapshot for the lifecycle narrative. NOTE: this is context, not a call.
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_ranges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | List mode only (no symbol): filter by LIVE position state. NB this is the live location, not the stored lifecycle state (broke_out_up etc.). | |
| symbol | No | A symbol to get that symbol's current ranges (daily + weekly). Accepts BTC, BTC/USD, BTC-USD, or stock tickers like AAPL. Omit to LIST every symbol currently in a range. | |
| timeframe | No | List mode only (no symbol): restrict to one timeframe. |