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.

371 EAs match Clear filters

Draco Bot

by Dracobot-1
1 stars

Draco Bot is an automated trading system for MetaTrader 5, specifically designed for trading gold (XAUUSD). It utilizes Smart Money Concepts to identify market entries and exits. The expert advisor includes integrated risk management tools, such as percentage-based lot sizing and a fixed risk-to-reward ratio. It execut

MT5 Trading robot SMC / ICT / price actionScalping
Updated 1 year ago None stated GitHub repository of Draco Bot

Mean Reversion Gap EA

by Xtley001
1 stars

This MetaTrader 5 expert advisor implements a mean reversion strategy that identifies price gaps between fast and slow moving averages. It utilizes an ATR-based volatility filter to enter trades during low volatility periods and confirms entries with RSI momentum patterns. The system manages risk using fixed dollar amo

MT5 Trading robot Mean reversionMulti-strategy

Long Tail Scalper

by SilverbackOssi
1 stars

Long Tail Scalper is a MetaTrader 5 expert advisor designed for trend-following strategies with a focus on surviving ranging markets. It implements a fixed reward-to-risk ratio and a dynamic grid-based system to manage position entries and exits. The robot utilizes a progressive lot sizing sequence to recover during ma

MT5 Trading robot Trend followingGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Long Tail Scalper

High Frequency Trading EA

by umerdawood23
1 stars

This MetaTrader 5 expert advisor is designed for high-frequency trading environments, focusing on fast execution and precise price-to-cash conversions. It operates during a user-defined time window and manages orders based on distance multipliers and spread limits. The robot includes risk management features such as st

MT5 Trading robot Scalping
Updated 1 year ago None stated GitHub repository of High Frequency Trading EA

Algorithmic Gambling EA

by phumlani-mbabela
1 stars

This MetaTrader 5 expert advisor is designed for EURUSD trading using moving average crossovers and candlestick pattern detection. It features a scalping mode and dynamic stop loss and take profit calculations that can optionally account for market volatility. Risk is controlled through fixed USD profit and loss target

MT5 Trading robot Indicator crossoverScalping
Updated 1 year ago None stated GitHub repository of Algorithmic Gambling EA
1 stars

Advanced Scalping Multi EA is a multi-strategy scalping robot for MetaTrader 5 that integrates multi-timeframe momentum, smart money concepts, and pattern recognition. It calculates a signal confidence score based on RSI, EMA crossovers, MACD, and institutional flow tracking. The expert advisor offers four distinct mod

MT5 Trading robot ScalpingSMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Advanced Scalping Multi EA

FX Trading EA Collection

by tambillbka
1 stars

This repository provides a collection of automated trading systems for MetaTrader 4 and 5. The expert advisors utilize various technical indicators, including ADX, DMI, RSI, and Heiken Ashi, to determine market entry points. Some strategies are based on price action from previous candle directions. Trade management fea

MT4MT5 Collection Trend followingScalpingMartingale High risk
Updated 1 year ago None stated GitHub repository of FX Trading EA Collection

Trend EA Collection

by Yogurt-Peng
1 stars

Trend EA is a collection of MetaTrader 5 expert advisors providing various automated trading strategies, including grid, martingale, and trend-following systems. The repository features implementations of the Turtle trading method, Donchian Channel breakouts, and moving average crossovers. Each expert advisor allows fo

MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Trend EA Collection

SMC Trading EA

by kustandy
1 stars

This expert advisor for MetaTrader 5 implements a Smart Money Concepts strategy focused on automated order block detection. It identifies market entries by scanning historical bars for specific price action patterns. The robot includes built-in risk management that calculates lot sizes based on a percentage of account

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

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

News Trading

by JonusNattapong
1 stars

News Trading is an automated expert advisor for MetaTrader 5 that executes breakout strategies based on high-impact economic events. The EA monitors built-in calendars for major releases such as NFP, FOMC, and GDP to identify potential volatility. It analyzes price action within specific time windows before and after e

MT5 News trading BreakoutNews
Updated 1 year ago None stated GitHub repository of News Trading

This MetaTrader 5 expert advisor is a momentum-based scalping robot designed for trading on the M1 timeframe, with a primary focus on XAUUSD. It enters trades based on Keltner Channel breakouts and filters entries using a dual Moving Average trend-following system. The EA features comprehensive risk controls, including

MT5 Trading robot ScalpingTrend followingBreakout

Scalping Master

by chanalvarez
1 stars

Scalping Master is an automated trading robot for MetaTrader 4 designed for short-term execution. It utilizes a technical strategy based on Exponential Moving Average crossovers combined with Relative Strength Index levels. The expert advisor features a dedicated quick scalping mode with tight targets and automated tra

MT4 Trading robot ScalpingIndicator crossover
Updated 1 year ago None stated GitHub repository of Scalping Master

Ashutosh Khemka EA

by Ashu27124
1 stars

Ashutosh Khemka EA is a trend-following robot for MetaTrader 5 that uses an exponential moving average to generate trading signals. It operates within a defined daily session, featuring configurable start and end times for new entries, as well as an automatic close time for open positions. Risk controls include fixed t

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

Nyrok RSI MT5

by Nyrok
1 stars

The Nyrok RSI EA is an automated trading robot for MetaTrader 5 designed for mean-reversion on the EURGBP currency pair. It utilizes the Relative Strength Index (RSI) to identify overbought and oversold conditions, entering sell positions when the RSI exceeds a specified upper threshold and buy positions when it falls

MT5 Trading robot Mean reversion
Updated 1 year ago None stated GitHub repository of Nyrok RSI MT5

FSB Strategy Collection

by hoanguyen1998
1 stars

This repository provides a collection of over 100 expert advisors for MetaTrader 4 and MetaTrader 5, produced using the Forex Strategy Builder software. The robots are configured for specific forex pairs including GBPUSD, USDJPY, and EURAUD on low timeframes. Trading logic typically combines multiple technical indicato

MT4MT5 Collection Indicator crossoverMean reversionTrend following High risk
Updated 1 year ago None stated GitHub repository of FSB Strategy Collection

Church Builder

by HERO-FIIFI
1 stars

Church Builder is an automated trading robot for MetaTrader 5 that executes trades based on Smart Money Concepts, specifically targeting Fair Value Gaps. It identifies price gaps within specific point ranges and waits for breakouts to enter positions, provided the market trend aligns with a Simple Moving Average. The e

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 1 year ago None stated GitHub repository of Church Builder

Ajip 3 EA

by pijarajip7
1 stars

Ajip 3 EA is a MetaTrader 5 robot designed to trade trends identified by a 200-period Simple Moving Average. It monitors price action across two timeframes, typically using M15 for trend identification and M1 for execution. The strategy involves opening multiple layers of positions based on candle breaks, categorized i

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Ajip 3 EA

Signal Manager

by ali-derogar
1 stars

A MetaTrader 4 expert advisor designed to execute trades based on signals received from an external API. It handles order placement for buy and sell signals, incorporating risk management features such as a pip-based stop loss and a take-profit target determined by a user-defined ratio. The EA limits market entry to tw

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Signal Manager
1 stars

This repository provides a collection of MetaTrader 5 expert advisors focused on Smart Money Concepts and Inner Circle Trader methodologies. The included bots automate various trading models such as the Next Day Model, New York session range trading, and Fair Value Gap entries. Each tool utilizes multi-timeframe analys

MT5 Collection SMC / ICT / price actionScalpingBreakout

K Second Data Fetcher

by my05613828
1 stars

K Second Data Fetcher is a MetaTrader 5 utility designed to retrieve and handle sub-minute candlestick data, specifically focusing on second-level intervals. The expert advisor operates as a technical tool rather than a trading robot, utilizing a high-frequency 50-millisecond timer to monitor price changes and process

MT5 Utility
Updated 1 year ago None stated GitHub repository of K Second Data Fetcher

Neural Network MT5

by NATTAYAx
1 stars

This MetaTrader 5 expert advisor utilizes a neural network model to automate trading decisions. It integrates custom libraries for data preprocessing and forward propagation to evaluate market conditions. The robot specifically targets the one-minute timeframe, preparing input vectors from recent historical bars. Trade

MT5 Trading robot AI / machine learning
Updated 1 year ago None stated GitHub repository of Neural Network MT5
1 stars

ATR Breakeven Engulfing EA is a MetaTrader 4 trading robot that combines engulfing price action patterns with the Relative Strength Index for market entries. It is designed to operate on low timeframes, such as M5, focusing on ranging currency pairs. The EA manages risk through fixed stop loss and take profit levels, w

MT4 Collection Mean reversionGrid High risk

BBMA Profit Seeker

by syarief02
1 stars

