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.

160 EAs match Clear filters
1 stars

This collection of MetaTrader 5 expert advisors focuses on automated trendline breakout strategies integrated with Elliott Wave theory and Fibonacci levels. The system identifies trendline breaks on the H4 timeframe and uses H1 and M15 intervals for entry confirmation. It employs RSI filters for divergence detection an

MT5 Collection Trend followingBreakoutSMC / ICT / price action

SMC FVG EA

by trenddaytrader
1 stars

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

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

Gold Pullback Bot

by umarf000
1 stars

Gold Pullback Bot is an automated trading system for MetaTrader 5 designed specifically for XAUUSD. The expert advisor utilizes a trend-following strategy based on the alignment of three Exponential Moving Averages to identify price direction. Entries are filtered using a momentum indicator to confirm market strength.

MT5 Trading robot Trend followingIndicator crossover
Updated 7 months ago None stated GitHub repository of Gold Pullback Bot

MT5 Strategies Collection

by vincentwongso
1 stars

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

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

Golden Structure

by edisonq
1 stars

Golden Structure is a trend-following expert advisor for MetaTrader 5, specifically optimized for Gold (XAUUSD). It uses an exponential moving average to determine the primary market bias and enters trades based on price action rejection wicks following a pullback. The EA prioritizes risk control with automated lot siz

MT5 Trading robot Trend followingNews
Updated 7 months ago MIT GitHub repository of Golden Structure
1 stars

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

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

This repository contains a collection of MetaTrader 4 and MetaTrader 5 utilities focused on technical analysis and automated trading. Key expert advisors include a binary options dashboard that monitors RSI levels and trendline breakouts across multiple timeframes, and a currency strength trader for automated entries.

MT4 Collection Trend followingBreakoutMean reversion
Updated 8 months ago None stated GitHub repository of MetaTrader Indicators and EAs

Project Chimera

by S44dMas00d
1 stars

Project Chimera is an algorithmic trading robot for MetaTrader 5 that executes trades on XAUUSD. The system employs a modular architecture to synthesize signals from RSI divergence, harmonic patterns, and trend confirmation across multiple timeframes. It utilizes a multi-asset correlation filter monitoring the US Dolla

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

Gold FX EA

by ajeet-trader
1 stars

Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 9 months ago None stated GitHub repository of Gold FX EA

ICT SMC EA

by katxarra
1 stars

This MetaTrader 5 expert advisor executes trades based on Smart Money Concepts and Inner Circle Trader methodologies. It identifies institutional price patterns such as Fair Value Gaps, Order Blocks, and Liquidity Sweeps to find entry points. The robot requires market structure alignment and uses a higher timeframe tre

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

Gann Fan Bot

by AbasNiknam
1 stars

This MetaTrader 4 expert advisor automates trading based on Gann Fan theory by identifying trend angles from recent swing highs and lows. It enters the market using buy and sell stop orders placed at specific distances from detected Gann lines. The robot includes risk management features such as fixed stop loss, take p

MT4 Trading robot Trend followingBreakoutHedging
Updated 11 months ago None stated GitHub repository of Gann Fan Bot
1 stars

This collection for MetaTrader 5 provides several trend-following Expert Advisors based on technical indicators such as Ichimoku Kinko Hyo and Simple Moving Averages. The included robots utilize multi-timeframe analysis, sensitive SMA slope detection, and candlestick pattern recognition to identify entry points. Risk m

MT5 Collection Trend followingIndicator crossoverMean reversion

SMC FVG Robot

by hungnguyentien
1 stars

This Expert Advisor for MetaTrader 5 automates a trading strategy based on Smart Money Concepts and Fair Value Gaps. It monitors market structure shifts using high and low patterns on a higher timeframe and executes entries on a lower timeframe once candle body requirements are met. The system includes a fixed risk per

MT5 Trading robot SMC / ICT / price action
Updated 1 year ago None stated GitHub repository of SMC FVG Robot

TradeMe

by Deric254
1 stars

TradeMe is an automated MetaTrader 5 expert advisor implementing a Turtle Breakout trend-following strategy. It identifies entry points using Donchian Channel highs and lows over a user-defined lookback period. The system manages positions using an ATR-based trailing stop and exits trades when the price reaches a secon

MT5 Trading robot Trend followingBreakout
Updated 1 year ago None stated GitHub repository of TradeMe

Swing Trading EA

by JonusNattapong
1 stars

This expert advisor for MetaTrader 5 implements a medium-term swing trading strategy using multiple technical indicators. It identifies entries through two primary methods: trend reversals and breakouts from consolidation zones. The reversal logic utilizes Fibonacci retracement levels combined with Stochastic and MACD

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Swing Trading EA

Position Trading EA

by JonusNattapong
1 stars

A trend-following MetaTrader 5 expert advisor designed for long-term position trading on daily and weekly timeframes. It utilizes the 200-period Exponential Moving Average and the Ichimoku Cloud to confirm multi-timeframe trends and momentum. The EA calculates position sizes according to account risk percentage and use

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Position Trading EA

