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.

227 EAs match Clear filters
1 stars

TitanAI 4H Range Scalper is a MetaTrader 5 expert advisor that executes a range rejection strategy based on the 00:00 New York H4 candle. The EA identifies a fixed daily range and monitors for false breakouts or liquidity sweeps, entering a trade when price closes back within the range boundaries. It features robust ri

MT5 Trading robot SMC / ICT / price actionMean reversionBreakout
Updated 2 months ago None stated GitHub repository of TitanAI 4H Range Scalper
1 stars

This MetaTrader 5 expert advisor implements a volatility-driven grid strategy primarily focused on Gold. It populates a range of buy-stop and sell-stop limit orders at specified intervals around the market price. The system transitions into a trend-following mode once multiple orders are triggered in one direction, app

MT5 Trading robot GridBreakoutTrend following High risk
Updated 2 months ago None stated GitHub repository of Volatility Grid Bot

Gold and Bitcoin Scalper Suite

by addotwumnana-eng
1 stars

This MetaTrader 5 expert advisor suite contains two separate robots designed for scalping Gold and Bitcoin. The Gold Scalper functions during specific market sessions, while the Bitcoin Scalper trades continuously. Both tools utilize a moving average crossover system to place buy and sell stop orders at predefined dist

MT5 Trading robot ScalpingIndicator crossover

VWAP Z-Score EA

by espinosaneol
1 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using Z-score analysis of VWAP log-returns. Instead of fixed parameters, the system dynamically calculates an optimal lookback window by comparing observed price volatility against theoretical random walk models. The EA enters trades when price retur

MT4 Trading robot Mean reversion
Updated 2 months ago MIT GitHub repository of VWAP Z-Score EA

AI Canvas EA

by mahfujchowdhury
1 stars

This MetaTrader 5 expert advisor integrates with OpenAI API models, specifically GPT-4o, to analyze market data and generate trading signals. The tool sends a configurable number of recent chart bars to the AI model for processing and can execute trades automatically based on the response. It includes a chat-style inte

MT5 Trading robot AI / machine learning
Updated 2 months ago None stated GitHub repository of AI Canvas EA
1 stars

This MetaTrader 5 expert advisor executes trades based on daily classic pivot points combined with the engulfing candlestick pattern on the M15 timeframe. It employs a 200-period Exponential Moving Average as a trend filter to refine entries. Risk management includes a martingale lot scaling system that increases posit

MT5 Trading robot Trend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Pivot Points Engulfing EA

PASR Modular

by sakuninfinix-svg
1 stars

PASR Modular is a MetaTrader 5 expert advisor designed for automated trading using a modular framework. It employs technical indicators like ATR for dynamic stop losses and take profits, alongside ADX for trend filtering. The system integrates machine learning components for trade inference and multi-timeframe analysis

MT5 Trading robot AI / machine learningTrend followingMulti-strategy
Updated 2 months ago None stated GitHub repository of PASR Modular

Grid Trader MT5

by zhangwenwei
1 stars

This expert advisor for MetaTrader 5 implements a bidirectional range grid strategy based on user-defined price boundaries. It automatically divides the range into two halves, executing sell orders in the upper section and buy orders in the lower section. The system includes a safety mechanism that closes all positions

MT5 Trading robot GridMean reversionHedging High risk
Updated 2 months ago None stated GitHub repository of Grid Trader MT5

Gann Bot

by avangardistic
1 stars

This automated expert advisor for MetaTrader 5 executes trades based on Gann Box analysis, identifying entries at dynamic support and resistance levels. It features advanced risk controls including hard stop loss, take profit, and a trailing stop. The EA provides four capital management modes: fixed lot size, risk perc

MT5 Trading robot Mean reversionTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Gann Bot

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

SP2L

by farsosta-jpg
1 stars

This MetaTrader 5 expert advisor executes trades based on price action and momentum patterns, specifically identifying strong candles relative to their recent average range. The logic incorporates Fair Value Gap (FVG) detection and moving averages to filter entries. It includes automated risk management with percentage

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 months ago None stated GitHub repository of SP2L

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

FXTR1 MT5

by GicaGashy
1 stars

FXTR1 is a modular Expert Advisor for MetaTrader 5 designed with a source-first development approach. It features a strategy selection engine that includes a moving average crossover system and a pivot gravity strategy. The crossover strategy supports optional ATR-based volatility exits, while the pivot system uses ban

MT5 Trading robot Indicator crossoverMulti-strategy
Updated 3 months ago None stated GitHub repository of FXTR1 MT5

