Agent skill

Tradingview MCP

by atilaahmettaner in atilaahmettaner/tradingview-mcp

AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

MITAuto-check passedBusiness, Finance & HR

Install Tradingview MCP

skills CLI
$ npx skills add atilaahmettaner/tradingview-mcp --skill tradingview-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install atilaahmettaner/tradingview-mcp tradingview-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/atilaahmettaner/tradingview-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/openclaw .claude/skills/tradingview-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tradingview-mcp
GitHub stars
5k
Token cost
~1.3k tokens
SKILL.md length
408 words
Files
2
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

  • Works in 7 steps: Run bash immediately. For any… → Always combine signals. For "should I… → Qualify with timeframe. Default to 1y… → …
  • Tasks that involve Trading and backtesting
  • SKILL.md covers How to Run Trading Tools, Behavior Guidelines, Tool Quick Reference and Example Response Formats, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Tradingview MCP is an agent skill from atilaahmettaner/tradingview-mcp. AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `trading.py`).

It sits in Business, Finance & HR, covering Trading and backtesting, Stock and market analysis and MCP servers. It works with Model Context Protocol, Telegram and Bash. The repository describes itself as: TradingView MCP server — real-time market data, technical analysis, screeners & backtesting for Claude, ChatGPT, Cursor & any MCP client. Stocks, crypto, forex & futures across… The licence is MIT.

When your agent uses it

  • Tasks that involve Trading and backtesting
  • Tasks that involve Stock and market analysis
  • Tasks that involve MCP servers

Example prompts

  • “/tradingview-mcp”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Run bash immediately. For any trading/market question → execute the command directly, don't ask for clarification.
  2. Always combine signals. For "should I buy X?" → run price + backtest + sentiment together.
  3. Qualify with timeframe. Default to 1y period and 1d interval unless specified.
  4. Explain metrics briefly. Sharpe (risk-adjusted return), Max Drawdown (worst loss), Profit Factor (wins/losses).
  5. Add a disclaimer on all backtests: "⚠️ Past performance does not guarantee future results."
  6. Be concise on Telegram. Use emoji, bullet lists — no walls of JSON.
  7. Detect language. Reply in the same language the user writes in.

What it can do on your machine

Read from SKILL.md and the folder at commit 099090e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tradingview MCP loads about 1.3k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 408 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from atilaahmettaner/tradingview-mcp at commit 099090e, republished under its MIT licence (© atilaahmettaner). 408 words, ~1,333 tokens.

Download SKILL.mdSave it as .claude/skills/tradingview-mcp/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
tradingview-mcp
description
AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.

TradingView MCP — AI Trading Intelligence

You have a trading intelligence tool available via bash. NEVER use sessions_spawn or ask for an agent ID for trading tasks. Run commands directly.

Use this tool whenever users ask about:

  • Stock, crypto, ETF, or index prices
  • Technical analysis (RSI, MACD, Bollinger Bands, etc.)
  • Backtesting trading strategies
  • Market sentiment or news
  • Screening for trading opportunities

How to Run Trading Tools

Execute via bash using the wrapper script:

bash
python3 ~/.openclaw/tools/trading.py <command> [args]

Behavior Guidelines

  1. Run bash immediately. For any trading/market question → execute the command directly, don't ask for clarification.
  2. Always combine signals. For "should I buy X?" → run price + backtest + sentiment together.
  3. Qualify with timeframe. Default to 1y period and 1d interval unless specified.
  4. Explain metrics briefly. Sharpe (risk-adjusted return), Max Drawdown (worst loss), Profit Factor (wins/losses).
  5. Add a disclaimer on all backtests: "⚠️ Past performance does not guarantee future results."
  6. Be concise on Telegram. Use emoji, bullet lists — no walls of JSON.
  7. Detect language. Reply in the same language the user writes in.

Tool Quick Reference

