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.

48 EAs match Clear filters

MT5 Quant Lib

by xMattC
7 stars

MT5 Quant Lib is an MQL5 development framework and an included trend-following Expert Advisor for MetaTrader 5. It provides a modular infrastructure for trade execution, multi-symbol management, and risk control. The included strategy enters trades based on RSI triggers and CCI trend confirmation, utilizing trendline a

MT5 Framework & template Trend following
Updated 4 months ago None stated GitHub repository of MT5 Quant Lib

Indicator Tester EA

by softwaredevelop
3 stars

This MetaTrader 5 expert advisor serves as a modular framework for testing and optimizing indicator-based trading strategies. It currently implements a trend-following system based on Supertrend signals, which utilize volatility-driven calculations for entries. The robot executes logic exclusively at the opening of eac

MT5 Trading robot Trend following
Updated yesterday None stated GitHub repository of Indicator Tester EA

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine
2 stars

This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar

MT4 Framework & template Trend followingIndicator crossoverGrid High risk

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

SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the

MT4 Collection BreakoutTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of SoftArsenal EA Collection

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

This collection for MetaTrader 5 provides a series of tools focused on Exponential Moving Average crossovers and trend identification. The primary scripts monitor the relationship between fast and slow EMAs to generate visual signals, marking the chart with vertical lines and arrows when a crossover or retest occurs. I

MT5 Collection Indicator crossoverTrend following

Quick Trade Panel

by kissMoona
2 stars

This MetaTrader 5 expert advisor serves as both a manual trading dashboard and an automated execution tool. Users can perform one-click operations, manage batch stop loss and take profit levels, and adjust orders visually via chart dragging. The automated component utilizes external arrow indicators, such as HalfTrend,

MT5 Trading robot Trend followingMulti-strategy
Updated 5 months ago MIT GitHub repository of Quick Trade Panel
2 stars

Liquidex Volatility Trader is a MetaTrader 5 expert advisor designed for high-frequency trading styles, focusing on market volatility. It utilizes a Linear Weighted Moving Average combined with Average True Range (ATR) indicators to identify entry signals based on price ranges. The EA manages exits using a dynamic trai

MT5 Trading robot ScalpingTrend following
Updated 6 months ago Custom licence GitHub repository of Liquidex Volatility Trader
1 stars

This MetaTrader 5 repository contains a large collection of expert advisors developed using the fxDreema visual builder. The primary strategy utilizes a triple moving average system with 200, 25, and 5 periods to detect trends, combined with ATR-based volatility filters for trade exits. It features grid-based order lay

MT5 Collection GridIndicator crossoverTrend following High risk
Updated yesterday None stated GitHub repository of Amighade MQL5 Collection

Kaybambodlabfx SMC

by jetloo66-dot
1 stars

Kaybambodlabfx SMC is a MetaTrader 5 expert advisor that executes trades based on market regime classification and Smart Money Concepts (SMC). The system employs a multi-timeframe approach, scanning structures from the daily chart down to one-minute intervals to establish a master bias. It uses ADX, ATR, and swing poin

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 4 days ago None stated GitHub repository of Kaybambodlabfx SMC

C Financial

by rafaelsoec
1 stars

C Financial is a MetaTrader 5 repository containing a large collection of expert advisor variants focused on trend-following and price action strategies. The primary scripts utilize technical indicators like Moving Averages, ADX, CCI, and Average True Range to detect market direction and volatility. It features modular

MT5 Collection Trend followingBreakoutIndicator crossover High risk
Updated 10 days ago None stated GitHub repository of C Financial

EA Trading Guide

by thenaritlab
1 stars

This collection provides educational Expert Advisors for the MetaTrader 5 platform, showcasing different algorithmic approaches for beginners and intermediate traders. It features a moving average crossover system and a more advanced mean reversion robot based on the Relative Strength Index. The included tools utilize

MT5 Collection Trend followingMean reversionIndicator crossover

Fimathe PCM EA

by leonardoguaracidasilvacruz15
1 stars

This expert advisor for MetaTrader 5 automates the Fimathe/PCM technical analysis strategy. It identifies market cycles by constructing reference channels and expansion zones to execute trades on price breakouts. The robot supports entries based on candle touch or closure and manages exits using two take profit levels.

