Synced with GitHub · updated hourly
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 |
|---|---|---|---|---|---|---|---|
Funded EAPusparaj99op |
MT5 | Trading robot | SMC / ICT / price action, Scalping, Trend following | 2 | 5 months ago | Unlicense | GitHub repository of Funded EA |
GainzAlgo EAsaadkhan371 |
MT5 | Trading robot | Trend following, Scalping, Indicator crossover | 2 | 5 months ago | None stated | GitHub repository of GainzAlgo EA |
Pi EA Auxiliary Panelmy05613828 |
MT4 · MT5 | Trade manager | — | 2 | 5 months ago | None stated | GitHub repository of Pi EA Auxiliary Panel |
| MT5 | Trading robot | Scalping, Trend following | 2 | 6 months ago | Custom licence | GitHub repository of Liquidex Volatility Trader | |
CBMQL MQL5 FrameworkHarryWarre · High risk |
MT5 | Framework & template | Trend following, Grid, Martingale | 2 | 6 months ago | MIT | GitHub repository of CBMQL MQL5 Framework |
ICT SSL Premium Discount26730023-PhamPhuNguyenHung · High risk |
MT5 | Trading robot | SMC / ICT / price action, Martingale, Grid | 2 | 6 months ago | None stated | GitHub repository of ICT SSL Premium Discount |
MultiSignal DCA CCBSN26730023-PhamPhuNguyenHung · High risk |
MT5 | Trading robot | Trend following, Grid, Martingale | 2 | 6 months ago | None stated | GitHub repository of MultiSignal DCA CCBSN |
MQL Realtime Dashboard5nYqnHvk |
MT4 · MT5 | Utility | — | 2 | 6 months ago | WTFPL | GitHub repository of MQL Realtime Dashboard |
Advanced Grid Tradingjepli-1225 · High risk |
MT5 | Trading robot | Grid, Martingale, Mean reversion | 2 | 6 months ago | None stated | GitHub repository of Advanced Grid Trading |
Gold Trading Expert Collectionthino-dev · High risk |
MT4 · MT5 | Collection | Scalping, Trend following, Multi-strategy | 2 | 6 months ago | None stated | GitHub repository of Gold Trading Expert Collection |
Trader CLI Bridgeteddywaweru |
MT5 | Copier & bridge | — | 2 | 6 months ago | None stated | GitHub repository of Trader CLI Bridge |
Chimerakeyalgos |
MT5 | Trading robot | Trend following, Mean reversion, Multi-strategy | 2 | 6 months ago | None stated | GitHub repository of Chimera |
| MT5 | Trading robot | SMC / ICT / price action, Breakout, Trend following | 2 | 6 months ago | None stated | GitHub repository of Awrafx Trendline Divergence Breakout | |
MH EA Collectionmhizterkeyz |
MT5 | Collection | Trend following, Indicator crossover, Mean reversion | 2 | 7 months ago | None stated | GitHub repository of MH EA Collection |
Mql5 Ea Labdiegoaberrio |
MT5 | Collection | Trend following, Indicator crossover, Multi-strategy | 2 | 7 months ago | MIT | GitHub repository of Mql5 Ea Lab |
MT5 Cpp API BridgeBlack-Diamoond |
MT5 | Copier & bridge | — | 2 | 8 months ago | None stated | GitHub repository of MT5 Cpp API Bridge |
Traderbot 4KchefDroid |
MT5 | Trading robot | SMC / ICT / price action | 2 | 8 months ago | None stated | GitHub repository of Traderbot 4K |
Pine To MQL5 EMA Slope Crossmaxime-fintech |
MT5 | Trading robot | Indicator crossover, Trend following | 2 | 8 months ago | MIT | GitHub repository of Pine To MQL5 EMA Slope Cross |
EA OAT Collectionanhnguyen123312 · High risk |
MT5 | Collection | Mean reversion, Multi-strategy, Grid | 2 | 9 months ago | None stated | GitHub repository of EA OAT Collection |
WealthPole Architecture DemoFintor-AI |
MT5 | Framework & template | Trend following, Grid, Hedging | 2 | 9 months ago | MIT | GitHub repository of WealthPole Architecture Demo |
OverNight Close EAharukihosono |
MT4 · MT5 | Trade manager | — | 2 | 10 months ago | None stated | GitHub repository of OverNight Close EA |
Forex Master Multi Strategysimonokwundue-ops |
MT5 | Trading robot | Indicator crossover, Mean reversion, Trend following | 2 | 10 months ago | None stated | GitHub repository of Forex Master Multi Strategy |
Mr X Grid Hedgeibrahimzameel9232-lgtm · High risk |
MT5 | Trading robot | Grid, Martingale, Hedging | 2 | 10 months ago | None stated | GitHub repository of Mr X Grid Hedge |
ORB Daily Bias EAAzPo1 |
MT5 | Trading robot | Breakout, Trend following | 2 | 10 months ago | None stated | GitHub repository of ORB Daily Bias EA |
Trading MT5 Craftgrecoandre96 |
MT5 | Collection | Breakout | 2 | 10 months ago | None stated | GitHub repository of Trading MT5 Craft |
Tokyo Boxpolcad |
MT5 | Trading robot | Breakout, Mean reversion | 2 | 10 months ago | None stated | GitHub repository of Tokyo Box |
Gold StrategiesZeeshan-Ahmad-Chaudhry |
MT5 | Collection | Mean reversion, Trend following | 2 | 10 months ago | None stated | GitHub repository of Gold Strategies |
SMC ICT Gold Scalpergst-47 |
MT5 | Trading robot | SMC / ICT / price action, Scalping | 2 | 10 months ago | None stated | GitHub repository of SMC ICT Gold Scalper |
MQ Autonomous High Breaklordgaruda |
MT4 · MT5 | Trading robot | Breakout, Multi-strategy | 2 | 11 months ago | None stated | GitHub repository of MQ Autonomous High Break |
Oslib MT5 Collectionmarcoc68 · High risk |
MT5 | Collection | Arbitrage, AI / machine learning, Mean reversion | 2 | 11 months ago | GPL-3.0 | GitHub repository of Oslib MT5 Collection |
MQL5 Article Collectionmhassanhub |
MT5 | Collection | Indicator crossover, Mean reversion, Breakout | 2 | 12 months ago | None stated | GitHub repository of MQL5 Article Collection |
CC Trading ManagementChartAndChill |
MT5 | Trade manager | — | 1 | yesterday | None stated | GitHub repository of CC Trading Management |
Forex EA Collectiontmpmosisili |
MT5 | Collection | Trend following, Mean reversion | 1 | yesterday | None stated | GitHub repository of Forex EA Collection |
RiskGuard Profarhadiamirali403-lab · High risk |
MT5 | Trading robot | Multi-strategy, Grid, Martingale | 1 | yesterday | None stated | GitHub repository of RiskGuard Pro |
Xau Cloud AI SniperLamarrsdrip · High risk |
MT5 | Collection | Breakout, Trend following, Mean reversion | 1 | yesterday | None stated | GitHub repository of Xau Cloud AI Sniper |
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 |
Amighade MQL5 CollectionAmighade · High risk |
MT5 | Collection | Grid, Indicator crossover, Trend following | 1 | yesterday | None stated | GitHub repository of Amighade MQL5 Collection |
Otto EAvickygujjar17 |
MT5 | Trading robot | SMC / ICT / price action | 1 | 2 days ago | None stated | GitHub repository of Otto EA |
Xau Ai Proapolopanda500 |
MT5 | Trading robot | AI / machine learning, Trend following, News | 1 | 2 days ago | None stated | GitHub repository of Xau Ai Pro |
Mveuuh GoldNziikang · High risk |
MT4 | Trading robot | Trend following, Grid, Martingale | 1 | 2 days ago | None stated | GitHub repository of Mveuuh Gold |
BotTrade MLsoemsri · High risk |
MT5 | Collection | AI / machine learning, Mean reversion, Breakout | 1 | 2 days ago | MIT | GitHub repository of BotTrade ML |
Adaptive DDQN MT5chyr-rpg · High risk |
MT5 | Trading robot | AI / machine learning, Grid, Martingale | 1 | 2 days ago | None stated | GitHub repository of Adaptive DDQN MT5 |
XSpark Trading EngineXennarc |
MT5 | Collection | Trend following, Scalping, SMC / ICT / price action | 1 | 2 days ago | None stated | GitHub repository of XSpark Trading Engine |
QuantumTitan Apexjadjadjade002 · High risk |
MT5 | Collection | SMC / ICT / price action, Trend following, Multi-strategy | 1 | 3 days ago | None stated | GitHub repository of QuantumTitan Apex |
MT5 AI EAaminazhar |
MT5 | Trading robot | Breakout, SMC / ICT / price action | 1 | 3 days ago | None stated | GitHub repository of MT5 AI EA |
Raven Cost AveragingrandiapriliyadiR · High risk |
MT5 | Trading robot | Grid, Hedging, Indicator crossover | 1 | 4 days ago | Apache-2.0 | GitHub repository of Raven Cost Averaging |
Daily Straddle Basket EAshibu1x · High risk |
MT5 | Collection | Grid, Martingale, News | 1 | 4 days ago | None stated | GitHub repository of Daily Straddle Basket EA |
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