Analyze range setup
analyze_rangeDetect range setups in futures H1 data by scanning a trading-day window, then get a completed/forming/no-range verdict plus support and resistance levels.
Instructions
Detect a range in the window. Verdict: COMPLETED (a range met every rule), NOT_COMPLETED (a range is forming but not yet confirmed), or NO_RANGE. Each structure lists support, resistance, its numbered rejections and, if price has left it, when it broke.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trading days to scan | |
| symbol | No | Futures symbol, e.g. 'GC1!' (aliases: GC, GOLD) | GC1! |
| end_date | No | Last trading day of the window, YYYY-MM-DD. Omit for the current one. | |
| timeframe | No | Range detection is calibrated on H1 | H1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| summary | Yes | ||
| verdict | Yes | ||
| timeframe | Yes | ||
| candidates | Yes | Detector hit counts before selection: completed / anticipation / demoted | |
| structures | Yes | ||
| window_utc | Yes | ||
| target_date | Yes | ||
| window_complete | Yes | ||
| window_trading_days | Yes |