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.

305 EAs match Clear filters
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
2 stars

This Expert Advisor for MetaTrader 5 implements a stop-and-reverse trading strategy using pending stop orders. It places Buy Stop and Sell Stop orders that trail price movements in a single direction to tighten the entry point. Once a position is active, the EA maintains an opposite pending order as a reversal trigger,

MT5 Trading robot BreakoutScalping

Sumting Wong EA

by definitelyfkd
2 stars

This multistrategy expert advisor for MetaTrader 5 combines currency strength analysis, breakout/reversal logic, and swap carry trading. It targets various markets including forex, gold, oil, indices, and crypto. Trade execution involves ATR-based stop losses, multiplier-based take profits, and partial closing mechanis

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Sumting Wong EA

This MetaTrader 5 expert advisor implements a candlestick pattern breakout and mean-reversion strategy. It identifies specific sequences of three candles to determine market entry points. The robot places pending buy stop, sell stop, and buy limit orders at fixed distances from previous price extremes to target liquidi

MT5 Trading robot BreakoutMean reversion

GoldForge ML

by pw4654918-jpg
2 stars

GoldForge ML is a MetaTrader 5 expert advisor specialized for gold trading on the M15 timeframe using a machine learning ensemble. It combines CatBoost, XGBoost, and LightGBM models via ONNX with Smart Money Concepts such as liquidity sweeps and order blocks. The EA manages risk through ATR-based stop losses, trailing

MT5 Trading robot AI / machine learningSMC / ICT / price actionTrend following
Updated 5 months ago None stated GitHub repository of GoldForge ML

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
2 stars

This Expert Advisor for MetaTrader 5 executes an Opening Range Breakout strategy enhanced with a daily trend filter. It identifies the high and low price levels during a specific market session opening, defined by the user. The robot enters trades when price breaks out of this range, but only if the direction matches t

MT5 Trading robot BreakoutTrend following
Updated 10 months ago None stated GitHub repository of ORB Daily Bias EA

Trading MT5 Craft

by grecoandre96
2 stars

This collection for MetaTrader 5 features a suite of tools focused on drawdown protection and price action strategies. The primary risk management utility monitors account equity and balance, allowing users to set maximum loss thresholds in either percentage or fixed currency amounts. It can automatically block trading

MT5 Collection Breakout
Updated 10 months ago None stated GitHub repository of Trading MT5 Craft

Tokyo Box

by polcad
2 stars

This expert advisor for MetaTrader 5 automates trading strategies based on the Asian session price range. It calculates the high and low of a defined Asian session and executes breakout or range-reversion trades during the US session. The robot includes automated risk management features such as lot sizing, stop loss a

MT5 Trading robot BreakoutMean reversion
Updated 10 months ago None stated GitHub repository of Tokyo Box

MQ Autonomous High Break

by lordgaruda
2 stars

MQ Autonomous is a momentum breakout expert advisor for MetaTrader 4 and MetaTrader 5. It scans multiple assets simultaneously for significant daily price movements exceeding a specified percentage. Once a threshold is met, the system seeks entries based on price breaking recent highs or lows, supported by a volume ave

MT4MT5 Trading robot BreakoutMulti-strategy
Updated 11 months ago None stated GitHub repository of MQ Autonomous High Break

MQL5 Article Collection

by mhassanhub
2 stars

This repository serves as an extensive educational resource for MetaTrader 5, containing a wide variety of Expert Advisors and indicators based on a series of MQL5 development articles. It includes robots utilizing technical indicators such as RSI, MACD, Ichimoku, and Bollinger Bands. The collection features tools for

MT5 Collection Indicator crossoverMean reversionBreakout
Updated 12 months ago None stated GitHub repository of MQL5 Article Collection
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover
2 stars

This MetaTrader 5 expert advisor combines technical indicators with price action to automate trading decisions. It incorporates five individual strategies including EMA crossovers, candlestick engulfing patterns, and support or resistance breakouts. The system is specifically calibrated for the 30-minute timeframe and

MT5 Trading robot Indicator crossoverBreakoutMean reversion

This repository features a collection of MetaTrader 5 expert advisors designed for automated trading across various market conditions. The included tools range from grid-based systems like Mecha-Godzilla to range-reversion and breakout strategies. The expert advisors offer modular risk management, including daily loss

