Synced with GitHub · updated hourly

Expert Advisor Library

1,978 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

20 EAs match Clear filters

MQL4 Experts Collection

by GeneralTradingSarl
17 stars

This repository features a vast collection of over 1,100 open-source Expert Advisors for the MetaTrader 4 platform. It serves as an educational library containing diverse trading strategies, including trend following, breakout, scalping, and mean-reversion systems. The collection explicitly includes high-risk methodolo

MT4 Collection Multi-strategyMartingaleGrid High risk
Updated 4 days ago None stated GitHub repository of MQL4 Experts Collection

Expert MT5 Collection

by GeneralTradingSarl
16 stars

This repository is a large collection of over 1,000 expert advisors designed for the MetaTrader 5 platform. It serves as an open-source library featuring various algorithmic trading strategies, including moving average crossovers, RSI levels, Parabolic SAR, and range breakouts. The collection provides robots for trend

MT5 Collection Trend followingBreakoutGrid High risk
Updated 4 days ago None stated GitHub repository of Expert MT5 Collection
8 stars

This repository is a comprehensive collection of over 500 MetaTrader 4 expert advisors, including various third-party robots and specialized trading tools. The library contains a wide range of strategies such as trend following, scalping, and grid trading. Individual files like the Ultimate Trader EA utilize historical

MT4 Collection Trend followingGridMartingale High risk
5 stars

This repository contains an extensive library of MetaTrader 5 expert advisors covering various algorithmic trading methodologies. The collection includes strategies based on Bollinger Bands, Relative Strength Index, moving average ribbons, and swing failure patterns. A core focus is the Ighodalo series for gold and CFD

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 8 weeks ago Custom licence GitHub repository of Ighodalo MT5 Strategy Collection
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and indicators designed for automated trading and technical analysis. The EAs implement various strategies such as trend-following, candle pattern recognition, and tick movement analysis. Risk management features across the files include standard sto

MT4 Collection Trend followingMartingaleGrid High risk

AW Full Recovery EA

by wongthep
2 stars

This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas

MT5 Trading robot GridMartingaleHedging High risk
Updated 3 months ago None stated GitHub repository of AW Full Recovery EA

RiskGuard Pro

by farhadiamirali403-lab
1 stars

RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc

MT5 Trading robot Multi-strategyGridMartingale High risk
Updated yesterday None stated GitHub repository of RiskGuard Pro
1 stars

This MetaTrader 5 repository contains a large collection of expert advisors developed using the fxDreema visual builder. The primary strategy utilizes a triple moving average system with 200, 25, and 5 periods to detect trends, combined with ATR-based volatility filters for trade exits. It features grid-based order lay

MT5 Collection GridIndicator crossoverTrend following High risk
Updated yesterday None stated GitHub repository of Amighade MQL5 Collection

RvFx Trading Bot

by bipin-vishwakarma
1 stars

RvFx is an automated trading system for MetaTrader 5 that utilizes grid and hedging techniques. It manages trades through a cycle-based logic, adding positions at fixed point intervals. The EA includes sophisticated lot sizing options, such as linear steps, multipliers, and a predefined sequence, which results in marti

MT5 Trading robot GridHedgingMartingale High risk
Updated 2 months ago None stated GitHub repository of RvFx Trading Bot
1 stars

This repository contains two expert advisors for MetaTrader 5: a reconstruction of a popular grid system and a price-action tool for gold. The primary EA utilizes RSI and price extremes for entry signals, managing trades through a grid with tiered lot multipliers. It features smart distance calculations using ATR ratio

MT5 Collection Mean reversionGridMartingale High risk

Grid Retest

by khamminasomchanmavong
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy combined with an EMA trend filter. It enters positions based on price relation to a 50-period Exponential Moving Average. If a trend reverses while a basket is active, the EA initiates a dual-mode recovery by opening a new basket in the opposing

MT5 Trading robot GridTrend followingHedging High risk
Updated 3 months ago None stated GitHub repository of Grid Retest

MoneyMaker EA Collection

by akshayboora342-cell
1 stars

This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy

MT5 Collection AI / machine learningTrend followingGrid High risk
Updated 3 months ago Apache-2.0 GitHub repository of MoneyMaker EA Collection

Mirza Algo EA Collection

by Mirza-Algo
1 stars

This repository provides a collection of MetaTrader 4 expert advisors, including Evoque Global, Alpha Winner, and FXBULL. These robots primarily implement grid strategies with martingale lot scaling to manage positions. Evoque Global specifically includes a news filter, customizable trading hours, and an equity-based s

MT4 Collection GridMartingaleNews High risk
Updated 3 months ago None stated GitHub repository of Mirza Algo EA Collection

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers

OmniB3

by helveciopereira
1 stars

OmniB3 is an automated grid trading expert advisor for MetaTrader 5, specifically developed for the Brazilian B3 exchange mini-contracts including WIN (mini-index) and WDO (mini-dollar). It employs a multi-indicator entry system with up to four confirmation layers, utilizing signals such as RSI. The EA features an adva

MT5 Collection GridMean reversionMartingale High risk
Updated 3 months ago None stated GitHub repository of OmniB3

This repository features a collection of MetaTrader 5 expert advisors centered around the MultiLevel Grid strategy. The system manages trades through baskets, allowing users to close positions based on account currency profit, point thresholds, or individual targets. It supports manual execution via an interactive on-c

MT5 Collection GridMartingaleIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of MultiLevel Grid EA Collection

Robot AI

by yansuwitna
1 stars

This MetaTrader 5 expert advisor utilizes Stochastic Oscillator crossovers to execute buy and sell orders. It calculates entry signals based on a minimum difference between the %K and %D lines. Risk management includes stop loss and take profit levels calculated using spread multipliers, as well as a trailing stop that

MT5 Collection Indicator crossoverMartingaleMean reversion High risk
Updated 4 months ago None stated GitHub repository of Robot AI

Xauusdt MT5

by 4everfantasygaming
1 stars

Xauusdt MT5 is an automated trading robot for MetaTrader 5, specifically optimized for gold trading. It executes a grid-based strategy with martingale lot scaling, where position sizes are increased by a user-defined multiplier after losses. The system features a dual-stage grid distance mechanism that adjusts spacing

MT5 Trading robot GridMartingaleHedging High risk
Updated 5 months ago None stated GitHub repository of Xauusdt MT5

Arbitrage Grid Bot

by AlessandroGCodeca
1 stars

This MetaTrader 5 expert advisor implements a multi-pair grid and dollar-cost averaging strategy. It monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 5 months ago None stated GitHub repository of Arbitrage Grid Bot
1 stars

This MetaTrader 5 repository contains a collection of expert advisors, primarily documented around the TrioMartingale strategy. This system uses a martingale grid approach on AUDNZD, NZDCAD, and AUDCAD to exploit triangular correlation and mean-reversion. Entries are filtered using RSI and Moving Averages, while risk i

MT5 Collection MartingaleGridMean reversion High risk
Updated 5 months ago None stated GitHub repository of Cyrex23 Experts Collection

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

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.

EA Library FAQ

What is an expert advisor (EA)?

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).

Are the EAs in this library free?

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.

Are these EAs safe to use?

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.

How do I install an EA in MT4 or MT5?

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.

How does ForexR choose which EAs to list?

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.

What do "High risk", grid and martingale mean?

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.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers