chart_set_timeframe
Switch a TradingView chart's timeframe or resolution and wait for the new candle feed to resolve, enabling multi-timeframe analysis.
Instructions
Change the chart timeframe/resolution and reactively wait for candle feed resolution. WHEN TO USE: Call when switching resolutions for multi-timeframe analysis (e.g., switching from 1D to 15m). SIDE EFFECTS: STATE_MUTATING (Alters chart resolution, increments state generation, invalidates generational cache). LIMITATIONS: Supported formats include standard minutes ("1", "5", "15", "60", "240") and calendar periods ("D", "W", "M").
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": {
"timeframe": "<timeframe>"
},
"name": "chart_set_timeframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeframe | Yes | Timeframe (e.g., 1, 5, 15, 60, D, W, M) |