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.

237 EAs match Clear filters

This repository contains a collection of eight quantitative trading strategies implemented for MetaTrader 5. The core Rubber Band strategy uses custom volatility bands derived from a five-day range to identify mean-reversion opportunities. It enters trades when price deviates significantly from recent highs or lows and

MT5 Collection Mean reversionBreakoutMulti-strategy
1 stars

This repository contains a collection of MetaTrader 5 expert advisors created to test various trading concepts. The included bots trade diverse markets, utilizing indicators like moving averages, Bollinger Bands, Stochastic, and VWAP. The primary highlighted expert advisor executes trend-following trades on gold using

MT5 Collection Trend followingBreakoutScalping
Updated 2 years ago None stated GitHub repository of MQL5 Bots Collection

Trading Dong

by wesrambi
1 stars

Trading Dong is an automated MetaTrader 4 expert advisor developed as an academic capstone project. It analyzes market prices and executes trades based on a combination of three methodologies: Dominant Break, Supply and Demand zones, and Support and Resistance levels. The system includes visual indicators for drawing a

MT4 Trading robot SMC / ICT / price actionBreakout
Updated 2 years ago None stated GitHub repository of Trading Dong

Trading Forex Bot

by LegionAtol
1 stars

This MetaTrader 4 expert advisor executes trades based on a price-action strategy involving dynamic horizontal bands. The bot identifies entries by tracking price interactions with median levels and subsequent breakouts of upper or lower band boundaries, filtered by RSI indicator readings. It features automated risk ma

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Trading Forex Bot

Gold Orb

by KingTiger0930
1 stars

Gold Orb is an automated trading robot for MetaTrader 5, specifically designed for XAUUSD on the H1 timeframe. It utilizes an Open Range Breakout strategy, calculating a price range based on the first candle of the trading day and waiting for a specific number of consolidation candles before identifying breakout signal

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Gold Orb
1 stars

Ichimoku Ultimate Scanner EA is a MetaTrader 5 robot designed to monitor multiple financial instruments using the Ichimoku Kinko Hyo indicator. It scans all symbols within the Market Watch window to detect specific technical conditions, including price breakouts from the Kumo cloud and Chikou span confirmations. The sy

MT5 Collection Trend followingBreakoutIndicator crossover

Trading Dong HKI

by wesrambi
1 stars

This MetaTrader 4 expert advisor automates trading using a combination of support and resistance levels, Fibonacci retracements, and Marubozu candlestick patterns. It calculates and visualizes pivot points, support zones, and resistance zones across daily, weekly, and monthly timeframes. The robot identifies entries ba

MT4 Trading robot SMC / ICT / price actionBreakout
Updated 3 years ago None stated GitHub repository of Trading Dong HKI

Scalping EA

by DeathG7n
1 stars

This expert advisor for MetaTrader 5 implements a scalping strategy using a combination of trend and momentum indicators. It determines trend direction via three Smoothed Moving Averages (21, 50, and 200 periods) and uses the Relative Strength Index (RSI) as a filter. Entries are triggered by price breakouts of Fractal

MT5 Trading robot Trend followingScalpingBreakout
Updated 3 years ago None stated GitHub repository of Scalping EA

Walking Up The Bands

by Andre-Luis-Lopes-da-Silva
1 stars

Walking Up The Bands is a trend-following expert advisor for MetaTrader 5 based on Bollinger Bands volatility breakouts. The robot enters long positions when the price moves above the upper band, attempting to capture the duration of an uptrend. Positions are closed when the price exits via the lower band. It includes

MT5 Trading robot Trend followingBreakout

Athu Robot

by smithbsb
1 stars

Athu Robot is a MetaTrader 5 expert advisor designed for breakout trading during market opening hours, specifically targeting the Brazilian B3 or US sessions. The EA initializes its logic at 9:00 AM and places pending buy and sell orders at 10:00 AM to capture volatility spikes at the session start. It features integra

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Athu Robot

Trading Central Robot

by jeremethods
1 stars

Trading Central Robot is a MetaTrader 4 expert advisor designed to automate trades based on technical levels, likely sourced from external analysis tools. The EA scans chart objects to identify pivot, support, and resistance points. When new levels are detected, it enters a trade in the identified direction with a fixe

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Trading Central Robot

Trading Algo Builder

by pepshirley
1 stars