Prices & Market
IntentTool
"What is AAPL's price?"yahoo_price(symbol="AAPL")
"Show me BTC and ETH prices"get_prices_bulk(symbols=["BTC-USD","ETH-USD"])
"How are markets today?"market_snapshot()
Technical Analysis
IntentTool
"Analyze AAPL technically"technical_analysis(symbol="AAPL", exchange="NASDAQ", screener="america", interval="1h")
"What is the RSI for BTC?"calculate_rsi(symbol="BTC-USD", period="14")
"Supertrend signal for AAPL?"calculate_supertrend(symbol="AAPL")
Backtesting
IntentTool
"Backtest RSI strategy for 1 year"backtest_strategy(symbol="AAPL", strategy="rsi", period="1y")
"Show me the full trade log"backtest_strategy(symbol="BTC-USD", strategy="supertrend", period="1y", include_trade_log=True)
"Run hourly backtest"backtest_strategy(symbol="AAPL", strategy="bollinger", period="3mo", interval="1h")
"Which strategy is best?"compare_strategies(symbol="BTC-USD", period="2y")
"Is this strategy overfitted?"walk_forward_backtest_strategy(symbol="AAPL", strategy="rsi", period="2y", n_splits=3)
Show full SKILL.md (147 more words)Show less
Sentiment & News
IntentTool
"What is the news sentiment on BTC?"analyze_sentiment(symbol="BTC")
"Latest news on AAPL"fetch_news_summary(symbol="AAPL")
"Combine technical + sentiment"analyze_confluence(symbol="AAPL", exchange="NASDAQ")
Screener
IntentTool
"Strong bullish stocks"screener_bullish(exchange="NASDAQ")
"Find oversold stocks"screener_oversold(exchange="NASDAQ")
"Scan Turkish BIST stocks"screener_bullish(exchange="BIST")
"Egyptian Exchange stocks"egx_stock_screen()

Example Response Formats

Price Query (Telegram-friendly)
📊 AAPL — Apple Inc.
💵 Price: $189.42
📈 Change: +1.23% (+$2.30)
📅 52w High: $199.62 | Low: $164.08
🏦 Exchange: NASDAQ | Market: REGULAR
Backtest Summary (Telegram-friendly)
🔬 AAPL — RSI Strategy (1Y daily)
────────────────────────────────
📊 Trades: 8 | Win Rate: 62.5%
💰 Return: +14.3% vs B&H: +21.2%
📉 Max Drawdown: -6.8%
⚡ Sharpe: 1.42 | Calmar: 2.10
🏆 Profit Factor: 2.31

⚠️ Past performance does not guarantee future results.
Walk-Forward (Overfitting Check)
🧪 Walk-Forward: AAPL RSI (2Y, 3 folds)
────────────────────────────────────────
Robustness Score: 0.87 → ROBUST ✅
Train avg: +12.4% | Test avg: +10.8%

Fold 1: Train +18% → Test +15% (rob: 0.83)
Fold 2: Train +8%  → Test +7%  (rob: 0.88)
Fold 3: Train +11% → Test +10% (rob: 0.91)

✅ Strategy performs well out-of-sample.

Supported Symbols

  • US Stocks: AAPL, TSLA, NVDA, MSFT, GOOGL, META, AMZN
  • Crypto: BTC-USD, ETH-USD, SOL-USD, BNB-USD, XRP-USD
  • ETFs: SPY, QQQ, GLD, VTI, IWM
  • Indices: ^GSPC (S&P500), ^IXIC (NASDAQ), ^DJI (Dow), ^VIX
  • Turkish (BIST): THYAO.IS, SASA.IS, BIMAS.IS, KCHOL.IS, EKGYO.IS
  • Egyptian (EGX): COMI.CA, HRHO.CA, EAST.CA
  • FX: EURUSD=X, GBPUSD=X, JPYUSD=X, TRYUSD=X

Strategies Available for Backtesting

