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
1,977 EAs

Spread Slippage Monitor

by easaikyo-netizen
1 stars

Spread Slippage Monitor is a diagnostic utility for MetaTrader 5 that tracks broker performance metrics. It records real-time spread data at regular intervals and exports the information to a CSV file. The tool features an optional slippage measurement function that executes a market order and immediately closes it to

MT5 Utility
Updated 2 months ago None stated GitHub repository of Spread Slippage Monitor

XAU Confluence EA

by sapsyhere01-max
1 stars

XAU Confluence EA is an automated trading robot for MetaTrader 5, specifically tailored for the gold market. The system executes trades based on a triple-confluence strategy that integrates an exponential moving average ribbon for trend direction, Donchian Channel breakouts with volume confirmation, and a proxy-CVD ind

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 2 months ago None stated GitHub repository of XAU Confluence EA

Mql5 News Filter

by easaikyo-netizen
1 stars

This news filter for MetaTrader 5 allows Expert Advisors to automatically suspend trading activities around high-impact economic news releases. Instead of relying on commercial APIs, the tool fetches event data from a user-hosted JSON file on GitHub using native WebRequest functionality. It monitors specific currencies

MT5 News trading
Updated 2 months ago None stated GitHub repository of Mql5 News Filter

MQL5 Unit Testing Framework

by easaikyo-netizen
1 stars

This lightweight, macro-based unit testing framework is designed for MetaTrader 5 developers to verify Expert Advisor logic and trading calculations. It provides a set of simple assertion macros for checking booleans, integers, and double-precision values directly within the terminal environment. The framework is entir

MT5 Framework & template
Updated 2 months ago None stated GitHub repository of MQL5 Unit Testing Framework

MQL5 Discord Telegram Logger

by easaikyo-netizen
1 stars

This utility for MetaTrader 5 enables automated trade notifications, profit reports, and system alerts to be sent directly to Discord and Telegram. It functions as a lightweight library that developers can integrate into their own Expert Advisors or indicators. By utilizing the native MQL5 WebRequest API, it operates w

MT5 Utility
Updated 2 months ago None stated GitHub repository of MQL5 Discord Telegram Logger

SP2L

by farsosta-jpg
1 stars

This MetaTrader 5 expert advisor executes trades based on price action and momentum patterns, specifically identifying strong candles relative to their recent average range. The logic incorporates Fair Value Gap (FVG) detection and moving averages to filter entries. It includes automated risk management with percentage

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 months ago None stated GitHub repository of SP2L
1 stars

This repository contains a collection of ten trend-following Expert Advisors for the MetaTrader 5 platform. Each robot implements a different technical strategy, utilizing indicators such as Bollinger Bands and moving averages with various smoothing methods like ParMA and SMMA. The EAs identify entry points based on ov

MT5 Collection Trend followingIndicator crossover

Ustec Trend Runner

by RicardoBarato
1 stars

This MetaTrader 5 Expert Advisor is a research-oriented tool designed for systematic trading of USTEC/Nasdaq CFDs. It employs a trend-following logic using Exponential Moving Average crossovers and ADX filters to identify entries on the M5 timeframe during specific trading sessions. Risk is managed through ATR-based dy

MT5 Trading robot Trend followingIndicator crossover
Updated 3 months ago Custom licence GitHub repository of Ustec Trend Runner

FXTR1 MT5

by GicaGashy
1 stars

FXTR1 is a modular Expert Advisor for MetaTrader 5 designed with a source-first development approach. It features a strategy selection engine that includes a moving average crossover system and a pivot gravity strategy. The crossover strategy supports optional ATR-based volatility exits, while the pivot system uses ban

MT5 Trading robot Indicator crossoverMulti-strategy
Updated 3 months ago None stated GitHub repository of FXTR1 MT5

Gold Scalper Bot

by bigthreeatone
1 stars

