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.

72 EAs match Clear filters

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

EA Scalper XAUUSD

by francomascareloai
237 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

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

General Trading MT5 Collection

by GeneralTradingSarl
5 stars

This repository provides a collection of four Expert Advisors for MetaTrader 5, developed using the MQL5 standard library framework. These robots focus on trend-following and momentum strategies using indicators like Moving Averages, MACD, and the MESA Adaptive Moving Average. Notable features include a Parabolic SAR t

MT5 Collection Trend followingIndicator crossoverMulti-strategy

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

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

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

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

This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar

MT4 Framework & template Trend followingIndicator crossoverGrid High risk

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

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

SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the

MT4 Collection BreakoutTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of SoftArsenal EA Collection

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

This collection for MetaTrader 5 provides a series of tools focused on Exponential Moving Average crossovers and trend identification. The primary scripts monitor the relationship between fast and slow EMAs to generate visual signals, marking the chart with vertical lines and arrows when a crossover or retest occurs. I

MT5 Collection Indicator crossoverTrend following

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

Signal Scanner Pro PAICT

by asnakegreat
1 stars

This MetaTrader 5 expert advisor functions as a comprehensive chart annotation and signal scanning tool based on Smart Money Concepts and Price Action. It identifies structural elements such as order blocks, fair value gaps, liquidity pools, and market structure shifts across multiple symbols simultaneously. The system

MT5 Utility SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated yesterday None stated GitHub repository of Signal Scanner Pro PAICT
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

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

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

by hawada850-glitch
1 stars

This automated trading robot for MetaTrader 5 focuses on gold scalping using a multi-timeframe moving average strategy. It identifies entries via EMA crossovers on the one-minute timeframe, while confirming the overall trend using larger periods on the five-minute chart. Risk management includes dynamic stop loss and t

MT5 Trading robot ScalpingIndicator crossoverTrend following
Updated 3 weeks ago None stated GitHub repository of Gold Scalper 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

EMA Cross EA

by momomosun
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on the crossover of 15-period and 60-period Exponential Moving Averages. It employs a continuous reversal logic to maintain market presence, switching between long and short positions as trends shift. Risk management includes ATR-based dyn

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago MIT GitHub repository of EMA Cross EA
1 stars

This MetaTrader 5 collection provides five Expert Advisors focused on Ichimoku Chikou-Kijun crossovers. The repository includes basic alert tools and automated robots that execute trades based on lagging span movements relative to the base line. Advanced variants incorporate ADX and DI filters, Kumo cloud confluence, a

MT5 Collection Indicator crossoverTrend following

Shake EA

by ziadoul25
1 stars

This trend-following expert advisor for MetaTrader 5 implements the SHAKE strategy to trade Bitcoin and Gold. It identifies entries by analyzing the alignment of three moving averages across three distinct timeframes, typically M1, M5, and M15. Positions are opened only when the fast, medium, and slow averages are sequ

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago None stated GitHub repository of Shake EA

Break EA

by vitizelamabuza-ops
1 stars

Break EA is a multi-symbol trend-following robot for MetaTrader 5. It identifies market entries using a combination of EMA 50, MACD crossovers, and RSI filters, while ADX monitors trend strength. The advisor includes advanced trade management features such as ATR-based stop loss and take profit, trailing stops, break-e

MT5 Trading robot Trend followingIndicator crossover
Updated 7 weeks ago None stated GitHub repository of Break EA
1 stars

This automated expert advisor for MetaTrader 4 and 5 trades forex using a multi-timeframe technical strategy. It identifies H1 trends with moving averages and Ichimoku clouds while timing M5 entries via MACD and RSI convergence. The system incorporates robust risk controls including equity-based lot sizing, daily loss

MT4MT5 Trading robot Trend followingIndicator crossoverMulti-strategy High risk
Updated 7 weeks ago None stated GitHub repository of EA PM Portfolio Management

Bullish Continuation MT5

by andrewkorot
1 stars

This MetaTrader 5 expert advisor executes a long-only bullish continuation strategy. It identifies trade entries by combining specific candlestick patterns, such as bullish engulfing and harami, with trend-following filters. For a buy order to trigger, the price must close above both the 50 and 200 exponential moving a

MT5 Trading robot Trend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of Bullish Continuation MT5
1 stars

This collection for MetaTrader 5 provides a diverse range of algorithmic trading strategies and utility scripts. The featured Precision Sniper EA utilizes indicator resonance, combining EMA, RSI, and ATR for entry signals. It incorporates sophisticated risk controls including three-stage partial profit taking, structur

MT5 Collection Trend followingBreakoutMulti-strategy
Updated 2 months ago None stated GitHub repository of Precision Sniper EA Library
1 stars

This MetaTrader 5 repository hosts a collection of over 90 expert advisors generated by StrategyQuant X. The robots are designed for the M15 timeframe across diverse markets including forex majors, gold, and oil. Entry signals are derived from technical indicators like Ichimoku, VWAP, and Moving Averages. Each EA featu

MT5 Collection Trend followingIndicator crossoverMartingale High risk
Updated 2 months ago None stated GitHub repository of Quant V1 Strategy Collection

XAU Confluence EA

by sapsyhere01-max
1 stars

XAU Confluence EA is an automated trading robot for MetaTrader 5, specifically tailored for the gold market. The system executes trades based on a triple-confluence strategy that integrates an exponential moving average ribbon for trend direction, Donchian Channel breakouts with volume confirmation, and a proxy-CVD ind

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 2 months ago None stated GitHub repository of XAU Confluence EA
1 stars

This repository contains a collection of ten trend-following Expert Advisors for the MetaTrader 5 platform. Each robot implements a different technical strategy, utilizing indicators such as Bollinger Bands and moving averages with various smoothing methods like ParMA and SMMA. The EAs identify entry points based on ov

MT5 Collection Trend followingIndicator crossover

Ustec Trend Runner

by RicardoBarato
1 stars

This MetaTrader 5 Expert Advisor is a research-oriented tool designed for systematic trading of USTEC/Nasdaq CFDs. It employs a trend-following logic using Exponential Moving Average crossovers and ADX filters to identify entries on the M5 timeframe during specific trading sessions. Risk is managed through ATR-based dy

MT5 Trading robot Trend followingIndicator crossover
Updated 3 months ago Custom licence GitHub repository of Ustec Trend Runner

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