Synced with GitHub · updated hourly
1,978 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 |
|---|---|---|---|---|---|---|---|
Trade Split Managercodedpro |
MT5 | Trading robot | Multi-strategy | 79 | 2 months ago | Custom licence | GitHub repository of Trade Split Manager |
Market Analysis ML BridgeFinancial-ML |
MT4 | Copier & bridge | AI / machine learning | 24 | 7 years ago | None stated | GitHub repository of Market Analysis ML Bridge |
MQL5 Data Export Collectiondogac00 |
MT5 | Collection | — | 21 | 6 years ago | None stated | GitHub repository of MQL5 Data Export Collection |
Metatrader 4 MCP8nite |
MT4 | Collection | — | 20 | 1 year ago | None stated | GitHub repository of Metatrader 4 MCP |
CARA Correlation EAjblanked |
MT4 | Trading robot | Arbitrage, Multi-strategy | 13 | 2 years ago | None stated | GitHub repository of CARA Correlation EA |
Punlie Gridpunlie · High risk |
MT5 | Trading robot | Grid, Trend following | 10 | 1 year ago | MIT | GitHub repository of Punlie Grid |
Advisory Source Code CollectionH4RTBrothers · High risk |
MT4 | Collection | Trend following, Grid, Martingale | 8 | 13 days ago | None stated | GitHub repository of Advisory Source Code Collection |
Ighodalo MT5 Strategy CollectionDesmath3 · High risk |
MT5 | Collection | Trend following, Breakout, Martingale | 5 | 8 weeks ago | Custom licence | GitHub repository of Ighodalo MT5 Strategy Collection |
AI Supertrend Long Onlydharaarpan7 |
MT5 | Trading robot | Trend following | 4 | 11 months ago | BSL-1.0 | GitHub repository of AI Supertrend Long Only |
| MT5 | Copier & bridge | — | 4 | 1 year ago | None stated | GitHub repository of Telegram TP Executive System | |
MQL5 Strategy Collectionkabradhruv · High risk |
MT5 | Collection | Grid, Martingale, Trend following | 4 | 1 year ago | None stated | GitHub repository of MQL5 Strategy Collection |
Fimatherleandro-pzk |
MT5 | Trading robot | Breakout, SMC / ICT / price action | 4 | 3 years ago | None stated | GitHub repository of Fimather |
Parallel System 3kaksuli · High risk |
MT4 | Trading robot | Indicator crossover, Trend following, Grid | 4 | 6 years ago | Apache-2.0 | GitHub repository of Parallel System 3 |
Grid Trading EA MT5Shifrozy · High risk |
MT5 | Trading robot | Grid | 3 | 5 weeks ago | None stated | GitHub repository of Grid Trading EA MT5 |
EJ Trader MT5 CollectionejtraderPlugins · High risk |
MT5 | Collection | Indicator crossover, Mean reversion, Breakout | 3 | 8 years ago | None stated | GitHub repository of EJ Trader MT5 Collection |
Gold Grid EAtraderr87 · High risk |
MT5 | Trading robot | Grid, Mean reversion | 2 | 1 year ago | None stated | GitHub repository of Gold Grid EA |
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 |
Xau Ai Proapolopanda500 |
MT5 | Trading robot | AI / machine learning, Trend following, News | 1 | 2 days ago | None stated | GitHub repository of Xau Ai Pro |
XAU Trailing Stopadmininfokoding |
MT5 | Trade manager | — | 1 | 4 weeks ago | Custom licence | GitHub repository of XAU Trailing Stop |
Flip TraderHassanAliMAli |
MT5 | Trading robot | Trend following | 1 | 5 weeks ago | None stated | GitHub repository of Flip Trader |
Smart Basket Recovery EAnguyenvnhieu290302-gif · High risk |
MT5 | Trading robot | Grid, Hedging | 1 | 2 months ago | None stated | GitHub repository of Smart Basket Recovery EA |
Waka Clone and XAU Sweep Collection71053-arch · High risk |
MT5 | Collection | Mean reversion, Grid, Martingale | 1 | 2 months ago | None stated | GitHub repository of Waka Clone and XAU Sweep Collection |
XM Gold AI Traderfuquan728-lang · High risk |
MT5 | Collection | AI / machine learning, Trend following, Mean reversion | 1 | 2 months ago | None stated | GitHub repository of XM Gold AI Trader |
| MT5 | Copier & bridge | — | 1 | 3 months ago | None stated | GitHub repository of Abed XAUUSD TradingView Executor Pro | |
Pro Trader AIsalmanrki |
MT5 | Trading robot | SMC / ICT / price action, AI / machine learning, News | 1 | 5 months ago | None stated | GitHub repository of Pro Trader AI |
My EA Algo TradeWaithakanTony |
MT4 | Collection | Trend following | 1 | 5 months ago | None stated | GitHub repository of My EA Algo Trade |
BullShiftJupitX |
MT4 | Copier & bridge | — | 1 | 5 months ago | None stated | GitHub repository of BullShift |
Visual Risk Calculatorarnaudrmt |
MT5 | Utility | — | 1 | 5 months ago | MIT | GitHub repository of Visual Risk Calculator |
Xauusdt MT54everfantasygaming · High risk |
MT5 | Trading robot | Grid, Martingale, Hedging | 1 | 5 months ago | None stated | GitHub repository of Xauusdt MT5 |
| MT5 | Trading robot | Arbitrage, Hedging | 1 | 6 months ago | None stated | GitHub repository of XAU And GC Arbitrage | |
DowHow Signal Servicesaaralf |
MT5 | Copier & bridge | — | 1 | 6 months ago | Unlicense | GitHub repository of DowHow Signal Service |
XAU Hedge Strategymraicodedev |
MT5 | Trading robot | Hedging | 1 | 7 months ago | Custom licence | GitHub repository of XAU Hedge Strategy |
Swap Arbitrage Bridgefsitter42 |
MT5 | Copier & bridge | Arbitrage | 1 | 9 months ago | None stated | GitHub repository of Swap Arbitrage Bridge |
Price Action Botlogiccrafterdz |
MT5 | Trading robot | SMC / ICT / price action, Breakout, Trend following | 1 | 1 year ago | MIT | GitHub repository of Price Action Bot |
Flask SQL MT4 Price Bridgeautodidacttrade |
MT4 | Copier & bridge | — | 1 | 1 year ago | None stated | GitHub repository of Flask SQL MT4 Price Bridge |
Semi-Automated News Trading SystemMathis-Royer |
MT5 | News trading | News | 1 | 1 year ago | None stated | GitHub repository of Semi-Automated News Trading System |
Ict Order Block and FVGTzigger |
MT5 | Trading robot | SMC / ICT / price action | 1 | 1 year ago | None stated | GitHub repository of Ict Order Block and FVG |
MQL4 Stop Loss Managerolamilekan000 |
MT4 | Trade manager | — | 1 | 2 years ago | None stated | GitHub repository of MQL4 Stop Loss Manager |
Place Order Telegramthaitruong-lab |
MT4 | Copier & bridge | — | 1 | 4 years ago | None stated | GitHub repository of Place Order Telegram |
EA Grid GoldAdev87 · High risk |
MT5 | Trading robot | Grid, Hedging, Martingale | 1 | 5 years ago | None stated | GitHub repository of EA Grid Gold |
Forex Brother Algo 1hkmarquix · High risk |
MT4 | Trading robot | Multi-strategy, Martingale, Indicator crossover | 1 | 5 years ago | None stated | GitHub repository of Forex Brother Algo 1 |
MT5 Line Level TraderDaraGaloX233 |
MT5 | Trade manager | — | 1 | 6 years ago | None stated | GitHub repository of MT5 Line Level Trader |
PTL EAptluan2011 |
MT4 | Trading robot | Trend following, SMC / ICT / price action, Indicator crossover | 1 | 6 years ago | None stated | GitHub repository of PTL EA |
Aych MT LearnAYCHMT |
MT4 | Trading robot | Trend following, Indicator crossover | 1 | 6 years ago | None stated | GitHub repository of Aych MT Learn |
Take Profit and Stop Loss Managerdavidyisun |
MT4 | Collection | — | 1 | 6 years ago | None stated | GitHub repository of Take Profit and Stop Loss Manager |
Random Market EAwiktorkisielewski |
MT5 | Trading robot | — | 1 | 7 years ago | None stated | GitHub repository of Random Market EA |
Shidatonglin MQL Collectionshidatonglin · High risk |
MT4 | Collection | Trend following, Breakout, Scalping | 1 | 8 years ago | None stated | GitHub repository of Shidatonglin MQL Collection |
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 hour, 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 hour. 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