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.

138 EAs match Clear filters

HFT Arbitrage EA

by HFTHaidra
132 stars

This high-frequency trading robot implements latency arbitrage by comparing price feeds across two separate MetaTrader terminals. It requires a fast data source to serve as a reference and a slower broker where price delivery lags behind the market. The EA communicates between instances via a socket library to detect p

MT4MT5 Trading robot Arbitrage
Updated 9 months ago None stated GitHub repository of HFT Arbitrage EA
67 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily focused on the ChildsPlay strategy derived from online trading forums. The main expert advisor uses multiple exponential moving averages and the Commodity Channel Index across two timeframes to identify trend-following entries. It implemen

MT5 Collection Indicator crossoverMean reversionAI / machine learning
Updated 6 years ago None stated GitHub repository of ChildsPlay MQL5 Collection
44 stars

SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of SuperMao Trading Robot

Free Expert Advisor

by ersingencturk
35 stars

This MetaTrader 4 expert advisor is a scalper designed for the five-minute timeframe across several Forex pairs. It utilizes three strategies based on overbought and oversold market conditions to execute trades. Risk management features include a fixed hard stop loss, a virtual take profit and stop loss derived from an

MT4 Trading robot ScalpingMean reversion
Updated 9 years ago BSD-3-Clause GitHub repository of Free Expert Advisor

JB News Bot

by jblanked
31 stars

JB News Bot is an automated trading expert advisor for MetaTrader 4 and MetaTrader 5 that executes positions based on scheduled economic data releases. It interfaces with the JBlanked News API to fetch calendar events from sources including MQL5, Forex Factory, and FXStreet. The EA allows users to configure specific en

MT4MT5 News trading News
Updated 3 months ago MIT GitHub repository of JB News Bot

MT5 Sniper EA

by rithsila
27 stars

This expert advisor for MetaTrader 5 implements a Smart Money Concepts strategy. It identifies institutional trade setups using Order Blocks, Fair Value Gaps, Break of Structure, and liquidity sweeps. The robot performs multi-timeframe analysis across five periods to determine market bias and ensure trend alignment. Ri

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 11 months ago None stated GitHub repository of MT5 Sniper EA

Scalpflip EA

by anthonycdp
25 stars

Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Scalpflip EA
23 stars

This MQL5 expert advisor trades the London and New York session openings using Smart Money Concepts. It analyzes market sentiment on the 5-minute timeframe by identifying price imbalances over a specific look-back period. Once a directional bias is established, the robot switches to the 1-minute timeframe to execute li

MT5 Trading robot SMC / ICT / price action
20 stars

This repository provides a collection of MetaTrader 5 expert advisors centered on indicator-based trend following and scalping strategies. The primary system employs a triple exponential moving average crossover on the M5 timeframe, filtered by higher-timeframe trend direction from the H1 chart. The collection also inc

MT5 Collection Indicator crossoverScalpingTrend following

Tobiah Rex EA

by TobiahRex
17 stars

This MetaTrader 4 expert advisor is an automated trading system designed for technical analysis using trend and momentum indicators. It incorporates multiple exponential and simple moving averages, RSI with integrated smoothing periods, and MACD. The EA manages risk through dynamic lot sizing based on account percentag

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Tobiah Rex EA

Max Profit

by poluxbrayz
16 stars

Max Profit is a trend-following expert advisor for MetaTrader 4, specifically optimized for the M1 timeframe. It utilizes a combination of technical indicators, including Parabolic SAR and MACD, to identify market trends and execute trades. The software includes dedicated modules for lot management, symbol analysis, an

MT4 Trading robot Trend followingIndicator crossover
Updated 2 years ago AGPL-3.0 GitHub repository of Max Profit
16 stars

This repository provides a collection of MetaTrader 4 expert advisors, centered around the OverLord robot which utilizes logistic regression models. OverLord determines entries by calculating price directionality over various tick counts and analyzing moving average slopes against hardcoded coefficients. In addition to