Gold Scalper Bot

by bigthreeatone
1 stars

This MetaTrader 5 expert advisor is designed for aggressive trading on XAUUSD, focusing on the 5-minute and 15-minute timeframes. It utilizes Fibonacci retracements and swing high/low breakouts to identify entries across three selectable modes: scalp, swing, and trend following. The system manages up to three positions

MT5 Trading robot ScalpingBreakoutTrend following High risk
Updated 3 months ago None stated GitHub repository of Gold Scalper Bot

Smart Trader Forex

by joseph8848
1 stars

Smart Trader Forex is an automated expert advisor for MetaTrader 5 that employs dual strategies for trend following and mean-reversion scalping. It monitors over 15 currency pairs simultaneously using a multi-symbol scanner and a signal quality filter. Risk management includes ATR-based stop losses, trailing stops, and

MT5 Trading robot Trend followingScalpingMean reversion

Options Trading Moving Average

by SankarSrinivasan1
1 stars

This MetaTrader 4 expert advisor implements a foundational trend-following strategy based on a 20-period Exponential Moving Average. It enters long positions when the market price trades above the average and short positions when it trades below. The code is designed as a template for users of the book Options Trading

MT4 Trading robot Indicator crossoverTrend following

BTMM Expert Advisor

by FullscopeContractors
1 stars

This MetaTrader 5 expert advisor automates the Breakout-To-Market-Maker (BTMM) strategy, featuring eight distinct intraday setups including M/W patterns, NYC reversals, and EMA200 bounces. It employs a signal arbitration engine to score and prioritize trades based on confluence, liquidity, and regime alignment. Risk ma

MT5 Trading robot SMC / ICT / price actionMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of BTMM Expert Advisor

Zbbot

by zbgerman
1 stars

This Expert Advisor for MetaTrader 5 implements trading logic based on Smart Money Concepts, specifically the ICT 2022 mentorship model. It automatically identifies market structures such as Fair Value Gaps, fractals, and rejection blocks across multiple timeframes to locate entries. The system includes a time-based fi

MT5 Trading robot SMC / ICT / price actionTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of Zbbot

H4 EMA Pullback Next Level

by Mohamed-Kathree
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy on the H4 timeframe by identifying pullbacks to the 50-period Exponential Moving Average. It utilizes the 200 EMA to define the primary trend and the 21 EMA to confirm momentum recovery after a pullback. The EA enters trades based on price rejec

MT5 Trading robot Trend followingMean reversion
Updated 3 months ago None stated GitHub repository of H4 EMA Pullback Next Level

Grid Retest

by khamminasomchanmavong
1 stars

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

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

MT5 AutoEA

by Asura-lab
1 stars

MT5 AutoEA is a multi-strategy trading robot for MetaTrader 5 that utilizes an ensemble approach to market participation. It incorporates over twenty modular strategies, including trend following, mean reversion, and breakouts, which can be toggled individually. The EA supports two execution modes: a portfolio mode for

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 3 months ago None stated GitHub repository of MT5 AutoEA

ZoneTrader Pro

by Valenteeno
1 stars

ZoneTrader Pro is an automated trading robot for MetaTrader 5 that identifies and trades supply and demand zones based on price context. It features a granular session filter allowing users to enable or disable trading for specific hours of the day. The EA manages risk through a daily profit and loss protector, a news

MT5 Trading robot SMC / ICT / price action
Updated 3 months ago Custom licence GitHub repository of ZoneTrader Pro

Renko Trader

by Valenteeno
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns. It features an internal calculation engine that supports both fixed point-based brick sizes and dynamic ATR-based sizing. The system includes visual on-chart drawing of Renko bricks to provide a custom price perspective. Trade management is

MT5 Trading robot Trend followingBreakout
Updated 3 months ago Custom licence GitHub repository of Renko Trader

Advanced KT Trader

by Valenteeno
1 stars

Advanced KT Trader is a price action robot for MetaTrader 5 that specializes in trading the Kangaroo Tail candlestick pattern. It employs a sophisticated scoring system to filter entries based on tail-to-body ratios and candle positioning. The strategy integrates support and resistance zone confluence alongside 200 EMA

MT5 Trading robot SMC / ICT / price actionMean reversionTrend following
Updated 3 months ago Custom licence GitHub repository of Advanced KT Trader

Master Trader MT5

by rohanjq
1 stars

Master Trader is an automated expert advisor for MetaTrader 5 that utilizes a multi-strategy engine based on UT Bot, Donchian Channels, and candlestick patterns. It analyzes market conditions across several timeframes, including M3, M5, and M15, to identify trend reversals and wick rejections. The EA features advanced

