chart_set_visible_range
Zoom a TradingView chart to a specific date range using Unix timestamps. Loads older history automatically, letting you jump to and review past trades by setting a window around the trade time.
Instructions
Zoom the chart to a specific date range (unix timestamps in seconds). Pages in older history as needed, so this also serves as jump-to-date for reviewing a past trade: pass a window around the trade time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>"
},
"name": "chart_set_visible_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End of range (unix seconds, must be greater than from) | |
| from | Yes | Start of range (unix seconds) |