MT4 Collection AI / machine learningIndicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of OverLord MQL4 Code Samples

Phase 404 EA

by Musyimi97
14 stars

Phase 404 EA is a MetaTrader 5 robot that automates a mechanical Smart Money Concepts strategy including Wyckoff logic and liquidity sweeps. It identifies market structure shifts and enters trades during London or New York kill zones using Fibonacci Optimal Trade Entry levels. The expert advisor manages risk through pe

MT5 Trading robot SMC / ICT / price action
Updated 5 months ago MIT GitHub repository of Phase 404 EA

Project Eingana

by ThePathsOfSaga
13 stars

This MetaTrader 4 repository contains a collection of expert advisors developed for the Eingana social trading project. It features multiple strategies, including a Keltner Channel-based mean-reversion system for pairs like EURNZD and EURAUD, alongside a EURUSD scalper. The robots typically enter trades when price acti

MT4 Collection Mean reversionScalping
Updated 6 years ago GPL-3.0 GitHub repository of Project Eingana

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion
11 stars

This MetaTrader 5 expert advisor utilizes deep learning models, specifically Long Short-Term Memory or Transformer architectures, to predict price movements several bars ahead. It operates by communicating via HTTP with a local Python daemon that processes machine learning inference. The system includes an advanced Kel

MT5 Trading robot AI / machine learningScalping
Updated 1 year ago GPL-3.0 GitHub repository of ALFA Transformer AI

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout
10 stars

Advanced Multi Currency Scalper is a MetaTrader 5 robot designed to monitor and trade multiple forex pairs simultaneously from a single instance. The strategy is based on Bollinger Bands, using period and deviation settings to identify potential entry points. Each currency pair is managed independently with its own set

MT5 Trading robot ScalpingMean reversion

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following

SmartMoney MTF EA

by SiyabongaDlamini
9 stars

This automated expert advisor for MetaTrader 5 implements institutional Smart Money Concepts using a multi-timeframe approach. It synchronizes analysis across three timeframes to identify trend direction, premium or discount zones, and market structure shifts. The robot executes trades based on liquidity sweeps and Fib

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 4 months ago Apache-2.0 GitHub repository of SmartMoney MTF EA
9 stars

This MetaTrader 5 expert advisor is designed for high-impact news trading on the forex market. It uses a straddle strategy, placing buy stop and sell stop pending orders at specific pre-set times before news releases. The EA supports multiple layered entries, often referred to as barcode entries, at fixed pip distances

MT5 Trading robot NewsScalping
Updated 3 years ago None stated GitHub repository of Fundamental News Scalper

Three Bar Play EA

by OwaisQuadri
8 stars

Three Bar Play EA is a MetaTrader 4 robot designed for scalping based on three-bar price action patterns, specifically confirmations and reversals. The system manages risk by limiting execution to three trades per day and calculating position sizes based on a 2% account balance risk model. Upon identifying a setup, it

MT4 Trading robot ScalpingMean reversion
Updated 6 years ago None stated GitHub repository of Three Bar Play EA

HFT Arbitrage EA

by techteam92
7 stars

HFT Arbitrage EA is a latency arbitrage system designed for MetaTrader 4 and MetaTrader 5. It operates by comparing price feeds between a fast data source and a slower broker terminal to exploit execution lags. The system utilizes a socket library for real-time communication between server and client components. Risk m

MT4MT5 Trading robot Arbitrage
Updated 1 year ago None stated GitHub repository of HFT Arbitrage EA

Snipe FX Pro

by NadirAliOfficial
6 stars

Snipe FX Pro is a MetaTrader 5 expert advisor designed for high-frequency tick scalping, primarily pre-configured for XAUUSD. It utilizes a virtual stealth execution system to manage entries and exits without placing hard stops on the broker's server until necessary. The EA enters trades based on price breakouts or pul

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 7 weeks ago None stated GitHub repository of Snipe FX Pro

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel
6 stars

