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.

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

Forex Winner EA

by syarief02
1 stars

Forex Winner EA is an automated trading robot for MetaTrader 4 that utilizes Relative Strength Index boundaries and volatility calculations to identify entry points. It employs a martingale-style recovery strategy, using a lot multiplier to scale positions after losses. The EA includes risk management controls such as

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 2 years ago None stated GitHub repository of Forex Winner EA

Trading Forex Bot

by LegionAtol
1 stars

This MetaTrader 4 expert advisor executes trades based on a price-action strategy involving dynamic horizontal bands. The bot identifies entries by tracking price interactions with median levels and subsequent breakouts of upper or lower band boundaries, filtered by RSI indicator readings. It features automated risk ma

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Trading Forex Bot
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

Gold Orb

by KingTiger0930
1 stars

Gold Orb is an automated trading robot for MetaTrader 5, specifically designed for XAUUSD on the H1 timeframe. It utilizes an Open Range Breakout strategy, calculating a price range based on the first candle of the trading day and waiting for a specific number of consolidation candles before identifying breakout signal

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Gold Orb

Larry Williams Setup 9.1

by Mateus-Fleck
1 stars

This MetaTrader 5 expert advisor automates the Setup 9.1 trading strategy developed by Larry Williams. It utilizes an exponential moving average, typically the nine-period EMA, to enter trades based on trend direction and candle closures. The robot manages active positions through take-profit targets, break-even trigge

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Larry Williams Setup 9.1

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

MA SAR Dual EA

by OoreFasawe
1 stars

This MetaTrader 5 expert advisor executes trades based on a technical strategy combining dual Moving Averages, Bollinger Bands, and the Parabolic SAR indicator. It identifies entries using indicator confluence and provides built-in risk controls including fixed stop loss, take profit, and a trailing stop mechanism. The

MT5 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MA SAR Dual EA

Triple Cross EA

by Jmubarak
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment or crossover of three distinct moving averages. Users can configure the period, method, and price source for fast, medium, and slow averages. The robot manages risk using dynamic stop loss and take profit levels calculated fro

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Triple Cross EA
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

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

Mix

by Peter-Novak
1 stars

This MetaTrader 4 expert advisor executes two distinct intraday strategies focused on the GBPUSD pair. The first approach identifies price deviations from the daily open, while the second targets retracements from specific daily range extensions. The robot manages multiple position types, including primary and extra or

MT4 Trading robot Mean reversionMulti-strategyHedging
Updated 3 years ago None stated GitHub repository of Mix

Athu Robot

by smithbsb
1 stars

Athu Robot is a MetaTrader 5 expert advisor designed for breakout trading during market opening hours, specifically targeting the Brazilian B3 or US sessions. The EA initializes its logic at 9:00 AM and places pending buy and sell orders at 10:00 AM to capture volatility spikes at the session start. It features integra

MT5 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Athu Robot

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

Basic Expert Advisor

by angelohomen
1 stars

This MetaTrader 5 robot executes trades based on quantitative risk indicators, including Value at Risk (VaR) and Expected Shortfall (ES). It uses statistical calculations like standard deviation and confidence levels to determine entry signals based on price returns. The system is designed for intraday trading, featuri

MT5 Trading robot Mean reversion
Updated 3 years ago None stated GitHub repository of Basic Expert Advisor

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

Triple Shield EA

by vasiliykulik
1 stars

This MetaTrader 4 expert advisor implements a multi-timeframe trading strategy focused on price wave analysis and trendline rebounds. It monitors market deviations across M1, M5, and M15 intervals to identify entry points based on specific wave patterns. The system includes various risk controls such as fixed stop loss

MT4 Trading robot Mean reversionMulti-strategyTrend following
Updated 3 years ago None stated GitHub repository of Triple Shield EA

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

Trends Followers

by nguemechieu
1 stars

Trends Followers is a MetaTrader 4 expert advisor that executes trades based on trend analysis, support and resistance levels, and news events. The robot manages entries using a trend-following approach and allows users to set a minimum trade duration to avoid premature exits. It includes risk management controls to li

MT4 Trading robot Trend followingNewsMartingale High risk

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

PDSF Mean Reversion

by L-M-Digital
1 stars