Trading Algo Builder is a MetaTrader 4 expert advisor designed to help traders construct automated strategies without manual coding. It features a modular system where users can combine up to four different indicator signals, supporting both built-in MetaTrader indicators and custom external files. Signal logic include

MT4 Trading robot Indicator crossoverBreakoutMean reversion

Orchard OCO System

by OrchardForexTutorials
1 stars

This MetaTrader 4 expert advisor implements a One-Cancels-the-Other (OCO) order management system, primarily developed for educational purposes. The robot automatically places pairs of pending buy stop and sell stop orders at a user-defined distance from the current market price once per bar. When the logic detects tha

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Orchard OCO System

Fibonacci Expert

by ismail505
1 stars

Fibonacci Expert is a MetaTrader 5 robot that calculates Fibonacci levels using price extremes from a user-defined timeframe. It automatically places various pending orders, including buy stops, sell stops, buy limits, and sell limits, at specified intervals relative to these levels. The EA manages risk through individ

MT5 Trading robot BreakoutMean reversionHedging
Updated 3 years ago None stated GitHub repository of Fibonacci Expert
1 stars

This MetaTrader 4 expert advisor is designed to trade high-impact fundamental events such as NFP and CPI releases. It features a manual on-chart button that, when clicked, prepares logic for a price breakout. The EA tracks pending orders and is programmed to cancel the opposing side once a buy stop or sell stop is trig

MT4 News trading NewsBreakout
Updated 3 years ago None stated GitHub repository of Fundamentals News Trader

Autotrader Bot

by PaulEggo
1 stars

This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies specific crossover events, such as price moving above the upper band or below the lower band, to trigger trade logic. The system monitors candle closes relative to these volatility bands and tracks individua

MT5 Trading robot Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of Autotrader Bot

Investment EA Collection

by MohammadMahdiOmid
1 stars

This repository provides a collection of MetaTrader 4 expert advisors designed for forex and digital markets. The primary expert advisor implements a breakout strategy by placing buy and sell stop orders at a specific distance from the previous day's high and low prices. It includes automated trade management features

MT4 Collection BreakoutIndicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Investment EA Collection
1 stars

This collection of MetaTrader 5 expert advisors is designed to trade Boom and Crash synthetic indices. The robots utilize RSI indicator logic and basic price action candle checks to identify and capture rapid price spikes. The tools feature automated trade execution with a focus on capturing momentum. Risk management i

MT5 Collection BreakoutMean reversion
Updated 5 years ago None stated GitHub repository of Boom and Crash Smart Trader

London Breakout EA

by anhpnh
1 stars

This MetaTrader 4 robot automates a breakout strategy focused on the London and New York trading sessions. It identifies price ranges over a set number of bars and executes trades when price breaks above or below these levels. The EA includes an Exponential Moving Average filter to align trades with the prevailing tren

MT4 Trading robot BreakoutTrend following
Updated 5 years ago None stated GitHub repository of London Breakout EA
1 stars

This MetaTrader 4 expert advisor automates an inside bar momentum strategy based on price action patterns. It identifies dual candlestick formations where the second bar's range is entirely contained within the high and low of the mother bar. The robot monitors the four-hour timeframe to detect volatility contractions

MT4 Trading robot BreakoutTrend following

Inside Inside Out EA

by smzimelaJHB
1 stars

This MetaTrader 5 expert advisor executes trades based on a strategy involving nested Bollinger Bands and a 200-period moving average filter. The robot monitors price action relative to two sets of volatility bands with differing standard deviations to identify breakout opportunities. It enters positions when a specifi

MT5 Trading robot Trend followingBreakout
Updated 5 years ago None stated GitHub repository of Inside Inside Out EA

Algotrader Germany Samples

by algotrader-germany
1 stars

This repository provides sample Expert Advisors for MetaTrader 4 and 5, focusing on a Donchian Channel breakout system. The robot identifies entries based on price breaking through the highest high or lowest low of a defined lookback period. Risk management is handled through percentage-based stop losses, take profits,

MT4MT5 Collection BreakoutTrend following
Updated 5 years ago None stated GitHub repository of Algotrader Germany Samples
1 stars

Xurya Algorithmic Trading is a collection of MetaTrader 4 expert advisors centered on breakout strategies and volatility analysis. The primary EA uses a breakout mechanism with entries filtered by price action across a defined number of bars. It features risk controls including fixed percentage lot sizing based on acco

MT4 Collection BreakoutHedging
Updated 6 years ago None stated GitHub repository of Xurya Algorithmic Trading

