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.
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) |