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.

168 EAs match Clear filters

Introducao MQL5 Collection

by RafaelFenerick
75 stars

This repository is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Introducao MQL5 Collection

Sclab MQL5 Collection

by guilhermetabordaribas
75 stars

This MetaTrader 5 expert advisor collection provides a modular approach to automated trading based on technical indicators. It features a trading robot that uses a moving average to identify entries, supported by risk management tools including hard stop losses and take profits. The system includes logic for break-even

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Sclab MQL5 Collection
60 stars

This MetaTrader 5 expert advisor automates the 9.1 trading setup popularized by Larry Williams, utilizing an exponential moving average to detect trend shifts. It enters trades based on price action relative to the moving average slope. The system includes built-in trade management features like partial profit taking,

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Larry Williams 9.1 Strategy
52 stars

This MetaTrader 5 expert advisor serves as an educational example from a book on MQL5 programming. It implements a versatile trading system that can be configured to use moving average crossovers, Relative Strength Index levels, or both indicators combined for trade entries. The EA manages risk with user-defined stop l

MT5 Trading robot Indicator crossoverMean reversion
Updated 6 years ago None stated GitHub repository of Introduction MQL5 Book EA

Grid EA

by sonidelav
52 stars

This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si

MT4 Trading robot GridScalping High risk
Updated 8 years ago GPL-3.0 GitHub repository of Grid EA
40 stars

This collection provides multiple MetaTrader 5 expert advisors and indicators intended as educational templates for MQL5 development. The primary example, ExpSidus, implements a moving average crossover strategy using Exponential and Linear Weighted Moving Averages. The included robots feature basic risk management thr

MT5 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MQL5 Trading Robot Examples
20 stars

First Candle Breakout is a MetaTrader 5 expert advisor designed to trade the breakout of the high or low of the first candle within a specified period. While traditionally used with the first 60-minute candle, the software allows users to configure any timeframe for the initial range. The robot enters a buy position wh

MT5 Trading robot Breakout

Elephant Walk

by erlonfs
16 stars

Elephant Walk is a MetaTrader 5 expert advisor based on the trading methodology of Oliver Velez. It automates entries using moving average crossovers and price action patterns often associated with large bars or elephant candles. The EA provides extensive trade management options, including trailing stops, break-even a

MT5 Trading robot Indicator crossoverSMC / ICT / price action
Updated 7 years ago MIT GitHub repository of Elephant Walk

This MetaTrader 5 repository features a diverse collection of automated trading strategies, including indicator-based scalpers and price action robots. The experts utilize technical filters such as Average True Range periods and baseline moving averages to identify entry signals. Key risk management features integrated

MT5 Collection Trend followingBreakoutScalping

RL Agent Trader

by rezakarbasi
12 stars

RL Agent Trader is an expert advisor for MetaTrader 5 that integrates with a Python-based reinforcement learning environment via network sockets. It implements a breakout strategy based on the highest and lowest prices of previous candles. The core functionality relies on a Deep Q-Network (DQN) in Python to dynamically

MT5 Trading robot BreakoutAI / machine learning
Updated 2 years ago None stated GitHub repository of RL Agent Trader

Fimathe EA

by yolisses
12 stars

Fimathe EA is a MetaTrader 5 robot designed to automate the Fimathe trading technique. It replaces manual channel drawing by analyzing a user-defined range of historical candles to determine reference channels and neutral zones. The system identifies price partitions and uses the median distance to set entry levels. Fo

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA

Falcon F2

by vzhomeexperiments
11 stars

Falcon F2 is an expert advisor for MetaTrader 4 that implements model-based trading by interpreting external signals. The robot acts as an execution interface for predictions generated outside the platform, such as those from R-based models or a Decision Support Centre. It enters trades when predicted price changes exc

MT4 Trading robot AI / machine learning
Updated 5 years ago MIT GitHub repository of Falcon F2
11 stars

This MetaTrader 4 expert advisor automates trading by combining the Relative Strength Index (RSI) with Ichimoku Kumo signals. It scans every instrument listed in the Market Watch window to identify entries across multiple pairs simultaneously. The robot includes a built-in spread filter to avoid high-cost executions an

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of RSI Ichimoku Trader Bot
10 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts and Order Block identification. It analyzes price action across multiple timeframes, utilizing higher timeframe data for trend context and lower timeframes for entries. The system includes trade management tools such as break-even triggers