MT5 Trading robot Trend followingMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Master Trader MT5

Conquest Platinum SMC EA

by MunchonGithub
1 stars

This MetaTrader 5 expert advisor implements a comprehensive Smart Money Concepts strategy, detecting market structure shifts through Break of Structure and Change of Character events. It monitors Fair Value Gaps and liquidity sweeps to identify entry points across multiple timeframes. The system offers several executio

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 3 months ago Apache-2.0 GitHub repository of Conquest Platinum SMC EA

SMC Telegram Signal EA

by shanto9333
1 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts (SMC). It analyzes market structure across multiple timeframes, specifically looking for liquidity grabs, order blocks, and fair value gaps. The robot includes risk management features such as percentage-based lot sizing and multiple take-

MT5 Trading robot SMC / ICT / price actionMulti-strategy
Updated 3 months ago None stated GitHub repository of SMC Telegram Signal EA

Grid EA

by MubinCodes
1 stars

This MetaTrader 5 expert advisor implements a grid trading strategy specifically designed for sideways or range-bound market conditions. It places multiple buy and sell orders at fixed intervals defined by the user. The EA includes several operational filters, such as specific trading days and time sessions. Risk manag

MT5 Trading robot GridHedging High risk
Updated 3 months ago None stated GitHub repository of Grid EA
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across M1, M5, and M15 intervals. It utilizes a seven-period Exponential Moving Average system ranging from EMA 30 to EMA 60 to identify market conditions. When EMAs are aligned, it executes trend-following trades; in consolidated markets, i

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Filter MA MT5

Bollinger Bands Mean Reversion EA

by federico-quintieri
1 stars

This Expert Advisor for MetaTrader 5 implements a mean reversion strategy utilizing Bollinger Bands and a 200-period Exponential Moving Average. It monitors market volatility through band distance and enters trades when price action returns inside the bands following a breakout. The system executes logic only at the st

MT5 Trading robot Mean reversionTrend following

Mochipoyo EA

by jiangchengban-art
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on Dow Theory and Granville's Laws. It analyzes market structure across H4, M15, and M5 intervals using EMA, RCI, and MACD indicators. Trades are executed based on a proprietary scoring system that requires a minimum point threshold for entry.

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 3 months ago None stated GitHub repository of Mochipoyo EA

RB Xauusd Mt5

by RicardoBarato
1 stars

RB Xauusd Mt5 is a research-grade expert advisor for MetaTrader 5 focused on gold trading. It uses a systematic approach incorporating a 50/200 EMA bias on the H1 timeframe, structural analysis on M15, and volatility filtering via ATR and ADX on the M1 timeframe. The strategy incorporates complex risk management tools,

MT5 Trading robot Trend followingBreakout
Updated 3 months ago GPL-3.0 GitHub repository of RB Xauusd Mt5

Multi Timeframe Trend Gold EA

by kimanijames817-glitch
1 stars

This MetaTrader 5 expert advisor automates trend-following strategies for Forex pairs and Gold. It analyzes the market using a multi-timeframe approach, referencing H4 and H1 Exponential Moving Averages to establish trend direction. Entry signals are refined with indicators including the Average Directional Index, Rela

MT5 Trading robot Trend followingIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Timeframe Trend Gold EA

NYKX Morning Breakout

by satishnaik4567
1 stars

This MetaTrader 5 expert advisor executes an intraday breakout strategy based on the volatility of the first five-minute candle of the trading day. It calculates eight distinct price levels using percentage deviations from the session midpoint and high/low ranges. The system monitors for price crossovers at specific th

MT5 Trading robot Breakout
Updated 3 months ago None stated GitHub repository of NYKX Morning Breakout

Gold Liquidity Hunter Pro

by eaglenight37
1 stars

Gold Liquidity Hunter Pro is a MetaTrader 5 expert advisor designed for trading gold and indices using Smart Money Concepts and ICT principles. It determines market direction using a daily 200 EMA bias and identifies entries based on H4 order blocks. The system includes multiple volatility and trend filters, such as AD

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 months ago None stated GitHub repository of Gold Liquidity Hunter Pro

Xau Range Scalper Pro

by amolrasal2004-ctrl
1 stars

A MetaTrader 5 expert advisor designed for range-based reversal trading, primarily optimized for XAUUSD on the M5 timeframe. It identifies sideways markets by monitoring price touches at support and resistance levels over a defined lookback period. The robot filters entries using RSI, ADX, and candle patterns such as e

