tradingview-export

Export Vibe-Trading strategies to Pine Script v6, TDX Formula, and MQL5 code.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill tradingview-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tradingview-export
Source: https://github.com/loanntc/Paave/tree/main/skills/pine-script
Command: npx skills add https://github.com/loanntc/Paave --skill tradingview-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turning a single backtest strategy into usable code for multiple trading platforms is slow and error-prone, especially when you need consistent signals across ecosystems.

Core Features & Use Cases

  • One-click multi-platform export: Generates TradingView (Pine Script v6), 通达信/同花顺/东方财富 (TDX Formula), and MetaTrader 5 (MQL5) from the same strategy logic.
  • Backtest-to-code workflow: Uses your config and Python signal logic to translate conditions into platform-native syntax while keeping entry/exit semantics aligned.
  • Deterministic combined output: Writes a single artifact file (artifacts/strategy.pine) containing all platform sections and paste/save instructions.

Quick Start

Load the skill pine-script and export the strategy using your config.json and code/signal_engine.py, then paste the generated TradingView, TDX, and MT5 sections from artifacts/strategy.pine into each platform.

Frequently Asked Questions about tradingview-export

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

FAQPage Schema
How do I export my backtest strategy to Pine Script, TDX Formula, and MQL5?

You can export a strategy to Pine Script, TDX Formula, and MQL5 by loading the pine-script skill and running the export with your config.json and code/signal_engine.py. It translates your signal logic into platform-native syntax in a single run.

What is the best way to translate Python signal logic into TradingView Pine Script v6?

Translating Python signal logic into Pine Script v6 is handled by the backtest-to-code workflow, which converts your conditions into platform-native syntax while keeping entry and exit semantics aligned across all major trading platforms.

Does the strategy export output separate files for TradingView, 通达信, and MetaTrader 5?

The strategy export does not output separate files; it writes a deterministic combined artifact file named artifacts/strategy.pine. This single file contains all platform sections and paste/save instructions for TradingView, TDX, and MT5.

How does the strategy export handle EMPTY_VALUE when generating MQL5 indicator structure?

Generating MQL5 indicator structure handles EMPTY_VALUE by applying specific constraints during signal logic translation. It ensures vectorized bar-by-bar conditions from your strategy are correctly mapped to the MetaTrader 5 environment.

Can I use this export process to generate TDX Formula for 通达信, 同花顺, and 东方财富?

Yes, the export process generates TDX Formula code compatible with 通达信, 同花顺, and 东方财富. It translates your strategy logic into vectorized bar-by-bar constraints required by these specific charting and trading environments.