Range chart
get_range_chartGenerate a TradingView chart showing a detected price range with support/resistance levels, numbered rejections, and a report. Use it to see range setups on futures symbols.
Instructions
The TradingView chart for the window with the detected range drawn on it (support/resistance box, numbered rejections, caption), plus the report. Takes 30-50 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trading days to scan | |
| mode | No | Chart to capture on: 'anonymous' (TradingView's public chart) or 'session' (the user's saved layout, e.g. when they say 'on my layout'). Omit for the server default. | |
| 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 |
|---|---|---|---|
| mode | Yes | anonymous (default chart) or session (your saved layout) | |
| path | Yes | ||
| drawn | Yes | False when chart calibration failed and nothing was drawn | |
| report | Yes | ||
| warnings | Yes |