Skip to content
FXMacroNews

The business of foreign exchange

Ecosystem directory

MetaTrader and MQL GitHub Repositories

Expert advisors, indicators, bridges and libraries for MetaTrader 4 and 5.

1,763 repositories · facts retrieved 2026-11-05

291 repositories

Page 1 of 6

Decision audit trail + persistent memory for AI trading agents. Outcome-weighted recall, tamper-evident SHA-256 chain with RFC 3161 anchoring, 20 MCP tools.

Language
Python
Stars
1,440
Forks
170
Licence
MIT
Latest push
2026-10-23

🤖📈 EA31337 Lite, Advanced and Rider - Forex multi-strategy trading robot for MT4/MT5 platforms

Language
C++
Stars
1,350
Forks
467
Licence
GPL-3.0
Latest push
2026-04-07

Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform

Language
Python
Stars
842
Forks
273
Licence
MIT
Latest push
2026-03-28

MetaTrader API (terminal bridge)

Language
C#
Stars
705
Forks
331
Licence
MIT
Latest push
2026-11-04

Implementation of Trading Strategies for Backtesting in MetaTrader 5 (MT5) Using MQL5 Programming Language – Free Open-Source Trading Bots (Expert Advisors) for MT5

Language
MQL5
Stars
686
Forks
198
Licence
MIT
Latest push
2025-11-15

Calculate your position size based on the risk and account size and execute your trades with this free MetaTrader expert advisor.

Language
MQL5
Stars
611
Forks
224
Licence
Apache-2.0
Latest push
2026-10-12

The AutoGPT MetaTrader Plugin is a software tool that enables traders to connect their MetaTrader 4 or 5 trading account to Auto-GPT.

Language
Python
Stars
565
Forks
93
Licence
MIT
Latest push
2023-11-12

A general-purpose, flexible, and easy-to-use simulator alongside an OpenAI Gym trading environment for MetaTrader 5 trading platform (Approved by OpenAI Gym)

Language
Python
Stars
526
Forks
124
Licence
MIT
Latest push
2024-11-14

Docker image that runs Metatrader 5 with VNC web server

Language
Shell
Stars
416
Forks
184
Licence
MIT
Latest push
2025-12-20

Wrapper library for algorithmic trading in Python 3, providing DMA/STP access to Darwinex liquidity via a ZeroMQ-enabled MetaTrader Bridge EA.

Language
Python
Stars
373
Forks
237
Licence
BSD-3-Clause
Latest push
2022-05-25

Expert Advisors, Browser-based EA, Free Crypto / Forex Historical DATA API plugins, EA Codes Generator, Market Maker Bot, Crypto Options Plugin, DEX / Payment Gateway Plugins, Binance API, FIX API…

Language
JavaScript
Stars
364
Forks
65
Latest push
2026-10-18

Open Range Breakout Expert Advisor for XAUUSD (GOLD)

Language
MQL5
Stars
324
Forks
103
Latest push
2023-07-29

WIP — XAUUSD (Gold) automated-trading research, in the open. MQL5 (public) + Python/NautilusTrader (private). Studied thousands of bots first. No signals, no profit claims — just the engineering.

Language
MQL5
Stars
277
Forks
72
Latest push
2026-06-21

📦📈 EA31337 framework (MQL library for writing trading Expert Advisors, indicators and scripts)

Language
MQL5
Stars
275
Forks
126
Licence
GPL-3.0
Latest push
2026-04-22

Machine Learning repository for MQL5

Language
MQL5
Stars
274
Forks
92
Licence
MIT
Latest push
2026-09-18

🤖📈 EA31337 Libre - free and open source Forex trading robot for MT4/MT5 platforms

Language
C
Stars
267
Forks
113
Licence
GPL-3.0
Latest push
2024-10-11

MQL5/MT5/MetaTrader 5 templates

Language
MQL5
Stars
240
Forks
76
Licence
MIT
Latest push
2026-09-26

Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!

Language
MQL5
Stars
239
Forks
104
Licence
BSD-3-Clause
Latest push
2025-05-25

A Model Context Protocol (MCP) server for interacting with the MetaTrader 5 trading platform. This server provides AI assistants with tools and resources to access market data, perform trading…

Language
Python
Stars
239
Forks
78
Latest push
2026-11-02

Auto Trading EA Robot with Comprehensive Features for MetaTrader 5

Language
MQL5
Stars
232
Forks
99
Licence
BSD-3-Clause
Latest push
2026-10-25

Repository for YouTube tutorial on how to run MetaTrader5 + VNC + Python Flask API in a Docker Container on a Linux server.

Language
Python
Stars
223
Forks
126
Latest push
2024-12-25

ICT Concept OSS Library for MQ5/MT5

Language
MQL5
Stars
218
Forks
16
Licence
MIT
Latest push
2026-10-13

