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.

548 EAs match Clear filters

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

SMC FVG EA

by trenddaytrader
1 stars

This MetaTrader 5 expert advisor automates trading strategies based on Smart Money Concepts (SMC), specifically focusing on Fair Value Gaps (FVG) and Order Blocks. The robot identifies market structure using swing highs and lows, rejection blocks, and a Simple Moving Average filter. Positions are managed through fixed

MT5 Trading robot SMC / ICT / price action
Updated 7 months ago None stated GitHub repository of SMC FVG EA

Gold Dual Engine Scalper

by MithunCyDev
1 stars

Gold Dual Engine Scalper is an MT5 expert advisor designed for XAUUSD trading. It utilizes a regime-based state machine to navigate market conditions, employing two distinct engines: one for volatility burst continuations and another for liquidity sweep reversals. The EA monitors for price compression and market exhaus

MT5 Trading robot ScalpingBreakoutSMC / ICT / price action

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

XAU Hedge Strategy

by mraicodedev
1 stars

This MetaTrader 5 expert advisor executes a coordinated hedging strategy across two separate accounts for XAUUSD. By running one instance as a buyer and another as a seller, the system coordinates simultaneous opposing entries. The two instances communicate status and synchronization via shared local files. It manages

MT5 Trading robot Hedging
Updated 7 months ago Custom licence GitHub repository of XAU Hedge Strategy

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

MT5 Strategies Collection

by vincentwongso
1 stars

This repository provides a collection of expert advisors for MetaTrader 5, featuring various technical strategies. The primary implementation is the Trading Made Simple system, which utilizes Hull Moving Average crossovers, Heiken Ashi candles, and Stochastic filters to identify entry signals. Other included robots foc

MT5 Collection Indicator crossoverBreakoutScalping
Updated 7 months ago None stated GitHub repository of MT5 Strategies Collection

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

Dejavu EA

by MarxMad
1 stars

Dejavu EA is a grid trading robot for MetaTrader 5 that automates trade entry using a system of pending orders. It supports buy and sell stops and limits, organized in configurable increments. The strategy includes a dynamic take profit mechanism relative to grid spacing, trailing stops, and ATR-calculated stop losses.

MT5 Trading robot GridHedging High risk
Updated 7 months ago None stated GitHub repository of Dejavu EA

NY Breakout Bot

by colmanserafin-hub
1 stars

This Expert Advisor for MetaTrader 5 automates a breakout strategy focused on the New York session opening range. It targets XAUUSD (Gold), identifying the high and low of the initial session candle to set entry levels. The robot includes risk management features such as equity-based lot sizing, a maximum daily trade l

MT5 Trading robot Breakout
Updated 7 months ago None stated GitHub repository of NY Breakout Bot

MT5 Docker JsonAPI

by Martingale42
1 stars

MT5 Docker JsonAPI is a connectivity bridge that integrates MetaTrader 5 with external environments via a multi-socket ZeroMQ architecture. It enables real-time price streaming, trade execution, and account management from external platforms like Python. The solution is packaged in a Docker container, providing remote

MT5 Collection Grid High risk
Updated 7 months ago None stated GitHub repository of MT5 Docker JsonAPI

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

Moises Risk Manager

by soulcore-dev
1 stars

Moises Risk Manager is a risk management framework and expert advisor for MetaTrader 5. It offers automated lot sizing through fixed volumes, balance or equity percentage risk, and the Paroli positive progression system. The tool includes a persistence engine that saves trade states to global variables and CSV files, e

MT5 Risk & protection Indicator crossover
Updated 8 months ago None stated GitHub repository of Moises Risk Manager

BB Gold Scalper

by youngboiiii
1 stars

This Expert Advisor for MetaTrader 5 implements a mean-reversion strategy focused on XAUUSD (Gold) using the M15 timeframe. It identifies entries when the price bounces back inside Bollinger Bands after a touch or breakout. The robot manages trades using a high reward-to-risk ratio, featuring a fixed dollar-based risk