BBMA Profit Seeker is a MetaTrader 4 expert advisor implementing a Bollinger Bands and Moving Average crossover strategy. It enters long positions when price rebounds from the lower band and closes above the moving average, while short entries occur after a rejection from the upper band. The robot manages exits dynamic

MT4 Trading robot Indicator crossoverMean reversion

Crossover Navigator

by syarief02
1 stars

This MetaTrader 4 expert advisor executes trades based on a moving average crossover strategy. It specifically monitors the relationship between price action and a configurable moving average period, traditionally set to 50. The robot enters buy positions when the price closes above the moving average and sell position

MT4 Trading robot Indicator crossover
1 stars

The BU ATR Breakeven Engulfing is a MetaTrader 4 robot that executes trades based on candlestick price action and volatility indicators. It identifies entry points using bullish and bearish engulfing patterns, which are then filtered through the Relative Strength Index to confirm momentum. The system incorporates dynam

MT4 Trading robot SMC / ICT / price actionMean reversionScalping

Average Scalper

by fauzaanu
1 stars

Average Scalper is a MetaTrader 4 expert advisor designed for trend-following strategies based on moving average levels and volatility ranges. It uses a 50-period Exponential Moving Average to determine market direction, initiating buy orders when the price is above the line and sell orders when below. Risk management

MT4 Trading robot ScalpingTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Average Scalper

Ak Sequence Bot

by Ak2hay-1
1 stars

Ak Sequence Bot is an automated trading robot for MetaTrader 5 that executes entries based on an Exponential Moving Average crossover on the five-minute timeframe. The system employs a specific lot size sequence, increasing the volume of subsequent trades following a loss to recover equity. It includes essential risk c

MT5 Trading robot Indicator crossoverMartingale High risk
Updated 2 years ago None stated GitHub repository of Ak Sequence Bot
1 stars

This MetaTrader 5 expert advisor implements a breakout scalping strategy by placing pending buy and sell stop orders relative to recent price extremes. It identifies entry levels by analyzing highs and lows over a user-defined number of bars. The robot includes built-in risk controls such as hard stop loss and take pro

MT5 Trading robot ScalpingBreakout
Updated 2 years ago None stated GitHub repository of Scalping Trading Bot Forex

Fractals Strategy EA

by arian01Xx
1 stars

This MetaTrader 5 expert advisor executes trades based on the interaction between Bill Williams Fractals and an Exponential Moving Average filter. It monitors the market for fractal signals, entering buy orders when a lower fractal forms while price remains above the 50-period EMA. Conversely, it enters sell orders whe

MT5 Trading robot Trend following
Updated 2 years ago None stated GitHub repository of Fractals Strategy EA

Quants EA

by Khethu575
1 stars

Quants EA is an automated trading tool for MetaTrader 5 that utilizes the Bill Williams Market Facilitation Index (BWMFI) to analyze market dynamics. It monitors price highs and candle ranges to identify potential entries when MFI values meet specific thresholds. The expert advisor incorporates multi-stage risk managem

MT5 Trading robot Mean reversionScalping
Updated 2 years ago None stated GitHub repository of Quants EA

Santos HFT

by the-SantosLab
1 stars

Santos HFT is an automated trading robot for MetaTrader 4 designed for high-frequency execution based on bid-ratio imbalances. The system analyzes price dynamics across multiple timeframes, specifically looking for percentage-based triggers on M1 through H4 intervals to identify entry points. It includes support for a

MT4 Trading robot Scalping
Updated 2 years ago None stated GitHub repository of Santos HFT

WI Expert Advisor

by DevIzee
1 stars

This MetaTrader 5 expert advisor automates trading across multiple markets, with specific logic for Boom and Crash synthetic indices and standard currency pairs. For synthetic indices, it generates alerts and entries based on RSI and Stochastic levels on the M1 timeframe. For other symbols, it utilizes a crossover stra

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of WI Expert Advisor
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

HFT Arbitrage

by the-SantosLab
1 stars

This expert advisor implements a latency arbitrage strategy across MetaTrader 4 and 5 platforms. It functions by comparing price data from a high-speed feed against a slower broker execution environment to identify price lags. When a significant price gap is detected, the system attempts to execute trades to capture th

MT4MT5 Trading robot Arbitrage
Updated 2 years ago None stated GitHub repository of HFT Arbitrage
1 stars

This repository contains a collection of MetaTrader 5 expert advisors primarily designed for synthetic indices, specifically targeting Boom and Crash markets. The included robots, such as Roxie and SpikeDetector, utilize custom indicators like TrendCatcher to identify price trends and momentum shifts. The tools manage

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk
1 stars