MT5 Trading robot BreakoutTrend following
Updated 3 weeks ago None stated GitHub repository of Fimathe PCM EA

SynerPro EA

by t2an1s
1 stars

SynerPro EA is a MetaTrader 5 robot designed for managing prop firm challenges. It implements the Synergy Strategy, utilizing Heikin Ashi market bias and session-based filters to execute trades. The system features a master-slave communication architecture via shared files for coordinating between instances. Risk manag

MT5 Trading robot Trend following
Updated 5 weeks ago None stated GitHub repository of SynerPro EA

EMA Cross EA

by momomosun
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on the crossover of 15-period and 60-period Exponential Moving Averages. It employs a continuous reversal logic to maintain market presence, switching between long and short positions as trends shift. Risk management includes ATR-based dyn

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago MIT GitHub repository of EMA Cross EA

Ichimoku Strategy Bot

by Mrben509
1 stars

This MetaTrader 5 expert advisor utilizes the Ichimoku Kinko Hyo indicator system integrated with a machine learning boosting model to execute trades. It analyzes technical factors including RSI, ATR, Z-scores, and price slopes to determine a success probability before opening positions. The robot features built-in ris

MT5 Trading robot Trend followingAI / machine learning
Updated 6 weeks ago None stated GitHub repository of Ichimoku Strategy Bot

Break EA

by vitizelamabuza-ops
1 stars

Break EA is a multi-symbol trend-following robot for MetaTrader 5. It identifies market entries using a combination of EMA 50, MACD crossovers, and RSI filters, while ADX monitors trend strength. The advisor includes advanced trade management features such as ATR-based stop loss and take profit, trailing stops, break-e

MT5 Trading robot Trend followingIndicator crossover
Updated 7 weeks ago None stated GitHub repository of Break EA

Bullish Continuation MT5

by andrewkorot
1 stars

This MetaTrader 5 expert advisor executes a long-only bullish continuation strategy. It identifies trade entries by combining specific candlestick patterns, such as bullish engulfing and harami, with trend-following filters. For a buy order to trigger, the price must close above both the 50 and 200 exponential moving a

MT5 Trading robot Trend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of Bullish Continuation MT5

Smart SL

by tthanhvu002sgu
1 stars

Smart SL is a MetaTrader 5 risk management tool that calculates optimal exit levels using a multi-factor scoring system. It evaluates market structure via swing detection, ATR-based volatility, and multi-timeframe confluence. The tool offers three modes: real, virtual, and a hybrid setup with safety offsets. It include

MT5 Collection Trend followingBreakoutMean reversion
Updated 2 months ago None stated GitHub repository of Smart SL

PASR Modular

by sakuninfinix-svg
1 stars

PASR Modular is a MetaTrader 5 expert advisor designed for automated trading using a modular framework. It employs technical indicators like ATR for dynamic stop losses and take profits, alongside ADX for trend filtering. The system integrates machine learning components for trade inference and multi-timeframe analysis

MT5 Trading robot AI / machine learningTrend followingMulti-strategy
Updated 2 months ago None stated GitHub repository of PASR Modular

SP2L

by farsosta-jpg
1 stars

This MetaTrader 5 expert advisor executes trades based on price action and momentum patterns, specifically identifying strong candles relative to their recent average range. The logic incorporates Fair Value Gap (FVG) detection and moving averages to filter entries. It includes automated risk management with percentage

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 months ago None stated GitHub repository of SP2L

Options Trading Moving Average

by SankarSrinivasan1
1 stars

This MetaTrader 4 expert advisor implements a foundational trend-following strategy based on a 20-period Exponential Moving Average. It enters long positions when the market price trades above the average and short positions when it trades below. The code is designed as a template for users of the book Options Trading

MT4 Trading robot Indicator crossoverTrend following

Danichelson Expert Advisors

by DanichelsonHD
1 stars

This MetaTrader 5 collection features automated strategies including breakout, mean reversion, and gap-based systems. The primary breakout advisor utilizes a multi-factor weighting system to score potential trades based on ADX strength, ATR expansion, impulse candle size, and higher timeframe EMA alignment. Risk contro