HipoAlgoritm

by Khajavi8056
1 stars

This MetaTrader 5 expert advisor provides an automated trading system designed for Forex, Bitcoin, Gold, and various indices. It employs technical analysis filters including RSI levels and Moving Average price distance to identify entries. Risk management features include flexible lot sizing based on account equity or

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago None stated GitHub repository of HipoAlgoritm

This MetaTrader 5 repository provides a collection of expert advisors and visual dashboard tools centered on multi-timeframe technical analysis. It features strategies utilizing the Traders Dynamic Index, Exponential Moving Averages, and Commodity Channel Index indicators. The included tools range from trend-following

MT5 Collection Trend followingBreakoutIndicator crossover

Inside Day MT5

by Da-Xiong-Chen
1 stars

This MetaTrader 5 expert advisor implements a price action strategy based on the Inside Day candle pattern. Developed primarily for the EUR/USD pair on the daily timeframe, the robot identifies instances where a trading day price range is entirely contained within the previous day range. It executes trades using fixed

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of Inside Day MT5
1 stars

EA MultiStrategy Advanced is an automated trading robot for MetaTrader 5 that integrates technical analysis with machine learning models. It utilizes a combination of RSI, Bollinger Bands, and Moving Average crossovers alongside LSTM-based deep learning signals to identify market patterns. The system features rigorous

MT5 Trading robot AI / machine learningIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of EA MultiStrategy Advanced

Krsna Daily EA

by rahuldhangar
1 stars

Krsna Daily EA for MetaTrader 5 is an automated trading robot that executes trades based on price action patterns of custom-defined daily candles. Users can set a specific starting hour for the trading day, and the EA plots visual candle overlays on the chart. It places buy or sell limit orders at specific retracement

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago MIT GitHub repository of Krsna Daily EA
1 stars

High Frequency Stocks is an automated trading robot for MetaTrader 5 focused on identifying long-entry opportunities. The EA monitors multiple timeframes from weekly down to thirty-minute charts to confirm upward price direction and increasing volume. It specifically searches for entries within ranges of interest, such

MT5 Trading robot Trend followingSMC / ICT / price action
Updated 1 year ago None stated GitHub repository of High Frequency Stocks

H4 XAUUSD Candlestick EA

by SimonMonnier
1 stars

This MetaTrader 4 expert advisor is designed specifically for trading Gold (XAUUSD) on the H4 timeframe. It employs a combination of technical indicators, including the Relative Strength Index (RSI), Stochastic Oscillator, and Ichimoku Kinko Hyo. The strategy monitors overbought and oversold levels while using the Ichi

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of H4 XAUUSD Candlestick EA

Strategy Meta RSI

by EA31337
1 stars

Strategy Meta RSI is an Expert Advisor for MetaTrader 5 that utilizes a meta-strategy approach to execute trades. It selects and alternates between different internal trading strategies depending on the current daily Relative Strength Index value. Built on the EA31337 framework, it supports simultaneous operation acros

MT5 Trading robot Multi-strategyMean reversion
Updated 2 years ago None stated GitHub repository of Strategy Meta RSI

Strategy TMA SVEBB

by EA31337
1 stars

This MetaTrader 5 expert advisor implements a contrarian trading strategy using Triangular Moving Average (TMA) bands and Sylvain Vervoort's Bollinger Bands (SVEBB). Built on the EA31337 framework, it monitors multiple timeframes simultaneously to identify potential price reversals. The EA uses technical indicators to

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Strategy TMA SVEBB

Strategy Chaikin

by EA31337
1 stars

Strategy Chaikin is a MetaTrader 5 expert advisor that automates trades using the Chaikin Oscillator (CHO) indicator. Developed using the EA31337 framework, the robot monitors market momentum and volume accumulation to identify potential entry and exit points. It supports multi-timeframe operations, allowing users to a

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Strategy Chaikin

Strategy Meta News

by EA31337
1 stars

This MetaTrader 5 expert advisor acts as a news-based controller that executes various trading strategies according to economic news impact. Built on the EA31337 framework, the robot utilizes embedded historical news data ranging from 2018 to 2024 to determine market conditions. It supports operations across multiple t

MT5 News trading News
Updated 2 years ago None stated GitHub repository of Strategy Meta News
1 stars

This MetaTrader 4 expert advisor focuses on identifying and trading trend reversals using price action patterns, specifically pin bars. It operates as an automated robot that monitors market conditions to execute entries based on reversal signals. The EA features an extensive graphical user interface that displays real

MT4 Trading robot Mean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Reverse Trend Pinbar Trader
1 stars

This MetaTrader 5 expert advisor implements an automated reversal strategy centered on the Doji candlestick pattern. It utilizes a 200-period Exponential Moving Average to filter trend direction and the Relative Strength Index to identify overbought or oversold conditions for entry confirmation. The EA manages risk thr

