Synced with GitHub · updated yesterday
1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.
New EAs by RSS| Expert advisor | Platform | Type | Strategy | Stars | Updated | Licence | GitHub |
|---|---|---|---|---|---|---|---|
EA31337 ClassesEA31337 |
MT5 | Framework & template | — | 269 | 5 months ago | GPL-3.0 | GitHub repository of EA31337 Classes |
ProfitRobots MQL5 Templatesibvic · High risk |
MT5 | Framework & template | Martingale | 234 | 2 months ago | MIT | GitHub repository of ProfitRobots MQL5 Template |
ICT Library MQ5xxvw |
MT5 | Framework & template | SMC / ICT / price action | 205 | 2 days ago | MIT | GitHub repository of ICT Library MQ5 |
Roffild LibraryRoffild |
MT5 | Framework & template | AI / machine learning | 120 | 6 years ago | Apache-2.0 | GitHub repository of Roffild Library |
Advanced MQ4 Expert Advisor Templatessibvic · High risk |
MT4 | Framework & template | Martingale | 86 | 2 months ago | MIT | GitHub repository of Advanced MQ4 Expert Advisor Templates |
Orchard Forex Framework 3OrchardForexTutorials · High risk |
MT5 | Framework & template | Grid | 64 | 2 years ago | GPL-3.0 | GitHub repository of Orchard Forex Framework 3 |
Modular Trade Systemmichaelwade · High risk |
MT4 | Framework & template | Martingale, Indicator crossover | 58 | 6 years ago | Apache-2.0 | GitHub repository of Modular Trade System |
MT5 Expert Advisor TemplateEarnForex |
MT5 | Framework & template | — | 31 | 1 year ago | Apache-2.0 | GitHub repository of MT5 Expert Advisor Template |
X-Tick Chart SDK9nix6 |
MT5 | Framework & template | Indicator crossover | 18 | 5 years ago | GPL-3.0 | GitHub repository of X-Tick Chart SDK |
| MT5 | Framework & template | Indicator crossover, Trend following | 16 | 5 years ago | GPL-3.0 | GitHub repository of Range Bars EA Framework | |
Orchard Simple EA TemplateOrchardForexTutorials |
MT5 | Framework & template | Indicator crossover, Trend following | 13 | 3 years ago | GPL-3.0 | GitHub repository of Orchard Simple EA Template |
MQL4 TemplateKeisukeIwabuchi |
MT4 | Framework & template | — | 13 | 6 years ago | MIT | GitHub repository of MQL4 Template |
MQL4 Trade ManagerKeisukeIwabuchi |
MT4 | Framework & template | — | 8 | 8 years ago | MIT | GitHub repository of MQL4 Trade Manager |
MQL4 Logger ClassRGunning |
MT4 | Framework & template | — | 6 | 6 years ago | GPL-3.0 | GitHub repository of MQL4 Logger Class |
MQL4 PriceKeisukeIwabuchi |
MT4 | Framework & template | — | 6 | 8 years ago | MIT | GitHub repository of MQL4 Price |
MQL5 Architect Trading FrameworkJMS-tesoy |
MT5 | Framework & template | AI / machine learning | 5 | 8 months ago | MIT | GitHub repository of MQL5 Architect Trading Framework |
Orchard Simple EA TemplateOrchardForexTutorials |
MT4 | Framework & template | Indicator crossover | 4 | 3 years ago | GPL-3.0 | GitHub repository of Orchard Simple EA Template |
MQL4 Order ModuleKeisukeIwabuchi |
MT4 | Framework & template | — | 4 | 8 years ago | MIT | GitHub repository of MQL4 Order Module |
| MT4 | Framework & template | — | 3 | 6 years ago | Apache-2.0 | GitHub repository of MetaTrader Proxy Terminal | |
MQ4 Expert Advisor FrameworkHawkynt · High risk |
MT4 | Framework & template | Trend following, Indicator crossover, Grid | 2 | 12 days ago | LGPL-3.0 | GitHub repository of MQ4 Expert Advisor Framework |
Zed MQL5MichalBPL |
MT5 | Framework & template | Indicator crossover | 2 | 3 months ago | MIT | GitHub repository of Zed MQL5 |
CBMQL MQL5 FrameworkHarryWarre · High risk |
MT5 | Framework & template | Trend following, Grid, Martingale | 2 | 6 months ago | MIT | GitHub repository of CBMQL MQL5 Framework |
WealthPole Architecture DemoFintor-AI |
MT5 | Framework & template | Trend following, Grid, Hedging | 2 | 9 months ago | MIT | GitHub repository of WealthPole Architecture Demo |
Framework4oCapital-Advisory-Technology |
MT4 | Framework & template | Trend following, Indicator crossover | 2 | 2 years ago | GPL-3.0 | GitHub repository of Framework4o |
MQL4 To CSharp Bridge DNNEDennisGundersen |
MT4 | Framework & template | — | 2 | 3 years ago | MIT | GitHub repository of MQL4 To CSharp Bridge DNNE |
Swing NNFX FrameworkBenoitDurandIndep |
MT4 | Framework & template | Trend following, Multi-strategy | 2 | 3 years ago | GPL-3.0 | GitHub repository of Swing NNFX Framework |
Kompleks MT5 Trading Librarykompleksanda · High risk |
MT5 | Framework & template | SMC / ICT / price action, Trend following, Martingale | 2 | 4 years ago | MIT | GitHub repository of Kompleks MT5 Trading Library |
Dv Toolsdorev |
MT4 | Framework & template | — | 2 | 5 years ago | MIT | GitHub repository of Dv Tools |
MQL4 File ModuleKeisukeIwabuchi |
MT4 | Framework & template | — | 2 | 8 years ago | MIT | GitHub repository of MQL4 File Module |
MQL4 Unit TestKeisukeIwabuchi |
MT4 | Framework & template | — | 2 | 8 years ago | MIT | GitHub repository of MQL4 Unit Test |
MQT Microstructure Analysisgregorian-09 |
MT5 | Framework & template | — | 1 | 2 weeks ago | MIT | GitHub repository of MQT Microstructure Analysis |
Dino Open EngineGiacomoGhi |
MT5 | Framework & template | Multi-strategy | 1 | 8 weeks ago | GPL-3.0 | GitHub repository of Dino Open Engine |
HpFX Frameworkmbelgin |
MT4 | Framework & template | Trend following, Indicator crossover, Multi-strategy | 1 | 3 months ago | MIT | GitHub repository of HpFX Framework |
Trade Solutxn Masterclass EA Frameworktradesolutxn-creator |
MT5 | Framework & template | — | 1 | 4 months ago | MIT | GitHub repository of Trade Solutxn Masterclass EA Framework |
Mql5 EA Frameworkmounir-22 |
MT5 | Framework & template | Indicator crossover | 1 | 9 months ago | MIT | GitHub repository of Mql5 EA Framework |
TrendEngine CoreFintor-AI |
MT5 | Framework & template | Trend following, Indicator crossover | 1 | 9 months ago | MIT | GitHub repository of TrendEngine Core |
MQL5 EA CI/CD TemplateGarrick852 |
MT5 | Framework & template | Indicator crossover | 1 | 9 months ago | MIT | GitHub repository of MQL5 EA CI/CD Template |
MT5 New Bar Event Libraryrpanchyk |
MT5 | Framework & template | — | 1 | 1 year ago | MIT | GitHub repository of MT5 New Bar Event Library |
MALE5 Machine Learning Librarytechteam92 |
MT5 | Framework & template | AI / machine learning | 1 | 1 year ago | MIT | GitHub repository of MALE5 Machine Learning Library |
Multipair EA Templatedrdz9876 · High risk |
MT5 | Framework & template | Indicator crossover, Martingale, Multi-strategy | 1 | 2 years ago | GPL-3.0 | GitHub repository of Multipair EA Template |
QGA SVM ForexTerenceLiu98 |
MT4 · MT5 | Framework & template | AI / machine learning | 1 | 6 years ago | BSD-3-Clause | GitHub repository of QGA SVM Forex |
Hartono Wen MT4 Scriptshartono-wen |
MT4 | Framework & template | — | 1 | 7 years ago | MIT | GitHub repository of Hartono Wen MT4 Scripts |
Median Turbo Renko SDKgridgentoo |
MT5 | Framework & template | Trend following, Indicator crossover | 1 | 8 years ago | GPL-3.0 | GitHub repository of Median Turbo Renko SDK |
Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.
The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every day, and new repositories are added every week.
Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.
Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).
Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.
ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.
Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.
A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every day. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.
A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.
Compare regulated brokers by platform, spreads, minimum deposit and leverage.
Compare brokers