MT5 Trading robot SMC / ICT / price actionGrid High risk

Autumn Harvest

by wait4signal
8 stars

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l

MT5 Trading robot Mean reversionTrend followingMulti-strategy
Updated 1 year ago GPL-3.0 GitHub repository of Autumn Harvest

Athena EA

by kecoma1
7 stars

Athena is a MetaTrader 5 expert advisor designed for intraday trading based on session range breakouts. The robot monitors price action during a specific user-defined time window to establish daily high and low boundaries. Once this window closes, it executes buy or sell orders when the current price breaches these lev

MT5 Trading robot BreakoutAI / machine learning
Updated 2 years ago None stated GitHub repository of Athena EA

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus
7 stars

PR Pivots Expert Advisor is a technical tool for MetaTrader 4 that calculates and displays daily pivot points on the chart. Using price data from the previous trading day, including high, low, and close values, it plots the central pivot level along with three resistance and three support levels. The software uses grap

MT4 Utility Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of PR Pivots Expert Advisor

Opening Reversal MT5

by emesonfilho
7 stars

Opening Reversal MT5 is an automated trading system for MetaTrader 5 that executes trades based on price action relative to the previous day's opening level. The strategy monitors candle sentiment and triggers orders when the current price breaks through the prior day's opening price in the opposite direction of the pr

MT5 Trading robot Breakout
Updated 5 years ago None stated GitHub repository of Opening Reversal MT5

Belinda EA

by Lucas170
7 stars

Belinda EA is an automated trading robot for MetaTrader 4 that implements a trend-following strategy based on moving average crossovers. It enters long or short positions when a short-term simple moving average crosses a long-term moving average, provided a volatility filter is met. This filter compares the current Ave

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Belinda EA

Lorne MQL4 Collection

by lorne-luo
7 stars

This MetaTrader 4 repository provides a collection of expert advisors and technical utilities built on a custom framework. The primary trading systems, such as New Golden EA, utilize trend-based logic across multiple timeframes including H4, H1, and M15. These robots implement a multi-stage trailing stop mechanism that

MT4 Collection Trend followingMulti-strategyMartingale High risk
Updated 9 years ago None stated GitHub repository of Lorne MQL4 Collection

HLT Auto Trader

by GeorgVahi
6 stars

HLT is an automated trading robot for MetaTrader 5 that focuses on market structure and swing analysis across multiple timeframes from M1 to H4. The expert advisor synchronizes with New York time and identifies setups based on price swings and daily trading plans. It includes a fixed risk money management module and sp

MT5 Trading robot SMC / ICT / price actionNews
Updated 3 months ago None stated GitHub repository of HLT Auto Trader

AE Expert Curious

by mofostopheles
6 stars

AE Expert Curious is a collection of MetaTrader 4 expert advisors based on the Raghee Horner trend-following methodology. It utilizes specific Exponential Moving Average crossovers, including the 13, 21, 34, and 55-period lines, to determine market direction and momentum. The strategy incorporates several technical fil

MT4 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 6 years ago None stated GitHub repository of AE Expert Curious
5 stars

This MetaTrader 5 expert advisor executes trades based on opening range breakout logic. The system identifies a price range over a specific duration and enters positions when the market breaks through these levels. It supports multiple entry methods including market orders on candle close, resting stop orders, or limit

MT5 Trading robot Breakout
5 stars

This expert advisor for MetaTrader 5 uses the Moving Average Convergence Divergence (MACD) indicator to execute trades based on signal line crossovers. Operating on the fifteen-minute timeframe, the robot enters buy positions when the MACD main line is above the signal line and sell positions when it is below. It incor

MT5 Trading robot Indicator crossover
Updated 2 years ago None stated GitHub repository of MACD Expert Advisor MQL5
5 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on three exponential moving averages and the Stochastic oscillator. It identifies trade opportunities when two shorter-period EMAs sequentially cross a longer-period EMA. Positions are managed with fixed stop loss and take profit levels, with

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Triple EMA Stochastic EA

AI Telegram Signal

by bizkut
4 stars

This MetaTrader 5 expert advisor acts as a bridge between Telegram channels and the trading terminal via a dedicated Python server. It uses a TCP socket connection to receive structured JSON data parsed by artificial intelligence from unstructured chat messages. The EA executes market or pending orders based on entry r

MT5 Copier & bridge ScalpingMulti-strategy
4 stars