This repository provides a collection of MetaTrader 5 expert advisors based on Smart Money Concepts and ICT methodologies. The tools implement price action strategies including Fair Value Gaps, Market Structure Shifts, and the Next Day Model. Each EA handles trade execution with automated risk-based lot sizing and conf

MT5 Collection SMC / ICT / price actionScalpingTrend following
5 stars

This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated

MT5 Collection BreakoutMean reversionScalping
5 stars

Universal Market Hunter is an automated trading robot for MetaTrader 5 that targets Forex, gold, and cryptocurrency markets. It allows users to switch between two main strategies: a Bollinger Band volatility breakout and an engulfing price action pattern using volume confirmation. The system manages risk through ATR-ca

MT5 Trading robot BreakoutScalpingTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Universal Market Hunter
5 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring SwapTrader. This specific EA enters and exits positions at predefined times, specifically targeting the market rollover period to account for swap rates. It includes risk management settings such as fixed or percentage-based lot

MT4 Collection Multi-strategyIndicator crossover
Updated 8 years ago None stated GitHub repository of AlexDevFx MQL4 Collection

MT5 Auto Backtest Pipeline

by 26730023-PhamPhuNguyenHung
4 stars

This repository features a headless CLI automation pipeline for MetaTrader 5, enabling users to compile, backtest, and rank MQL5 Expert Advisors through PowerShell. It contains a large collection of robots focused on candlestick patterns, such as Morning and Evening Star signals, combined with Stochastic or CCI filters

MT5 Collection SMC / ICT / price actionIndicator crossoverMean reversion

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 7 months ago Unlicense GitHub repository of SMC Master Pro

ICT Smart Money EA

by Sonthep
4 stars

This MetaTrader 5 expert advisor automates trading using Smart Money Concepts (SMC) and Inner Circle Trader principles. It identifies market entries by detecting Order Blocks, Break of Structure, Liquidity Sweeps, and Fair Value Gaps. The system incorporates a confidence scoring algorithm that evaluates signal strength

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of ICT Smart Money EA
4 stars

This repository contains a collection of MetaTrader 4 expert advisors designed for educational purposes. The primary strategy, named Belinda, executes trades based on moving average crossovers using a 10-period and 40-period SMA, filtered by volatility via the Average True Range indicator. The collection features sever

MT4 Collection Indicator crossoverScalpingTrend following
Updated 3 years ago None stated GitHub repository of Learning MQL4 EA Collection

Simple Bot

by rockmeowstar
4 stars

Simple Bot is an automated trading robot for MetaTrader 4 that utilizes Bill Williams Fractals and the Relative Strength Index to execute trades. The system monitors the one-minute timeframe for fractal formation while using daily RSI values as a filter for entry. It includes built-in risk management features such as f

MT4 Trading robot Mean reversion
Updated 4 years ago GPL-3.0 GitHub repository of Simple Bot
3 stars

A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse

MT5 Collection Mean reversionBreakoutTrend following

IJESHA Algo EA

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage

MT5 Trading robot Mean reversionTrend followingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of IJESHA Algo EA
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy combining M15 trend direction with M5 trade execution. It identifies entries using Smart Money Concepts like break of structure and order blocks, confirmed by MACD, Stochastic, and Parabolic SAR indicators. Risk management is a primary focus, offeri

MT5 Trading robot SMC / ICT / price actionTrend followingIndicator crossover

Opening Bot

by shahabodin121
3 stars

Opening Bot is an automated trading robot for MetaTrader 5 that executes an opening range breakout strategy. It identifies the high and low price levels during specific market session starts, such as London, New York, Tokyo, or Sydney. The EA supports three entry models: instant breakout of the range, waiting for a can

MT5 Trading robot Breakout
Updated 2 months ago None stated GitHub repository of Opening Bot

