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.

396 EAs match Clear filters
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

Volatility 75 Index Expert

by reussiteforever
3 stars

This Expert Advisor is designed specifically for the Volatility 75 Index on the MetaTrader 5 platform. It employs a multi-timeframe strategy using exponential moving averages across H2 and M5 periods to determine trend direction and entry points. The system identifies long-term trends on the H2 chart and looks for pric

MT5 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of Volatility 75 Index Expert

Chanlun SpeedUp MT5

by gaoxiaojun
3 stars

This MetaTrader 5 expert advisor implements a strategy based on Chan Lun (Zen Theory) technical analysis. It evaluates market structure and price action, using a candle size filter to determine trade entries. The robot includes built-in risk management features such as fixed stop loss and take profit orders. Additional

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 5 years ago None stated GitHub repository of Chanlun SpeedUp MT5

Ichimoku Scalper

by terencebeauj
3 stars

Ichimoku Scalper is a technical expert advisor for MetaTrader 5 that executes trades based on the Ichimoku Kinko Hyo and Parabolic SAR indicators. The system enters positions when the price interacts with the Senkou Span buffers, using the SAR for trend confirmation. It incorporates standard risk controls including fix

MT5 Trading robot ScalpingTrend following
Updated 5 years ago None stated GitHub repository of Ichimoku Scalper

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

Fractal Trailing Stop

by stevedee1000
3 stars

Fractal Trailing Stop is a MetaTrader 5 expert advisor that automates trade management using Bill Williams fractal levels. The EA monitors open positions and dynamically adjusts the stop loss to the most recent up or down fractal, incorporating a user-defined point buffer for padding. It includes risk management featur

MT5 Trade manager Trend following
Updated 8 years ago None stated GitHub repository of Fractal Trailing Stop

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

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

GsignalX Velocity

by gocitygroup
2 stars

GsignalX Velocity is a comprehensive trend-following toolkit for MetaTrader 5, designed for prop traders and fund managers. It utilizes a multi-engine approach for trade entries, combining PP SuperTrend, ATR SuperTrend, and SuperBollingerTrend signals. The system filters entries using moving averages and Bollinger Band

MT5 Collection Trend followingMulti-strategy
Updated yesterday Custom licence GitHub repository of GsignalX Velocity

MA Cross Risk EA

by alexistdev
2 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on moving average crossovers. It monitors fast and slow exponential moving averages on closed bars to trigger buy or sell orders, with an optional RSI filter to confirm momentum. The robot includes automated risk management features such as dyna

MT5 Trading robot Indicator crossoverTrend following
Updated 2 days ago None stated GitHub repository of MA Cross Risk EA
2 stars

This collection for MetaTrader 5 provides several automated Expert Advisors designed for various symbols including forex, gold, and indices. The repository features Mecha Godzilla, a grid trading system using ATR-based spacing and bidirectional orders, alongside specialized bots for Asian session breakouts and H4 trend

MT5 Collection GridBreakoutTrend following High risk
2 stars

This repository contains a collection of MetaTrader 5 expert advisors focused on advanced quantitative and machine learning techniques. The featured EA utilizes a technical summary approach inspired by TradingView, combining moving averages and oscillators with neural network confirmation via Hopfield and Restricted Bo

MT5 Collection AI / machine learningTrend followingBreakout
Updated 2 weeks ago None stated GitHub repository of Medium Papers EA Collection

XAUUSD Scalping EA

by AhsanAli013
2 stars

This MetaTrader 5 expert advisor is designed for gold scalping using a multi-timeframe approach. It analyzes price action across M5, M15, and H1 intervals using Exponential Moving Averages, Relative Strength Index, and Average Directional Index for entry confirmation. Trades are managed with ATR-based stop losses, take

MT5 Trading robot ScalpingIndicator crossoverTrend following

Atlas EA

by ymk5py-commits
2 stars

Atlas EA is a multi-strategy intraday trading robot for MetaTrader 5, primarily focused on gold, silver, and USDJPY. It identifies market structure shifts using Smart Money Concepts, specifically targeting breaks of structure and fair value gaps during the London and New York sessions. The EA includes optional modules

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 3 weeks ago None stated GitHub repository of Atlas EA

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

3711 Single EA

by hakimibob
2 stars

This expert advisor for MetaTrader 5 utilizes a multi-timeframe technical approach, scanning H1, M30, M15, and M5 periods simultaneously. It generates signals using a stochastic stack combined with RSI and stochastic divergence detection. The system incorporates a formula pack for market structure analysis, including B

MT5 Trading robot Indicator crossoverMean reversionSMC / ICT / price action
Updated 4 weeks ago None stated GitHub repository of 3711 Single EA
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

Apex Breakout

by sbrakni
2 stars

This Expert Advisor for MetaTrader 5 offers two distinct trading modes: Donchian Channel breakouts for trend following and session range breakouts for daytrading. The Donchian mode utilizes high/low channel breaks filtered by an Exponential Moving Average, while the session mode targets breakouts from defined UTC time

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 6 weeks ago None stated GitHub repository of Apex Breakout

SMC Systems Gold

by chatuponforex-afk
2 stars

SMC Systems Gold is an automated MetaTrader 5 expert advisor designed for trading XAUUSD using Smart Money Concepts. It identifies Points of Interest such as Order Blocks and Fair Value Gaps through an external indicator and executes trades based on M15 price action. The system enforces strict multi-timeframe alignment

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 2 months ago None stated GitHub repository of SMC Systems Gold

XAUUSD Basket Trailing EA

by Muhammad-TalhaK
2 stars

This MetaTrader 5 expert advisor implements a basket-trading strategy specifically for XAUUSD. It opens an initial position based on the current short-term trend and enters additional trades at fixed intervals if the market moves against the basket. The robot utilizes a progressive lot-sizing model to manage the grid.

MT5 Trading robot GridTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of XAUUSD Basket Trailing EA

Omak FxYO

by GoyBoi
2 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on the TTrades Fractal Model and Dow Theory. It operates using two distinct execution branches: Intraday (D1/H1/M5) and Swing (W1/H4/M15). The system analyzes market structure to identify points of interest, employing wick ratios and optional

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 3 months ago None stated GitHub repository of Omak FxYO

Jamesmaria EA

by King-jamesmaria
2 stars

Jamesmaria EA is a multi-pair MetaTrader 5 trading robot specializing in EURUSD, EURGBP, and Gold. It employs an H1 entry strategy based on the EMA 21/50 crossover and RSI confirmation, using H4 trend filtering for higher-probability setups. The EA includes dynamic lot sizing scaled to account equity, ATR-based take pr

MT5 Trading robot Indicator crossoverTrend following
Updated 4 months ago None stated GitHub repository of Jamesmaria EA

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 MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
2 stars

This MetaTrader 5 expert advisor automates butterfly option strategies specifically for the AUDUSD pair. It utilizes a multi-timeframe approach, requiring bullish trend confirmation on H1 and H4 charts using exponential moving averages before entering positions. The logic identifies favorable volatility conditions thro

MT5 Trading robot Trend followingMean reversion
Updated 4 months ago None stated GitHub repository of AUDUSD Butterfly Options EA

Newton Fx

by Ralarcon88
2 stars

Newton Fx is an automated trading system for MetaTrader 5, specifically configured for the gold market on the fifteen-minute timeframe. It identifies entries using a combination of exponential moving average crossovers, ADX trend strength verification, and Fibonacci retracement levels. The robot manages risk through AT

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Newton Fx
2 stars

This MetaTrader 5 expert advisor utilizes the Ichimoku Kinko Hyo indicator for trend identification, specifically targeting gold on the 15-minute timeframe. It employs a grid-based trading strategy that layers orders at fixed point distances when the market moves against the initial entry. To manage these positions, th

MT5 Trading robot Trend followingGridMartingale High risk
Updated 5 months ago None stated GitHub repository of Ichimoku Grid Martingale EA

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

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot

Funded EA

by Pusparaj99op
2 stars

Funded EA is a MetaTrader 5 robot designed to help users pass proprietary firm challenges by automating trade execution and risk management. It implements a Smart Money Concepts strategy, targeting XAUUSD by detecting order blocks and liquidity sweeps. The system features a calibration engine that calculates lot sizes

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 5 months ago Unlicense GitHub repository of Funded EA

GainzAlgo EA

by saadkhan371
2 stars

This MetaTrader 5 robot is a trend-following expert advisor converted from Pine Script, designed primarily for gold scalping on the one-minute timeframe. It identifies entries using a triple Exponential Moving Average stack combined with Relative Strength Index filters and candle confirmation. The EA manages risk throu

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 5 months ago None stated GitHub repository of GainzAlgo EA

MultiSignal DCA CCBSN

by 26730023-PhamPhuNguyenHung
2 stars

This MetaTrader 5 expert advisor provides a versatile trading framework featuring nine selectable entry signals, including Ichimoku, RSI, Bollinger Bands, and EMA crossovers. It employs a Dollar Cost Averaging strategy with configurable lot multipliers and distance scaling to manage positions. A notable feature is the

MT5 Trading robot Trend followingGridMartingale High risk
Updated 6 months ago None stated GitHub repository of MultiSignal DCA CCBSN
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

Chimera

by keyalgos
2 stars

Chimera is an automated trading system for MetaTrader 5 designed to trade XAUUSD through multi-asset confluence. It analyzes price action across several timeframes, from M5 to H4, and incorporates inverse correlation filters using the US Dollar Index and US30. The EA identifies entries using harmonic patterns and RSI d

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

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

MH EA Collection

by mhizterkeyz
2 stars

This collection of MetaTrader 5 expert advisors contains numerous trading scripts, with the primary source code focusing on a gold-trading strategy. The robot utilizes a combination of the Relative Strength Index, Average True Range, and Average Directional Index alongside three simple moving averages to identify trend

MT5 Collection Trend followingIndicator crossoverMean reversion
Updated 7 months ago None stated GitHub repository of MH EA Collection

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy
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

Gold Strategies

by Zeeshan-Ahmad-Chaudhry
2 stars

This MetaTrader 5 collection provides specialized robots for trading XAUUSD, featuring a range-based mean reversion system and a trend-following expert advisor. The primary mean reversion strategy utilizes RSI, Bollinger Bands, and previous daily highs and lows to identify reversal points. It includes comprehensive ris

MT5 Collection Mean reversionTrend following
Updated 10 months ago None stated GitHub repository of Gold Strategies

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

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