replay_status
Check position, P&L, date
How to use it
replay_status is exposed by the Tradingview MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the replay_status tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL TRADINGVIEW MCP LISTINGOther tools in Tradingview MCP (37)
Run action across multiple symbols/timeframes
Screenshot (regions: full, chart, strategytester)
First call — get symbol, timeframe, all indicator names + IDs
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
Advance one bar
Return to realtime
Buy/sell/close positions
List open chart tabs
Switch to a tab by index