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.

89 EAs match Clear filters
643 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

EA Scalper XAUUSD

by francomascareloai
236 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

ICT Gold EA

by darula-hpp
36 stars

This automated trading system for MetaTrader 5 focuses on spot Gold using Inner Circle Trader methodology. It identifies entries through order block detection, market structure analysis, and weekly opening price levels. The strategy is further filtered by dual moving averages and specific trading sessions, primarily Lo

MT5 Trading robot SMC / ICT / price actionIndicator crossoverTrend following
Updated 11 months ago None stated GitHub repository of ICT Gold EA

Fvg Gold EA

by foeed
34 stars

Fvg Gold EA is an automated trading robot for MetaTrader 5 designed specifically for the gold market. It utilizes institutional trading concepts by identifying high-probability Fair Value Gaps with Order Block confluence. The system employs a scoring algorithm to evaluate trade quality based on displacement, gap size,

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 5 days ago MIT GitHub repository of Fvg Gold EA

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout

Aurum Core

by francomascareloai
9 stars

This educational expert advisor for MetaTrader 5 serves as a study tool for algorithmic trading. It executes a simple moving average crossover strategy, comparing fast and slow exponential moving averages on a five-minute timeframe. The system includes entry filters like a maximum spread threshold and a new-bar executi

MT5 Trading robot Indicator crossover
Updated 8 months ago Custom licence GitHub repository of Aurum Core

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel
5 stars

This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated

MT5 Collection BreakoutMean reversionScalping

XAUUSD Trend Follow

by maker-tung
5 stars

This MetaTrader 5 expert advisor implements a long-only trend-following strategy designed specifically for gold (XAUUSD) on the hourly timeframe. The system filters entries using a 200-period exponential moving average and an optional ADX momentum filter to avoid low-volatility periods. Trade signals originate from MAC

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago Custom licence GitHub repository of XAUUSD Trend Follow
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

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

MT5 Auto Backtest Pipeline

by 26730023-PhamPhuNguyenHung
4 stars

This repository features a headless CLI automation pipeline for MetaTrader 5, enabling users to compile, backtest, and rank MQL5 Expert Advisors through PowerShell. It contains a large collection of robots focused on candlestick patterns, such as Morning and Evening Star signals, combined with Stochastic or CCI filters

MT5 Collection SMC / ICT / price actionIndicator crossoverMean reversion

IJESHA Algo EA

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage

MT5 Trading robot Mean reversionTrend followingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of IJESHA Algo EA

KolaTradebot SMC

by Sidoine1991
3 stars

KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes

MT5 Collection SMC / ICT / price actionAI / machine learningBreakout High risk
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy combining M15 trend direction with M5 trade execution. It identifies entries using Smart Money Concepts like break of structure and order blocks, confirmed by MACD, Stochastic, and Parabolic SAR indicators. Risk management is a primary focus, offeri

MT5 Trading robot SMC / ICT / price actionTrend followingIndicator crossover

QuantAlgo Prop Firm Elite

by thesenegalesehitch
3 stars

Prop Firm Elite EA is a comprehensive trading suite for MetaTrader 5 designed for automated prop firm challenge management. It utilizes Smart Money Concepts, including Break of Structure and Fair Value Gaps, combined with exponential moving averages and RSI filters. The system manages risk through fixed percentage lot

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover
Updated 3 months ago Custom licence GitHub repository of QuantAlgo Prop Firm Elite

Sanqing EA

by caoruihua
3 stars

An automated trading system for MetaTrader 4 specifically designed for gold (XAUUSD) on the M5 timeframe. It features two core strategies: trend continuation and price pullbacks. The expert advisor utilizes a dual exponential moving average framework for direction and ATR for volatility filtering. Risk management is ha

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 5 months ago None stated GitHub repository of Sanqing EA

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

Scalping Bot

by ilearncoding247
3 stars

This automated expert advisor for MetaTrader 5 focuses on short-term technical trading using a combination of trend and momentum indicators. It triggers entries based on RSI levels, Exponential Moving Average crossovers, and Bollinger Band deviations. Risk is managed through dynamic lot sizing and ATR-based stop loss a

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 10 months ago Custom licence GitHub repository of Scalping Bot

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