Inside Bar Momentum

by Martian4x
1 stars

Inside Bar Momentum is a MetaTrader 4 expert advisor that identifies and trades candlestick breakout patterns. The robot scans for inside bar formations, where a candle is completely contained within the previous candle's price range. It uses a stochastic oscillator to filter momentum, requiring specific overbought or

MT4 Trading robot BreakoutMean reversion
Updated 6 years ago None stated GitHub repository of Inside Bar Momentum

Ndow Forex

by ndow33
1 stars

Ndow Forex is a MetaTrader 5 expert advisor that uses price action from a specific lookback period to determine trade boundaries. It scans a defined number of historical candles to identify the highest and lowest price points. Based on this range, which the developer calls the chasm, the EA calculates stop loss and tak

MT5 Trading robot Breakout
Updated 6 years ago None stated GitHub repository of Ndow Forex
1 stars

This MetaTrader 5 repository provides a collection of Expert Advisors based on the educational material from Andrew Young. It includes several distinct strategies such as RSI and Bollinger Band counter-trend systems, moving average crossovers, and breakout trading with pending orders. Each EA includes standard risk man

MT5 Collection Mean reversionIndicator crossoverBreakout
Updated 6 years ago None stated GitHub repository of Mql5 Book EA Collection

Break Time UJ

by robinoud
1 stars

Break Time UJ is a MetaTrader 4 expert advisor that automates a breakout strategy triggered at a specific time of day. It identifies support and resistance levels using the BreakOut PANCA EAGLE custom indicator and applies a 60-period Exponential Moving Average as a trend filter. The EA manages risk through a trailing

MT4 Trading robot BreakoutTrend following
Updated 6 years ago None stated GitHub repository of Break Time UJ

DaFinantial MT4 Collection

by DanielAlbino
1 stars

This repository is a collection of MetaTrader 4 expert advisors and study scripts focused on technical analysis and automated execution. It includes modules for identifying support and resistance levels, templates for news-based trading, and tools for drawing visual objects based on price extremes. The projects serve a

MT4 Collection BreakoutNewsMean reversion
1 stars

Tao Stock Simple Arrow is a MetaTrader 4 expert advisor that serves as a visual signal generator for price breakouts. The program identifies the highest and lowest price levels within the most recent 100 candles. If the current price breaks these established boundaries, it places buy or sell arrow objects directly on t

MT4 Utility Breakout
Updated 7 years ago None stated GitHub repository of Tao Stock Simple Arrow

TFEX Competition 555

by assazzin
1 stars

This MetaTrader 4 expert advisor is an automated trading robot developed for a 2019 trading competition. It executes trades based on a price range breakout strategy, calculating entry levels from the high and low values of previous candles. The algorithm filters entries using a 10-period Exponential Moving Average and

MT4 Trading robot Trend followingBreakout
Updated 7 years ago None stated GitHub repository of TFEX Competition 555

Pivot Points EA

by Skryrq
1 stars

This MetaTrader 4 expert advisor automates trading based on pivot point technical levels. It focuses on systematic trade execution with integrated risk management, featuring automated lot sizing calculated as a percentage of account balance relative to stop loss distance. The EA includes a trailing stop mechanism that

MT4 Trading robot Mean reversionBreakout
Updated 7 years ago None stated GitHub repository of Pivot Points EA

Junbari MT4

by fujishuu
1 stars

Junbari MT4 is a trend-following expert advisor for MetaTrader 4 that identifies trade entries based on price breakouts. The system monitors the highest highs and lowest lows over a specific lookback period to determine market direction. It enters positions when the current price breaks a historical level and meets a m

MT4 Trading robot Trend followingBreakout
Updated 7 years ago None stated GitHub repository of Junbari MT4
1 stars

This collection of MetaTrader 4 and 5 expert advisors provides various utilities for trade management and entry automation. The primary tool, Multi TP, monitors specific order tickets to execute partial closes and modify stop losses when price targets are hit. Additional scripts automate entries based on price action p

MT4MT5 Collection BreakoutMean reversionMulti-strategy

Setup Da Paula

by paulohfera
1 stars

Setup Da Paula is a MetaTrader 5 expert advisor that automates a technical trading strategy based on Bollinger Bands. The robot enters trades when specific price conditions are met relative to the bands, incorporating a volatility filter that checks the minimum band width in points. It manages risk through a fixed stop

