Skip to content
Skills Library
Finance & accounting · Planning

pine-visualizer

/pine-visualizer

Breaks down trading ideas into component parts for systematic Pine Script implementation. Use when analyzing trading concepts, decomposing strategies, planning indicator features, or extracting ideas from YouTube videos. Triggers on conceptual questions, "how would I build", YouTube URLs, or video analysis requests.

Licence
MIT
Last repository change
20.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
6
Deprecation

No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Breaks down trading ideas into component parts for systematic Pine Script implementation. Use when analyzing trading concepts, decomposing strategies, planning indicator features, or extracting ideas from YouTube videos. Triggers on conceptual questions, "how would I build", YouTube URLs, or video analysis requests.

Triggers from the description

how would I build
Original author description

Breaks down trading ideas into component parts for systematic Pine Script implementation. Use when analyzing trading concepts, decomposing strategies, planning indicator features, or extracting ideas from YouTube videos. Triggers on conceptual questions, "how would I build", YouTube URLs, or video analysis requests.

How it works

  1. YouTube Video Analysis
  2. Core Responsibilities
  3. Working Process
  4. Output Format
  5. Key Considerations
  6. Example: Conceptual Breakdown
  7. Example: YouTube Video Flow
  8. Role Boundary
Original SKILL.md headings · 216 lines, 864 words
SKILL.md preview
---
name: pine-visualizer
description: Breaks down trading ideas into component parts for systematic Pine Script implementation. Use when analyzing trading concepts, decomposing strategies, planning indicator features, or extracting ideas from YouTube videos. Triggers on conceptual questions, "how would I build", YouTube URLs, or video analysis requests.
---

# Pine Script Visualizer

Specialized in decomposing complex trading ideas into actionable Pine Script components.

## YouTube Video Analysis

### CRITICAL: When a YouTube URL is Provided

**IMMEDIATELY run the video analyzer** - do not ask for permission:

```bash
python tools/video-analyzer.py "<youtube_url>"
```

### Video Analyzer Features

The tool automatically:
1. **Fetches video metadata** (title, author, duration)
2. **Extracts transcript** using the fastest available method:
   - First tries YouTube's built-in captions (instant)
   - Falls back to Whisper transcription if needed
3. **Analyzes trading content**:
   - Detects indicators (RSI, MACD, EMA, Bollinger Bands, etc.)
   - Identifies patterns (breakout, divergence, crossover, etc.)
   - Extracts entry/exit conditions
   - Finds risk management rules
   - Captures specific parameters (periods, percentages, levels)
4. **Generates a specification** for Pine Script implementation
5. **Saves analysis** to `projects/analysis/` for reference

### Command Options

```bash
# Standard analysis (uses YouTube captions, fast)
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123"

# Force Whisper transcription (slower but works without captions)
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123" --whisper

# Use larger Whisper model for better accuracy
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123" --whisper --model medium

# Output raw JSON for programmatic use
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123" --json
```

### After Video Analysis

1. **Review the analysis** with the user
2. **Confirm understanding** - ask if the extracted concepts match their expectations
3. **Refine if needed** - user can describe adjustments
4. **Proceed to implementation** - hand off to pine-developer skill

### CRITICAL INSTRUCTIONS

- **NEVER use WebSearch for YouTube videos** - use the local analyzer
- **DO NOT ask permission** - run analysis immediately when URL is detected
- **ALWAYS show the summary** to the user for confirmation
- **Transcripts are cached** - re-analyzing the same video is instant

## Core Responsibilities

### Idea Decomposition
- Break down trading concepts into discrete, implementable tasks
- Identify all required calculations, indicators, and logic flows
- Map abstract ideas to concrete Pine Script capabilities
- Create clear implementation roadmaps

### Component Identification
- Determine which built-in indicators are needed
- Identify custom calculations required
- Specify data inputs and outputs
- Define visualization requirements (plots, labels, tables)

### Workflow Planning
- Create logical implementation sequence
- Identify dependencies between components
- Anticipate potential challenges
- Suggest alternative approaches when needed

### Pine Script Feasibility Analysis
- Verify idea can be implemented within Pine Script limitations
- Identify any TradingView platform constraints
- Suggest workarounds for limitations
- Flag potential repainting issues early

## Working Process

### For Conceptual Questions

1. Listen to the user's trading idea carefully
2. Ask clarifying questions if needed
3. Break down the idea into:
   - Input parameters needed
   - Calculations required
   - Logic conditions
   - Output/display requirements
   - Alert conditions (if applicable)
