pine-script

Convert trading strategies to Pine Script, TDX Formula, and MQL5 code.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/thanhtai040805/AI_Invest --skill pine-script-thanhtai040805
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pine-script
Source: https://github.com/thanhtai040805/AI_Invest/tree/main/ai-engine/app/domain/services/quant/skills_data/pine-script
Command: npx skills add https://github.com/thanhtai040805/AI_Invest --skill pine-script-thanhtai040805

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the conversion of trading strategies from one platform to multiple platforms, saving time and effort for traders.

Core Features & Use Cases

  • Platform Conversion: Converts trading strategies to code compatible with TradingView, 通达信, 同花顺, 东方财富, and MetaTrader 5.
  • Code Generation: Generates indicator/strategy code for each platform in a single file.
  • Use Case: A trader with a strategy on TradingView can use this Skill to generate equivalent code for MetaTrader 5, making it easier to trade on multiple platforms.

Quick Start

Load the pine-script skill and run the export command with the strategy file path.

Frequently Asked Questions about pine-script

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

FAQPage Schema
How do I convert Pine Script strategies to MQL5 and TDX Formula?

To convert Pine Script strategies to MQL5 and TDX Formula, you provide the strategy code and configuration file. The tool generates equivalent indicator and strategy code for MetaTrader 5, 通达信, 同花顺, and 东方财富 in a single file.

Can I translate Python-based trading strategy logic to TradingView?

Yes, you can translate Python-based trading strategy logic to TradingView. The tool supports Python-based strategy logic as an input format to generate Pine Script code alongside other platform outputs.

What's the best way to generate code for multiple trading platforms at once?

The best way to generate code for multiple trading platforms at once is to load the strategy file and run the export command. This outputs compatible code for TradingView, MetaTrader 5, and Chinese equity platforms simultaneously.

Does the conversion tool support untranslatable features between platforms?

For untranslatable features between platforms, the conversion tool supports manual translation. It automates standard strategy logic conversion while allowing manual intervention for platform-specific features that cannot be directly translated.

What files do I need to provide to convert a trading strategy?

To convert a trading strategy, you need to provide the original strategy code file and a configuration file. These inputs are required to generate equivalent code for target platforms like TradingView and MetaTrader 5.

Why does my strategy code need a configuration file for platform conversion?

Your strategy code needs a configuration file for platform conversion to define parameters and settings required for accurate translation. This ensures the generated Pine Script, MQL5, and TDX Formula outputs function correctly on their respective platforms.