This repository provides a collection of MetaTrader 5 expert advisors developed for learning algorithmic trading. The primary featured tool, TimeRangeEA, identifies price high and low points within a specific time window to execute breakout trades. It incorporates risk management through stop loss and take profit level

MT5 Collection BreakoutIndicator crossoverMean reversion
4 stars

This MetaTrader 5 expert advisor executes trades based on the Williams Percent Range (%R) indicator paired with a specialized filter to avoid sideways markets. The system identifies trends by checking if the Williams %R value crosses the median 50 level while simultaneously analyzing multiple timeframes—including M1, M

MT5 Trading robot Trend following
Updated 5 years ago None stated GitHub repository of Williams And Range Escaping

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

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

Strategy TMA CG

by EA31337
3 stars

This MetaTrader 5 expert advisor implements a trading strategy based on the TMA+CG (Triangular Moving Average and Center of Gravity) indicator. Developed using the EA31337 framework, the robot utilizes the non-repainting version of the indicator to identify market entries. It features a multi-timeframe capability, enab

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

Strategy Pinbar

by EA31337
3 stars

Strategy Pinbar is an automated trading robot for MetaTrader 5 that identifies entry points using pinbar candlestick patterns. The EA enhances signal accuracy by applying Relative Strength Index (RSI) and Commodity Channel Index (CCI) filters to confirm market conditions. Built upon the EA31337 framework, the system is

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

Strategy Meta Multi

by EA31337
3 stars

This MetaTrader 5 expert advisor acts as a meta-strategy container that executes multiple underlying trading strategies simultaneously. Built on the EA31337 framework, it aggregates signals from various included strategy files across several timeframes ranging from M15 to H8. The EA manages trade entries and exits base

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

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

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

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

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

EAPRO M

by biglari2000
2 stars

EAPRO M is a price action scalper for MetaTrader 5 that utilizes a coordinate-based drag-and-drop system for trade placement. It manages execution through market, stop, and limit orders with automated position sizing based on account risk percentages. The EA incorporates multiple risk management layers, including daily

MT5 Trading robot ScalpingSMC / ICT / price action
Updated 5 weeks ago None stated GitHub repository of EAPRO M

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

Traderbot 4K

by chefDroid
2 stars

Traderbot 4K is an automated Expert Advisor for MetaTrader 5 that utilizes a strategy based on market equilibrium and price action concepts. It features an equity-based kill switch that automatically closes positions when a pre-defined profit percentage of the account balance is reached. The system incorporates risk ma

MT5 Trading robot SMC / ICT / price action
Updated 8 months ago None stated GitHub repository of Traderbot 4K

Trading MT5 Craft

by grecoandre96
2 stars

This collection for MetaTrader 5 features a suite of tools focused on drawdown protection and price action strategies. The primary risk management utility monitors account equity and balance, allowing users to set maximum loss thresholds in either percentage or fixed currency amounts. It can automatically block trading

MT5 Collection Breakout
Updated 10 months ago None stated GitHub repository of Trading MT5 Craft

GGTH AI Modules

by syngyn
2 stars

This collection of MetaTrader 5 expert advisors integrates external machine learning models via a local HTTP daemon for trade execution. The core system, GGTH-SR, utilizes sophisticated position sizing based on the Kelly Criterion with confidence-based scaling and smoothing. It includes an adaptive scalping module with

MT5 Trading robot AI / machine learningScalping
Updated 1 year ago None stated GitHub repository of GGTH AI Modules

This repository features a collection of MetaTrader 5 expert advisors designed for automated trading across various market conditions. The included tools range from grid-based systems like Mecha-Godzilla to range-reversion and breakout strategies. The expert advisors offer modular risk management, including daily loss

MT5 Collection GridMean reversionBreakout High risk

Backwater EA

by HERO-FIIFI
2 stars

Backwater EA is a MetaTrader 5 expert advisor that automates trading based on Smart Money Concepts, specifically focusing on Fair Value Gaps and Inversion Fair Value Gaps. The robot monitors price action and market structure to identify entries, filtering signals using a 50-period and 200-period Simple Moving Average c

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Backwater EA

Price Action EA

by Far-1d
2 stars

This MetaTrader 5 expert advisor automates a multi-timeframe price action strategy, identifying price extremes on a higher timeframe to seek entries on a lower timeframe. It features time-of-day filters and robust risk management, including percentage-based position sizing, maximum daily trade counts, and daily profit

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of Price Action 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