pine-script

Export backtested strategies into Pine Script v6, TDX Formula, and MQL5 code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Exports backtested Vibe-Trading strategies into indicator/strategy code for major trading platforms — TradingView, 通达信, 同花顺, 东方财富, MT5.

Core Features & Use Cases

  • Cross-platform export: generates code for TradingView (Pine Script v6), TDX Formula for China equities, MT5 (MQL5).
  • Output artifact: artifacts/strategy.pine containing the combined output, with per-platform usage instructions.
  • Flexible translation: reads config.json and code/signal_engine.py to translate signals into platform-specific code.

Quick Start

Provide your backtest configuration and run the pine-script export to generate code for TradingView, TDX, and MT5.

Frequently Asked Questions about pine-script

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

FAQPage Schema
How do I export a backtested trading strategy to Pine Script for TradingView?

To export a backtested trading strategy to Pine Script, the tool reads your config.json and signal_engine.py file to translate trading signals into TradingView Pine Script v6 code. It generates a combined output file containing the platform-specific code and usage instructions.

Can I convert my trading strategy into MQL5 for MT5?

Yes, you can convert your trading strategy into MQL5 for MT5. The export process translates backtested signals from your configuration and engine files into MetaTrader 5 MQL5 code, writing the results into a combined strategy artifact file.

Does this tool support generating TDX Formula code for China equities?

Yes, this tool supports generating TDX Formula code for China equities. It translates your backtested trading signals into the TDX Formula language alongside TradingView and MT5 outputs within a single combined strategy file.

What files do I need to provide for cross-platform trading code export?

You need to provide a config.json file and a code/signal_engine.py file for cross-platform trading code export. The tool reads these files to translate your trading signals into TradingView Pine Script, TDX Formula, and MT5 MQL5 code.

What is the best way to translate trading signals across multiple platforms like TradingView and MT5?

The best way to translate trading signals across multiple platforms like TradingView and MT5 is to use a cross-platform export tool that reads your backtest configuration and generates platform-specific code, such as Pine Script v6 and MQL5, in one combined output file.

Why does my exported strategy code include usage instructions for different platforms?

Your exported strategy code includes usage instructions because the tool writes a combined output artifact containing code for TradingView, TDX, and MT5. These per-platform instructions help you deploy the translated signals correctly on each specific trading platform.