OrderBlock ICT

by cfournel
3 stars

This MetaTrader 5 expert advisor implements Inner Circle Trader concepts, specifically focusing on Order Blocks and PD Arrays for trade entries. The robot identifies price action structures including breakouts, range-based patterns, and Fibonacci extensions. For risk management, it utilizes ATR-based stop losses, trail

MT5 Trading robot SMC / ICT / price actionBreakoutNews
Updated 3 months ago None stated GitHub repository of OrderBlock ICT

Scalping Bot

by ilearncoding247
3 stars

This automated expert advisor for MetaTrader 5 focuses on short-term technical trading using a combination of trend and momentum indicators. It triggers entries based on RSI levels, Exponential Moving Average crossovers, and Bollinger Band deviations. Risk is managed through dynamic lot sizing and ATR-based stop loss a

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 10 months ago Custom licence GitHub repository of Scalping Bot

Smart Scalp PA

by logiccrafterdz
3 stars

Smart Scalp PA is a price action expert advisor for MetaTrader 5 designed for intraday trading and scalping. It identifies market entries using Engulfing and Pin Bar candle patterns confirmed by a higher timeframe EMA 50 trend filter. The system incorporates support and resistance clustering based on pivot highs and lo

MT5 Trading robot Trend followingScalping
Updated 11 months ago MIT GitHub repository of Smart Scalp PA
3 stars

This automated expert advisor for MetaTrader 5 implements a mean-reversion strategy based on Asian session price ranges. It identifies the high and low levels during specific Asian trading hours and monitors for a price breakout. Instead of trading the breakout momentum, it enters a position when price returns inside t

MT5 Trading robot Mean reversionBreakout
Updated 1 year ago None stated GitHub repository of Asian Range Breakout
3 stars

Adaptive AI Scalper is a modular MetaTrader 5 robot designed for high-frequency scalping. It identifies trade entries using a weighted scoring system that evaluates signals from RSI, Moving Averages, and Bollinger Bands. The EA manages risk through automated lot sizing, ATR-based stop loss and take profit levels, trail

MT5 Trading robot ScalpingIndicator crossover

Ifvg London Breakout Algo

by 964quanyuan
3 stars

This Expert Advisor for MetaTrader 5 combines a London session breakout strategy with an Inverse Fair Value Gap (IFVG) trend continuation model. Designed for the EUR/USD M5 timeframe, it identifies price ranges during predefined morning hours to set pending breakout orders while simultaneously monitoring Smart Money Co

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of Ifvg London Breakout Algo

Forex Pro EA

by hqs-triet
3 stars

This MetaTrader 5 expert advisor serves as an educational repository for various automated trading strategies and capital management techniques. It features a modular architecture allowing users to toggle between multiple entry algorithms, including EMA crossovers, MACD zero-crossings, and a combination of ADX and Boll

MT5 Trading robot Indicator crossoverHedgingTrend following
Updated 2 years ago MIT GitHub repository of Forex Pro EA

News Trading EA

by Badzoneyv4n
3 stars

News Trading EA is a volatility-capture robot for MetaTrader 4 and MetaTrader 5 designed to trade high-impact economic events. The EA places simultaneous buy stop and sell stop orders at a specific user-defined time before news releases. Once one order triggers, the robot is designed to close the opposite pending order

MT4MT5 Trading robot News
Updated 3 years ago None stated GitHub repository of News Trading EA

EJTrader Order Flow

by ejtraderLabs
3 stars

EJTrader Order Flow is a technical utility for MetaTrader 4 that implements Level 2 market depth and tape reading tools. It utilizes the Bitcoin Nano API to stream order flow data directly onto the chart using various visual layouts like BookMap and volume aggression indicators. The EA manages manual trade execution wi

MT4 Utility SMC / ICT / price action
Updated 3 years ago None stated GitHub repository of EJTrader Order Flow

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