This MetaTrader 5 expert advisor is an educational prototype developed for a digital signal processing course at the University of Brasília. It utilizes a mean-reversion strategy based on the Volume Weighted Average Price (VWAP), entering trades when price deviates from the indicator by a specific distance. The robot s

MT5 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of PDSF Mean Reversion

StrategyQuant Demo EA

by Pius-Emmanuel
1 stars

This MetaTrader 4 expert advisor is a sample trading robot generated by StrategyQuant X. It utilizes the Williams Percent Range indicator for entry signals and incorporates Average True Range components for volatility measurement. The system employs fixed lot sizing and includes risk management features such as a hard

MT4 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of StrategyQuant Demo EA
1 stars

This MetaTrader 4 expert advisor is an automated trading robot specifically developed for the GBPNZD currency pair on the M15 timeframe. Generated using the EA Studio software, the strategy utilizes Bollinger Bands as its primary technical indicator to determine market entries and exits. The code includes built-in risk

MT4 Trading robot Mean reversionTrend following
Updated 4 years ago None stated GitHub repository of GBPNZD EA Studio M15
1 stars

This automated trading robot is designed specifically for the AUDJPY currency pair on the H1 timeframe for MetaTrader 4. Developed using the Expert Advisor Studio platform, the software utilizes a combination of directional and volume indicators to identify entry and exit points. It incorporates standard risk managemen

MT4 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Audjpy H1 EA Studio

BBS Expert

by AliFadaei90
1 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on the Bollinger Bands indicator. It monitors price positions relative to the upper, lower, and middle bands on the H1 timeframe. The EA uses a series of threshold parameters to determine entry and exit points, as well as the deletion of or

MT4 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of BBS Expert

London Breakout EA

by anhpnh
1 stars

This MetaTrader 4 robot automates a breakout strategy focused on the London and New York trading sessions. It identifies price ranges over a set number of bars and executes trades when price breaks above or below these levels. The EA includes an Exponential Moving Average filter to align trades with the prevailing tren

MT4 Trading robot BreakoutTrend following
Updated 5 years ago None stated GitHub repository of London Breakout EA

BB MMFFD Mini Indice

by HidaiSilva
1 stars

This MetaTrader 5 expert advisor is designed specifically for trading the Brazilian Mini Index. It utilizes a strategy based on Bollinger Bands and the Stochastic oscillator to identify potential market entries. The robot manages risk through predefined stop loss and take profit parameters. It features a specific compe

MT5 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of BB MMFFD Mini Indice

LSTM Neural Network Trader

by TestovironPowroci
1 stars

This Expert Advisor implementation utilizes a Long Short Term Memory (LSTM) neural network to execute trades on MetaTrader 5. It functions as a proof-of-concept system where MT5 exports market data to CSV files, which are then processed by an external Python environment using PyTorch. The system requires manual configu

MT5 Trading robot AI / machine learning
Updated 5 years ago None stated GitHub repository of LSTM Neural Network Trader

Inside Inside Out EA

by smzimelaJHB
1 stars

This MetaTrader 5 expert advisor executes trades based on a strategy involving nested Bollinger Bands and a 200-period moving average filter. The robot monitors price action relative to two sets of volatility bands with differing standard deviations to identify breakout opportunities. It enters positions when a specifi

MT5 Trading robot Trend followingBreakout
Updated 5 years ago None stated GitHub repository of Inside Inside Out EA

Matrix Martingale

by derek-mu
1 stars

Matrix Martingale is a MetaTrader 4 expert advisor designed to trade price action based on previous candle ranges. It utilizes a fixed Martingale lot scaling sequence across ten levels to manage trades. Entries are determined by Fibonacci levels, specifically placing orders at 25% or 50% retracements of the previous ca

MT4 Trading robot MartingaleMean reversion High risk
Updated 5 years ago None stated GitHub repository of Matrix Martingale

Metatrade Sandbox

by humbertosouza
1 stars

This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R

MT5 Trading robot Indicator crossover
Updated 6 years ago AGPL-3.0 GitHub repository of Metatrade Sandbox

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

Falcon B

by josephxskum
1 stars

Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-

MT4 Trading robot Indicator crossover
Updated 6 years ago MIT GitHub repository of Falcon B

Algo 01

by expdal3
1 stars

Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Algo 01

Jaibot

by juzailie
1 stars