MT5 Trading robot Mean reversionScalping
Updated 8 months ago Custom licence GitHub repository of BB Gold Scalper

ONNX Trading Models

by jsgaston
1 stars

This MetaTrader 5 expert advisor utilizes machine learning via ONNX (Open Neural Network Exchange) models to predict price movements. The system includes specialized versions for major currency pairs including AUDUSD, EURUSD, GBPUSD, and USDCHF. It employs an automated entry logic based on predicted price direction. Ri

MT5 Trading robot AI / machine learning
Updated 8 months ago None stated GitHub repository of ONNX Trading Models

This repository provides a collection of MetaTrader 5 Expert Advisors, featuring the Milyoner AI Project and Titanium Omega series. The primary EA uses an AI-weighted scoring engine to combine technical indicators like adaptive moving averages with price action analysis, including candle patterns and Smart Money Concep

MT5 Collection ScalpingSMC / ICT / price actionGrid High risk

2026 Trading Bot

by tan235
1 stars

2026 Trading Bot is an automated expert advisor for MetaTrader 5 that focuses on price reversals using RSI divergence and pivot point levels. The robot monitors price action for bullish or bearish divergence patterns to identify entry signals near calculated support and resistance zones. It includes risk management set

MT5 Trading robot Mean reversion
Updated 8 months ago None stated GitHub repository of 2026 Trading Bot

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

This repository is a collection of experimental MetaTrader 5 trading systems focused on price action and technical indicators. The primary expert advisor utilizes Fair Value Gaps to identify entries, incorporating multi-timeframe analysis. It manages risk through percentage-based lot sizing, daily loss limits, and auto

MT5 Collection SMC / ICT / price actionMulti-strategy
Updated 8 months ago None stated GitHub repository of Systematic Trading Lab MT5

Simple RSI MT5 Bot

by willyweyru-maker
1 stars

Simple RSI MT5 Bot is an automated trading script for MetaTrader 5 that utilizes the Relative Strength Index to enter trades. The robot follows a mean-reversion approach, executing buy orders when the RSI falls below a defined oversold level and sell orders when it rises above an overbought threshold. It operates with

MT5 Trading robot Mean reversion
Updated 8 months ago None stated GitHub repository of Simple RSI MT5 Bot

Sliding Window MT5

by dhruuvsharma
1 stars

This MetaTrader 5 expert advisor identifies scalping opportunities by analyzing candle data within a sliding window. It utilizes dynamic delta thresholds calculated through rolling means and Median Absolute Deviation (MAD) for both tick and volume data. Users can configure specific multipliers and minimum absolute thre

MT5 Trading robot Scalping

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

Backtester EA

by saundersconsult
1 stars

Backtester EA is a validation tool for MetaTrader 5 designed to test specific trading signals within the Strategy Tester. Users can input exact entry, stop loss, and take profit prices, along with a precise timestamp down to the second. The expert advisor handles timezone offsets by automatically converting signal time

MT5 Utility
Updated 8 months ago None stated GitHub repository of Backtester EA
1 stars

This repository is a diverse collection of MetaTrader 5 expert advisors and utilities, ranging from automated trading robots to advanced risk management frameworks. The central tools focus on sophisticated risk control, implementing Value at Risk (VaR) calculations, equity-based stop loss and take profit protection, an

MT5 Collection Multi-strategyIndicator crossoverGrid High risk

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

Mql5 EA Framework

by mounir-22
1 stars

This MetaTrader 5 expert advisor acts as a modular framework for algorithmic trading using object-oriented principles. It includes a functional strategy that enters trades based on RSI levels and Moving Average crossovers. The system manages exits through automated stop loss, take profit, break-even adjustments, and tr

MT5 Framework & template Indicator crossover
Updated 9 months ago MIT GitHub repository of Mql5 EA Framework

Swap Arbitrage Bridge

by fsitter42
1 stars

Swap Arbitrage Bridge is a MetaTrader 5 utility designed to export market data to an external Python environment for arbitrage analysis. It collects information on tradable symbols, specifically focusing on Forex majors and precious metals like gold and silver. The tool sends formatted JSON status updates at defined in

