Synced with GitHub · updated today

Free MT4 & MT5 expert advisors

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

New EAs by RSS
530 EAs match Clear filters

XGBoost Classifier MT5

by alexandruchirita4192
1 stars

This MetaTrader 5 expert advisor utilizes an XGBoost machine learning model exported via the ONNX format to identify trading opportunities. It enters trades based on classification probabilities and a minimum gap between prediction classes. The system features extensive risk controls, including stop loss and take profi

MT5 Trading robot AI / machine learningTrend following
Updated 5 months ago GPL-3.0 GitHub repository of XGBoost Classifier MT5
1 stars

This repository is a collection of MetaTrader 5 expert advisors focusing on quantitative research and price action strategies. It includes implementations of Smart Money Concepts and Inner Circle Trader methods, such as Order Blocks, Fair Value Gaps, and liquidity sweeps. Other components feature Ichimoku Kinko Hyo tre

MT5 Collection SMC / ICT / price actionTrend followingMean reversion

Adaptive Quant Grid

by x001tk-Igor
1 stars

Adaptive Quant Grid is an automated trading system for MetaTrader 5 that utilizes a dynamic grid strategy. It adjusts grid spacing based on market volatility using the Average True Range indicator and includes a regime filter powered by ADX and EMA to distinguish between trending and ranging markets. The EA supports sy

MT5 Trading robot GridMean reversionHedging High risk

Pro Trader AI

by salmanrki
1 stars

This MetaTrader 5 expert advisor integrates Large Language Models such as OpenAI and Anthropic Claude with technical analysis to automate trading across forex, gold, crypto, and indices. It utilizes a confluence scoring system based on Smart Money Concepts, Ichimoku Cloud, and standard indicators like RSI and MACD. The

MT5 Trading robot SMC / ICT / price actionAI / machine learningNews
Updated 5 months ago None stated GitHub repository of Pro Trader AI

Robot MA RSI

by space-55
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Moving Average crossovers and Relative Strength Index (RSI) signals. The robot enters trades when a fast EMA crosses a slow EMA, provided the RSI confirms momentum. Risk management is handled through ATR-based stop loss and take profit calcula

MT5 Trading robot Indicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Robot MA RSI
1 stars

Apex Leviathan is a multi-indicator expert advisor for MetaTrader 5 that combines technical analysis with external AI validation. It calculates a trade score using moving averages across H4, H1, and M30 timeframes, alongside RSI and MACD data. If a score threshold is met, the robot optionally consults the Google Gemini

MT5 Trading robot AI / machine learningIndicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Apex Leviathan AI Oracle

Forex Robot Collection

by ruanolivier93-netizen
1 stars

This collection for MetaTrader 5 provides multiple trading strategies, including an Asian session breakout system, a trend-aligned mean reversion strategy, and a moving average crossover expert. The breakout logic identifies price ranges during the Asian session and initiates trades during London or New York hours if c

MT5 Collection BreakoutMean reversionIndicator crossover
Updated 5 months ago None stated GitHub repository of Forex Robot Collection

AI Quant Strategy Lab

by Vinu-Kevin-Diesel
1 stars

This MetaTrader 5 framework provides a suite of expert advisors optimized for Gold trading using advanced signal processing. It employs a Hidden Markov Model to classify the market into five regimes, filtering entries based on current volatility and trend strength. The logic utilizes Gaussian IIR filters for lag-reduce

MT5 Collection Trend followingMean reversionAI / machine learning

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk
1 stars

This collection of MetaTrader 5 expert advisors focuses on breakout strategies influenced by Smart Money Concepts. The primary tool, Super Breakout SMC, utilizes a multi-timeframe approach with M15 market structure analysis and M5 entry triggers. It features session-specific trading filters, often referred to as killzo

MT5 Collection BreakoutSMC / ICT / price actionTrend following
Updated 5 months ago None stated GitHub repository of Super Breakout SMC Collection

Ravan EA

by bhavyat81
1 stars