Jaibot is a MetaTrader 4 expert advisor designed for scalping on the M15 timeframe. The software monitors a wide range of forex pairs, scanning for opportunities every five minutes via a timer-based function. It includes built-in Telegram integration using an external library to provide remote notifications and status

MT4 Trading robot Scalping
Updated 6 years ago None stated GitHub repository of Jaibot

EMA 200 EA

by MrKali
1 stars

This MetaTrader 4 expert advisor executes a strategy based on the 200-period Exponential Moving Average. It identifies potential entries when price action deviates from the EMA, specifically seeking bearish candles below the average for buy orders and bullish candles above the average for sell orders. The robot include

MT4 Trading robot Mean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of EMA 200 EA

TimeBit

by minhtranlife
1 stars

This MetaTrader 5 expert advisor utilizes ZigZag indicators and Fibonacci retracements to identify and trade ABCD patterns. Operating primarily on the M1 and M5 timeframes, the robot calculates entry points based on specific price ranges and Fibonacci levels such as 23.6 and 38.2. The system employs an aggressive marti

MT5 Trading robot MartingaleMean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of TimeBit

Break Time UJ

by robinoud
1 stars

Break Time UJ is a MetaTrader 4 expert advisor that automates a breakout strategy triggered at a specific time of day. It identifies support and resistance levels using the BreakOut PANCA EAGLE custom indicator and applies a 60-period Exponential Moving Average as a trend filter. The EA manages risk through a trailing

MT4 Trading robot BreakoutTrend following
Updated 6 years ago None stated GitHub repository of Break Time UJ

Forex Scalping Strategy

by taivoit1993
1 stars

This MetaTrader 4 expert advisor implements a trend-following scalping strategy using a combination of moving averages and the Stochastic oscillator. It identifies the primary trend using a 200-period Simple Moving Average and a 21-period Exponential Moving Average. Trades are entered during pullbacks when the Stochast

MT4 Trading robot Trend followingScalpingIndicator crossover
Updated 6 years ago None stated GitHub repository of Forex Scalping Strategy

Two MA Crossover

by uzzalhcse
1 stars

This MetaTrader 4 expert advisor executes trades based on the crossover of two moving average indicators. It initiates buy positions when the fast moving average crosses above the slow moving average, provided both indicators are trending upward, and opens sell positions on downward crossovers. The robot manages exits

MT4 Trading robot Indicator crossover
Updated 6 years ago None stated GitHub repository of Two MA Crossover

RSI Grid

by jensengelke
1 stars

This MetaTrader 4 expert advisor executes a mean-reversion strategy driven by the Relative Strength Index. It enters trades when the RSI indicates overextended price levels and manages them using a grid-based approach. The EA scales lot sizes using a martingale factor and allows for position layering at specified dista

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 6 years ago None stated GitHub repository of RSI Grid

Artemis IA

by Fernando-7
1 stars

Artemis IA is an expert advisor for the MetaTrader 4 platform that executes trades in the forex market. It uses a strategy based on fractal methodology and technical indicators to determine market direction. The logic integrates the Parabolic SAR indicator across M1, M5, and M15 timeframes, complemented by signals from

MT4 Trading robot Trend following
Updated 6 years ago None stated GitHub repository of Artemis IA

200 EMA

by twimprine
1 stars

This MetaTrader 4 expert advisor executes trades based on Exponential Moving Average conditions across multiple timeframes. Originally designed as a crossover strategy, it incorporates a dynamic stop loss mechanism that adjusts based on price distance from the entry point. The robot features built-in risk controls, inc

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of 200 EMA

EA Swap

by pablogalve
1 stars

EA Swap is a MetaTrader 4 expert advisor designed to capture interest rate differentials during the triple rollover period, typically occurring on Wednesdays. It automates the process of opening a buy or sell position shortly before the swap is charged and closing it after the rollover is processed. The robot includes

MT4 Trading robot Arbitrage
Updated 7 years ago Apache-2.0 GitHub repository of EA Swap

Yumokin CCI

by yumokin
1 stars

This automated trend-following expert advisor for MetaTrader 4 is designed specifically for the GBPJPY pair on the H1 timeframe. It identifies market entries using the Commodity Channel Index and Moving Average Convergence Divergence indicators. The system operates within specific GMT hours and manages a maximum of two

MT4 Trading robot Trend followingIndicator crossoverHedging
Updated 7 years ago None stated GitHub repository of Yumokin CCI

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