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.

16 EAs match Clear filters

GridMaster Pro

by sajidmahamud835
128 stars

An automated MetaTrader 5 expert advisor that executes a bi-directional grid trading strategy. It uses the Average True Range (ATR) indicator to dynamically calculate grid spacing, allowing the system to adapt to current market volatility. The robot supports neutral, bullish, and bearish modes. It includes risk managem

MT5 Trading robot GridMean reversion High risk
Updated 5 months ago MIT GitHub repository of GridMaster Pro
7 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Signal Poller EA series alongside standard indicator-based robots. The system is designed for high-leverage environments, specifically targeting gold, bitcoin, forex, and indices. It utilizes an external signal push architect

MT5 Collection Trend followingBreakoutScalping High risk
Updated 6 months ago None stated GitHub repository of Signal Poller EA Collection
7 stars

This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance

MT5 Trading robot Mean reversionMartingaleGrid 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

Hercules MQL5 Library

by herculeshssj
4 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility scripts. It includes a variety of automated strategies such as mean reversion, Dunnigan NRTR, and experiments with artificial intelligence. The library also features utility tools for Telegram integration, search functions, and signal das

MT5 Collection Mean reversionAI / machine learningIndicator crossover High risk Archived

Grid Trading EA MT5

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-layer grid trading system suitable for forex, gold, and indices. It establishes a grid of price levels around an anchor point, opening buy positions when the price crosses down through a specific level. The grid is divided into three customizable layers, each with ind

MT5 Trading robot Grid High risk
Updated 5 weeks ago None stated GitHub repository of Grid Trading EA MT5

MT5 Hedge Trading Portal

by ahmedabdurahim
3 stars

This MetaTrader 5 expert advisor provides an interactive on-chart trading interface for manual execution and automated strategy management. It features dedicated graphical buttons for market entry along with input fields for volume, stop loss, and take profit levels. The repository includes distinct modules for hedging

MT5 Trading robot HedgingGrid High risk
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage
2 stars

This collection for MetaTrader 5 provides several automated Expert Advisors designed for various symbols including forex, gold, and indices. The repository features Mecha Godzilla, a grid trading system using ATR-based spacing and bidirectional orders, alongside specialized bots for Asian session breakouts and H4 trend

MT5 Collection GridBreakoutTrend following High risk

Adaptive DDQN MT5

by chyr-rpg
1 stars

This MetaTrader 5 expert advisor is a research-oriented reinforcement learning system implemented natively in MQL5. It utilizes a Deep Q-Network to make trading decisions based on market states derived from technical indicators, volatility, and supply-demand zones. The system manages trades using a grid-based basket ap

MT5 Trading robot AI / machine learningGridMartingale High risk
Updated 2 days ago None stated GitHub repository of Adaptive DDQN MT5

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

Tetra Vortex

by Luiz-Adorno
1 stars

Tetra Vortex is a MetaTrader 5 expert advisor that executes two concurrent grid-based strategies named Redemption and Devotion. It initiates trades when the price deviates by a specific percentage from a reference point and manages positions using a dynamic gradient system with up to ten layers. Risk is controlled thro

MT5 Trading robot Grid High risk
Updated 1 year ago None stated GitHub repository of Tetra Vortex

Long Tail Scalper

by SilverbackOssi
1 stars

Long Tail Scalper is a MetaTrader 5 expert advisor designed for trend-following strategies with a focus on surviving ranging markets. It implements a fixed reward-to-risk ratio and a dynamic grid-based system to manage position entries and exits. The robot utilizes a progressive lot sizing sequence to recover during ma

MT5 Trading robot Trend followingGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Long Tail Scalper

MQL5 Bolugi

by Lucianomin
1 stars

MQL5 Bolugi is an automated trading expert for MetaTrader 5 that utilizes Bollinger Bands and the Relative Strength Index to identify overbought and oversold conditions. It features a tiered entry system referred to as complementary and mediation modes, which allows the robot to scale into positions based on price dist

MT5 Collection Mean reversionGrid High risk
Updated 1 year ago None stated GitHub repository of MQL5 Bolugi

Forever Free EA

by SeanCollymoreJr
1 stars

The Forever Free EA is a MetaTrader 5 trading robot designed for forex and indices. It employs a grid strategy that can be configured with martingale or fixed lot increments. The system utilizes dual magic number engines to manage separate trade streams and includes a trend mode to align entries with market direction.

MT5 Trading robot GridMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of Forever Free EA
1 stars

The US30 US500 Trading Collection for MetaTrader 5 provides a variety of expert advisors and analytical utilities. Although the repository name indicates a focus on major indices, it primarily contains standard technical indicator examples such as MACD, Moving Average, and Parabolic SAR. A notable component is a 3D cor

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

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