Ravan EA is a multi-indicator confluence trading robot for MetaTrader 5. It utilizes a scoring engine based on seven indicators, including EMA crossovers, Supertrend, ADX, RSI, automated support and resistance levels, candlestick patterns, and volume analysis. The expert advisor enters trades when a user-defined signal

MT5 Trading robot Indicator crossoverTrend followingMulti-strategy
Updated 5 months ago None stated GitHub repository of Ravan EA

Ema9 RSI EA

by jjportero
1 stars

This MetaTrader 5 expert advisor executes a strategy combining Exponential Moving Average crossovers with Relative Strength Index filtering. It identifies entries by detecting price crossovers of the 9-period EMA confirmed by RSI levels recovering from overbought or oversold zones. The robot manages trades using define

MT5 Trading robot Indicator crossoverTrend followingMean reversion
Updated 6 months ago None stated GitHub repository of Ema9 RSI EA

Dane Auto Bot

by natadikoko9-ux
1 stars

Dane Auto Bot is a MetaTrader 5 expert advisor that combines trend-following filters with a grid-based execution system. The robot uses multiple Exponential Moving Averages to identify the primary market trend and the Relative Strength Index to find specific entry points. When conditions are met, it places a series of

MT5 Trading robot GridIndicator crossoverTrend following High risk
Updated 6 months ago None stated GitHub repository of Dane Auto Bot
1 stars

This expert advisor for MetaTrader 5 focuses on scalping XAUUSD during the London and New York trading sessions. It employs a multi-timeframe filtering system using EMAs and ADX to identify momentum, alongside tick-level price analysis for entry. The bot executes a stacking strategy, allowing multiple positions to be o

MT5 Trading robot ScalpingIndicator crossoverGrid High risk

Heikin Ashi Candle Flip EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor automates trading by detecting reversals in Heikin Ashi candle colors. It initiates a buy trade when a bullish flip occurs and a sell trade upon a bearish flip, managing one position at a time. The robot allows users to specify a custom Heikin Ashi indicator path if the default is not u

MT5 Trading robot Trend following
Updated 6 months ago None stated GitHub repository of Heikin Ashi Candle Flip EA
1 stars

This MetaTrader 5 expert advisor implements a multi-layer Smart Money Concepts strategy across twelve currency pairs and gold. It utilizes a weighted scoring engine to evaluate setups based on market structure, liquidity sweeps, fair value gaps, and technical indicators like RSI and VWAP. The robot identifies break of

MT5 Trading robot SMC / ICT / price actionMulti-strategyTrend following
Updated 7 months ago None stated GitHub repository of Confluence Trading System

FINS QQQ Development

by atanasvasilevjourney
1 stars

This MetaTrader 5 repository contains a collection of expert advisors centered on opening range breakouts and statistical mean reversion. The primary breakout tool defines trading zones based on specific time intervals and executes trades using price bias or candle closes. It incorporates robust risk management feature

MT5 Collection BreakoutMean reversionScalping
Updated 7 months ago None stated GitHub repository of FINS QQQ Development

Trend Pullback EA

by Ekisa02
1 stars

Trend Pullback EA is an automated trading robot for MetaTrader 5 that uses Exponential Moving Averages and price action to execute trades. It identifies market trends using a dual EMA crossover system and waits for price pullbacks into the moving average zone. Valid entries require confirmation from bullish or bearish

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

Sharrow

by Shinpai-AI
1 stars

Sharrow is an AI-driven trading robot for MetaTrader 5 that integrates with a Python-based machine learning toolchain. It functions as a trend engine, primarily designed for the H1 timeframe, using rules generated from walk-forward training scripts. The system includes sophisticated risk controls such as daily drawdown

MT5 Trading robot AI / machine learningTrend followingNews
Updated 7 months ago None stated GitHub repository of Sharrow
1 stars

This collection of MetaTrader 5 expert advisors focuses on automated trendline breakout strategies integrated with Elliott Wave theory and Fibonacci levels. The system identifies trendline breaks on the H4 timeframe and uses H1 and M15 intervals for entry confirmation. It employs RSI filters for divergence detection an