DRL Trading - AI Gold Trading Bot Deep reinforcement learning system for autonomous XAUUSD trading using: - PPO & Dreamer algorithms (PyTorch) - 140+ features: multi-timeframe, macro data, economic…

Language
Python
Stars
216
Forks
84
Licence
MIT
Latest push
2026-09-28

I created this library to streamline the process of developing an Expert Advisor in MQL5. While MQL5 development can be complex, the same task is more straightforward in Python.

Language
Python
Stars
215
Forks
54
Licence
MIT
Latest push
2025-12-15

Market Profile indicator for MT4, MT5, and cTrader by EarnForex.com

Language
MQL5
Stars
205
Forks
73
Licence
Apache-2.0
Latest push
2026-03-13

Robô Open Source para MQL5

Language
MQL5
Stars
204
Forks
139
Licence
GPL-3.0
Latest push
2024-09-23

AI/ML Trading Bot for MetaTrader 5 - XAUUSD Gold Trading. Merged & optimized codebase from 25+ top repos including DRL (PPO/Dreamer), LSTM, Transformers, Ensemble ML, and production-ready trading…

Language
Python
Stars
190
Forks
54
Latest push
2026-11-04

Metatrader 5 Docker, wine64 and vnc with openbox gui and slim for Authentication pyzmq python3

Language
MQL5
Stars
168
Forks
73
Latest push
2025-05-20

Expert advisors, scripts, indicators and code libraries for Metatrader.

Language
HTML
Stars
164
Forks
59
Licence
GPL-3.0
Latest push
2023-03-02

Asynchronous Python Library For MetaTrader 5

Language
Python
Stars
154
Forks
46
Licence
MIT
Latest push
2026-07-26

💰 Advanced multi-strategy EA for XAUUSD on MetaTrader 5 – combines 14 institutional-grade techniques with smart risk management and ML-ready design.

Language
MQL5
Stars
152
Forks
52
Latest push
2025-06-03

Python API for interacting with DevCartel MetaTrader 5 gateway

Language
Python
Stars
148
Forks
51
Licence
MIT
Latest push
2023-02-02

This repository is about some of my various MT4/MT5 EA you everyone can use for free. I implemented various strategies and scripts you can customize for your projects.

Language
MQL5
Stars
143
Forks
66
Latest push
2024-12-11

HFT Arbitrage EA is A trading system based on a backlog of data feed. HFT Arbitrage EA To work successfully, it needs a faster data feed agent and slow forex broker where data feed lag. Data feed…

Language
MQL5
Stars
136
Forks
45
Latest push
2025-12-02

🐳📈 Headless Forex backtesting for MetaTrader platform using Docker

Language
Shell
Stars
134
Forks
84
Licence
MIT
Latest push
2025-03-09

Automate emergency position closing and autotrading termination using a multi-setting expert advisor.

Language
MQL5
Stars
126
Forks
61
Licence
Apache-2.0
Latest push
2026-02-19

CandlestickPatternScanner is a utility class that helps Expert Advisors and trading bots to efficiently detect reversal

Language
MQL5
Stars
121
Forks
48
Licence
GPL-3.0
Latest push
2023-05-09

Metatrader 5 API - Trading and history OHLC Dataframe in Nano Seconds

Language
Python
Stars
120
Forks
38
Licence
GPL-3.0
Latest push
2024-02-06

:chart_with_upwards_trend::robot: Imagine um programa de computador que, observando a movimentação dos preços de um ativo ao longo do tempo, é capaz de, sozinho, sem interferência humana, determinar…

Language
MQL5
Stars
114
Forks
41
Licence
MIT
Latest push
2023-02-09

Forex trading bots, MT4/MT5 trading bots for XAUUSD,BTCUSD and other assests. HFT bots and Smart money arbitrage bots

Language
C#
Stars
110
Forks
0
Latest push
2022-12-04

AI-powered XAUUSD (Gold) trading bot with XGBoost ML, Smart Money Concepts (SMC), and HMM regime detection for MetaTrader 5

Language
Python
Stars
106
Forks
37
Licence
MIT
Latest push
2026-02-11

Creation a JSON object with data of different types and run serialization and deserialization of JSON data.

Language
MQL5
Stars
105
Forks
49
Licence
MIT
Latest push
2024-07-10

Browser and node.js javascript SDK for MetaApi, a professional cloud forex trading API for MetaTrader platform which supports both MetaTrader MetaTrader 5 and MetaTrader 4. Free usage tier available.

Stars
102
Forks
17
Latest push
2026-05-12

Repository facts come from GitHub's public API and link to each project's own page. Figures are as GitHub reported them on 2026-11-05.

Repositories are selected by topic and activity on GitHub, with forks, duplicate copies and promotional projects left out. A listing is not an endorsement or a security review. Check a project's code, licence and maintainers before you use it. To correct or remove a listing, email info@fxmacrodata.com.