MT5 Collection BreakoutMean reversionTrend following
Updated 3 months ago None stated GitHub repository of Danichelson Expert Advisors

Zbbot

by zbgerman
1 stars

This Expert Advisor for MetaTrader 5 implements trading logic based on Smart Money Concepts, specifically the ICT 2022 mentorship model. It automatically identifies market structures such as Fair Value Gaps, fractals, and rejection blocks across multiple timeframes to locate entries. The system includes a time-based fi

MT5 Trading robot SMC / ICT / price actionTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of Zbbot

H4 EMA Pullback Next Level

by Mohamed-Kathree
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy on the H4 timeframe by identifying pullbacks to the 50-period Exponential Moving Average. It utilizes the 200 EMA to define the primary trend and the 21 EMA to confirm momentum recovery after a pullback. The EA enters trades based on price rejec

MT5 Trading robot Trend followingMean reversion
Updated 3 months ago None stated GitHub repository of H4 EMA Pullback Next Level

Grid Retest

by khamminasomchanmavong
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy combined with an EMA trend filter. It enters positions based on price relation to a 50-period Exponential Moving Average. If a trend reverses while a basket is active, the EA initiates a dual-mode recovery by opening a new basket in the opposing

MT5 Trading robot GridTrend followingHedging High risk
Updated 3 months ago None stated GitHub repository of Grid Retest

Gartal Inc

by bsAmirHeydar
1 stars

Gartal Inc is a modular trading automation framework and strategy development template for MetaTrader 4. It provides a structured environment for testing various entry and exit logic, including Fair Value Gaps, moving average crossovers, and Donchian channels. The repository focuses on backtesting workflows, featuring

MT4 Framework & template SMC / ICT / price actionIndicator crossoverTrend following
Updated 3 months ago None stated GitHub repository of Gartal Inc

MoneyMaker EA Collection

by akshayboora342-cell
1 stars

This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy

MT5 Collection AI / machine learningTrend followingGrid High risk
Updated 3 months ago Apache-2.0 GitHub repository of MoneyMaker EA Collection

Renko Trader

by Valenteeno
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns. It features an internal calculation engine that supports both fixed point-based brick sizes and dynamic ATR-based sizing. The system includes visual on-chart drawing of Renko bricks to provide a custom price perspective. Trade management is

MT5 Trading robot Trend followingBreakout
Updated 3 months ago Custom licence GitHub repository of Renko Trader

Advanced KT Trader

by Valenteeno
1 stars

Advanced KT Trader is a price action robot for MetaTrader 5 that specializes in trading the Kangaroo Tail candlestick pattern. It employs a sophisticated scoring system to filter entries based on tail-to-body ratios and candle positioning. The strategy integrates support and resistance zone confluence alongside 200 EMA

MT5 Trading robot SMC / ICT / price actionMean reversionTrend following
Updated 3 months ago Custom licence GitHub repository of Advanced KT Trader

Conquest Platinum SMC EA

by MunchonGithub
1 stars

This MetaTrader 5 expert advisor implements a comprehensive Smart Money Concepts strategy, detecting market structure shifts through Break of Structure and Change of Character events. It monitors Fair Value Gaps and liquidity sweeps to identify entry points across multiple timeframes. The system offers several executio

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 3 months ago Apache-2.0 GitHub repository of Conquest Platinum SMC EA
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across M1, M5, and M15 intervals. It utilizes a seven-period Exponential Moving Average system ranging from EMA 30 to EMA 60 to identify market conditions. When EMAs are aligned, it executes trend-following trades; in consolidated markets, i

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Filter MA MT5

Bollinger Bands Mean Reversion EA

by federico-quintieri
1 stars

This Expert Advisor for MetaTrader 5 implements a mean reversion strategy utilizing Bollinger Bands and a 200-period Exponential Moving Average. It monitors market volatility through band distance and enters trades when price action returns inside the bands following a breakout. The system executes logic only at the st

MT5 Trading robot Mean reversionTrend following

Universal MTF EA

by Huthayfa-Alomari
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across H4, M15, and M5 intervals. It executes trades based on confluence between Fibonacci levels, liquidity zones, and market regime analysis. The robot manages risk through defined per-trade percentages, daily loss limits, and weekly drawd

