chart_get_state
First call — get symbol, timeframe, all indicator names + IDs
How to use it
Project documentation lists chart_get_state for the Tradingview MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
FULL TRADINGVIEW MCP LISTINGOther tools in Tradingview MCP (37)
Run action across multiple symbols/timeframes
Screenshot (regions: full, chart, strategytester)
Add/remove indicators. Use full names: "Relative Strength Index" not "RSI"
Jump to a date (ISO: "2025-01-15")
Change ticker (BTCUSD, AAPL, ES1!, NYMEX:CL1!)
Change resolution (1, 5, 15, 60, D, W, M)
Change style (Candles, HeikinAshi, Line, Area, Renko)
Zoom to exact range (unix timestamps)
Get price bars. Use summary: true for compact stats
Read price zones / ranges as {high, low} pairs
Read text annotations + prices ("PDH 24550", "Bias Long")
Read horizontal price levels (support/resistance, session levels)
Read data tables (session stats, analytics dashboards)
Read current RSI, MACD, BB, EMA values from all indicators
Draw horizontalline, trendline, rectangle, text
Focus a specific pane by index
List all panes with symbols and active state
Change grid: s, 2h, 2v, 2x2, 4, 6, 8
Set symbol on any pane
Offline static analysis (no chart needed)
Server-side compile check (no chart needed)
4. Read log.info() output
3. Read compilation errors if any
Read current script (warning: can be 200KB+ for complex scripts)
Create blank indicator/strategy/library
5. Save to TradingView cloud
1. Inject code into editor
2. Compile with auto-detection + error check
Get latest price, OHLC, volume
Auto-advance (set speed in ms)
Enter replay at a date
Check position, P&L, date
Advance one bar
Return to realtime
Buy/sell/close positions
List open chart tabs
Switch to a tab by index