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.

236 EAs match Clear filters

Falcon R

by vzhomeexperiments
4 stars

Falcon R is a rule-based expert advisor for MetaTrader 4 designed to identify and trade within ranging market conditions. It utilizes a combination of Keltner Channels and Moving Averages to determine entry points. The robot provides extensive trade management options, including fixed or volatility-based stop loss and

MT4 Trading robot Mean reversion
Updated 5 years ago MIT GitHub repository of Falcon R

Belinda Sizing

by Lucas170
4 stars

Belinda Sizing is an automated trading robot for MetaTrader 4 that utilizes a dual moving average crossover strategy combined with a volatility filter. It enters trades when a short-period simple moving average crosses a long-period moving average, provided that current volatility measured via the Average True Range is

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing
4 stars

This collection of MetaTrader 4 expert advisors features several distinct trading robots including Daybreaker, Stradle, and the Signature System. The primary Daybreaker EA utilizes custom task scheduling and lookback periods to identify market entries based on volatility. It includes risk management controls such as pe

MT4 Collection BreakoutMulti-strategy
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk

Sanqing EA

by caoruihua
3 stars

An automated trading system for MetaTrader 4 specifically designed for gold (XAUUSD) on the M5 timeframe. It features two core strategies: trend continuation and price pullbacks. The expert advisor utilizes a dual exponential moving average framework for direction and ATR for volatility filtering. Risk management is ha

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 5 months ago None stated GitHub repository of Sanqing EA
3 stars

This MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio

MT4 Collection Indicator crossoverTrend followingGrid High risk
Updated 10 months ago Custom licence GitHub repository of Simple Forex Tools Collection

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way

Falcon D

by vzhomeexperiments
3 stars

Falcon D is a MetaTrader 4 expert advisor designed for the H1 timeframe, focusing on price retracement entries filtered by technical indicators. It opens positions when price deviates significantly from the daily start point in opposition to the established trend. The system incorporates filters including a long-period

MT4 Trading robot Mean reversionIndicator crossover
Updated 2 years ago MIT GitHub repository of Falcon D

This collection for MetaTrader 4 features several expert advisors, primarily centered on the Candlestick Breakout Scalper. The lead tool monitors price action relative to previous candle highs and lows to identify breakout opportunities. It incorporates stochastic filters to confirm entries and supports specific tradin

MT4 Collection BreakoutScalpingMartingale High risk

EJTrader Order Flow

by ejtraderLabs
3 stars

EJTrader Order Flow is a technical utility for MetaTrader 4 that implements Level 2 market depth and tape reading tools. It utilizes the Bitcoin Nano API to stream order flow data directly onto the chart using various visual layouts like BookMap and volume aggression indicators. The EA manages manual trade execution wi

MT4 Utility SMC / ICT / price action
Updated 3 years ago None stated GitHub repository of EJTrader Order Flow
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage
3 stars

This repository for MetaTrader 4 contains a series of expert advisors based on the Bystruev algorithm. The core logic focuses on price velocity and spread monitoring to place pending stop or limit orders. Trade management includes a global stop loss and a trailing profit mechanism that activates once a specific percent

MT4 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Bystruev Trading Collection

PipFinite Breakout EA

by martycode49
3 stars

This automated expert advisor for MetaTrader 4 utilizes the PipFinite suite of indicators to identify market entries. It integrates the PipFinite Breakout Analyzer and Strength Meter to execute long and short positions when specific threshold levels and entry percentages are met. The EA manages risk through user-define

MT4 Trading robot BreakoutTrend following
Updated 4 years ago None stated GitHub repository of PipFinite Breakout EA

Slime Mold RSI

by Kei-Sanada
3 stars

Slime Mold RSI is an experimental MetaTrader 4 expert advisor that implements a single-layer perceptron model to determine trade entries. The robot calculates a weighted signal value by processing Relative Strength Index data across multiple timeframes, specifically the fifteen-minute, thirty-minute, and one-hour chart

MT4 Trading robot AI / machine learning
Updated 4 years ago None stated GitHub repository of Slime Mold RSI
3 stars

This MetaTrader 4 expert advisor implements a classic moving average crossover strategy designed for scalping forex pairs and metals. It monitors two exponential moving averages, defaulting to 8 and 21 periods, to identify momentum shifts. When a crossover is detected, the robot places pending stop orders with a specif

MT4 Trading robot Indicator crossoverScalping
Updated 5 years ago None stated GitHub repository of Simple EMA Cross Scalper
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma

MT4 Collection ArbitrageMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Clunique Experts Collection
3 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using Bollinger Bands and the Relative Strength Index (RSI). Intended as an educational starting point for programmers, it enters trades when the price crosses specific standard deviation bands while RSI confirms overbought or oversold conditions. Th

MT4 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of Bollinger Band Strategy 1

This repository offers a collection of MetaTrader 4 expert advisors focused on technical indicator triggers and price action. The suite includes tools for trading moving average crossovers, ADX momentum, and Stochastic oscillators. A dedicated EA identifies specific candlestick patterns such as Three White Soldiers and

MT4 Collection Indicator crossoverTrend followingMean reversion

Averaging Master

by terukusu
3 stars

Averaging Master is a MetaTrader 4 expert advisor that employs a directional averaging strategy. It identifies trend direction using a 6-period moving average on the H4 timeframe and enters trades during specific morning hours. The system manages risk by layering up to four additional positions if the price moves again

MT4 Trading robot Trend followingGrid High risk
Updated 6 years ago None stated GitHub repository of Averaging Master

Ichimoku Kumo Breakout

by reuniware
3 stars

This MetaTrader 4 expert advisor implements a breakout strategy based on the Ichimoku Kinko Hyo indicator. It scans all financial instruments visible in the Market Watch window to identify price movements relative to the Ichimoku cloud. The robot enters buy positions when a 15-minute candle opens below the Kumo top and

MT4 Trading robot BreakoutTrend following
Updated 7 years ago None stated GitHub repository of Ichimoku Kumo Breakout

MQ4 Master Collection

by hairibaba
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,

MT4 Collection Trend followingScalpingIndicator crossover High risk Archived
Updated 7 years ago None stated GitHub repository of MQ4 Master Collection

Tre Boll Trend

by linbirg
3 stars

Tre Boll Trend is a MetaTrader 4 Expert Advisor designed to identify and trade market trends using multi-timeframe Bollinger Band analysis. The system processes data from timeframes ranging from five minutes to one day, calculating advanced metrics such as price velocity, acceleration, and standard deviation. It monito

MT4 Trading robot Trend followingIndicator crossoverMean reversion
Updated 7 years ago None stated GitHub repository of Tre Boll Trend

This repository provides a collection of MetaTrader 4 expert advisors developed for algorithmic trading research. The library includes multiple distinct robots such as the Turtle strategy, Keltner channel candlestick patterns, and volatility-based breakouts. Each EA implements various risk controls including ATR-based

MT4 Collection Trend followingBreakoutMean reversion High risk Archived

MT4 News Trade Manager

by hyahfoufi
3 stars

MT4 News Trade Manager is a utility for MetaTrader 4 designed to handle trade exits during high-volatility news events. It automatically applies stop loss and take profit levels to orders and features a break-even function to protect gains. The tool includes specialized Spike Take Profit logic that closes positions bas

MT4 Trade manager News
Updated 8 years ago None stated GitHub repository of MT4 News Trade Manager

Demo Bot

by johnnydeez-zz
3 stars

This MetaTrader 4 expert advisor implements a trend-following strategy using two Simple Moving Averages. It is specifically pre-configured for the CHFJPY currency pair on the 30-minute timeframe. The robot identifies entries when a fast 145-period SMA and a slow 250-period SMA align, placing pending orders rather than

MT4 Trading robot Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Demo Bot

Open Expert Advisor

by saadmahboob
3 stars

Open Expert Advisor is a mean-reversion trading robot for MetaTrader 4, primarily designed for Swiss Franc pairs such as EURCHF. It executes trades based on overbought and oversold price levels, specifically during the transition at the end of the New York trading session. The system manages risk through adjustable lot

MT4 Trading robot Mean reversion
Updated 9 years ago None stated GitHub repository of Open Expert Advisor

Xingtai MQ4 Collection

by huoliang2012
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including implementations based on Moving Averages and MACD indicators. The primary EA uses a moving average crossover strategy to identify entry points and manage positions. It features a lot-sizing module that adjusts volume based on available mar

MT4 Collection Indicator crossoverTrend following
Updated 9 years ago None stated GitHub repository of Xingtai MQ4 Collection

XLiquidex

by m-root
3 stars

XLiquidex is an impulsive volatility breakout robot for MetaTrader 4. It identifies entry signals using Keltner Channel breakouts, Moving Average filters, and a candle body range requirement to verify momentum. The expert advisor includes trade management features such as take profit, stop loss, break-even offsets, and

