chart_get_visible_range
Retrieve the visible date range and bar index boundaries currently displayed on a TradingView viewport. Call before screenshots or to inspect which timeline portion is visible.
Instructions
Get visible date range (unix timestamps in seconds) and bar index boundaries currently displayed on the viewport. WHEN TO USE: Call before capturing screenshots or inspecting what portion of the historical timeline is in user view. SIDE EFFECTS: None (Read-only). LIMITATIONS: Depends on active screen width and zoom level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||