MT5 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Doji Reversal Strategy

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

This MetaTrader 4 expert advisor implements a trend-following strategy based on a dual Exponential Moving Average crossover. It is designed for higher timeframes such as H1, H4, and Daily charts. The robot manages trade entries via the crossover and exits positions using a combination of a fixed take profit and a trail

MT4 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of Trend Follow MA Crossover
1 stars

This MetaTrader 5 expert advisor utilizes a trend-following strategy combining the MACD indicator with a 200-period Exponential Moving Average. It is designed to monitor and trade multiple forex pairs simultaneously from a single chart. The robot incorporates advanced money management, including ATR-based stop loss and

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago GPL-3.0 GitHub repository of Multi Symbol MACD EMA

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

HFT Illusion

by EspacoTrader
1 stars

HFT Illusion is a MetaTrader 4 expert advisor that employs a multi-factor trigger system based on market sentiment and volatility metrics. It evaluates data points including BidRatio, Buy/Sell Ratio, Relative Strength, and Average Daily Range across various timeframes to identify trade entries. The robot supports autom

MT4 Trading robot ScalpingMean reversion
Updated 3 years ago None stated GitHub repository of HFT Illusion
1 stars

This MetaTrader 5 collection features automated implementations of trading strategies sourced from YouTube for the purpose of backtesting and verification. The repository includes multiple expert advisors, such as a MACD-based robot and an implementation of the 97 percent transparent trader strategy. These tools utiliz

MT5 Collection Indicator crossoverTrend followingMulti-strategy

NNFX Trading Bot

by ricTrindade
1 stars

This MetaTrader 4 expert advisor implements the No Nonsense Forex (NNFX) algorithmic trading strategy. It utilizes a multi-layered approach for trade entries, incorporating a primary confirmation indicator, a secondary confirmation indicator, a volume filter, and a baseline for trend direction. The bot includes risk ma

MT4 Trading robot Trend followingMulti-strategy

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

Cross Madante

by nosscafe66
1 stars

This MetaTrader 4 expert advisor implements a multi-indicator trading system primarily based on moving averages and Ichimoku Kinko Hyo components. It monitors price action relative to multiple timeframes, including D1, H4, and H1 high and low levels. The system features automated order execution with built-in trailing

MT4 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Cross Madante

Siren EA

by tyohare
1 stars

Siren is a MetaTrader 4 expert advisor that automates trading based on technical indicators and multi-timeframe price levels. It utilizes the ZigZag indicator alongside multiple Exponential Moving Averages, including the 10, 20, 100, and 200 periods, to identify market trends. The EA monitors price action relative to p

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago CC0-1.0 GitHub repository of Siren EA

Expert Advisors Collection

by johnsmith-mql
1 stars

This repository provides a collection of standard template expert advisors for both MetaTrader 4 and MetaTrader 5. It includes the classic MACD Sample and Moving Average robots, which demonstrate indicator-based trading logic. The MACD Sample enters positions based on MACD signal levels filtered by a moving average tre

MT4MT5 Collection Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Expert Advisors Collection

EMA H4 Crossover

by TatsuyaYam
1 stars

EMA H4 Crossover is an automated trading robot for MetaTrader 4 designed to execute trades based on moving average crossovers. The strategy utilizes two Exponential Moving Averages with configurable periods, specifically targeting the H4 timeframe for trend identification. It initiates long entries on golden crosses an

MT4 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of EMA H4 Crossover
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

Area Fifty One

by Valerzen88
1 stars

This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Area Fifty One
1 stars

This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto

MT4 Collection Indicator crossoverTrend followingNews
Updated 5 years ago None stated GitHub repository of Small Scripts EA Collection
1 stars

This MetaTrader 4 expert advisor acts as a multi-symbol scanner that monitors the Relative Strength Index and Money Flow Index indicators. It evaluates market conditions across six timeframes simultaneously, ranging from one-minute to four-hour charts. The logic triggers when both indicators reach specific overbought o

MT4 Utility Mean reversion
Updated 5 years ago None stated GitHub repository of RSI MFI Trading Algorithm

Daily Momentum EA

by leocasanova
1 stars

Daily Momentum EA is a MetaTrader 4 robot that automates trading based on the Moving Average Convergence Divergence (MACD) indicator. It identifies entry points by analyzing the sequence of the MACD histogram over three periods to find momentum shifts. The EA specifically targets the daily timeframe and includes a vali

MT4 Trading robot Trend following
Updated 6 years ago None stated GitHub repository of Daily Momentum EA

Peer Cointegration

by Navesvjv
1 stars

This MetaTrader 5 expert advisor implements a statistical arbitrage strategy based on asset cointegration. It focuses on mean-reversion by identifying and trading pairs of assets that diverge from their historical price relationships. The software is pre-configured with a broad list of Brazilian equities and supports b

MT5 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of Peer Cointegration

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