pine-script

Translate Python backtest strategies into TradingView Pine Script v6.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Liangwei-zhang/six-stock --skill pine-script-liangwei-zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pine-script
Source: https://github.com/Liangwei-zhang/six-stock/tree/main/Vibe-Trading/agent/src/skills/pine-script
Command: npx skills add https://github.com/Liangwei-zhang/six-stock --skill pine-script-liangwei-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts Python-based backtest strategies into TradingView Pine Script v6, enabling seamless charting and deployment without manual translation.

Core Features & Use Cases

  • Export: translate an existing Python strategy (from signal_engine.py) into a Pine Script v6 strategy.
  • Generate: produce Pine Script v6 directly from a natural-language strategy description.
  • Use Case: port Python backtest workflows to TradingView for quick visualization and iteration.

Quick Start

Translate your Python backtest strategy into a Pine Script v6 script and save it to artifacts/strategy.pine for immediate use in TradingView.

Frequently Asked Questions about pine-script

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Python backtest strategy to TradingView Pine Script?

You can translate Python backtest strategies into TradingView Pine Script v6 by mapping Python data references and indicators to ta.* functions, producing a strategy.pine file for immediate charting.

Can I generate Pine Script from a natural-language strategy description?

Yes, you can generate Pine Script v6 directly from a natural-language strategy description, bypassing the Python backtest export process to quickly produce a script for TradingView charting.

What files do I need to export my Python strategy to Pine Script v6?

You need a completed backtest run directory containing config.json and code/signal_engine.py, which serve as inputs to generate the Pine Script v6 strategy file.

Does the Pine Script generation support TradingView v6 syntax and ta.* indicators?

Yes, the generation process maps Python indicators to TradingView Pine Script v6 syntax, specifically utilizing the ta.* namespace for technical analysis functions within the provided template.

Where is the translated Pine Script strategy saved after conversion?

The translated Pine Script strategy is saved as artifacts/strategy.pine in the run directory, providing a ready-to-use file for immediate deployment in TradingView.