This MetaTrader 5 expert advisor is designed for aggressive trading on XAUUSD, focusing on the 5-minute and 15-minute timeframes. It utilizes Fibonacci retracements and swing high/low breakouts to identify entries across three selectable modes: scalp, swing, and trend following. The system manages up to three positions

MT5 Trading robot ScalpingBreakoutTrend following High risk
Updated 3 months ago None stated GitHub repository of Gold Scalper Bot

Smart Trader Forex

by joseph8848
1 stars

Smart Trader Forex is an automated expert advisor for MetaTrader 5 that employs dual strategies for trend following and mean-reversion scalping. It monitors over 15 currency pairs simultaneously using a multi-symbol scanner and a signal quality filter. Risk management includes ATR-based stop losses, trailing stops, and

MT5 Trading robot Trend followingScalpingMean reversion

Options Trading Moving Average

by SankarSrinivasan1
1 stars

This MetaTrader 4 expert advisor implements a foundational trend-following strategy based on a 20-period Exponential Moving Average. It enters long positions when the market price trades above the average and short positions when it trades below. The code is designed as a template for users of the book Options Trading

MT4 Trading robot Indicator crossoverTrend following

BTMM Expert Advisor

by FullscopeContractors
1 stars

This MetaTrader 5 expert advisor automates the Breakout-To-Market-Maker (BTMM) strategy, featuring eight distinct intraday setups including M/W patterns, NYC reversals, and EMA200 bounces. It employs a signal arbitration engine to score and prioritize trades based on confluence, liquidity, and regime alignment. Risk ma

MT5 Trading robot SMC / ICT / price actionMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of BTMM Expert Advisor

Danichelson Expert Advisors

by DanichelsonHD
1 stars

This MetaTrader 5 collection features automated strategies including breakout, mean reversion, and gap-based systems. The primary breakout advisor utilizes a multi-factor weighting system to score potential trades based on ADX strength, ATR expansion, impulse candle size, and higher timeframe EMA alignment. Risk contro

MT5 Collection BreakoutMean reversionTrend following
Updated 3 months ago None stated GitHub repository of Danichelson Expert Advisors

Zbbot

by zbgerman
1 stars

This Expert Advisor for MetaTrader 5 implements trading logic based on Smart Money Concepts, specifically the ICT 2022 mentorship model. It automatically identifies market structures such as Fair Value Gaps, fractals, and rejection blocks across multiple timeframes to locate entries. The system includes a time-based fi

MT5 Trading robot SMC / ICT / price actionTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of Zbbot

H4 EMA Pullback Next Level

by Mohamed-Kathree
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy on the H4 timeframe by identifying pullbacks to the 50-period Exponential Moving Average. It utilizes the 200 EMA to define the primary trend and the 21 EMA to confirm momentum recovery after a pullback. The EA enters trades based on price rejec

MT5 Trading robot Trend followingMean reversion
Updated 3 months ago None stated GitHub repository of H4 EMA Pullback Next Level

Zyb EA Collection

by clispaul3
1 stars

Zyb EA Collection offers various MetaTrader 4 and 5 expert advisors that implement breakout, scalping, and grid-based trading. The primary strategy uses martingale lot scaling with a multiplier, allowing users to configure tiered step distances and position counts. It features price-level restrictions to prevent buying

MT4MT5 Collection BreakoutMartingaleGrid High risk
Updated 3 months ago None stated GitHub repository of Zyb EA Collection

Grid Retest

by khamminasomchanmavong
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy combined with an EMA trend filter. It enters positions based on price relation to a 50-period Exponential Moving Average. If a trend reverses while a basket is active, the EA initiates a dual-mode recovery by opening a new basket in the opposing

MT5 Trading robot GridTrend followingHedging High risk
Updated 3 months ago None stated GitHub repository of Grid Retest

MT5 AutoEA

by Asura-lab
1 stars

MT5 AutoEA is a multi-strategy trading robot for MetaTrader 5 that utilizes an ensemble approach to market participation. It incorporates over twenty modular strategies, including trend following, mean reversion, and breakouts, which can be toggled individually. The EA supports two execution modes: a portfolio mode for

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 3 months ago None stated GitHub repository of MT5 AutoEA