MT5 Copier & bridge Arbitrage
Updated 9 months ago None stated GitHub repository of Swap Arbitrage Bridge
1 stars

This MetaTrader 5 utility functions as a performance auditing dashboard for managing multiple algorithmic trading strategies simultaneously. It monitors and calculates institutional-grade metrics such as Profit Factor, Win Rate, and Risk/Reward ratios. The tool automatically detects strategy names by filtering broker l

MT5 Utility

Breakout Scalper

by TBS-Bettaieb
1 stars

This MetaTrader 5 expert advisor executes a breakout scalping strategy, primarily designed for major currency pairs like EURUSD and GBPUSD on the M5 timeframe. It identifies trading opportunities using swing detection over a specific number of bars and places pending stop orders at calculated distances. The EA includes

MT5 Trading robot BreakoutScalping
Updated 9 months ago None stated GitHub repository of Breakout Scalper

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

MQL5 EA CI/CD Template

by Garrick852
1 stars

MQL5 EA CI/CD Template is a development framework for MetaTrader 5 designed to automate the lifecycle of Expert Advisors. It implements modern software engineering practices through continuous integration and deployment pipelines using GitHub Actions. The system includes tools for automated unit testing, static code an

MT5 Framework & template Indicator crossover
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

Mushashi Murphy EA

by dammajid
1 stars

Mushashi Murphy EA is an automated trading robot for MetaTrader 5 that utilizes Smart Money Concepts to identify entries via Order Blocks and Fair Value Gaps. The system validates signals using a volume-ratio filter and operates within specific UTC time windows. Risk management features include percentage-based lot siz

MT5 Trading robot SMC / ICT / price action
Updated 9 months ago None stated GitHub repository of Mushashi Murphy 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

XAGUSD Trailing TP SL

by flowmar47
1 stars

This MetaTrader 5 expert advisor manages manual silver (XAGUSD) positions by applying and dynamically trailing protection levels. It automatically adds initial stop loss and take profit orders to existing trades that lack them. The manager features a sophisticated trailing stop loss and a trailing take profit mechanism

MT5 Trade manager
Updated 10 months ago None stated GitHub repository of XAGUSD Trailing TP SL

Hosopi3 Tanpoji

by harukihosono
1 stars

Hosopi3 Tanpoji is a single-position trading robot for MetaTrader 4 and MetaTrader 5, specifically developed to avoid martingale and averaging techniques. It triggers entries using various built-in technical indicators such as Moving Averages, RSI, Bollinger Bands, and Stochastics, or through external custom indicator

MT4MT5 Trading robot Indicator crossoverMean reversionMulti-strategy
Updated 10 months ago None stated GitHub repository of Hosopi3 Tanpoji

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

Gotobi Basic EA

by harukihosono
1 stars

Gotobi Basic EA is a trading robot for MetaTrader 4 and MetaTrader 5 designed to exploit the Japanese Gotobi anomaly. It targets days divisible by five, when demand for the US Dollar typically increases among Japanese firms for settlement. The EA enters a long position at the market open, closes it at the 9:55 AM Nakan

MT4MT5 Trading robot News
Updated 10 months ago None stated GitHub repository of Gotobi Basic EA
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

Hosopi 2

by harukihosono
1 stars

Hosopi 2 is an automated trading robot for MetaTrader 4 and 5 that utilizes a mean-reversion strategy based on Bollinger Bands. The system enters counter-trend trades when price hits the bands and manages positions using a Nanpin martingale approach, layering orders at intervals to average down. Risk controls include t

MT4MT5 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 months ago None stated GitHub repository of Hosopi 2
1 stars

Smartom Trade Assistant is a management utility for MetaTrader 5 that facilitates manual trade execution and position monitoring. It calculates appropriate lot sizes based on user-defined risk percentages and utilizes on-chart lines for setting entry prices, stop losses, and take profit targets. The assistant includes

MT5 Trade manager Martingale High risk
Updated 10 months ago None stated GitHub repository of Smartom Trade Assistant

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

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