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.

701 EAs match Clear filters

Training One EA

by arian01Xx
1 stars

This expert advisor for MetaTrader 5 executes trades based on price action relative to Bollinger Bands and the Relative Strength Index (RSI). It identifies potential entries when price interacts with volatility bands, filtered by indicator thresholds. The robot manages risk using fixed lot sizes and applies protective

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Training One 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
1 stars

This MetaTrader 4 expert advisor focuses on identifying and trading trend reversals using price action patterns, specifically pin bars. It operates as an automated robot that monitors market conditions to execute entries based on reversal signals. The EA features an extensive graphical user interface that displays real

MT4 Trading robot Mean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Reverse Trend Pinbar Trader

Templates MQ5

by sergey-vs
1 stars

This MetaTrader 5 collection features automated trading robots, primarily focusing on a time-based range breakout strategy. The included Time Ranger EA identifies high and low price levels during a specific intraday window and executes trades upon a breakout. It incorporates risk management through stop loss and take p

MT5 Collection BreakoutIndicator crossover
Updated 2 years ago None stated GitHub repository of Templates MQ5

News Trading Algo

by JanekKosa
1 stars

This MetaTrader 5 expert advisor executes trades around high-impact news events using data provided in a local text file. It monitors specified timeframes for liquidity grabs and trend direction defined by two exponential moving averages. The algorithm is designed to place orders shortly before scheduled news releases.

MT5 News trading NewsIndicator crossoverSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of News Trading Algo

Forex Cruise System

by mamadrahmani
1 stars

Forex Cruise System is a MetaTrader 4 expert advisor that executes a breakout strategy based on price movements during the US and European session openings. The robot identifies a price range within a specific morning time window and enters trades when price breaks beyond defined thresholds. It includes integrated risk

MT4 Trading robot BreakoutMartingale High risk
Updated 2 years ago Unlicense GitHub repository of Forex Cruise System

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

Candle Moving Average Day Trade is a MetaTrader 5 expert advisor designed for automated intraday trading. The strategy uses an Exponential Moving Average (EMA) to determine market direction, triggering entries based on a specific number of candlesticks closing above or below the average. It features a tiered position s

MT5 Trading robot Indicator crossoverTrend following

24fx

by DevelopMan
1 stars

The 24fx expert advisor for MetaTrader 4 automates trading based on external data updates and a specific hourly schedule. It manages trades through a state-based system, handling pending limit orders, market positions, and paused states. Risk management features include a choice between fixed lot sizes or percentage-ba

MT4 Trading robot
Updated 2 years ago None stated GitHub repository of 24fx

MA Twister

by therealharrypotter
1 stars

MA Twister is a trend-following expert advisor for MetaTrader 5 that automates trade execution based on a triple moving average crossover strategy. It monitors three distinct moving average periods to identify bullish or bearish momentum. The bot includes specialized risk controls for prop firm challenges, such as dail

MT5 Trading robot Indicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of MA Twister
1 stars

This MetaTrader 5 expert advisor implements an automated reversal strategy centered on the Doji candlestick pattern. It utilizes a 200-period Exponential Moving Average to filter trend direction and the Relative Strength Index to identify overbought or oversold conditions for entry confirmation. The EA manages risk thr

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

This repository contains a collection of eight quantitative trading strategies implemented for MetaTrader 5. The core Rubber Band strategy uses custom volatility bands derived from a five-day range to identify mean-reversion opportunities. It enters trades when price deviates significantly from recent highs or lows and

MT5 Collection Mean reversionBreakoutMulti-strategy

Operacional TT

by davifelipems
1 stars

Operacional TT is an automated trading robot for MetaTrader 5 designed to implement a strategy shared by the Trader na Tela community. The expert advisor handles the complete trade lifecycle, including entry execution and position management. It operates exclusively within a defined intraday window, using specific star

MT5 Trading robot
Updated 2 years ago None stated GitHub repository of Operacional TT
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
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
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

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

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

This repository contains a large collection of over fifty MetaTrader 4 expert advisors, many of which are generated using the fxDreema visual development platform. The library covers a diverse range of strategies including gold scalping, candle-based robots, news filters, and grid management tools. Risk controls vary b

MT4 Collection GridScalpingNews High risk
Updated 4 years ago None stated GitHub repository of Short Wsgi EA Collection

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

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

HPCS Scalper EA

by arvindbis29
1 stars

This MetaTrader 4 expert advisor utilizes an Exponential Moving Average alignment strategy for short-term trading. It identifies trend direction by comparing several EMA periods, including 5, 8, and 13, to execute market entries. The robot features built-in risk controls, including hard stop loss and take profit settin

MT4 Collection Indicator crossoverScalpingMartingale High risk
Updated 4 years ago None stated GitHub repository of HPCS Scalper EA

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

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