MA Cross Risk EA

by alexistdev
2 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on moving average crossovers. It monitors fast and slow exponential moving averages on closed bars to trigger buy or sell orders, with an optional RSI filter to confirm momentum. The robot includes automated risk management features such as dyna

MT5 Trading robot Indicator crossoverTrend following
Updated 2 days ago None stated GitHub repository of MA Cross Risk EA

XAUUSD Scalping EA

by AhsanAli013
2 stars

This MetaTrader 5 expert advisor is designed for gold scalping using a multi-timeframe approach. It analyzes price action across M5, M15, and H1 intervals using Exponential Moving Averages, Relative Strength Index, and Average Directional Index for entry confirmation. Trades are managed with ATR-based stop losses, take

MT5 Trading robot ScalpingIndicator crossoverTrend following

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

3711 Single EA

by hakimibob
2 stars

This expert advisor for MetaTrader 5 utilizes a multi-timeframe technical approach, scanning H1, M30, M15, and M5 periods simultaneously. It generates signals using a stochastic stack combined with RSI and stochastic divergence detection. The system incorporates a formula pack for market structure analysis, including B

MT5 Trading robot Indicator crossoverMean reversionSMC / ICT / price action
Updated 4 weeks ago None stated GitHub repository of 3711 Single EA
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

Jamesmaria EA

by King-jamesmaria
2 stars

Jamesmaria EA is a multi-pair MetaTrader 5 trading robot specializing in EURUSD, EURGBP, and Gold. It employs an H1 entry strategy based on the EMA 21/50 crossover and RSI confirmation, using H4 trend filtering for higher-probability setups. The EA includes dynamic lot sizing scaled to account equity, ATR-based take pr

MT5 Trading robot Indicator crossoverTrend following
Updated 4 months ago None stated GitHub repository of Jamesmaria EA

Newton Fx

by Ralarcon88
2 stars

Newton Fx is an automated trading system for MetaTrader 5, specifically configured for the gold market on the fifteen-minute timeframe. It identifies entries using a combination of exponential moving average crossovers, ADX trend strength verification, and Fibonacci retracement levels. The robot manages risk through AT

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Newton Fx

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot

GainzAlgo EA

by saadkhan371
2 stars

This MetaTrader 5 robot is a trend-following expert advisor converted from Pine Script, designed primarily for gold scalping on the one-minute timeframe. It identifies entries using a triple Exponential Moving Average stack combined with Relative Strength Index filters and candle confirmation. The EA manages risk throu

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 5 months ago None stated GitHub repository of GainzAlgo EA

MH EA Collection

by mhizterkeyz
2 stars

This collection of MetaTrader 5 expert advisors contains numerous trading scripts, with the primary source code focusing on a gold-trading strategy. The robot utilizes a combination of the Relative Strength Index, Average True Range, and Average Directional Index alongside three simple moving averages to identify trend

MT5 Collection Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of MH EA Collection

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy

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

Raven Cost Averaging

by randiapriliyadiR
1 stars

Raven Cost Averaging is a multi-currency grid robot for MetaTrader 5 designed to trade seven major forex pairs from a single chart. The system employs a hedging strategy, opening initial buy and sell positions and layering subsequent trades at fixed pip distances. It includes an optional M15 SMA 200 filter for primary

MT5 Trading robot GridHedgingIndicator crossover High risk
Updated 4 days ago Apache-2.0 GitHub repository of Raven Cost Averaging

AntiLatency Sniper EA

by themusafirr
1 stars

This algorithmic scalping robot for MetaTrader 4 and 5 uses a five-factor confluence engine to identify trade entries. It monitors RSI extremes, Bollinger Band breakouts, MACD momentum, EMA ribbons, and volume acceleration. The EA employs percentage-based risk management with a strict stop loss and a flexible take prof

MT4MT5 Trading robot ScalpingTrend followingMean reversion
Updated 5 days ago None stated GitHub repository of AntiLatency Sniper EA

MATE Apex Scalper

by Yamsim-bot
1 stars

MATE Apex Scalper is a MetaTrader 5 expert advisor designed for scalping major forex pairs and gold. It employs a multi-symbol confluence strategy, filtering entries based on triple exponential moving average alignment, RSI levels, and Bollinger Band rejections on the M5 and M15 timeframes. The robot manages trades usi

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 8 days ago None stated GitHub repository of MATE Apex Scalper

C Financial

by rafaelsoec
1 stars

C Financial is a MetaTrader 5 repository containing a large collection of expert advisor variants focused on trend-following and price action strategies. The primary scripts utilize technical indicators like Moving Averages, ADX, CCI, and Average True Range to detect market direction and volatility. It features modular

MT5 Collection Trend followingBreakoutIndicator crossover High risk
Updated 10 days ago None stated GitHub repository of C Financial
1 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for a quantitative trading seminar by QRT Solutions. It includes multiple models such as US opening gap momentum, opening range breakouts, and SMA-based gold strategies. Each robot features professional risk management components including t

MT5 Collection Trend followingBreakoutIndicator crossover
1 stars

This MetaTrader 5 repository provides a collection of seventeen quantitative trading strategies designed for educational and research purposes. The primary expert advisor implements a US opening gap momentum strategy, utilizing ATR-based gap thresholds and Z-Score volatility regime detection to identify entry points. R

MT5 Collection BreakoutTrend followingIndicator crossover

Moon HFT Pro

by nongsiejmoonshine-collab
1 stars

Moon HFT Pro is a MetaTrader 5 expert advisor that executes trades on the one-minute timeframe using analysis from five-minute and fifteen-minute charts. It identifies entries through a combination of Smart Money Concepts, market structure, and technical indicators including Moving Averages, RSI, and MACD. The system c

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 11 days ago None stated GitHub repository of Moon HFT Pro

EA Trading Guide

by thenaritlab
1 stars

This collection provides educational Expert Advisors for the MetaTrader 5 platform, showcasing different algorithmic approaches for beginners and intermediate traders. It features a moving average crossover system and a more advanced mean reversion robot based on the Relative Strength Index. The included tools utilize

MT5 Collection Trend followingMean reversionIndicator crossover

Vilona Gold Trading EA

by DIRJEN-BOT
1 stars

Vilona Gold Trading EA is a trend-following robot for MetaTrader 5 tailored for XAUUSD. It executes trades based on daily breakouts and moving average filters, often focusing on long-only setups to align with secular trends. Risk management features include equity-based lot sizing, fixed stop losses, trailing stops, an

MT5 Trading robot Trend followingBreakoutIndicator crossover High risk
Updated 2 weeks ago None stated GitHub repository of Vilona Gold Trading EA

Gold Trading EA

by shamshyder123-oss
1 stars

An automated trading robot for MetaTrader 5 specifically designed for the XAUUSD market. It utilizes a combination of RSI for overbought and oversold levels, MACD for momentum, and Simple Moving Average crossovers for trend confirmation. The EA enters trades when multiple indicators align and manages them using fixed o

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 3 weeks ago MIT GitHub repository of Gold Trading EA

Trend Matrix EA

by Rhett-Q
1 stars

Trend Matrix EA is a multi-model trend-following robot for MetaTrader 5, specifically optimized for Gold trading. It utilizes a scoring matrix based on several technical indicators including Moving Averages, MACD, ADX, and Bollinger Bands to determine entries. The system employs a conservative pyramiding approach, addi

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 4 weeks ago None stated GitHub repository of Trend Matrix EA
1 stars

This expert advisor for MetaTrader 5 implements a technical strategy combining MACD, Stochastic Oscillator, and Parabolic SAR indicators. Designed primarily for the five-minute timeframe, it enters trades based on momentum and trend alignment. The system features robust risk controls, including stop loss and take profi

MT5 Trading robot Indicator crossoverTrend followingMean reversion

US30 Systematic EA

by raihaan0308-png
1 stars

This expert advisor implements an automated trend-following strategy for the US30 index on the MetaTrader 5 platform. It identifies entries using a combination of dual Exponential Moving Averages for trend direction, RSI for momentum filtering, and specific candle patterns. Risk is managed through a percentage-based lo

MT5 Trading robot Trend followingIndicator crossover
Updated 5 weeks ago None stated GitHub repository of US30 Systematic EA

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