Synced with GitHub · updated today
1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.
| Expert advisor | Platform | Type | Strategy | Stars | Updated | Licence | GitHub |
|---|---|---|---|---|---|---|---|
FX Data Collectormskelton |
MT5 | Utility | — | 2 | 3 years ago | None stated | GitHub repository of FX Data Collector |
| MT5 | Collection | Mean reversion | 2 | 3 years ago | None stated | GitHub repository of MQL5 Sample RSI Expert Advisors | |
Forex Recovery Zonefsabiu · High risk |
MT4 · MT5 | Trading robot | Hedging, Martingale | 2 | 3 years ago | GPL-3.0 | GitHub repository of Forex Recovery Zone |
Swing NNFX FrameworkBenoitDurandIndep |
MT4 | Framework & template | Trend following, Multi-strategy | 2 | 3 years ago | GPL-3.0 | GitHub repository of Swing NNFX Framework |
MadRabbit UniversalCerqlau · High risk |
MT5 | Collection | Indicator crossover, Trend following, Mean reversion | 2 | 4 years ago | MIT | GitHub repository of MadRabbit Universal |
Envelope Scalperandhoo |
MT5 | Trading robot | Scalping, Mean reversion | 2 | 4 years ago | None stated | GitHub repository of Envelope Scalper |
KronosPlacidoMaidana |
MT5 | Trading robot | Mean reversion | 2 | 4 years ago | None stated | GitHub repository of Kronos |
Trading Bot FXdre10155 |
MT4 | Trading robot | Trend following, Indicator crossover | 2 | 4 years ago | None stated | GitHub repository of Trading Bot FX |
Forex Setka TraderAomforex · High risk |
MT4 | Trading robot | Grid, Martingale | 2 | 4 years ago | None stated | GitHub repository of Forex Setka Trader |
Donchian Channel Botamirsafaricg |
MT4 | Trading robot | Trend following, Breakout | 2 | 4 years ago | None stated | GitHub repository of Donchian Channel Bot |
Linear Regression Trading Botnickmaglowsch |
MT5 | Trading robot | AI / machine learning, Mean reversion | 2 | 5 years ago | None stated | GitHub repository of Linear Regression Trading Bot |
XMT Scalper Collectionwindli93 · High risk |
MT4 | Collection | Scalping, Breakout, Mean reversion | 2 | 5 years ago | None stated | GitHub repository of XMT Scalper Collection |
EA 5120thevictorwhyte |
MT4 | Trading robot | Indicator crossover, Trend following | 2 | 6 years ago | None stated | GitHub repository of EA 5120 |
Charaba MQL5 Collectionrcharaba · High risk |
MT5 | Collection | Trend following, Martingale | 2 | 6 years ago | None stated | GitHub repository of Charaba MQL5 Collection |
| MT4 · MT5 | Collection | Breakout, Mean reversion, Multi-strategy | 2 | 6 years ago | None stated | GitHub repository of MetaTrader Projects Collection | |
ATR Breakout EAMarkyMark1000 |
MT4 | Trading robot | Breakout | 2 | 6 years ago | None stated | GitHub repository of ATR Breakout EA |
Forex Factory News ScraperNathanaelPeters |
MT5 | News trading | News, Breakout, Hedging | 2 | 6 years ago | None stated | GitHub repository of Forex Factory News Scraper |
Uncle Bean BWMFI MATheUncleWhoGrowsBeans |
MT4 | Trading robot | Trend following, Indicator crossover | 2 | 6 years ago | None stated | GitHub repository of Uncle Bean BWMFI MA |
Forex Trend TraderDaiwv · High risk |
MT4 | Trading robot | Trend following, Indicator crossover, Martingale | 2 | 6 years ago | None stated | GitHub repository of Forex Trend Trader |
Currency Pair Scannerkurt-apple |
MT4 | Trading robot | Multi-strategy | 2 | 6 years ago | MIT | GitHub repository of Currency Pair Scanner |
Forex Algos Collectionpartcoin · High risk |
MT4 | Collection | Grid, Martingale, Hedging | 2 | 6 years ago | None stated | GitHub repository of Forex Algos Collection |
Ray ScalperThePathsOfSaga |
MT4 | Trading robot | Scalping, Indicator crossover, Trend following | 2 | 6 years ago | None stated | GitHub repository of Ray Scalper |
Mt4 Develop CollectionxianGuiye · High risk |
MT4 | Collection | Indicator crossover, Mean reversion, Scalping | 2 | 6 years ago | GPL-3.0 | GitHub repository of Mt4 Develop Collection |
Auto Trade Trend Keepfraskey |
MT4 | Collection | Trend following, Breakout | 2 | 7 years ago | None stated | GitHub repository of Auto Trade Trend Keep |
Supremacy BO ExpertUncleSemyon · High risk |
MT4 | Trading robot | Martingale | 2 | 7 years ago | None stated | GitHub repository of Supremacy BO Expert |
Scalpy Scalping Algorithmpedrojespina |
MT4 | Trading robot | Scalping, Indicator crossover, Trend following | 2 | 7 years ago | None stated | GitHub repository of Scalpy Scalping Algorithm |
Pato Novo MQL5 CollectionZanguient |
MT5 | Collection | Indicator crossover, Trend following | 2 | 7 years ago | None stated | GitHub repository of Pato Novo MQL5 Collection |
Anton Voronezh EA CollectionAntonVoronezh · High risk |
MT4 | Collection | Martingale, Multi-strategy | 2 | 7 years ago | None stated | GitHub repository of Anton Voronezh EA Collection |
Simple System MQL4jnietosa |
MT4 | Trading robot | Mean reversion, Trend following | 2 | 7 years ago | None stated | GitHub repository of Simple System MQL4 |
Jack EA4jack139 · High risk |
MT4 | Trading robot | Indicator crossover, Martingale, Grid | 2 | 7 years ago | Custom licence | GitHub repository of Jack EA4 |
Adeline SMA CrossoverManiSanthamohan |
MT4 | Trading robot | Indicator crossover, Trend following | 2 | 7 years ago | None stated | GitHub repository of Adeline SMA Crossover |
Trading Robots Collection MT4MarioDR09 · High risk |
MT4 | Collection | Trend following, Indicator crossover, Multi-strategy | 2 | 8 years ago | None stated | GitHub repository of Trading Robots Collection MT4 |
Lonnie Coffman Algo Trading CollectionLonnieCoffman · High risk |
MT4 | Collection | Multi-strategy, Martingale, Trend following | 2 | 8 years ago | None stated | GitHub repository of Lonnie Coffman Algo Trading Collection |
JCS Patternsreuniware |
MT4 | Trading robot | SMC / ICT / price action | 2 | 8 years ago | None stated | GitHub repository of JCS Patterns |
RSI EAreysabogal |
MT4 | Trading robot | Mean reversion, Indicator crossover | 2 | 8 years ago | None stated | GitHub repository of RSI EA |
Make Moneyhusonchow |
MT5 | Trading robot | Indicator crossover | 2 | 8 years ago | None stated | GitHub repository of Make Money |
Price Less EAexalkas · High risk |
MT4 | Trading robot | Grid, Indicator crossover, Martingale | 2 | 8 years ago | None stated | GitHub repository of Price Less EA |
EMA RSI Expertnasimalsajjad |
MT4 | Trading robot | Mean reversion, Trend following | 2 | 8 years ago | None stated | GitHub repository of EMA RSI Expert |
EMA RSI Expertnasimalsajjad |
MT4 | Trading robot | Trend following, Mean reversion | 2 | 8 years ago | None stated | GitHub repository of EMA RSI Expert |
Period Ranging Prolingao90 |
MT4 | Collection | Breakout, Multi-strategy | 2 | 8 years ago | None stated | GitHub repository of Period Ranging Pro |
Addingdollars MT4 Strategy Collectionaddingdollars |
MT4 | Collection | Indicator crossover, Multi-strategy | 2 | 9 years ago | MIT | GitHub repository of Addingdollars MT4 Strategy Collection |
Guangying Strategysunyourway · High risk |
MT4 · MT5 | Collection | Martingale, Grid, Multi-strategy | 2 | 9 years ago | None stated | GitHub repository of Guangying Strategy |
Stat Euclidean Metricsuvorovkonstantin |
MT4 | Trading robot | AI / machine learning | 2 | 9 years ago | None stated | GitHub repository of Stat Euclidean Metric |
Lars AdvisorEnweave · High risk |
MT4 | Trading robot | Grid, Martingale | 2 | 9 years ago | None stated | GitHub repository of Lars Advisor |
Angry Birdbobdomo · High risk |
MT4 | Trading robot | Mean reversion, Martingale, Grid | 2 | 10 years ago | None stated | GitHub repository of Angry Bird |
Forex EA Collectiontmpmosisili |
MT5 | Collection | Trend following, Mean reversion | 1 | yesterday | None stated | GitHub repository of Forex EA Collection |
Signal Scanner Pro PAICTasnakegreat · High risk |
MT5 | Utility | SMC / ICT / price action, Trend following, Indicator crossover | 1 | yesterday | None stated | GitHub repository of Signal Scanner Pro PAICT |
AI Game Theory Tradercan87683 |
MT5 | Trading robot | AI / machine learning | 1 | yesterday | BSD-3-Clause | GitHub repository of AI Game Theory Trader |
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