Gartal Inc

by bsAmirHeydar
1 stars

Gartal Inc is a modular trading automation framework and strategy development template for MetaTrader 4. It provides a structured environment for testing various entry and exit logic, including Fair Value Gaps, moving average crossovers, and Donchian channels. The repository focuses on backtesting workflows, featuring

MT4 Framework & template SMC / ICT / price actionIndicator crossoverTrend following
Updated 3 months ago None stated GitHub repository of Gartal Inc

MoneyMaker EA Collection

by akshayboora342-cell
1 stars

This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy

MT5 Collection AI / machine learningTrend followingGrid High risk
Updated 3 months ago Apache-2.0 GitHub repository of MoneyMaker EA Collection

Nasdaq Trading Bot Collection

by alejandrolunas7
1 stars

This repository features two MetaTrader 5 expert advisors specifically designed for Nasdaq indices. The first strategy utilizes a mean reversion approach based on the RSI-2 indicator on daily charts to identify oversold entries within a broader uptrend. The second strategy is a trend-following system for the M15 timefr

MT5 Collection Mean reversionTrend followingIndicator crossover
Updated 3 months ago None stated GitHub repository of Nasdaq Trading Bot Collection

ZoneTrader Pro

by Valenteeno
1 stars

ZoneTrader Pro is an automated trading robot for MetaTrader 5 that identifies and trades supply and demand zones based on price context. It features a granular session filter allowing users to enable or disable trading for specific hours of the day. The EA manages risk through a daily profit and loss protector, a news

MT5 Trading robot SMC / ICT / price action
Updated 3 months ago Custom licence GitHub repository of ZoneTrader Pro

Renko Trader

by Valenteeno
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns. It features an internal calculation engine that supports both fixed point-based brick sizes and dynamic ATR-based sizing. The system includes visual on-chart drawing of Renko bricks to provide a custom price perspective. Trade management is

MT5 Trading robot Trend followingBreakout
Updated 3 months ago Custom licence GitHub repository of Renko Trader

Advanced KT Trader

by Valenteeno
1 stars

Advanced KT Trader is a price action robot for MetaTrader 5 that specializes in trading the Kangaroo Tail candlestick pattern. It employs a sophisticated scoring system to filter entries based on tail-to-body ratios and candle positioning. The strategy integrates support and resistance zone confluence alongside 200 EMA

MT5 Trading robot SMC / ICT / price actionMean reversionTrend following
Updated 3 months ago Custom licence GitHub repository of Advanced KT Trader

PropGuard MT5

by dmck24
1 stars

This MetaTrader 5 expert advisor serves as a compliance protection layer designed for proprietary trading firm accounts. It implements three primary risk guards: an equity-anchored daily loss limit that resets at midnight, a static overall maximum loss halt based on starting balance, and a news filter that blocks new e

MT5 Risk & protection Indicator crossover
Updated 3 months ago None stated GitHub repository of PropGuard MT5

Master Trader MT5

by rohanjq
1 stars

Master Trader is an automated expert advisor for MetaTrader 5 that utilizes a multi-strategy engine based on UT Bot, Donchian Channels, and candlestick patterns. It analyzes market conditions across several timeframes, including M3, M5, and M15, to identify trend reversals and wick rejections. The EA features advanced

MT5 Trading robot Trend followingMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Master Trader MT5

Conquest Platinum SMC EA

by MunchonGithub
1 stars

This MetaTrader 5 expert advisor implements a comprehensive Smart Money Concepts strategy, detecting market structure shifts through Break of Structure and Change of Character events. It monitors Fair Value Gaps and liquidity sweeps to identify entry points across multiple timeframes. The system offers several executio

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 3 months ago Apache-2.0 GitHub repository of Conquest Platinum SMC EA
1 stars