MT5 Collection Trend followingBreakoutSMC / ICT / price action

Gold Btc Mtf Trader

by Mahmoodsaa
1 stars

This MetaTrader 5 expert advisor automates trading for gold and bitcoin symbols using a trend-following strategy. It identifies entry points by combining Exponential Moving Average crossovers with the Relative Strength Index for momentum filtering on the M5 timeframe. The robot includes automated risk management that c

MT5 Trading robot Trend followingIndicator crossover
Updated 7 months ago None stated GitHub repository of Gold Btc Mtf Trader

Rebelion Digital FX

by rebelion16
1 stars

Rebelion Digital FX is an automated trading expert advisor for MetaTrader 5 that employs a multi-indicator strategy combining Exponential Moving Averages, RSI, and MACD for trend confirmation. It supports specific optimized parameters for Gold and major currency pairs. The EA includes comprehensive risk controls such a

MT5 Trading robot Trend followingIndicator crossoverScalping
Updated 7 months ago None stated GitHub repository of Rebelion Digital FX

MQL5 EA Collection

by Santhosh-waran
1 stars

This MetaTrader 5 repository contains a collection of expert advisors centered on Smart Money Concepts and automated grid systems. The featured EA Lucre employs a grid strategy with integrated martingale or anti-martingale lot scaling. It manages risk through daily profit targets, drawdown limits, and optional multi-ti

MT5 Collection SMC / ICT / price actionGridMartingale High risk
Updated 7 months ago None stated GitHub repository of MQL5 EA Collection

Gold Pullback Bot

by umarf000
1 stars

Gold Pullback Bot is an automated trading system for MetaTrader 5 designed specifically for XAUUSD. The expert advisor utilizes a trend-following strategy based on the alignment of three Exponential Moving Averages to identify price direction. Entries are filtered using a momentum indicator to confirm market strength.

MT5 Trading robot Trend followingIndicator crossover
Updated 7 months ago None stated GitHub repository of Gold Pullback Bot

ONNX LSTM Trading Bot

by winningtrendingbots
1 stars

This MetaTrader 5 expert advisor employs an ONNX-integrated LSTM model to forecast price action for the EURUSD pair on the H1 timeframe. It generates trade signals by comparing neural network predictions against current market prices or previous trend forecasts. The system manages risk through fixed or ATR-based stop l

MT5 Trading robot AI / machine learningTrend following Archived
Updated 7 months ago None stated GitHub repository of ONNX LSTM Trading Bot

Golden Structure

by edisonq
1 stars

Golden Structure is a trend-following expert advisor for MetaTrader 5, specifically optimized for Gold (XAUUSD). It uses an exponential moving average to determine the primary market bias and enters trades based on price action rejection wicks following a pullback. The EA prioritizes risk control with automated lot siz

MT5 Trading robot Trend followingNews
Updated 7 months ago MIT GitHub repository of Golden Structure

Gold EA

by ChenyuHeee
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy centered on moving average pullbacks. It utilizes a 200-period EMA for trend direction and a 50-period EMA for entry signals, further filtered by RSI momentum and ADX volatility measures. The EA includes sophisticated trade management features such

MT5 Trading robot Trend following
Updated 7 months ago None stated GitHub repository of Gold EA

Algo Trend Scalper

by umangworkAIML
1 stars

Algo Trend Scalper is an automated trading robot for MetaTrader 5 that executes a trend-following strategy based on moving average crossovers. The expert advisor monitors a fast and slow simple moving average to detect trend shifts, entering long or short positions when a crossover occurs on a confirmed candle close to

MT5 Trading robot Indicator crossoverTrend following
Updated 8 months ago None stated GitHub repository of Algo Trend Scalper

JiAlgo System

by duyng219
1 stars

JiAlgo System is a MetaTrader 5 expert advisor implementing the SonicR trading methodology across various market conditions. The robot uses exponential moving averages, specifically the EMA 34 and EMA 89, to determine trend direction and slope thresholds. It executes trend-following trades on initial pullbacks from new

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 8 months ago None stated GitHub repository of JiAlgo System

