/tradingview-mcp:journal-syncfrom TradingView MCP
Load 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.
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.
Two jobs. Loading a journal into one normalized record schema
(tv_journal_load) — that is where "load my journal", "what is in my journal",
"what are my stats" go. Importing an FX Replay export into a Notion trade
journal using the documented mapping (empirically verified, not guessed) —
normalize with the journal tools, write through your own Notion MCP.
tv_journal_load.backtesting-analytics.csv (or similar FX Replay export) needs to land in
the backtest journal → the import procedure below.risk-sizing →
tv_risk_guard, which reads the same records.tv_journal_load — any journal shape → canonical records + stats + problems.tv_journal_scan — list CSV files in the journal watch-folder and sniff them.tv_journal_parse — the FX Replay-specific normalizer (vault keys: side/day/
session/tags, symbols resolved, R computed). Use it when you want those keys;
tv_journal_load returns the same rows in the canonical schema.notion-create-pages, notion-update-data-source,
notion-query-data-sources, ...) — the write side (external, out of scope here).tv_journal_load(path_or_name, source=None, mapping=None, currency=None, risk_per_r=None, utc_offset_hours=0, limit=100)
path_or_name: a bare file name resolves inside the journal watch-folder; a path
with a separator is used as given (journals usually live in a vault, not the
watch-folder). .csv / .tsv / .txt / .json.entered yes/no column and a result in
R), and broker exports (any column names, decimal commas, MetaTrader timestamps).
Pass mapping={"pnl": "Net P/L", "date": "Session"} for anything odd.id, date (session date), opened_at, closed_at, symbol, side, entry, exit, size, size_unit, r_multiple, pnl, pnl_currency, fees, strategy, tags[], source, raw_ref, derived[]. Timestamps are UTC.r_multiple and pnl may each be missing. One is derived from the other only
when the file carries a risk/stop column or you pass risk_per_r (what 1R is
worth), and the derivation is then named in derived[]. Nothing is invented —
and do not fill a gap by hand either; say the number is missing.problems[] before quoting any number. A row that could not be parsed is
listed there with its row number and reason, and fail_closed: true means the
stats cover an incomplete journal. Fix the row, re-run; never present a reassuring
average from a broken file. skipped[] is different — those rows are correctly
recorded non-events (entered: no, a still-open position).expectancy_r vs
expectancy_currency, profit_factor_r vs profit_factor). Never average the two
into one number.id, dateStart, dateEnd, pair ("OANDA:EURUSD"), uPnL, rPnL, side, entryPrice, initialSL, maxTP, idealTP, amount, amountClosed, status, day, tags, avgClosePrice, avgRiskReward, maxRiskReward, exchangeRate, initialBalance, currentRealizedBalance.
avgRiskReward is the realized R-multiple (loss = exactly -1, win = rPnL/risk);
tv_journal_parse recomputes r the same way and cross-checks.
tv_journal_scan to locate the file; tv_journal_parse to normalize + get the
summary (win rate, expectancy, per-session/day/side).notion-create-pages cannot create
new multi-select options on the fly — first notion-update-data-source with
ALTER COLUMN "<col>" SET MULTI_SELECT(...) listing every unique tag/pair value.notion-create-pages under the backtest journal
data_source_id, resolving relations programmatically (pair→pair page, setup→
draft-setup page, side/day/session→the mapped pages). Do NOT use the Notion UI
CSV importer (it can't resolve relations/multi-select).notion-query-data-sources; formulas/rollups are opaque via API
(formulaResult://...), so confirm WR/expectancy by eye (browser get-text on
the setup/trade page).День (номер), Пара (FX Replay), userDefined:ID,
Тэги (FX Replay)) for de-dup on re-import.Fill in your workspace's page IDs in references/notion-mapping.template.md.
Buy → Long, Sell → Short.1=Mon … 5=Fri → a Дни недели-style day page per code.dateStart): 00:00–07:00 Asia, 07:00–08:00 Frankfurt, 08:00–13:00 London, 13:00–16:00 Overlap, 16:00–22:00 New York,
22:00–24:00 Asia (wrap). Note: session is computed from the exported time; if
session bands look shifted on the chart, the export may be in broker-local time,
not UTC — adjust utc_offset_hours on tv_journal_parse and re-check.references/notion-mapping.template.md — DB/page ID placeholders + conventions.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./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.