pine-script

Official

Translate Python strategies into Pine Script

AuthorHKUDS
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Converting complex Python signal_engine.py backtest logic into Pine Script v6 is error-prone and time-consuming for traders who want to reuse strategies on TradingView, and this skill automates that translation while enforcing Pine-specific rules so the output can be immediately added to charts.

Core Features & Use Cases

  • Two workflows: export from an existing run by reading config.json and signal_engine.py, or write Pine Script directly from a natural-language description.
  • Pine Script v6 template & mapping guide: includes version declaration, strategy template, mapping tables for indicators, signals, and sizing, and reminders for alerts and commission settings.
  • Quality checklist & usage instructions: enforces platform limits, no plot() in local scopes, single-line ternaries, and documents how to paste artifacts/strategy.pine into TradingView, making it perfect for traders who want reliable, backtest-ready scripts quickly.

Quick Start

Convert the Python signal_engine.py strategy into Pine Script v6 using the provided mapping guide and save it as artifacts/strategy.pine for TradingView usage.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pine-script
Download link: https://github.com/HKUDS/Vibe-Trading/archive/main.zip#pine-script

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.