tradingview-mcp
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, Reddit sentiment, news, and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.
2installs
Added on
NPX Install
npx skill4agent add atilaahmettaner/tradingview-mcp tradingview-mcpTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →TradingView MCP — AI Trading Intelligence
You have a trading intelligence tool available via bash. NEVER use or ask for an agent ID for trading tasks. Run commands directly.
sessions_spawnUse 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
- 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 period and
1yinterval unless specified.1d - 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?" | |
| "Show me BTC and ETH prices" | |
| "How are markets today?" | |
Technical Analysis
| Intent | Tool |
|---|---|
| "Analyze AAPL technically" | |
| "What is the RSI for BTC?" | |
| "Supertrend signal for AAPL?" | |
Backtesting
| Intent | Tool |
|---|---|
| "Backtest RSI strategy for 1 year" | |
| "Show me the full trade log" | |
| "Run hourly backtest" | |
| "Which strategy is best?" | |
| "Is this strategy overfitted?" | |
Sentiment & News
| Intent | Tool |
|---|---|
| "What is Reddit saying about BTC?" | |
| "Latest news on AAPL" | |
| "Combine technical + sentiment" | |
Screener
| Intent | Tool |
|---|---|
| "Strong bullish stocks" | |
| "Find oversold stocks" | |
| "Scan Turkish BIST stocks" | |
| "Egyptian Exchange stocks" | |
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: REGULARBacktest 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 |
|---|---|---|
| RSI Mean Reversion | | Ranging/sideways markets |
| Bollinger Band | | Mean reversion in volatile markets |
| MACD Crossover | | Trend following |
| EMA 20/50 Cross | | Medium-term trends |
| Supertrend (ATR) | | Strong trending markets |
| Donchian Channel | | Breakout / Turtle Trading |