TradingView MCP Server Enables Claude to Backtest Trading Strategies

✍️ OpenClawRadar📅 Published: March 29, 2026🔗 Source
TradingView MCP Server Enables Claude to Backtest Trading Strategies
Ad

What This Is

A developer has built an MCP server called tradingview-mcp-server that enables Claude to backtest trading strategies directly through conversation, eliminating the need to write Python boilerplate code.

Key Features and Capabilities

  • Backtests six specific strategies: RSI, Bollinger Bands, MACD, EMA cross, Supertrend, and Donchian Channel.
  • Provides real trading metrics including Sharpe ratio, maximum drawdown, win rate, profit factor, and expectancy.
  • Simulates realistic commission and slippage costs in calculations.
  • Pulls market data from Yahoo Finance without requiring an API key.
  • Can compare all six strategies on the same ticker simultaneously.
  • Includes additional tools: Reddit sentiment analysis, live Yahoo Finance quotes, and 25+ TradingView tools covering Binance, NASDAQ, and other markets.

Setup and Configuration

Setup requires adding one configuration block to the claude_desktop_config.json file:

{"mcpServers": {"tradingview": {"command": "uvx", "args": ["tradingview-mcp-server"]}}}

The developer states the tool works in approximately 30 seconds after configuration.

Ad

Example Backtest Results

The developer shared specific results from recent tests:

  • AAPL 2-year backtest (with fees included):
    • #1 Supertrend: +14.6% return | Sharpe 3.09 | Win Rate 37%
    • #2 Bollinger: +13.0% return | Sharpe 6.95 | Win Rate 75%
    • #3 RSI: +2.7% return | Win Rate 100% (only 2 trades)
    • #6 MACD: -9.1% return
    • Buy & hold comparison: +45.1% return
  • BTC 2-year RSI backtest: +31.5% return vs buy-and-hold at -5% return

Availability and Development Status

The project is available on GitHub at https://github.com/atilaahmettaner/tradingview-mcp and is actively being developed with feedback welcome.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Creative Excellence Plugin for Claude Code Improves Animation Quality with Interaction Thesis
Tools

Creative Excellence Plugin for Claude Code Improves Animation Quality with Interaction Thesis

A new open-source plugin for Claude Code addresses generic animation generation by implementing an 'interaction thesis' approach where Claude must describe motion concepts before coding. The plugin includes 8 sub-skills covering GSAP, Framer Motion, CSS animations, and design principles from studied repositories.

OpenClawRadar
Essential OpenClaw plugins for developers using AI coding agents
Tools

Essential OpenClaw plugins for developers using AI coding agents

A developer tested OpenClaw plugins and identified essential tools including env-guard for security, commit-guard for preventing bad commits, composio for connecting to 860+ tools, cortex-memory for long sessions, cost-tracker for spending visibility, and openclaw-better-gateway for fixing flaky connections.

OpenClawRadar
AgenticStore MCP: Python Toolkit for Claude Desktop with 27 Local Tools
Tools

AgenticStore MCP: Python Toolkit for Claude Desktop with 27 Local Tools

AgenticStore MCP is an open-source Python toolkit that replaces multiple MCP servers with a single installation, giving Claude Desktop 27 local tools including persistent memory, web search, and repo auditing without requiring Docker or Node.js configuration.

OpenClawRadar
AbsolutelySkilled Registry Adds 156 Production-Ready Skills for Claude Code
Tools

AbsolutelySkilled Registry Adds 156 Production-Ready Skills for Claude Code

A developer has created AbsolutelySkilled, a registry of 156 structured skill modules for Claude Code that persist across sessions. Each skill includes trigger conditions, reference files, test cases, and anti-patterns in SKILL.md files.

OpenClawRadar