MT4 Trading robot BreakoutTrend following
Updated 10 years ago Apache-2.0 GitHub repository of XLiquidex

Mt4 Ai Trading

by 160037lk
2 stars

This MetaTrader 4 expert advisor connects to a Python FastAPI backend to facilitate automated trading based on Claude AI signals. The system transmits market data to the server, which performs multi-indicator analysis and sentiment processing before returning trade recommendations. It features multi-timeframe trend fil

MT4 Collection AI / machine learningTrend followingNews
Updated 4 months ago None stated GitHub repository of Mt4 Ai Trading
2 stars

This repository is a compilation of MetaTrader 4 and MetaTrader 5 expert advisors primarily focused on gold (XAUUSD) trading. The core system included features seven independent trading strategies that can be enabled concurrently. It provides various risk management tools, including automated lot sizing based on accoun

MT4MT5 Collection ScalpingTrend followingMulti-strategy High risk

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

Span Model Trader

by KC-Kamioka
2 stars

Span Model Trader is an automated expert advisor for MetaTrader 4 that utilizes the Span Model and Super Bollinger technical indicators. It identifies entry and exit signals based on components such as the Blue Span and Delayed Span. The robot operates on a bar-by-bar basis, executing logic only at the opening of a new

MT4 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Span Model Trader

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

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing
2 stars

This repository contains a collection of Expert Advisors and trading tools developed for the MetaTrader 4 platform. It features multiple standalone scripts implementing classic technical strategies, including Ichimoku Cloud trend following, Moving Average crossovers, and momentum-based entries using RSI or MACD. The Ex

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of AlgoTrading MQL Collection

GBPUSD AI Grid EA

by AlexCrombieF
2 stars

The GBPUSD AI Grid EA is an automated trading robot for MetaTrader 4. It executes a grid-based strategy that layers orders during market movements. Initial entries are filtered using the Commodity Channel Index indicator. The bot manages positions through a martingale lot multiplier, increasing volume for subsequent gr

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of GBPUSD AI Grid EA
2 stars

This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani

MT4 Collection GridScalpingTrend following High risk
Updated 2 years ago None stated GitHub repository of Lianxi EA Collection

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 features MetaTrader 4 expert advisor templates focused on technical indicator integration and price action patterns. The included files utilize simple and exponential moving averages alongside fractal and candlestick pattern detection, such as hammers and stars. Trade management is handled through time-

MT4 Collection Indicator crossoverSMC / ICT / price action

This repository contains a collection of MetaTrader 4 expert advisors and technical indicators focused on automated trading logic. The included robots primarily utilize martingale and grid-based strategies, featuring lot scaling and distance-based order layering. Entry signals are generated through indicators like Boll

MT4 Collection MartingaleGridIndicator crossover High risk

Fisher EA

by jyyan
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on volatility and momentum. It utilizes Average True Range calculations with configurable fast and slow multipliers to identify trade entries and manage exits. The robot handles risk through a percentage-based budget per trade, a fixed risk-re

MT4 Trading robot Trend following
Updated 3 years ago MIT GitHub repository of Fisher EA
2 stars

This expert advisor for MetaTrader 4 and 5 implements a hedging recovery strategy to handle losing positions. When an initial trade moves against the user, the robot enters a recovery zone, placing counter-orders with scaled lot sizes to achieve a collective exit at a profit or break-even point. The EA includes risk co

MT4MT5 Trading robot HedgingMartingale High risk
Updated 3 years ago GPL-3.0 GitHub repository of Forex Recovery Zone

Swing NNFX Framework

by BenoitDurandIndep
2 stars

This MetaTrader 4 framework provides a modular environment for developing and backtesting expert advisors based on the No Nonsense Forex methodology. It includes functional swing trading robots that utilize baseline indicators, multiple confirmation layers, and volatility filters to identify entries. The system feature

MT4 Framework & template Trend followingMulti-strategy
Updated 3 years ago GPL-3.0 GitHub repository of Swing NNFX Framework

Trading Bot FX

by dre10155
2 stars

Trading Bot FX is an automated expert advisor for MetaTrader 4 designed to trade twenty-seven currency pairs. It implements a trend-following strategy using a customizable baseline moving average, such as LWMA or SMA, alongside the SSL Channel indicator to determine market direction. To filter entries, the robot utiliz

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Trading Bot FX

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

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

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

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

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