MT5 Collection GridMean reversionBreakout High risk

EURUSD Surge EA

by Masa1984a
2 stars

This MetaTrader 4 expert advisor is designed specifically for the EURUSD pair, focusing on price surge detection and subsequent pullback entries. It identifies significant volatility using ATR and candlestick body ratios, entering trades during correction phases. The robot incorporates multi-timeframe analysis across M

MT4 Trading robot Trend followingBreakoutMean reversion

LSF X Engine

by dhruuvsharma
2 stars

LSF X Engine is a MetaTrader 5 expert advisor designed for momentum-based trading through mathematical price smoothing. It utilizes a Kalman filter to reduce market noise and calculates the Least Squares Fitting slope to identify the prevailing trend direction. The strategy triggers entries during high-velocity price b

MT5 Trading robot Trend followingBreakout
Updated 1 year ago CC0-1.0 GitHub repository of LSF X Engine

NY 9AM Breakout Bot

by SouleEater99
2 stars

This MetaTrader 5 expert advisor automates a breakout strategy based on the high and low price levels of a 4-hour candle. It places limit orders at these boundaries, specifically timed for the New York 9 AM market open to capture volatility. The bot features dynamic adjustments for Daylight Saving Time and broker serve

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of NY 9AM Breakout Bot

Price Action EA

by Far-1d
2 stars

This MetaTrader 5 expert advisor automates a multi-timeframe price action strategy, identifying price extremes on a higher timeframe to seek entries on a lower timeframe. It features time-of-day filters and robust risk management, including percentage-based position sizing, maximum daily trade counts, and daily profit

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of Price Action EA

Walking Up The Bands

by techteam92
2 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on Bollinger Bands. It initiates long positions when price breaks above the upper band during periods of high volatility, attempting to ride extended uptrends. The strategy closes or reverses positions when price breaks below the lower band. A

MT5 Trading robot Trend followingBreakout

RSI Bands Breaker

by visualxl
2 stars

This MetaTrader 4 expert advisor implements a breakout strategy using Bollinger Bands, the Relative Strength Index (RSI), and a Simple Moving Average (SMA). Optimized for AUD/JPY, it identifies periods of low volatility through a Bollinger Band squeeze before entering trades on a price breakout confirmed by RSI momentu

MT4 Trading robot BreakoutTrend following
Updated 2 years ago None stated GitHub repository of RSI Bands Breaker

This repository is a collection of various MetaTrader 5 expert advisors generated through the Mission Automate tool. It contains over 100 separate files covering a wide array of technical strategies, including range breakouts, trend-following systems, and indicator crossovers using Ichimoku, CCI, and Heiken Ashi. Sever

MT5 Collection BreakoutMartingaleTrend following High risk

FaSt EA

by Hohlas
2 stars

FaSt is an automated trading robot for MetaTrader 4 that determines entries based on price extremes and trend direction indicators. The system employs Average True Range (ATR) to calculate dynamic stop loss and take profit levels, ensuring volatility-adjusted risk control. It includes multiple signal filters, trailing

MT4 Trading robot Trend followingBreakout
Updated 3 years ago None stated GitHub repository of FaSt EA
2 stars

This MetaTrader 5 expert advisor automates the placement of buy market and buy stop orders. When no positions are active, the robot enters the market and sets a pending buy stop order based on configurable distance parameters. It features a continuous trailing stop mechanism that tracks price movements without a minimu

MT5 Trading robot Trend followingBreakout
Updated 3 years ago None stated GitHub repository of Buy Order Trail Stop MT5

This MetaTrader 5 expert advisor automates trading strategies based on support and resistance levels. The software identifies price pivot points and monitors price action relative to these boundaries to determine entry signals. It references technical indicators, specifically the Relative Strength Index and Bollinger B

MT5 Trading robot Mean reversionBreakout

YT Forex Bots Collection

by wamaithaNyamu
2 stars

This repository provides a collection of MetaTrader 5 expert advisors designed to automate strategies discussed on the author's YouTube channel. The scripts primarily target synthetic indices such as Boom and Crash. The logic involves monitoring price spikes and technical indicators including ATR, RSI, and Moving Avera