Project Chimera

by S44dMas00d
1 stars

Project Chimera is an algorithmic trading robot for MetaTrader 5 that executes trades on XAUUSD. The system employs a modular architecture to synthesize signals from RSI divergence, harmonic patterns, and trend confirmation across multiple timeframes. It utilizes a multi-asset correlation filter monitoring the US Dolla

MT5 Trading robot Trend followingMean reversionMulti-strategy
Updated 9 months ago None stated GitHub repository of Project Chimera

Gaussian Recovery Engine

by iamvishalvasava
1 stars

This MetaTrader 5 expert advisor utilizes statistical normalization and trend filters to execute trades within a grid recovery framework. It identifies entry points using the Fisher Transform for overbought or oversold conditions, filtered by QQE trend alignment and ADX volatility thresholds. When a position moves agai

MT5 Trading robot GridMean reversionTrend following High risk

Gold FX EA

by ajeet-trader
1 stars

Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 9 months ago None stated GitHub repository of Gold FX EA

TrendEngine Core

by Fintor-AI
1 stars

This MetaTrader 5 expert advisor serves as a modular framework and starter template for developing trend-following trading systems. It utilizes a clean architecture to separate signal logic, risk management, and order execution. The included demo logic implements a standard moving average crossover strategy to enter tr

MT5 Framework & template Trend followingIndicator crossover
Updated 9 months ago MIT GitHub repository of TrendEngine Core
1 stars

This high-frequency expert advisor for MetaTrader 5 implements a grid-based strategy using pending stop orders across major forex pairs and gold. It dynamically places buy and sell stops at calculated distances from the current price, adjusting them based on market volatility and spread calculations. The system manages

MT5 Trading robot GridBreakoutTrend following High risk
Updated 9 months ago None stated GitHub repository of High Frequency Grid EA

Breakout FVG Bot

by Covenantmondei
1 stars

This MetaTrader 5 expert advisor implements a breakout strategy combined with Fair Value Gap alignment, primarily optimized for Gold (XAUUSD). It enters trades based on momentum and price range breaks, utilizing ATR-based calculations for dynamic stop loss and take profit levels. The system includes comprehensive risk

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following High risk
Updated 9 months ago None stated GitHub repository of Breakout FVG Bot

RoboTried

by matin0084
1 stars

RoboTried is a MetaTrader 5 expert advisor that trades a three-candle channel pattern filtered by a moving average. It identifies bullish or bearish sequences where three consecutive candles show higher highs/lows or lower highs/lows. The EA places buy or sell limit orders at the previous candle's extremes when the pri

MT5 Trading robot Trend followingBreakout
Updated 10 months ago Custom licence GitHub repository of RoboTried

Experienced FX Trader

by simonokwundue-ops
1 stars

This collection of Expert Advisors for MetaTrader 5 provides high-frequency scalping and multi-strategy automated trading across multiple currency pairs. The robots utilize a signal scoring system based on moving average crossovers, RSI momentum, Bollinger Band breakouts, and MACD signals. The suite includes a dedicate

MT5 Trading robot ScalpingBreakoutIndicator crossover
Updated 10 months ago None stated GitHub repository of Experienced FX Trader
1 stars

This MetaTrader 5 expert advisor collection provides two distinct trading strategies: a fast scalper and a trend follower. The scalping component utilizes a combination of exponential moving average crossovers and Bollinger Bands to identify entry points. It features automated trade management including fixed stop loss

MT5 Collection ScalpingTrend followingIndicator crossover

EA Ak47 Hybrid

by JonusNattapong
1 stars

EA Ak47 Hybrid is a modular scalping expert advisor for MetaTrader 5, specifically optimized for gold markets. It generates signals using the Relative Strength Index filtered by an Exponential Moving Average trend component. The EA includes secondary filters for ATR volatility, MACD momentum, and Stochastic oscillators

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 10 months ago Custom licence GitHub repository of EA Ak47 Hybrid

My Tbots Tesoro Gold

by Okoth-Kuzan
1 stars

