python-workspace

Translate MQL5 indicators to Python and validate against MT5 reference data.

62|10|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/terrylica/cc-skills --skill python-workspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-workspace
Source: https://github.com/terrylica/cc-skills/tree/main/plugins/mql5/skills/python-workspace
Command: npx skills add https://github.com/terrylica/cc-skills --skill python-workspace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Translates MQL5 indicators to Python and validates accuracy using a structured workflow.

Core Features & Use Cases

  • Headless data export workflows
  • Validate Python implementation against MT5 reference data
  • Self-correcting loop with clear boundaries

Quick Start

Export MQL5 data and run Python translation checks on the indicators

Frequently Asked Questions about python-workspace

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

FAQPage Schema
How do I translate MQL5 indicators to Python?

Translate MQL5 indicators to Python by exporting reference data from MT5, implementing the indicator logic in Python, then validating the output against the original using correlation and error metrics. This Skill automates the validation workflow with a 32-test suite and DuckDB regression tracking to ensure functional equivalence.

Can I validate Python indicator implementations against MQL5 originals?

Yes, validate Python implementations against MQL5 references using autonomous validation that checks correlation ≥0.999, MAE <0.001, and zero NaN counts after a 5000-bar warmup. The Skill applies structured testing across headless exports and GUI-based indicator workflows.

What are the accuracy requirements for MT5 to Python indicator migration?

Accuracy requirements include correlation ≥0.999 between Python and MQL5 outputs, mean absolute error <0.001, and zero NaN counts after warmup. The Skill enforces these thresholds across a 32-test validation suite and DuckDB-driven regression tracking.

How do I export MQL5 indicator data for Python translation projects?

Export MQL5 data using headless data export or GUI-based indicator export workflows within MT5, then feed the reference output into the Skill's Python validation pipeline. The validation loop confirms functional equivalence through structured test coverage and regression analysis.

Does this work for standard indicators like Laguerre RSI and ATR?

Yes, the Skill handles end-to-end migration workflows including Laguerre RSI, ATR, and custom validation pipelines. It applies the same 5000-bar warmup, correlation, and error thresholds across all indicator types.

What happens when Python and MQL5 outputs don't match during validation?

The Skill uses a self-correcting loop with clear boundaries to identify divergence. It tracks mismatches through DuckDB regression analysis and reports failures against the 32-test validation suite, pinpointing where Python logic deviates from MQL5 behavior.