Synced with GitHub · updated hourly

Expert Advisor Library

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

100 EAs match Clear filters
645 stars

This collection of MetaTrader 5 expert advisors implements various technical strategies using indicators such as Moving Averages, MACD, and the Andean Oscillator. It includes a specific tool for trading based on Commitment of Traders data combined with SuperTrend signals. Most robots in the repository incorporate a gri

MT5 Collection Indicator crossoverScalpingGrid High risk

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

FX Git Collection

by dennislwm
101 stars

This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-

MT4 Collection Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of FX Git Collection

Grid EA

by sonidelav
52 stars

This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si

MT4 Trading robot GridScalping High risk
Updated 8 years ago GPL-3.0 GitHub repository of Grid EA

Super Trading Collection

by RoyluxuryTrading
24 stars

This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management

MT4MT5 Collection Trend followingScalpingAI / machine learning High risk
17 stars

This repository contains a collection of MetaTrader 4 expert advisors, including Indo Run, Forex Hacked, and several grid-based strategies. The primary EA, Indo Run, features advanced time-based filtering for specific weekdays, month-end offsets, and news events like Non-Farm Payrolls. It manages trades using a basket

MT4 Collection GridNewsMartingale High risk
Updated 8 years ago None stated GitHub repository of Ling MQL4 EA Collection

JBlanked MQL Library

by jblanked
12 stars

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies for forex markets. A core component is the Gareth Range Breakout, which defines specific time-based price zones and executes trades when price breaks those boundaries. It includes risk controls such as stop loss and take pro

MT4MT5 Collection BreakoutMulti-strategyGrid High risk

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk
10 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts and Order Block identification. It analyzes price action across multiple timeframes, utilizing higher timeframe data for trend context and lower timeframes for entries. The system includes trade management tools such as break-even triggers

MT5 Trading robot SMC / ICT / price actionGrid High risk

Smart Grid Martingale EA

by chenhengyi53-design
9 stars

This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an

MT5 Trading robot GridMartingaleTrend following High risk
Updated 7 months ago None stated GitHub repository of Smart Grid Martingale EA

This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based

MT5 Collection Indicator crossoverMean reversionMartingale High risk
8 stars

High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s

MT5 Trading robot GridMean reversionScalping High risk
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

Zobad EA Collection

by zobad16
7 stars

This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas

MT4 Collection ScalpingGridTrend following High risk
Updated 7 months ago None stated GitHub repository of Zobad 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

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus

Currency Strength EA

by drdz9876
6 stars

This MetaTrader 5 expert advisor utilizes a multicurrency strength system to identify trading opportunities by comparing relative currency values. It calculates strength based on a configurable lookback period, typically using H4 data, and includes triangular weighting and smoothing options. The robot manages exits usi

MT5 Trading robot MartingaleMulti-strategyGrid High risk
Updated 4 years ago GPL-3.0 GitHub repository of Currency Strength EA
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using a combined martingale and grid approach. It uses a moving average crossover filter to determine initial entry direction. If the market moves against the position, the EA opens additional trades at fixed intervals, increasing the lot size via a multipli

MT5 Trading robot MartingaleGridIndicator crossover High risk
Updated 10 months ago None stated GitHub repository of XAUUSD Martingale Grid

Profit Hunter

by phpkadir
5 stars

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading. It utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or c

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Profit Hunter
4 stars

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk

Narymunt MQL5 Scripts

by Narymunt
4 stars

This repository features a collection of expert advisors for MetaTrader 5, primarily focused on technical indicator logic and educational implementation. The main script, AO-bot, utilizes the Awesome Oscillator to identify swings and switch trade directions, while other tools incorporate Parabolic SAR for trend filteri

MT5 Collection Trend followingGridIndicator crossover High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Narymunt MQL5 Scripts
4 stars

This repository is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m

MT4 Collection MartingaleGridIndicator crossover High risk

EA XAUUSD Premium

by diditgravatar
4 stars

This MetaTrader 5 expert advisor is designed for gold trading, utilizing a multi-timeframe strategy across the M15, H1, and H4 charts. It integrates technical indicators including ADX, RSI, and Moving Averages to identify trend-following and breakout opportunities. Risk controls include dynamic lot sizing based on acco

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of EA XAUUSD Premium
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk

Mql5 EAs Collection

by tnickel
3 stars

This collection for MetaTrader 5 features an ADR-based grid trading expert advisor and a dedicated risk management tool. The primary trading robot identifies reversal opportunities using Average Daily Range percentages, RSI, and Stochastic oscillators. It includes an automated news filter and supports external CSV sign

MT5 Collection GridMean reversionNews High risk
Updated 2 months ago None stated GitHub repository of Mql5 EAs Collection

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend
3 stars

This MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio

MT4 Collection Indicator crossoverTrend followingGrid High risk
Updated 10 months ago Custom licence GitHub repository of Simple Forex Tools Collection

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way
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
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma

MT4 Collection ArbitrageMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Clunique Experts Collection

Averaging Master

by terukusu
3 stars

Averaging Master is a MetaTrader 4 expert advisor that employs a directional averaging strategy. It identifies trend direction using a 6-period moving average on the H4 timeframe and enters trades during specific morning hours. The system manages risk by layering up to four additional positions if the price moves again

MT4 Trading robot Trend followingGrid High risk
Updated 6 years ago None stated GitHub repository of Averaging Master

MQ4 Master Collection

by hairibaba
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,

MT4 Collection Trend followingScalpingIndicator crossover High risk Archived
Updated 7 years ago None stated GitHub repository of MQ4 Master Collection
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

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

Fibonacci ICT EA

by Shifrozy
2 stars

Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per

MT5 Trading robot SMC / ICT / price actionIndicator crossoverMean reversion High risk
Updated 3 weeks ago None stated GitHub repository of Fibonacci ICT EA

XAUUSD Basket Trailing EA

by Muhammad-TalhaK
2 stars

This MetaTrader 5 expert advisor implements a basket-trading strategy specifically for XAUUSD. It opens an initial position based on the current short-term trend and enters additional trades at fixed intervals if the market moves against the basket. The robot utilizes a progressive lot-sizing model to manage the grid.

MT5 Trading robot GridTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of XAUUSD Basket Trailing EA
2 stars

This MetaTrader 5 expert advisor utilizes the Ichimoku Kinko Hyo indicator for trend identification, specifically targeting gold on the 15-minute timeframe. It employs a grid-based trading strategy that layers orders at fixed point distances when the market moves against the initial entry. To manage these positions, th

MT5 Trading robot Trend followingGridMartingale High risk
Updated 5 months ago None stated GitHub repository of Ichimoku Grid Martingale EA

MultiSignal DCA CCBSN

by 26730023-PhamPhuNguyenHung
2 stars

This MetaTrader 5 expert advisor provides a versatile trading framework featuring nine selectable entry signals, including Ichimoku, RSI, Bollinger Bands, and EMA crossovers. It employs a Dollar Cost Averaging strategy with configurable lot multipliers and distance scaling to manage positions. A notable feature is the

MT5 Trading robot Trend followingGridMartingale High risk
Updated 6 months ago None stated GitHub repository of MultiSignal DCA CCBSN

Mr X Grid Hedge

by ibrahimzameel9232-lgtm
2 stars

Mr X Grid Hedge is a MetaTrader 5 expert advisor specifically designed for XAUUSD trading. It utilizes a grid strategy with entry signals confirmed by a combination of EMA crossovers, RSI bounds, and ATR volatility filters. The system manages risk through automated hedging triggered by drawdown or specific grid depth.

MT5 Trading robot GridMartingaleHedging High risk
Updated 10 months ago None stated GitHub repository of Mr X Grid Hedge

SnD SnR Scalping

by Adirach08
2 stars

This MetaTrader 5 expert advisor executes trades based on supply and demand zones combined with support and resistance levels. It performs multi-timeframe analysis across H1 and M5 charts to identify entry points. The robot utilizes price action patterns like double tops and head-and-shoulders for confirmation. Risk is

MT5 Trading robot SMC / ICT / price actionScalpingGrid High risk
Updated 1 year ago None stated GitHub repository of SnD SnR Scalping

This repository features a collection of MetaTrader 5 expert advisors designed for automated trading across various market conditions. The included tools range from grid-based systems like Mecha-Godzilla to range-reversion and breakout strategies. The expert advisors offer modular risk management, including daily loss

MT5 Collection GridMean reversionBreakout High risk

GBPUSD AI Grid EA

by AlexCrombieF
2 stars

The GBPUSD AI Grid EA is an automated trading robot for MetaTrader 4. It executes a grid-based strategy that layers orders during market movements. Initial entries are filtered using the Commodity Channel Index indicator. The bot manages positions through a martingale lot multiplier, increasing volume for subsequent gr

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of GBPUSD AI Grid EA
2 stars

This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani

MT4 Collection GridScalpingTrend following High risk
Updated 2 years ago None stated GitHub repository of Lianxi EA Collection

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

This repository contains a collection of MetaTrader 4 expert advisors and technical indicators focused on automated trading logic. The included robots primarily utilize martingale and grid-based strategies, featuring lot scaling and distance-based order layering. Entry signals are generated through indicators like Boll

MT4 Collection MartingaleGridIndicator crossover High risk

Mt4 Develop Collection

by xianGuiye
2 stars

This repository features a collection of MetaTrader 4 expert advisors designed for various trading approaches. The included M5_M30integral EA utilizes moving average crossovers across multiple timeframes for trend detection. Other scripts employ envelope scalping at specific standard deviations and Bollinger Band strat

MT4 Collection Indicator crossoverMean reversionScalping 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