My Tbots Tesoro Gold is a MetaTrader 5 expert advisor designed for scalping, primarily targeting XAUUSD on the five-minute timeframe. The robot utilizes a combination of three smoothed moving averages, the Relative Strength Index, and Williams Fractals to execute trend-following entries. Risk controls include fixed lot

MT5 Trading robot ScalpingTrend followingIndicator crossover
Updated 10 months ago None stated GitHub repository of My Tbots Tesoro Gold

ICT CRT Gold System

by Design-Arena-Gens
1 stars

This MetaTrader 5 expert advisor is designed to trade Gold (XAUUSD) by integrating Inner Circle Trader (ICT) concepts with technical indicators. It identifies market structure shifts and order blocks while utilizing EMA crossovers and oscillators for signal confirmation. Risk controls include percentage-based position

MT5 Trading robot SMC / ICT / price actionIndicator crossoverTrend following
Updated 10 months ago None stated GitHub repository of ICT CRT Gold System

Quantum AU

by jarbcs1-prog
1 stars

This automated trading robot for MetaTrader 5 is designed specifically for gold and silver markets. It utilizes an AI-driven approach incorporating quantum state modeling and a chaos filter to identify market entries. The strategy weights inputs from RSI, ADX, and moving averages against an adaptive decision threshold.

MT5 Trading robot AI / machine learningTrend followingMean reversion High risk
Updated 10 months ago None stated GitHub repository of Quantum AU

Accure Dynasty

by wilfredNJH
1 stars

This MetaTrader 5 expert advisor provides a framework for trade execution with a heavy emphasis on risk management and scheduling. It offers multiple methods for calculating trade volume and exits: manual points, percentage of account risk, and ATR-based calculations. The EA includes a partial profit-taking system and

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 10 months ago None stated GitHub repository of Accure Dynasty

Gold Rush 25

by kevoking
1 stars

Gold Rush 25 is a multi-strategy day trading robot for MetaTrader 5. It integrates several trading styles including trend continuation, support/resistance bounces, and session breakouts. The system employs multi-timeframe analysis to coordinate entries across various chart periods. It features institutional-grade risk

MT5 Trading robot Trend followingBreakoutSMC / ICT / price action
Updated 10 months ago None stated GitHub repository of Gold Rush 25

Auto Trend Agent

by KSultonboy
1 stars

This MetaTrader 5 expert advisor is a trend-following robot that identifies market direction using dual Exponential Moving Averages and the Average Directional Index to filter trade strength. It manages exits through dynamic ATR-based stop loss and take profit levels, along with trailing stops and partial closure logic

MT5 Trading robot Trend followingIndicator crossover
Updated 10 months ago None stated GitHub repository of Auto Trend Agent

RSI MA Signal EA

by Kemran25
1 stars

This MetaTrader 5 expert advisor automates a trend-following strategy using a combination of the Relative Strength Index and a Moving Average. It enters trades based on signals from a custom indicator that requires price to be on one side of the moving average while the RSI confirms momentum. The robot executes orders

MT5 Trading robot Trend followingIndicator crossover
Updated 11 months ago None stated GitHub repository of RSI MA Signal EA

Ultimate FX Mafia

by HanyaniJJMarivate28
1 stars

This MetaTrader 5 expert advisor executes trades based on the first valid pullback following a significant ZigZag swing. It incorporates Smart Money Concepts by utilizing Fair Value Gap filters and searching for specific price action patterns. Risk management is comprehensive, featuring percentage-based lot sizing, aut

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 11 months ago None stated GitHub repository of Ultimate FX Mafia

MQ5 Sniper XAUUSD

by HD-muhammad
1 stars

This MetaTrader 5 expert advisor is designed for gold trading using a trend-following approach. It identifies entries through dual Exponential Moving Averages across multiple timeframes, specifically utilizing M5 for entries and H1 for trend confirmation. Risk management is a primary focus, featuring ATR-based stop los

MT5 Trading robot Indicator crossoverTrend following
Updated 11 months ago None stated GitHub repository of MQ5 Sniper XAUUSD

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 day, 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 day. 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