MT5 Trading robot Mean reversionScalping
Updated 3 months ago None stated GitHub repository of Xau Range Scalper Pro

This MetaTrader 5 expert advisor is a multi-layered trading system specifically designed for BTCUSD. It utilizes a hierarchical decision logic that analyzes macro bias on the H4 timeframe, maps support and resistance on the H1 timeframe, and confirms structure changes on M15 before executing trades on the M5 timeframe.

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

Universal MTF EA

by Huthayfa-Alomari
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across H4, M15, and M5 intervals. It executes trades based on confluence between Fibonacci levels, liquidity zones, and market regime analysis. The robot manages risk through defined per-trade percentages, daily loss limits, and weekly drawd

MT5 Trading robot SMC / ICT / price actionMulti-strategyTrend following
Updated 3 months ago None stated GitHub repository of Universal MTF EA

Big Candle Middle Entry EA

by humayukhan64-creator
1 stars

This MetaTrader 5 expert advisor is designed for gold scalping on the M1 timeframe. It identifies significant price movements by comparing candle size against an Average True Range multiplier. Upon detecting a large candle, the robot places both buy stop and sell stop orders at the candle's midpoint. When one order is

MT5 Trading robot ScalpingBreakout
Updated 3 months ago None stated GitHub repository of Big Candle Middle Entry EA

MADR Brothers

by mitsuaki-41
1 stars

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

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

WannaBeQuant Strategy Selection is a multi-strategy expert advisor for MetaTrader 5 designed to trade cryptocurrency and equity markets. It combines six distinct trading logic modules, including Ichimoku trend following, mean reversion, and breakout strategies. The EA executes on a timer-based loop rather than every ti

MT5 Trading robot Trend followingMean reversionBreakout
1 stars

FX Volume80 Trend Highway Runner is a multi-strategy scalping robot for MetaTrader 5, optimized for the M1 timeframe. It employs a weighted scoring system that evaluates candlestick patterns, ADX momentum, and market structure to identify entries. The EA features specialized logic for trend continuation and mean-revers

MT5 Trading robot ScalpingTrend followingMean reversion

Multi Strategy EA MT5

by Lucifer75853
1 stars

This MetaTrader 5 expert advisor executes multiple trading strategies simultaneously, allowing users to allocate capital percentages between different modules like high-frequency trading, scalping, and custom XBTFX logic. It includes comprehensive risk management features such as a maximum daily loss percentage, per-tr

MT5 Trading robot ScalpingMulti-strategy
Updated 4 months ago None stated GitHub repository of Multi Strategy EA MT5

Renko EMA Trading EA

by NOVESH-CREATE
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns, specifically optimized for Bitcoin markets like BTCUSD. Instead of standard timeframes, the system uses fixed dollar-value brick sizes to filter price noise and identify trends. It features automated risk management through percentage-based

MT5 Trading robot Trend following
Updated 4 months ago None stated GitHub repository of Renko EMA Trading EA

DevyyTrades Webhook EA

by fynnelsner
1 stars

This MetaTrader 5 Expert Advisor functions as a bridge for TradingView alerts, processing signals through a Python-based webhook server. It executes a mechanical strategy involving trend following, Fair Value Gaps, and structural changes like Break of Structure. The EA includes sophisticated risk management such as dyn

MT5 Trading robot Trend followingSMC / ICT / price actionNews
Updated 4 months ago None stated GitHub repository of DevyyTrades Webhook EA

Automatic Breakout Strategy EA

by Ayooluwa-trading-dev
1 stars

This expert advisor for MetaTrader 5 implements an automated breakout strategy based on the high and low points of the previous candle. It monitors the market for price breaches above the previous high to initiate long positions or below the previous low for short positions. The bot includes basic risk management contr

MT5 Trading robot Breakout

Price Action Master

by fikribuoy-droid
1 stars

This MetaTrader 5 expert advisor automates several price action strategies, including pin bar reversals at support and resistance levels, trendline bounces, and break-and-retest patterns. The robot employs multi-timeframe analysis to align entries with higher timeframe trends. Risk controls include percentage-based pos

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 4 months ago None stated GitHub repository of Price Action Master
1 stars

This MetaTrader 5 expert advisor is designed for XAUUSD on the M5 timeframe using a confluence scoring system. It evaluates market conditions using five indicators: EMA, MACD, RSI, Stochastic, and ADX, assigning a point value to determine entry viability. The robot features three predefined risk modes—Safe, Balanced, a

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Tono Confluence Master XAU

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