MT5 Trading robot Mean reversionBreakout
Updated 7 years ago None stated GitHub repository of Setup Da Paula

Breakout Exp

by galaxysp1
1 stars

Breakout Exp is a MetaTrader 4 expert advisor that implements a breakout-based trading strategy. It utilizes adjustable fast and slow period parameters to determine market entry and exit points. The system manages trades using fixed lot sizes and identifies its own positions via a unique magic number. It includes funct

MT4 Trading robot Breakout
Updated 7 years ago None stated GitHub repository of Breakout Exp
1 stars

Michael Balack EA is a collection of MetaTrader 4 scripts and automated trading tools, primarily focusing on session-based range breakouts. The main expert advisor identifies the minimum and maximum price levels during a specific user-defined time window. It manages trades using fixed lot sizing and includes parameters

MT4 Collection Breakout
Updated 7 years ago None stated GitHub repository of Michael Balack EA

News Catcher EA

by oleg518
1 stars

News Catcher EA is an automated trading robot for MetaTrader 4 designed to trade market volatility typically associated with news events. It functions by placing pending buy and sell orders at a specific distance from the current price at a pre-defined start time. The EA manages trades using a configurable trailing sto

MT4 Trading robot NewsBreakout
Updated 8 years ago None stated GitHub repository of News Catcher EA
1 stars

JiaoYi is a MetaTrader 4 expert advisor designed to trade based on manually or programmatically defined support and resistance levels. It features three operational modes allowing users to target price breakouts, oscillations within a range, or a combination of both strategies. The EA manages trade execution by monitor

MT4 Trading robot BreakoutMean reversion
Updated 8 years ago None stated GitHub repository of JiaoYi Trading Suite

Pivot Fab

by HussainAfzalBrainPlow
1 stars

Pivot Fab is an automated trading robot for MetaTrader 4 that utilizes Fibonacci-based pivot point levels to identify entry and exit signals. The system calculates support and resistance lines based on historical price data, specifically identifying pivot points from R3 down to S3. It manages risk through fixed stop lo

MT4 Trading robot Mean reversionBreakout
Updated 9 years ago None stated GitHub repository of Pivot Fab

This collection of MetaTrader 4 expert advisors from 2013 focuses on trend-following and breakout strategies. The primary logic utilizes daily timeframe trend analysis to determine entry points on the five-minute chart. The system manages trades through automated risk controls, including fixed stop losses and a multi-t

MT4 Collection Trend followingBreakout
1 stars

This MetaTrader 5 expert advisor implements a multi-symbol trading system centered on Bollinger Band breakout strategies. It utilizes an object-oriented framework to manage multiple concurrent strategy instances across various markets including forex and precious metals. The system incorporates a position management mo

MT5 Collection Breakout
Updated 9 years ago None stated GitHub repository of Bollinger Breakout MT5

ACB Breakout EA

by KotaroHashimoto
1 stars

This MetaTrader 4 expert advisor executes a breakout strategy by interfacing with the ACB Breakout Arrows indicator. It manages trades using multiple exit methods, including split targets or single-level closures. Risk is controlled through percentage-based stop loss calculations and an optional daily Exponential Movin

MT4 Trading robot BreakoutTrend following
Updated 9 years ago None stated GitHub repository of ACB Breakout EA

Another Inside Bar

by vinchess
1 stars

This expert advisor for MetaTrader 4 implements a price action strategy based on the inside bar candlestick pattern. It identifies scenarios where the current candle is contained within the price range of the previous candle. The EA automatically places buy stop and sell stop pending orders at specific distances from t

MT4 Trading robot Breakout

Nonfarm News Trader

by mzavoloka
1 stars

This MetaTrader 4 expert advisor is designed specifically to trade high-impact Non-Farm Payroll news events on USD currency pairs. It functions by placing a straddle of buy and sell pending orders at a set distance from the market price shortly before the news release. Once the market breaks out and triggers one order,

MT4 Trading robot NewsBreakout
Updated 10 years ago None stated GitHub repository of Nonfarm News Trader

Quiet Time Strategy

by daveh551
1 stars

This MetaTrader 4 expert advisor automates a session-based trading strategy focused on the New York quiet period. It captures a reference price during a specific late-afternoon window and triggers trades when the market deviates by a set number of pips. The robot utilizes a moving average crossover and an ATR filter to

MT4 Trading robot BreakoutIndicator crossoverTrend following
Updated 13 years ago None stated GitHub repository of Quiet Time Strategy

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