Synced with GitHub · updated today

Free MT4 & MT5 expert advisors

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

New EAs by RSS
525 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

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

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

This MetaTrader 5 collection features expert advisors tailored for the Brazilian stock and futures market, specifically focusing on mini-contracts. One robot implements tape reading logic by monitoring market book volume imbalances, while another executes trades based on moving average crossovers. Each system incorpora

MT5 Collection Indicator crossoverMulti-strategy

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

EURUSD EA Template

by himi1024
1 stars

This MetaTrader 4 repository hosts a collection of expert advisors based on a standardized automated trading template. The source files are tailored for EURUSD on the M15 timeframe, offering a modular structure for integrating custom entry and exit signals. It includes comprehensive risk management settings, allowing u

MT4 Framework & template
Updated 4 years ago None stated GitHub repository of EURUSD EA Template

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

Expert Advisors Collection

by johnsmith-mql
1 stars

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

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

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

Investment EA Collection

by MohammadMahdiOmid
1 stars

This repository provides a collection of MetaTrader 4 expert advisors designed for forex and digital markets. The primary expert advisor implements a breakout strategy by placing buy and sell stop orders at a specific distance from the previous day's high and low prices. It includes automated trade management features

MT4 Collection BreakoutIndicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Investment EA Collection

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

This repository is a collection of Expert Advisors for MetaTrader 5, providing several distinct automated strategies such as range trading, ZigZag-based signals, and Fibonacci targets. The primary robot executes trades based on Moving Average calculations and specific intraday session times. It manages risk through fix

MT5 Collection Trend followingIndicator crossoverMulti-strategy

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

This repository provides a collection of MetaTrader 4 expert advisors centered on trend-following and hedging mechanics. The primary Trend EA identifies market entries using moving average crossovers, stochastic oscillators, and MACD indicators. Risk is managed through percentage-based equity lot sizing and pair-specif

MT4 Collection Trend followingIndicator crossoverHedging

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

Prediction App DLL

by LeCray
1 stars

This MetaTrader 5 framework provides tools for integrating machine learning models with algorithmic trading. It features scripts designed to generate training data by exporting price action and technical indicators like RSI, MACD, and Stochastics into CSV formats. The system interfaces with external neural network mode

MT5 Framework & template AI / machine learningTrend following
Updated 5 years ago None stated GitHub repository of Prediction App DLL

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

Area Fifty One

by Valerzen88
1 stars

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

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

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

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

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

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

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

Robos MQL5 Collection

by Navesvjv
1 stars

This repository is a collection of MetaTrader 5 expert advisors featuring various technical trading strategies. It includes individual robots based on moving average crossovers, MACD, Bollinger Bands, and linear regression models. Each EA is equipped with risk control parameters such as fixed stop losses, take profit l

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 6 years ago None stated GitHub repository of Robos MQL5 Collection

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

Discretion Algo

by BenWhittakerTM
1 stars

Discretion Algo is a collection of MetaTrader 4 experts designed for automated trading based on technical price action patterns. The repository provides distinct modules for identifying liquidity sweeps and engulfing candle formations. The system employs multi-timeframe analysis, by default analyzing price data across

MT4 Collection SMC / ICT / price actionMulti-strategy
Updated 6 years ago None stated GitHub repository of Discretion Algo

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 day, 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 day. 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