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 |
|---|---|---|---|---|---|---|---|
Chart Pattern HelperEarnForex |
MT4 · MT5 | Utility | Breakout | 34 | 1 year ago | Apache-2.0 | GitHub repository of Chart Pattern Helper |
MT4 Forex Algorithms CollectionMikePapinski · High risk |
MT4 | Collection | Grid, Indicator crossover, Multi-strategy | 33 | 7 years ago | None stated | GitHub repository of MT4 Forex Algorithms Collection |
MT5 Expert Advisor TemplateEarnForex |
MT5 | Framework & template | — | 31 | 1 year ago | Apache-2.0 | GitHub repository of MT5 Expert Advisor Template |
MT5 MA Crossover BotLucasMarianoVieira |
MT5 | Trading robot | Indicator crossover, Trend following | 31 | 9 years ago | None stated | GitHub repository of MT5 MA Crossover Bot |
| MT5 | Collection | Trend following, Indicator crossover, Multi-strategy | 29 | 1 year ago | None stated | GitHub repository of MQL5 Expert Advisor Signal Collection | |
Vnpy Mt5 Gatewayveighna-global |
MT5 | Copier & bridge | — | 29 | 2 years ago | MIT | GitHub repository of Vnpy Mt5 Gateway |
MQL Trading PanelSSinist3r |
MT5 | Utility | — | 28 | 5 years ago | GPL-2.0 | GitHub repository of MQL Trading Panel |
| MT5 | Framework & template | Indicator crossover, SMC / ICT / price action | 27 | 8 months ago | None stated | GitHub repository of MQL5 Auto Trading Bot Template | |
Bollinger Envelopes Gridgemgin · High risk |
MT4 | Trading robot | Mean reversion, Martingale, Grid | 26 | 8 years ago | None stated | GitHub repository of Bollinger Envelopes Grid |
Telegram Signal Tradernguemechieu |
MT4 · MT5 | Copier & bridge | News, Multi-strategy | 25 | 2 years ago | Apache-2.0 | GitHub repository of Telegram Signal Trader |
MetaTrader NodeJS Bridgepeterszombati |
MT4 | Copier & bridge | — | 25 | 2 years ago | Custom licence | GitHub repository of MetaTrader NodeJS Bridge |
Metatrader WebSocket Tickersmainpclab |
MT5 | Copier & bridge | — | 24 | today | None stated | GitHub repository of Metatrader WebSocket Tickers |
TyphooN NNFX Risk Management SystemTyphooN- · High risk |
MT5 | Collection | Trend following, Multi-strategy, Martingale | 24 | 4 months ago | Apache-2.0 | GitHub repository of TyphooN NNFX Risk Management System |
AmazingEarnForex |
MT4 · MT5 | News trading | News | 24 | 3 years ago | Apache-2.0 | GitHub repository of Amazing |
Victor Algo MQL5 Collectionvictor-algo |
MT5 | Collection | Indicator crossover, Mean reversion, Multi-strategy | 24 | 4 years ago | None stated | GitHub repository of Victor Algo MQL5 Collection |
Market Analysis ML BridgeFinancial-ML |
MT4 | Copier & bridge | AI / machine learning | 24 | 7 years ago | None stated | GitHub repository of Market Analysis ML Bridge |
| MT4 | Copier & bridge | — | 22 | 5 years ago | None stated | GitHub repository of MetaTrade 2 NodeJS | |
Nerv MT5 Expert Advisor Collectionroche-emmanuel |
MT5 | Collection | Indicator crossover, Multi-strategy, AI / machine learning | 22 | 9 years ago | None stated | GitHub repository of Nerv MT5 Expert Advisor Collection |
TradeSync TransmitterGeneralTradingSarl |
MT5 | Collection | — | 21 | 4 days ago | None stated | GitHub repository of TradeSync Transmitter |
Galaxy Traderphamngocvinh |
MT5 | Collection | Trend following, Multi-strategy | 21 | 4 years ago | GPL-3.0 | GitHub repository of Galaxy Trader |
Basic Bollinger Bands EAterencebeauj |
MT5 | Trading robot | Mean reversion, Trend following | 21 | 5 years ago | MIT | GitHub repository of Basic Bollinger Bands EA |
MQL5 Data Export Collectiondogac00 |
MT5 | Collection | — | 21 | 6 years ago | None stated | GitHub repository of MQL5 Data Export Collection |
Ichimoku EA CollectionShk0da · High risk |
MT4 | Collection | Indicator crossover, AI / machine learning, Martingale | 21 | 7 years ago | None stated | GitHub repository of Ichimoku EA Collection |
Ariel Turtle Bot CollectionLucas170 · High risk |
MT4 | Collection | Trend following, Breakout, Martingale | 21 | 9 years ago | None stated | GitHub repository of Ariel Turtle Bot Collection |
Chaotic Quantum Finance Trading SystemJarvisLee0423 |
MT4 | Trading robot | AI / machine learning | 20 | 1 year ago | Apache-2.0 | GitHub repository of Chaotic Quantum Finance Trading System |
Metatrader 4 MCP8nite |
MT4 | Collection | — | 20 | 1 year ago | None stated | GitHub repository of Metatrader 4 MCP |
Trader Paderlonfs |
MT5 | Trade manager | — | 20 | 4 years ago | MIT | GitHub repository of Trader Pad |
Makets GAnopaixx |
MT5 | Trading robot | AI / machine learning, Multi-strategy | 20 | 8 years ago | None stated | GitHub repository of Makets GA |
Parallel StrategiesPierre8r |
MT4 | Collection | Indicator crossover, Breakout, Multi-strategy | 20 | 8 years ago | None stated | GitHub repository of Parallel Strategies |
ATR Trailing StopEarnForex |
MT4 · MT5 | Trade manager | — | 19 | 6 months ago | Apache-2.0 | GitHub repository of ATR Trailing Stop |
MT4 Ticks To MT5JafferWilson |
MT4 · MT5 | Copier & bridge | — | 19 | 6 years ago | LGPL-3.0 | GitHub repository of MT4 Ticks To MT5 |
PyMQL5MaiconBaggio |
MT5 | Copier & bridge | — | 19 | 6 years ago | MIT | GitHub repository of PyMQL5 |
MQL4 MultiTrader Collectionhung96ad · High risk |
MT4 | Collection | Multi-strategy, Trend following, Mean reversion | 19 | 7 years ago | None stated | GitHub repository of MQL4 MultiTrader Collection |
Python Mql5 SocketsRafaelFenerick |
MT5 | Copier & bridge | — | 19 | 8 years ago | GPL-3.0 | GitHub repository of Python Mql5 Sockets |
Tickelton MQL4 Collectiontickelton |
MT4 | Collection | Breakout, Trend following, Mean reversion | 19 | 8 years ago | MIT | GitHub repository of Tickelton MQL4 Collection |
MT5 Agent Toolkitsmizxe |
MT5 | Framework & template | Mean reversion, Indicator crossover | 18 | 3 weeks ago | Custom licence | GitHub repository of MT5 Agent Toolkit |
X-Tick Chart SDK9nix6 |
MT5 | Framework & template | Indicator crossover | 18 | 5 years ago | GPL-3.0 | GitHub repository of X-Tick Chart SDK |
Native Trading Genetic Algorithmedouardkombo |
MT5 | Trading robot | AI / machine learning, Hedging | 18 | 5 years ago | None stated | GitHub repository of Native Trading Genetic Algorithm |
LediaEA Trading Assistantlediaea |
MT4 | Utility | — | 18 | 6 years ago | None stated | GitHub repository of LediaEA Trading Assistant |
Mql5 Telegram ConnectionRafaelFenerick |
MT5 | Copier & bridge | — | 18 | 6 years ago | None stated | GitHub repository of Mql5 Telegram Connection |
Mql5 Json Apiparrondo · High risk |
MT5 | Copier & bridge | Martingale | 18 | 6 years ago | GPL-3.0 | GitHub repository of Mql5 Json Api |
Adeline EALucas170 |
MT4 | Trading robot | Indicator crossover | 18 | 7 years ago | None stated | GitHub repository of Adeline EA |
MQL4 Experts CollectionGeneralTradingSarl · High risk |
MT4 | Collection | Multi-strategy, Martingale, Grid | 17 | 4 days ago | None stated | GitHub repository of MQL4 Experts Collection |
Heiken Ashi NaiveEarnForex |
MT4 · MT5 | Trading robot | Trend following, Mean reversion | 17 | 1 year ago | Apache-2.0 | GitHub repository of Heiken Ashi Naive |
Expert MT5 CollectionGeneralTradingSarl · High risk |
MT5 | Collection | Trend following, Breakout, Grid | 16 | 4 days ago | None stated | GitHub repository of Expert MT5 Collection |
PSAR Trailing StopEarnForex |
MT4 · MT5 | Trade manager | — | 16 | 2 years ago | Apache-2.0 | GitHub repository of PSAR Trailing Stop |
| MT5 | Framework & template | Indicator crossover, Trend following | 16 | 5 years ago | GPL-3.0 | GitHub repository of Range Bars EA Framework | |
Alfredo Maussa MQL5 Collectionalfredomaussa · High risk |
MT5 | Collection | Indicator crossover, Martingale, Mean reversion | 16 | 5 years ago | None stated | GitHub repository of Alfredo Maussa MQL5 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