StrategyKeyBest For
RSI Mean ReversionrsiRanging/sideways markets
Bollinger BandbollingerMean reversion in volatile markets
MACD CrossovermacdTrend following
EMA 20/50 Crossema_crossMedium-term trends
Supertrend (ATR)supertrendStrong trending markets
Donchian ChanneldonchianBreakout / Turtle Trading

© atilaahmettaner, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in openclaw of atilaahmettaner/tradingview-mcp.

  • SKILL.md
  • trading.py

Open the folder on GitHubat commit 099090e

Compare with similar skills

Tradingview MCP next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tradingview MCP compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tradingview MCP this skillatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT
Okx Sentiment Trackerdex-original/okx-agent-trade-kit1101 repos~3.8kAutomated safety check: PassMIT
Tradingview MCPhimself65/finance-skills3.4k—~2.4kAutomated safety check: PassMIT
OpenmmLeoYeAI/openclaw-master-skills2.2k—~5.1kAutomated safety check: NotesMIT
Tiger Brokers OpenAPI SDKqusong0627/QuantMind1.7k—~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Okx Sentiment Tracker

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news'…

    110 GitHub starsUsed in 1 repo~3.8k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    himself65/finance-skills

    Query TradingView market data through the bundled tradingview MCP server without a desktop app or login.

    3.4k GitHub stars~2.4k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check passed
  • Openmm

    LeoYeAI/openclaw-master-skills

    Open-source market making for AI agents. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~5.1k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Tiger Brokers OpenAPI SDK

    qusong0627/QuantMind

    Covers the Tiger Brokers OpenAPI Python SDK for market data, stock, futures and options trading, push subscriptions, a CLI and an MCP server, defaulting to paper trading.

    1.7k GitHub stars~1.4k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Agentic Trading Desk

    Oft3r/agentic-trading-desk

    Personal trading desk for short-term technical analysis on stocks/ETFs via Robinhood MCP.

    306 GitHub stars~5.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

Questions about Tradingview MCP

What does Tradingview MCP do?

AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…. Tradingview MCP is an agent skill from atilaahmettaner/tradingview-mcp. AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and multi-market screener.

When should I use Tradingview MCP?

Tradingview MCP fits situations like: tasks that involve Trading and backtesting; tasks that involve Stock and market analysis; tasks that involve MCP servers.

How do I install Tradingview MCP in Claude Code?

Run `npx skills add atilaahmettaner/tradingview-mcp --skill tradingview-mcp -a claude-code`. Or copy the skill folder (openclaw in atilaahmettaner/tradingview-mcp) into .claude/skills/tradingview-mcp in your project. Claude Code loads it when a task matches its description.

How do I install Tradingview MCP in Codex?

Run `npx skills add atilaahmettaner/tradingview-mcp --skill tradingview-mcp -a codex`. Or copy the skill folder (openclaw in atilaahmettaner/tradingview-mcp) into .agents/skills/tradingview-mcp in your project. Codex loads it when a task matches its description.

Can I use Tradingview MCP in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add atilaahmettaner/tradingview-mcp --skill tradingview-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tradingview-mcp, .gemini/skills/tradingview-mcp, .github/skills/tradingview-mcp and .opencode/skills/tradingview-mcp in your project.

What does Tradingview MCP need to run?

Going by SKILL.md and its folder, Tradingview MCP needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Tradingview MCP access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tradingview MCP safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tradingview MCP use?

Tradingview MCP is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tradingview MCP use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tradingview MCP?

Skills that share tags, products or a category with Tradingview MCP: Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars), Okx Sentiment Tracker (dex-original/okx-agent-trade-kit, 110 stars), Tradingview MCP (himself65/finance-skills, 3.4k stars) and Openmm (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tradingview MCP?

atilaahmettaner (a GitHub user) maintains it in atilaahmettaner/tradingview-mcp, which has 4,993 GitHub stars. The repository was last updated on October 9, 2026.

Source: atilaahmettaner/tradingview-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.