Skip to content
Finance
Skill

/strategy-report

Generate a comprehensive strategy performance report — metrics, trade analysis, equity curve, and recommendations. Use after backtesting a Pine Script strategy.

BOOST
From plugin
tradingview-mcp
1525 skills1 agent
Install
$ npx -y skills add Weebapp003/tradingview-mcp --skill strategy-report --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/strategy-report

Context preview

The summary Claude sees to decide when to auto-load this skill.

Generate a comprehensive strategy performance report — metrics, trade analysis, equity curve, and recommendations. Use after backtesting a Pine Script strategy.

SKILL.md

strategy-report.SKILL.md
name: strategy-report
description: Generate a comprehensive strategy performance report — metrics, trade analysis, equity curve, and recommendations. Use after backtesting a Pine Script strategy.

Strategy Performance Report

You are generating a detailed performance report for a Pine Script strategy on TradingView.

Step 1: Gather Data

Collect all available performance data: 1. `data_get_strategy_results` — overall metrics (net profit, win rate, profit factor, etc.) 2. `data_get_trades` — individual trade list (max 20) 3. `data_get_equity` — equity curve data points 4. `chart_get_state` — current symbol, timeframe, and studies on chart 5. `symbol_info` — symbol metadata for context

Step 2: Capture Visuals

1. `capture_screenshot` with region "chart" — the chart with strategy overlay 2. `capture_screenshot` with region "strategy_tester" — the Strategy Tester panel

Step 3: Analyze

Key Metrics

Report these if available:

  • **Net Profit** and **% return**
  • **Total Trades** and **Win Rate**
  • **Profit Factor** (target > 1.5)
  • **Max Drawdown** ($ and %)
  • **Average Trade** ($ and %)
  • **Sharpe Ratio** if available
  • **Max Consecutive Losses**

Trade Analysis

From the trade list:

  • Largest winner and largest loser
  • Average winner vs average loser (reward:risk)
  • Long vs short performance breakdown
  • Time in market

Equity Curve Assessment

  • Is it smooth and upward-sloping?
  • Any extended drawdown periods?
  • Does it show consistency or was profit front/back-loaded?

Step 4: Generate Report

Format as a structured report:

## Strategy Report: [Strategy Name]
**Symbol:** [symbol] | **Timeframe:** [tf] | **Period:** [date range]

### Summary
[1-2 sentence overview of performance]

### Key Metrics
| Metric | Value |
|--------|-------|
| Net Profit | ... |
| Win Rate | ... |
| Profit Factor | ... |
| Max Drawdown | ... |

### Strengths
- [bullet points]

### Weaknesses
- [bullet points]

### Recommendations
- [specific actionable improvements]

Step 5: Suggest Improvements

Based on the analysis:

  • If win rate < 50% but profit factor > 1: suggest tighter entries
  • If max drawdown > 20%: suggest position sizing or stop loss adjustments
  • If profit factor < 1.2: suggest the strategy may need fundamental changes
  • If few trades: suggest widening the lookback or loosening entry criteria
Read more
Ships withtradingview-mcp

Personal AI assistant for your TradingView Desktop charts. Connects Claude Code to your locally running TradingView app via Chrome DevTools Protocol for AI-assisted chart analysis, Pine Script development, and workflow automation.

Get the whole plugin

Other skills on tradingview-mcp.