MT5 Collection Mean reversionBreakout

OCO Part 1

by OrchardForexTutorials
2 stars

OCO Part 1 is an educational expert advisor for MetaTrader 5 that implements a One-Cancels-the-Other (OCO) trading mechanism. The robot places pairs of pending Buy Stop and Sell Stop orders at a fixed distance from the current market price. Once one order in the pair is triggered or deleted, the EA automatically cancel

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of OCO Part 1

HFT V1

by mojtaba-abedini
2 stars

HFT V1 is a MetaTrader 4 expert advisor designed to execute trades based on historical data analysis. The robot calculates dynamic price levels, including mid-lines and breath levels, by evaluating a minimum threshold of previous account history. It manages risk through fixed stop loss and take profit settings, with lo

MT4 Trading robot Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of HFT V1

Bot Trend Line

by thanhntt89
2 stars

Bot Trend Line is an automated trading tool for MetaTrader 4 that executes orders based on price interactions with trendlines. The expert advisor monitors lines to trigger market or pending orders when specific price conditions are met. It manages risk through a fixed risk-per-deal setting and includes account-level sa

MT4 Trading robot BreakoutSMC / ICT / price action
Updated 4 years ago None stated GitHub repository of Bot Trend Line
2 stars

This MetaTrader 5 tool provides a semi-automatic interface for executing trades based on manual chart analysis. Users can configure trendlines and horizontal lines to trigger buy or sell orders upon price touch, breakout, or retest. The EA includes a graphical user interface to manage lot sizes and provides draggable o

MT5 Utility Breakout
Updated 4 years ago None stated GitHub repository of MT5 Line Trading EA

Donchian Channel Bot

by amirsafaricg
2 stars

This MetaTrader 4 expert advisor executes a trend-following strategy based on a 20-period Donchian Channel and a 200-period Exponential Moving Average. It enters long positions when price breaks above the 20-candle high while staying above the EMA 200, and short positions when price falls below the 20-candle low while

MT4 Trading robot Trend followingBreakout
Updated 4 years ago None stated GitHub repository of Donchian Channel Bot
2 stars

This repository contains a collection of MetaTrader 4 expert advisors, with a primary focus on the XMT-Scalper system. The software implements a tick-scalping strategy that identifies reversals from channel breakouts using indicators such as Bollinger Bands and Moving Averages. It includes risk management features incl

MT4 Collection ScalpingBreakoutMean reversion High risk
Updated 5 years ago None stated GitHub repository of XMT Scalper Collection

Allin Breakout MT4

by 4Bet-Allin
2 stars

This MetaTrader 4 expert advisor executes a breakout strategy based on price extremes established during specific trading hours. It identifies the high and low levels from recent hourly candles and enters positions when price breaches these thresholds. The EA includes automated risk management features such as dynamic

MT4 Trading robot Breakout
Updated 5 years ago None stated GitHub repository of Allin Breakout MT4
2 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 tools, including automated trading robots and technical utilities. The primary expert advisor features a hybrid system that supports both straddle and fade execution modes. It provides built-in risk management via stop loss, take profit, trailing st

MT4MT5 Collection BreakoutMean reversionMulti-strategy

ATR Breakout EA

by MarkyMark1000
2 stars

This MetaTrader 4 expert advisor executes trades based on Average True Range volatility patterns. It identifies breakout opportunities by comparing current ATR levels against the previous day's peak and trough, targeting periods of increasing volatility at the start of the trading session. The robot places pending limi

MT4 Trading robot Breakout
Updated 6 years ago None stated GitHub repository of ATR Breakout EA
2 stars

A collection of MetaTrader 4 expert advisors designed for trend-following strategies. The primary logic uses Donchian Channel breakouts with configurable periods for entries and exits. It features robust risk management, including percentage-based lot sizing and volatility-based stop loss and take profit levels calcula

MT4 Collection Trend followingBreakout
Updated 6 years ago None stated GitHub repository of Simple Trend EA Collection

Ichimoku EA

by anwarminarso
2 stars

