mt5-integration

Connect to MetaTrader 5 to query symbols, fetch OHLCV data, and render charts.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill mt5-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mt5-integration
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/mt5-integration
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill mt5-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MT5 integration and chart-analysis workflow are complex to assemble manually. This skill provides a unified interface to connect to MetaTrader 5, browse symbols, fetch OHLCV data across multiple timeframes, compute indicators, render publication-ready charts, and perform GPU-accelerated image analysis for pattern recognition.

Core Features & Use Cases

  • MT5 Connection: initialize and manage MT5 sessions.
  • Symbol Browser & Data Engine: browse symbols, fetch OHLCV across timeframes.
  • Indicator Engine: compute and apply technical indicators.
  • Chart Rendering & GPU Analysis: render charts and analyze images for patterns.
  • EA Code Generator: generate complete MQL5 EA code from strategy specs.

Quick Start

Connect to MT5 and fetch OHLCV data for a symbol to begin analysis.

Frequently Asked Questions about mt5-integration

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

FAQPage Schema
How do I retrieve OHLCV data from MetaTrader 5 for multiple timeframes?

To retrieve OHLCV data from MetaTrader 5, you initialize an MT5 connection session and use the data engine to browse symbols and fetch historical prices across specified timeframes. This provides immediate access to price data for charting and indicator calculations.

Can I generate Expert Advisor code directly from a trading strategy specification?

Yes, you can generate complete MQL5 Expert Advisor code directly from defined strategy specifications. The EA code generator translates your trading logic into executable MQL5 files, automating the manual coding process for MetaTrader 5 algorithmic deployment.

What is GPU-accelerated image analysis used for in MT5 chart browsing?

GPU-accelerated image analysis in MT5 chart browsing is used for visual pattern recognition. By rendering publication-ready charts and processing the resulting images through a GPU pipeline, the system identifies visual chart patterns to inform trading signals.

Does the MT5 integration skill require a live connection to compute technical indicators?

Computing technical indicators requires OHLCV data fetched via an active MT5 connection session. Once the data engine retrieves the historical price data from MetaTrader 5, the indicator engine applies calculations locally to generate technical analysis outputs.

What is the best way to browse symbols and render charts from MetaTrader 5 data?

The best way to browse symbols and render charts is by using the integrated symbol browser and chart rendering engine. After connecting to MT5, you query available symbols, fetch the required OHLCV data, and render publication-ready charts for visual market analysis.

When should I not use GPU analysis for pattern recognition in MT5?

You should not use GPU analysis for pattern recognition when you lack compatible GPU hardware or need real-time tick-by-tick evaluation. The GPU pipeline analyzes rendered chart images, making it suited for batch processing rather than low-latency trade execution.