This collection for MetaTrader 5 provides several automated trading robots, primarily focusing on the Trailing Break Even Parcial expert advisor. This specific strategy utilizes a combination of three Moving Averages and Ichimoku Kinko Hyo parameters to execute trades. The software includes robust trade management modu

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

EA Sofia

by syarief02
1 stars

EA Sofia is an automated trading robot for MetaTrader 4 that implements a grid-based martingale strategy. It is designed to operate on the M5 timeframe, specifically targeting ranging currency pairs. The EA enters trades and manages positions by layering orders at fixed or incremental distances, using a multiplier to i

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 2 years ago None stated GitHub repository of EA Sofia
1 stars

This MetaTrader 4 expert advisor implements a momentum-based trading strategy combined with reinforcement learning components. The robot enters buy positions when the current price exceeds the previous close and sell positions when it falls below, while simultaneously closing any opposing orders. It features a visual o

MT4 Trading robot Trend followingAI / machine learning
Updated 3 years ago None stated GitHub repository of Vadbash MT4 Trading Bot

Beasts EA

by TeejayTechBro
1 stars

This MetaTrader 4 expert advisor executes trades based on price momentum at the start of every new candle on timeframes below daily. It identifies potential entries by comparing the current candle's close to the previous close, automatically closing existing opposing positions to reverse direction. The bot utilizes a v

MT4 Trading robot Trend following
Updated 3 years ago None stated GitHub repository of Beasts EA
1 stars

Ichimoku Ultimate Scanner EA is a MetaTrader 5 robot designed to monitor multiple financial instruments using the Ichimoku Kinko Hyo indicator. It scans all symbols within the Market Watch window to detect specific technical conditions, including price breakouts from the Kumo cloud and Chikou span confirmations. The sy

MT5 Collection Trend followingBreakoutIndicator crossover

Linear Regression Tester

by PhiAlphaInvestments
1 stars

This MetaTrader 5 expert advisor serves as a visual tool for plotting linear regression channels on a chart. It utilizes a custom library to calculate the regression line and standard deviation bands based on the last 50 periods of the M1 timeframe. The program automatically draws and updates trendlines to visualize th

MT5 Utility
Updated 3 years ago None stated GitHub repository of Linear Regression Tester

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

Scalping EA

by DeathG7n
1 stars

This expert advisor for MetaTrader 5 implements a scalping strategy using a combination of trend and momentum indicators. It determines trend direction via three Smoothed Moving Averages (21, 50, and 200 periods) and uses the Relative Strength Index (RSI) as a filter. Entries are triggered by price breakouts of Fractal

MT5 Trading robot Trend followingScalpingBreakout
Updated 3 years ago None stated GitHub repository of Scalping EA

Shuriken FX

by DayiCuellar
1 stars

Shuriken FX is an automated trading robot for MetaTrader 4 that executes trades based on indicator-driven signals, visualized as arrows on the chart. The expert advisor implements basic trade management using fixed lot sizing and mandatory stop loss and take profit levels. It supports both automatic and manual operatio

MT4 Trading robot Scalping
Updated 3 years ago None stated GitHub repository of Shuriken FX

MegaDroid Pro XE Collection

by ominiraindustries
1 stars

This MetaTrader 4 repository provides a collection of legacy expert advisors, headlined by the MegaDroid Pro XE. These files are curated for educational study and represent older MQL4 development styles. The main robot is a session-based scalper designed for specific forex pairs like EURUSD. It includes specialized ris

MT4 Collection ScalpingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of MegaDroid Pro XE Collection
1 stars

This MetaTrader 5 expert advisor implements a momentum-based strategy designed for gold futures. It identifies entry points by detecting double-impulse price patterns and filtering for minimum volume requirements. The EA determines market direction using a short-term exponential moving average crossover on the one-minu

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Trading Gold Futures

Vega Bot

by VegaAISolutions
1 stars

Vega Bot is a MetaTrader 4 expert advisor that executes trades using a price action strategy combined with technical filters like RSI, MACD, and Ichimoku Kumo Cloud. Developed for the EURUSD five-minute timeframe, the system uses ATR for volatility measurement and calculates lot sizes based on a risk percentage. The co

MT4 Trading robot Indicator crossoverTrend followingAI / machine learning
Updated 3 years ago GPL-3.0 GitHub repository of Vega Bot

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