This MetaTrader 5 expert advisor provides an on-chart dashboard for manual trade execution and management. It features dedicated buy and sell buttons alongside editable fields for lot size, take profit, and stop loss distances. The tool includes a toggleable trailing stop mechanism that utilizes the stop loss input as

MT5 Utility

SMC Telegram Signal EA

by shanto9333
1 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts (SMC). It analyzes market structure across multiple timeframes, specifically looking for liquidity grabs, order blocks, and fair value gaps. The robot includes risk management features such as percentage-based lot sizing and multiple take-

MT5 Trading robot SMC / ICT / price actionMulti-strategy
Updated 3 months ago None stated GitHub repository of SMC Telegram Signal EA

Grid EA

by MubinCodes
1 stars

This MetaTrader 5 expert advisor implements a grid trading strategy specifically designed for sideways or range-bound market conditions. It places multiple buy and sell orders at fixed intervals defined by the user. The EA includes several operational filters, such as specific trading days and time sessions. Risk manag

MT5 Trading robot GridHedging High risk
Updated 3 months ago None stated GitHub repository of Grid EA
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across M1, M5, and M15 intervals. It utilizes a seven-period Exponential Moving Average system ranging from EMA 30 to EMA 60 to identify market conditions. When EMAs are aligned, it executes trend-following trades; in consolidated markets, i

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Filter MA MT5

Bollinger Bands Mean Reversion EA

by federico-quintieri
1 stars

This Expert Advisor for MetaTrader 5 implements a mean reversion strategy utilizing Bollinger Bands and a 200-period Exponential Moving Average. It monitors market volatility through band distance and enters trades when price action returns inside the bands following a breakout. The system executes logic only at the st

MT5 Trading robot Mean reversionTrend following

MQL5 Corso Free

by federico-quintieri
1 stars

A collection of educational Expert Advisors and scripts designed for learning MQL5 programming on the MetaTrader 5 platform. The repository functions as a modular curriculum, covering programming fundamentals, event handling, and market data retrieval. It demonstrates core trade execution using the CTrade class, includ

MT5 Collection
Updated 3 months ago None stated GitHub repository of MQL5 Corso Free

Mochipoyo EA

by jiangchengban-art
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on Dow Theory and Granville's Laws. It analyzes market structure across H4, M15, and M5 intervals using EMA, RCI, and MACD indicators. Trades are executed based on a proprietary scoring system that requires a minimum point threshold for entry.

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 3 months ago None stated GitHub repository of Mochipoyo EA

Mirza Algo EA Collection

by Mirza-Algo
1 stars

This repository provides a collection of MetaTrader 4 expert advisors, including Evoque Global, Alpha Winner, and FXBULL. These robots primarily implement grid strategies with martingale lot scaling to manage positions. Evoque Global specifically includes a news filter, customizable trading hours, and an equity-based s

MT4 Collection GridMartingaleNews High risk
Updated 3 months ago None stated GitHub repository of Mirza Algo EA Collection

Telegram Scraper

by tnickel
1 stars

This repository functions as an automated tool and collection for extracting Expert Advisors from Telegram chats. It provides a pipeline to download, structure, and analyze MetaTrader files using LLM-based processing and a centralized SQLite dashboard. The collection includes various robots like Gold Trade Pro and Spac

MT4MT5 Collection Multi-strategyMartingaleGrid High risk
Updated 3 months ago None stated GitHub repository of Telegram Scraper

RB Xauusd Mt5

by RicardoBarato
1 stars

RB Xauusd Mt5 is a research-grade expert advisor for MetaTrader 5 focused on gold trading. It uses a systematic approach incorporating a 50/200 EMA bias on the H1 timeframe, structural analysis on M15, and volatility filtering via ATR and ADX on the M1 timeframe. The strategy incorporates complex risk management tools,

MT5 Trading robot Trend followingBreakout
Updated 3 months ago GPL-3.0 GitHub repository of RB Xauusd Mt5

Multi Timeframe Trend Gold EA

by kimanijames817-glitch
1 stars

