/tradingview-mcp:tvmcp-guidefrom TradingView MCP
Orientation and troubleshooting guide for the tradingview-mcp server: what every toolset does, how to set the server up from zero, how to fix any error it raises, and how to answer user questions about capabilities, data feeds, and TradingView ToS risk. Use when onboarding a user to this server, choosing which tool fits a job, diagnosing a failing tool call, or explaining what this MCP can and cannot do. Triggers: how does this work, set up tradingview mcp, which tool should I use, tool errored, no data returned, getting started, what can you do with charts/backtests/scans.
Ships in TradingView MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are driving a TradingView-centric trading toolkit. This skill is the map: every
toolset, the setup ladder, the output conventions, and the fix for every failure
mode. references/troubleshooting.md holds the full symptom→fix table — consult it
before declaring anything broken.
Call tv_setup_doctor. It checks every prerequisite (Node, Chromium, credentials,
CDP, folders) and returns the exact shell command to fix anything broken. Run
the fixes for optional: false items, rerun, then proceed. Never try to obtain
credentials yourself — TV_SESSIONID and OANDA_API_KEY are the human's move,
always.
| Toolset | Tools | Needs | TV ToS risk |
|---|---|---|---|
| core (always) | tv_setup_doctor | nothing | none |
public (default) | tv_screener_run, tv_ta_summary, tv_symbol_search | nothing | none (no account) |
data (default) | tv_data_get_bars, tv_data_providers_status | Node for Dukascopy; OANDA key optional | none (not TV data) |
scan | tv_scan_fvg/ob/structure/liquidity/sessions/prev_hl, tv_scan_levels, tv_scan_check_levels | bars available | none |
calendar | tv_calendar_check | network (degrades to a bundled static table) | none |
chart | tv_chart_render | playwright install chromium | none (own engine) |
backtest | tv_backtest_run | bars | none |
strategy | tv_strategy_list/run | YAML specs in strategy dir | none |
sentinel | tv_sentinel_start/poll/status/stop | bars available; a writable run dir (TV_SENTINEL_DIR) | none |
journal | tv_journal_scan/parse/load, tv_risk_guard | CSV/JSON journals (any shape) + your rules config | none |
pine | tv_pine_compile | network | low (undocumented endpoint) |
session | tv_session_status/ohlcv/realtime | TV_SESSIONID cookie | yes — user's account |
desktop | 35 desktop tools: tv_desktop_launch, tv_desktop_status/screenshot, symbol/timeframe/viewport, drawings, studies read + set inputs, tv_desktop_read_strategy, replay, Pine Editor, tv_desktop_ui_find_element/ui_click, tv_desktop_check_levels, tv_desktop_workspace_prepare, tv_desktop_pine_build_and_backtest, pine_find_exact/replace_exact/save_as/get_errors | app running with CDP (tv_desktop_launch starts it) | yes — user's account |
Enable via TV_TOOLSETS env (comma list; default = public+data; all = everything;
hybrid = data+scan+chart+backtest+pine+journal+strategy+sentinel — the surface the official
TradingView MCP does not cover, used when both servers run side by side).
hybrid = data+scan+chart+backtest+pine+journal+strategy+calendar — the surface the
official TradingView MCP does not cover, used when both servers run side by side;
calendar stays in it because ours also carries exchange holidays, half-days and
futures rollover).
TV_READ_ONLY=1 strips every workspace-mutating tool regardless of toolsets.
For session/desktop details, load the tradingview-tiers skill; for the
two-server split (quotes/news/calendar/alerts/watchlists on the official server),
load tradingview-hybrid.
[time_iso, open, high, low, close, volume], UTC, oldest first.provider names the feed on every price/level (dukascopy / oanda / session /
desktop). Feeds disagree — never quote a level as feed-independent.truncated / total_count — output is capped; you did not necessarily see
everything. Narrow the window rather than assuming.repaint_note on swing-based scans — the trailing swing_length bars are
classified using future candles; treat them as unconfirmed.EURUSD, OANDA:EURUSD, EUR_USD, eurusd);
timeframes are M1 M5 M15 M30 H1 H4 D1.tv_screener_run / tv_ta_summary
(or the official TradingView MCP's screener when it is registered — see tradingview-hybrid).tv_data_get_bars (free feeds). TV-chart-parity candles
specifically → tv_session_ohlcv (opt-in, cookie).tv_scan_fvg, tv_scan_ob, tv_scan_structure, tv_scan_liquidity, tv_scan_sessions, tv_scan_prev_hl), then tv_chart_render to show it.tv_scan_levels,
then tv_scan_check_levels later to ask whether price tagged any of them.
It returns facts only — which of those levels matter is your judgment.
Settle which "previous day" they mean before you answer: include: prev_day
is the calendar day in tz (UTC by default, 00:00–24:00); include: prev_session
with prev_session_name is the last time THAT session ran (RTH prev high/low/close/open plus its range; prev_session_count: 5 adds RTH prev-2 …
through RTH prev-5 …). On the same date they are different numbers. A trader
who reports in their own timezone usually means the calendar day of THAT zone:
either set tz to it, or pass it as a session window
({"name":"EETday","start":"00:00","end":"00:00","tz":"Europe/Kyiv"} — an end at
or before the start wraps, so that window is a full local day).tv_calendar_check (countries, min_impact, week, symbol). If it
answers degraded: true, both live feeds were down and you are looking at a
small static table: say the coverage is limited rather than "nothing today".tv_backtest_run; reusable parameterization → a YAML
spec + tv_strategy_run.tv_pine_compile in a write-compile-fix loop.tv_journal_scan → tv_journal_parse.tv_sentinel_start with a spec (symbol, timeframe, session window, range window,
named levels, what confirms a break, clock marks), then tv_sentinel_poll on the
interval the run itself suggests (next_poll_after_s), passing since_seq =
the last last_seq you saw; tv_sentinel_stop when the session is done.
Nothing runs in the background - polling IS the mechanism, and polling twice
returns the same events. Use replay: {from, to} to run the same watch over a
past day. The events (BREAK, SWEEP, RETEST, ...) are observations, not
signals: any setup/risk/target judgement is yours, not the tool's.tv_journal_scan → tv_journal_load
(any shape) or tv_journal_parse (FX Replay vault keys).tv_risk_guard with your own rules config.tv_desktop_status,
tv_desktop_screenshot, tv_desktop_set_symbol/set_timeframe/scroll_to_date;
"what does my indicator show" → tv_desktop_list_studies + read_study_*;
"change its settings" → tv_desktop_set_study_inputs; "build/backtest a strategy on my chart" →
tv_desktop_pine_build_and_backtest (one call: prepare, own-copy protection,
inject, compile, Strategy Tester read); surgical fixes via
tv_desktop_pine_find_exact/replace_exact;
"walk me through that day" → tv_desktop_replay_start/step/stop;
"has price tagged my level since the open" → tv_scan_check_levels (free feed)
or tv_desktop_check_levels (the chart's own bars); "the app isn't running" →
tv_desktop_launch. Details: the tradingview-tiers skill.tv_setup_doctor → run fixes → healthy.references/troubleshooting.md maps the rest.smartmoneyconcepts library; synthetic regression
fixtures pin behavior, and detection "correctness" is only as good as its rules.trade_on_close), charge spread
on entry only, and model no slippage/swap — say so when reporting results.pine/session/desktop ride undocumented TradingView surfaces that can break
or carry account risk; the server warns, you should too.references/troubleshooting.md — symptom → cause → exact fix, for every tool.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub miha21222/tradingview-mcp --plugin tradingview-mcp11 skills in this plugin
/chart-markupRender candlestick charts with SMC/ICT markup overlays to PNG files. Use when you have a scan result or a set of levels/timestamps and want a visual for review or for attaching to a note. Triggers: render the chart, draw the FVG, make a PNG of this setup, visualize the scan, markup chart./journal-syncLoad a trade journal of any shape (FX Replay export, your own session CSV, a broker export) into one normalized record schema, and import FX Replay exports into a Notion trade journal using the documented mapping. Use when reading a journal, computing journal stats, ingesting a backtest/analytics export, de-duplicating re-imports, or syncing trades. Triggers: load my journal, read my trades, journal stats, import FX Replay, sync journal, push trades to Notion, map the CSV./market-screeningScreen markets and get technical-analysis summaries via TradingView's unauthenticated scanner. Use when ranking instruments by indicator/fundamental values, finding oversold/overbought pairs, or locating a symbol. Triggers: screen the market, find oversold pairs, top gainers, RSI scan, look up a symbol, TA summary./pine-authoringAuthor, compile and deploy Pine Script: server-side syntax checks with tv_pine_compile, then the one-call build pipeline tv_desktop_pine_build_and_backtest on the user's chart. Use when writing or fixing Pine, turning an idea into a strategy, deploying or backtesting one, or debugging a compile error. Triggers: write Pine, compile Pine, fix Pine error, build a strategy, backtest this strategy, deploy to TradingView./risk-sizingCompute position sizes and risk numbers by hand (pip value incl. JPY, R-multiples, risk-per-trade, account-currency conversion), and check a journal against written risk rules with tv_risk_guard before trading. Use before any trade or backtest to decide what size risks what, and to answer whether today's limits are already used up. Triggers: size the position, how many lots, what's the risk, pip value, R multiple, risk per trade, am I allowed to trade today, daily loss limit, drawdown limit, cooldown, room to the floor./smc-scanningScan market data for SMC/ICT patterns (FVG, order blocks, BOS/CHoCH, liquidity plus sweeps, killzone sessions, previous day H/L). Use when you need to find trade setups, identify structure shifts, or build a bias from price action. Triggers: scan for FVG, find order blocks, check for liquidity sweep, is there a BOS, killzone analysis, ICT setup.