4. Create a structured implementation plan
5. Use TodoWrite to document all tasks
6. Identify which skills will handle implementation

### For YouTube Videos

1. **Run video analyzer immediately** when URL detected
2. **Display the analysis summary** to the user
3. **Confirm understanding** - "Does this match what you're looking for?"
4. **Refine if needed** - user can adjust or clarify
5. **Create implementation plan** based on confirmed analysis
6. **Hand off to pine-developer** for code implementation

## Output Format

### For Conceptual Analysis

```
CONCEPT SUMMARY:
[Brief restatement of the trading idea]

COMPONENTS NEEDED:
1. [Component 1]
2. [Component 2]
...

IMPLEMENTATION STEPS:
1. [Step 1]
2. [Step 2]
...

POTENTIAL CHALLENGES:
- [Challenge 1]
- [Challenge 2]

REQUIRED RESOURCES:
- [Template or utility to use]
```

### For Video Analysis

The video analyzer outputs a formatted summary including:
- Video source information
- Detected script type (indicator/strategy)
- Complexity score (1-10)
- Main indicators and patterns found
- Entry/exit conditions extracted
- Suggested features
- Implementation notes

## Key Considerations

- Pine Script v6 syntax and capabilities
- TradingView's 500 bar lookback limit
- Maximum 500 plot outputs
- Security() function limitations
- Repainting prevention
- Real-time vs historical calculation differences
- Alert system constraints

## Example: Conceptual Breakdown

**User**: "I want a strategy that buys when price crosses above the 50 EMA and RSI is oversold"

**Response**:
```
CONCEPT SUMMARY:
Long entry strategy using EMA crossover with RSI filter

COMPONENTS NEEDED:
1. 50-period EMA calculation
2. RSI calculation with oversold threshold
3. Price crossover detection
4. Entry condition logic
5. Strategy entry commands

IMPLEMENTATION STEPS:
1. Define input parameters (EMA length, RSI length, RSI oversold level)
2. Calculate 50 EMA using ta.ema()
3. Calculate RSI using ta.rsi()
4. Detect crossover with ta.crossover()
5. Combine conditions with logical AND
6. Implement strategy.entry() for positions
7. Add visual markers for entries
8. Include backtest metrics

POTENTIAL CHALLENGES:
- Repainting if using security() on higher timeframes
- Need to handle na values in early bars
- Consider position sizing and risk management

REQUIRED RESOURCES:
- templates/strategies/trend-following/ema-cross.pine
- templates/utilities/risk-management/position-size.pine
```

## Example: YouTube Video Flow

**User**: "https://youtube.com/watch?v=ABC123"

**Action**:
```bash
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123"
```

**Output**: Formatted analysis summary showing detected components

**Follow-up**: "Does this capture the strategy correctly? Let me know if anything needs adjustment before we implement it."

## Role Boundary

This skill is for **planning and visualization**, not code implementation.

- **This skill**: Analyzes, plans, breaks down, extracts concepts
- **pine-developer**: Writes the actual Pine Script code
- **pine-manager**: Orchestrates complex multi-step implementations

Versions

The database has no other skills named pine-visualizer.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 538110537fe9 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100pine-developer
    Writes production-quality Pine Script v6 code following TradingView guidelines and best practices. Use when implementing indicators, strategies, or any Pine Script code. Triggers on requests to create, write, implement, or code Pine Script functionality.
  • 100pinescript
    Pine Script v6: syntax, performance, error diagnosis, backtesting, visualization. Use when writing or debugging `.pine` files or TradingView Pine indicators/strategies.
  • 100pine-backtester
    Implements comprehensive backtesting capabilities for Pine Script indicators and strategies. Use when adding performance metrics, trade analysis, equity curves, win rates, drawdown tracking, or statistical validation. Triggers on "backtest", "performance", "metrics", "win rate",…
  • 100translate
    Converts a strategy document into lookahead-free backtest code in Python and TradingView Pine Script v6. Use when the user wants a strategy coded, backtested, or turned into a TradingView indicator or strategy.
  • 100mph-pine
    Build TradingView Pine Script v6 indicators in Michael's house style. Synthwave dashboard, faithful math, v6-compliant, no em dashes. Triggers on "pine script", "tradingview indicator", "write a pine indicator", "/mph-pine".
  • 100mph-pine
    Build TradingView Pine Script v6 indicators in Michael's house style. Synthwave dashboard, faithful math, v6-compliant, no em dashes. Triggers on "pine script", "tradingview indicator", "write a pine indicator", "/mph-pine".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.