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 |
|---|---|---|---|---|---|---|---|
Icarusfraggli · High risk |
MT4 | Trading robot | Grid, Martingale, Mean reversion | 7 | 4 years ago | GPL-3.0 | GitHub repository of Icarus |
Grid Trading MT5algocode2022 · High risk |
MT5 | Trading robot | Grid, Hedging | 6 | 2 years ago | GPL-3.0 | GitHub repository of Grid Trading MT5 |
MQL Bots CollectionBokang777 · High risk |
MT5 | Collection | Indicator crossover, AI / machine learning, Martingale | 5 | 3 years ago | None stated | GitHub repository of MQL Bots Collection |
Martingale EA Improvementjitkasempin · High risk |
MT4 | Trade manager | Martingale, Hedging, Grid | 4 | 5 years ago | None stated | GitHub repository of Martingale EA Improvement |
Daisi Grid and Trend Collectiondaisi2016 · High risk |
MT4 | Collection | Grid, Trend following, Hedging | 4 | 8 years ago | None stated | GitHub repository of Daisi Grid and Trend Collection |
NT MT5 Sync ShuttleGalaxybigbird |
MT5 | Copier & bridge | Hedging | 3 | 1 year ago | None stated | GitHub repository of NT MT5 Sync Shuttle |
Hedge TerminalSokolovVasiliy |
MT5 | Framework & template | Indicator crossover, Trend following, Hedging | 3 | 6 years ago | None stated | GitHub repository of Hedge Terminal |
Mql Projects CollectionPranavSonar · High risk |
MT4 | Collection | Grid, Martingale, Indicator crossover | 3 | 8 years ago | None stated | GitHub repository of Mql Projects Collection |
AW Full Recovery EAwongthep · High risk |
MT5 | Trading robot | Grid, Martingale, Hedging | 2 | 3 months ago | None stated | GitHub repository of AW Full Recovery EA |
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 |
WealthPole Architecture DemoFintor-AI |
MT5 | Framework & template | Trend following, Grid, Hedging | 2 | 9 months ago | MIT | GitHub repository of WealthPole Architecture Demo |
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 |
Xzmjj Trading Bots CollectionXzmjj · High risk |
MT5 | Collection | Grid, Mean reversion, Breakout | 2 | 1 year ago | None stated | GitHub repository of Xzmjj Trading Bots Collection |
Buy Low Sell High EAyeainshukla |
MT4 | Trading robot | Mean reversion, Hedging | 2 | 1 year ago | None stated | GitHub repository of Buy Low Sell High EA |
Ario Averagingariogunawan · High risk |
MT4 | Trading robot | Grid, Martingale, Hedging | 2 | 2 years ago | None stated | GitHub repository of Ario Averaging |
Springfield 3 Gridssournk · High risk |
MT5 | Trading robot | Grid, Martingale, Mean reversion | 2 | 2 years ago | None stated | GitHub repository of Springfield 3 Grids |
STO Martincrq644 · High risk |
MT5 | Trading robot | Martingale, Grid, Trend following | 2 | 3 years ago | None stated | GitHub repository of STO Martin |
Saxby Andrew ML EAsaxbyandrew · High risk |
MT5 | Trading robot | AI / machine learning, Martingale, Hedging | 2 | 5 years ago | None stated | GitHub repository of Saxby Andrew ML EA |
Dynamic Risk Adjusted Expert Advisorgdepalma93 · High risk |
MT4 | Trading robot | Indicator crossover, Martingale, Hedging | 2 | 6 years ago | None stated | GitHub repository of Dynamic Risk Adjusted Expert Advisor |
Martingale Managermoataz-metwally · High risk |
MT4 | Trade manager | Martingale, Hedging | 2 | 7 years ago | None stated | GitHub repository of Martingale Manager |
Suminsky EAzegitz · High risk |
MT4 | Trading robot | Grid, Hedging | 2 | 7 years ago | None stated | GitHub repository of Suminsky EA |
Smart BillionairesFIU-SCIS-Senior-Projects |
MT5 | Collection | Indicator crossover, Mean reversion, Trend following | 2 | 9 years ago | None stated | GitHub repository of Smart Billionaires |
Daily Straddle Basket EAshibu1x · High risk |
MT5 | Collection | Grid, Martingale, News | 1 | 4 days ago | None stated | GitHub repository of Daily Straddle Basket EA |
HFT Grid AIloldlm1 · High risk |
MT5 | Trading robot | Grid, Mean reversion, Scalping | 1 | 12 days ago | None stated | GitHub repository of HFT Grid AI |
Grid Trader MT5zhangwenwei · High risk |
MT5 | Trading robot | Grid, Mean reversion, Hedging | 1 | 2 months ago | None stated | GitHub repository of Grid Trader MT5 |
Grid Retestkhamminasomchanmavong · High risk |
MT5 | Trading robot | Grid, Trend following, Hedging | 1 | 3 months ago | None stated | GitHub repository of Grid Retest |
Grid EAMubinCodes · High risk |
MT5 | Trading robot | Grid, Hedging | 1 | 3 months ago | None stated | GitHub repository of Grid EA |
Fast Scalpertsvirinkal |
MT5 | Trading robot | Scalping, Hedging, Mean reversion | 1 | 5 months ago | None stated | GitHub repository of Fast Scalper |
Adaptive Quant Gridx001tk-Igor · High risk |
MT5 | Trading robot | Grid, Mean reversion, Hedging | 1 | 5 months ago | MIT | GitHub repository of Adaptive Quant Grid |
Seefactor Hedge CollectionGymnott1 |
MT5 | Collection | Hedging, Multi-strategy | 1 | 5 months ago | None stated | GitHub repository of Seefactor Hedge Collection |
Dejavu EAMarxMad · High risk |
MT5 | Trading robot | Grid, Hedging | 1 | 7 months ago | None stated | GitHub repository of Dejavu EA |
Forex Expert Griddz-rep · High risk |
MT4 | Trading robot | Grid, Hedging | 1 | 9 months ago | None stated | GitHub repository of Forex Expert Grid |
Hosopi3 Tanpojiharukihosono |
MT4 · MT5 | Trading robot | Indicator crossover, Mean reversion, Multi-strategy | 1 | 10 months ago | None stated | GitHub repository of Hosopi3 Tanpoji |
Gann Fan BotAbasNiknam |
MT4 | Trading robot | Trend following, Breakout, Hedging | 1 | 11 months ago | None stated | GitHub repository of Gann Fan Bot |
Expanding Grid EAOrchardForexTutorials · High risk |
MT5 | Trading robot | Grid, Martingale, Hedging | 1 | 11 months ago | GPL-3.0 | GitHub repository of Expanding Grid EA |
M GridOrchardForexTutorials · High risk |
MT5 | Trading robot | Grid, Martingale, Hedging | 1 | 11 months ago | GPL-3.0 | GitHub repository of M Grid |
AntiM Acorralamiento EAiBest14 · High risk |
MT5 | Trading robot | Hedging, Grid, Martingale | 1 | 1 year ago | None stated | GitHub repository of AntiM Acorralamiento EA |
Object Oriented Programming EAgandra70 |
MT5 | Framework & template | SMC / ICT / price action, Hedging | 1 | 1 year ago | None stated | GitHub repository of Object Oriented Programming EA |
Trend EAgandra70 |
MT5 | Trading robot | Trend following, Hedging | 1 | 1 year ago | None stated | GitHub repository of Trend EA |
PSAR Hedge Strategy EAcgmond |
MT5 | Trading robot | Trend following, Hedging | 1 | 1 year ago | None stated | GitHub repository of PSAR Hedge Strategy EA |
Trend Reversal EAfastleopard9372 |
MT5 | Trading robot | Mean reversion, Indicator crossover, Hedging | 1 | 1 year ago | None stated | GitHub repository of Trend Reversal EA |
Grid Martingale TA SignalsSrisittikumChanintorn · High risk |
MT4 | Trading robot | Indicator crossover, Grid, Martingale | 1 | 1 year ago | None stated | GitHub repository of Grid Martingale TA Signals |
NT To MT5 Hedging ReceiverGalaxybigbird |
MT5 | Copier & bridge | Hedging | 1 | 1 year ago | None stated | GitHub repository of NT To MT5 Hedging Receiver |
Moving Average Hedging EAduyng219 |
MT5 | Trading robot | Trend following, Indicator crossover, Hedging | 1 | 2 years ago | None stated | GitHub repository of Moving Average Hedging EA |
Zone Recovery EAinubayuaji · High risk |
MT4 | Trading robot | Hedging, Martingale | 1 | 2 years ago | None stated | GitHub repository of Zone Recovery EA |
Gradiente Linear MT5HidaiSilva · High risk |
MT5 | Trading robot | Grid, Mean reversion, Hedging | 1 | 2 years ago | None stated | GitHub repository of Gradiente Linear MT5 |
Tip Top AIsournk · High risk |
MT4 · MT5 | Trading robot | SMC / ICT / price action, Grid, Hedging | 1 | 2 years ago | None stated | GitHub repository of Tip Top AI |
Fibonacci Expertismail505 |
MT5 | Trading robot | Breakout, Mean reversion, Hedging | 1 | 3 years ago | None stated | GitHub repository of Fibonacci Expert |
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