This MetaTrader 5 expert advisor automates trend-following strategies for Forex pairs and Gold. It analyzes the market using a multi-timeframe approach, referencing H4 and H1 Exponential Moving Averages to establish trend direction. Entry signals are refined with indicators including the Average Directional Index, Rela

MT5 Trading robot Trend followingIndicator crossover
Updated 3 months ago None stated GitHub repository of Multi Timeframe Trend Gold EA

NYKX Morning Breakout

by satishnaik4567
1 stars

This MetaTrader 5 expert advisor executes an intraday breakout strategy based on the volatility of the first five-minute candle of the trading day. It calculates eight distinct price levels using percentage deviations from the session midpoint and high/low ranges. The system monitors for price crossovers at specific th

MT5 Trading robot Breakout
Updated 3 months ago None stated GitHub repository of NYKX Morning Breakout

Gold Liquidity Hunter Pro

by eaglenight37
1 stars

Gold Liquidity Hunter Pro is a MetaTrader 5 expert advisor designed for trading gold and indices using Smart Money Concepts and ICT principles. It determines market direction using a daily 200 EMA bias and identifies entries based on H4 order blocks. The system includes multiple volatility and trend filters, such as AD

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 months ago None stated GitHub repository of Gold Liquidity Hunter Pro

This MetaTrader 5 expert advisor functions as a signal executor that bridges TradingView alerts to the platform via local JSON files. It monitors a specified directory for trade instructions, supporting market entries and various closing commands. The EA includes internal risk controls such as maximum daily loss percen

MT5 Copier & bridge

Aurax Sentinel

by Baskaran-Aurax-Sentinal
1 stars

This MetaTrader 5 repository provides a collection of expert advisors focused on automated grid and hedging systems, primarily for the gold market. The featured Phoenix EA utilizes dynamic grid spacing based on USD values and a tactical selling module to manage market imbalances. It includes a deep recovery mode that t

MT5 Collection GridHedgingMartingale High risk
Updated 3 months ago None stated GitHub repository of Aurax Sentinel
1 stars

This MetaTrader 5 expert advisor collection focuses on the Quantum Gold Grid, a trend-following system designed for the XAUUSD market. The robot uses exponential moving averages to determine direction and manages entries through a grid mechanism. It features aggressive lot scaling via a martingale multiplier and dynami

MT5 Collection Trend followingGridMartingale High risk
Updated 3 months ago None stated GitHub repository of Quantum Gold Grid Collection

Xau Range Scalper Pro

by amolrasal2004-ctrl
1 stars

A MetaTrader 5 expert advisor designed for range-based reversal trading, primarily optimized for XAUUSD on the M5 timeframe. It identifies sideways markets by monitoring price touches at support and resistance levels over a defined lookback period. The robot filters entries using RSI, ADX, and candle patterns such as e

MT5 Trading robot Mean reversionScalping
Updated 3 months ago None stated GitHub repository of Xau Range Scalper Pro

This MetaTrader 5 expert advisor is a multi-layered trading system specifically designed for BTCUSD. It utilizes a hierarchical decision logic that analyzes macro bias on the H4 timeframe, maps support and resistance on the H1 timeframe, and confirms structure changes on M15 before executing trades on the M5 timeframe.

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

Account Monitor EA

by Mind2Money
1 stars

Account Monitor EA is a utility for MetaTrader 5 designed to track and notify users of account activities in real-time. It monitors trade executions, the creation of pending orders, and modifications to Stop Loss or Take Profit levels. Notifications are sent via the ServerChan service, supporting both Turbo and SC3 mod

MT5 Utility
Updated 3 months ago None stated GitHub repository of Account Monitor EA

MQL Relay Executor

by naidenpetrov00
1 stars

MQL Relay Executor is a MetaTrader 5 utility designed to automate the execution of trading signals received from external platforms like TradingView. It functions as a bridge that monitors for incoming signal data and manages the subsequent trade lifecycle. The system includes logic for automated risk management, such

MT5 Copier & bridge

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