tradingview-mcp
What it does
It runs a set of market tools for prices, indicators, backtests, and screening across several markets. It is for people who want market data and analysis explained in plain language.
When to use it
- βWhen you ask for the current price of a stock, crypto coin, or index.
- βWhen you want to see how a trading strategy would have performed in the past.
- βWhen you want a screen of market opportunities or news sentiment.
Skill link
https://github.com/atilaahmettaner/tradingview-mcp/blob/main/openclaw/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWhat is the current price of Apple, and how would a simple moving average strategy have done on it over the last year?β
5 new skills a week. 1 minute to read.
How it works
The agent runs its market tools for the price, indicators, and backtest, then explains the results in plain terms. Backtest results come with a note that past performance does not guarantee future results.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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:
python3 ~/.openclaw/tools/trading.py <command> [args]
Behavior Guidelines
- Run bash immediately. For any trading/market question β execute the command directly, don't ask for clarification.
- Always combine signals. For "should I buy X?" β run price + backtest + sentiment together.
- Qualify with timeframe. Default to
1yperiod and1dinterval unless specified. - Explain metrics briefly. Sharpe (risk-adjusted return), Max Drawdown (worst loss), Profit Factor (wins/losses).
- Add a disclaimer on all backtests: "β οΈ Past performance does not guarantee future results."
- Be concise on Telegram. Use emoji, bullet lists β no walls of JSON.
- Detect language. Reply in the same language the user writes in.
Tool Quick Reference
Prices & Market
| Intent | Tool |
|---|---|
| "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
| Intent | Tool |
|---|---|
| "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
| Intent | Tool |
|---|---|
| "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) |
Sentiment & News
| Intent | Tool |
|---|---|
| "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
| Intent | Tool |
|---|---|
| "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
| Strategy | Key | Best For |
|---|
FAQ
Does it guarantee profits from trades?
No. The skill adds a reminder that past performance does not guarantee future results.
Which markets are covered?
Stocks, crypto, ETFs, indices, and markets such as Turkish BIST and Egyptian EGX.
What does the Sharpe ratio tell me?
It is a measure of risk-adjusted return, meaning how much return was earned for the risk taken.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 5.2k
- Ranking position
- #15031
- License
- MIT
- Updated
- 10/29/2026
Comments
- β¦
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.