This MetaTrader 4 expert advisor executes trades based on the Ichimoku Kinko Hyo indicator. It incorporates four distinct trading methods: the Ideal Strategy, Tenkan-Kijun-Chikou crossing, Kumo breakout, and Chikou Span crossing. The robot manages risk through fixed stop loss and take profit levels, a maximum trade lim

MT4 Trading robot Trend followingBreakoutIndicator crossover
Updated 6 years ago None stated GitHub repository of Ichimoku EA

Forex Factory News Scraper

by NathanaelPeters
2 stars

This MetaTrader 5 expert advisor automates news trading by integrating with an external Python web scraper. The Python component extracts economic calendar data from Forex Factory and saves it to a local file, which the EA monitors in real-time. Minutes before scheduled news events, the bot executes a straddle strategy

MT5 News trading NewsBreakoutHedging
Updated 6 years ago None stated GitHub repository of Forex Factory News Scraper
2 stars

This MetaTrader 4 expert advisor collection includes two distinct robots designed for trend-following and trend-breakout strategies. The system utilizes technical indicators such as Moving Averages and Bollinger Bands to identify market entry points and monitor price action. It features hardcoded logic for managing tra

MT4 Collection Trend followingBreakout
Updated 7 years ago None stated GitHub repository of Auto Trade Trend Keep
2 stars

This MetaTrader 4 repository contains a collection of trading tools and expert advisors, primarily focused on the PATI Trading Assistant. The software functions as a trade manager that supports semi-automated entries by drawing range lines and placing pending orders. It includes risk controls such as customizable stop

MT4 Collection BreakoutMartingale High risk
Updated 8 years ago None stated GitHub repository of PATI Trading Assistant

Period Ranging Pro

by lingao90
2 stars

A MetaTrader 4 expert advisor collection primarily focused on range breakout and BBMA strategies. The breakout EA identifies price ranges within a specific time window, executing trades based on price movement outside these boundaries. It includes risk management features such as stop loss, take profit with step-based

MT4 Collection BreakoutMulti-strategy
Updated 8 years ago None stated GitHub repository of Period Ranging Pro

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

ATR Session EA

by dsinnig
2 stars

ATR Session EA is an automated trading robot for MetaTrader 4 that utilizes session-based logic and the Average True Range indicator. The software monitors market activity through a session factory, identifying potential entries based on price thresholds for higher highs and lower lows. It employs a structured trade ma

MT4 Trading robot BreakoutTrend following
Updated 11 years ago None stated GitHub repository of ATR Session EA

Xau Cloud AI Sniper

by Lamarrsdrip
1 stars

Xau Cloud AI Sniper is an automated trading robot for MetaTrader 5 designed for gold trading. It utilizes a multi-layered entry pipeline involving a pattern engine, breakout detection, and trend alignment, often synchronized with external cloud-based market outlooks. The system features an AI-filter mode to validate tr

MT5 Collection BreakoutTrend followingMean reversion High risk
Updated yesterday None stated GitHub repository of Xau Cloud AI Sniper

BotTrade ML

by soemsri
1 stars

This MetaTrader 5 expert advisor collection focuses on machine learning strategies, specifically Lorentzian Classification and Nadaraya-Watson Kernel Regression. It is primarily designed for trading gold on the H4 timeframe but offers configurable parameters for broader market use. The system supports both mean-reversi

MT5 Collection AI / machine learningMean reversionBreakout High risk
Updated 2 days ago MIT GitHub repository of BotTrade ML

MT5 AI EA

by aminazhar
1 stars

This MetaTrader 5 expert advisor is a component of the MT5-AI ecosystem, designed to interface with Python gateways and Telegram signals. The robot processes external signals to identify specific candle patterns and automatically plot Fibonacci retracement levels on the chart. It features multiple operational modes inc

MT5 Trading robot BreakoutSMC / ICT / price action
Updated 3 days ago None stated GitHub repository of MT5 AI EA

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

RRZ Market Structure Expert

by mostafa18181
1 stars

This MetaTrader 5 expert advisor automates trade entries based on price action and Smart Money Concepts. It monitors for liquidity sweeps followed by market structure shifts and retests of Fair Value Gaps or Order Blocks. The system manages risk using fixed risk-to-reward ratios, stop loss buffers, and time-based exits

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 10 days ago None stated GitHub repository of RRZ Market Structure Expert
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

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