MT5 Trading robot SMC / ICT / price actionMulti-strategyTrend following
Updated 3 months ago None stated GitHub repository of Universal MTF EA

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers

Bell Price Action ICT

by thinhct95
1 stars

This MetaTrader 5 collection features several expert advisors, with a primary focus on the ICT v2 robot. The main strategy implements Smart Money Concepts, identifying Market Structure Shifts, Fair Value Gaps, and Liquidity Sweeps across high, medium, and low timeframes. It automates entries on price retracements with

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated 3 months ago None stated GitHub repository of Bell Price Action ICT

Renko Reversal Collection

by PETERSAMUELOPS12
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script. The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It

MT5 Collection Trend followingMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Renko Reversal Collection

Bakome Hash EA

by Bakomebandias
1 stars

Bakome Hash EA is a trend-following expert advisor for MetaTrader 5 that combines Exponential Moving Average crossovers with RSI momentum filtering. It initiates trades based on the interaction between fast and slow EMAs while confirming momentum through RSI levels. The robot utilizes Average True Range for calculated

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Hash EA

Puer Tigris

by PuerTigris
1 stars

Puer Tigris is a MetaTrader 4 expert advisor that implements multiple entry strategies, primarily focusing on Bollinger Bands mean reversion. It features a martingale lot scaling system where position sizes are multiplied after a trade is closed, with a configurable limit on the number of recovery levels. The robot use

MT4 Trading robot MartingaleMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Puer Tigris
1 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on Donchian Channel breakouts and MACD filters across multiple timeframes. It utilizes a higher timeframe for trend direction while identifying entry opportunities on lower timeframes. The robot includes a trend memory mode designed to manage en

MT5 Trading robot BreakoutTrend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Donchian MACD Breakout EA

Risk Managed Trend EA

by Hatef-Rostamkhani
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Exponential Moving Average crossovers and Relative Strength Index momentum confirmation. It enters trades based on trend direction and exits using Average True Range derived stop loss and take profit levels. The system includes robust risk man

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Risk Managed Trend EA

Oddioybek7 MQ5 Collection

by oddioybek7-beep
1 stars

This MetaTrader 5 repository contains a collection of automated trading systems, including SignalRobot, OrderBlockRobot, and Smart HHMA Robot. The primary SignalRobot expert uses Triple Exponential Moving Average (TEMA) and noise filters to generate trade signals. It includes a risk management module that calculates lo

MT5 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 5 months ago None stated GitHub repository of Oddioybek7 MQ5 Collection

XGBoost Classifier MT5

by alexandruchirita4192
1 stars

This MetaTrader 5 expert advisor utilizes an XGBoost machine learning model exported via the ONNX format to identify trading opportunities. It enters trades based on classification probabilities and a minimum gap between prediction classes. The system features extensive risk controls, including stop loss and take profi

MT5 Trading robot AI / machine learningTrend following
Updated 5 months ago GPL-3.0 GitHub repository of XGBoost Classifier MT5

Adaptive Quant Grid

by x001tk-Igor
1 stars

Adaptive Quant Grid is an automated trading system for MetaTrader 5 that utilizes a dynamic grid strategy. It adjusts grid spacing based on market volatility using the Average True Range indicator and includes a regime filter powered by ADX and EMA to distinguish between trending and ranging markets. The EA supports sy

MT5 Trading robot GridMean reversionHedging High risk

Robot MA RSI

by space-55
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Moving Average crossovers and Relative Strength Index (RSI) signals. The robot enters trades when a fast EMA crosses a slow EMA, provided the RSI confirms momentum. Risk management is handled through ATR-based stop loss and take profit calcula

MT5 Trading robot Indicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Robot MA RSI
1 stars

Apex Leviathan is a multi-indicator expert advisor for MetaTrader 5 that combines technical analysis with external AI validation. It calculates a trade score using moving averages across H4, H1, and M30 timeframes, alongside RSI and MACD data. If a score threshold is met, the robot optionally consults the Google Gemini

MT5 Trading robot AI / machine learningIndicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Apex Leviathan AI Oracle

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