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

Xauusdt MT5

by 4everfantasygaming
1 stars

Xauusdt MT5 is an automated trading robot for MetaTrader 5, specifically optimized for gold trading. It executes a grid-based strategy with martingale lot scaling, where position sizes are increased by a user-defined multiplier after losses. The system features a dual-stage grid distance mechanism that adjusts spacing

MT5 Trading robot GridMartingaleHedging High risk
Updated 5 months ago None stated GitHub repository of Xauusdt MT5

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk

Arbitrage Grid Bot

by AlessandroGCodeca
1 stars

This MetaTrader 5 expert advisor implements a multi-pair grid and dollar-cost averaging strategy. It monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 5 months ago None stated GitHub repository of Arbitrage Grid Bot
1 stars

This MetaTrader 5 repository contains a collection of expert advisors, primarily documented around the TrioMartingale strategy. This system uses a martingale grid approach on AUDNZD, NZDCAD, and AUDCAD to exploit triangular correlation and mean-reversion. Entries are filtered using RSI and Moving Averages, while risk i

MT5 Collection MartingaleGridMean reversion High risk
Updated 5 months ago None stated GitHub repository of Cyrex23 Experts Collection
1 stars

This MetaTrader 5 repository provides a collection of expert advisors focused on hedging and position recovery strategies. The main utility manages trade entries with automated hedge triggers based on stop loss events or specific price distances. It includes sophisticated risk controls such as basket-level take profit

MT5 Collection HedgingMulti-strategy
Updated 5 months ago None stated GitHub repository of Seefactor Hedge Collection
1 stars

This collection of MetaTrader 5 expert advisors focuses on breakout strategies influenced by Smart Money Concepts. The primary tool, Super Breakout SMC, utilizes a multi-timeframe approach with M15 market structure analysis and M5 entry triggers. It features session-specific trading filters, often referred to as killzo

MT5 Collection BreakoutSMC / ICT / price actionTrend following
Updated 5 months ago None stated GitHub repository of Super Breakout SMC Collection

P4 Pattern Strategy

by junthy-me
1 stars

This MetaTrader 5 expert advisor identifies and trades a proprietary geometric P4 swing pattern. It scans for a multi-point price skeleton using historical data and triggers entries at P4 when specific price ratios and time constraints are met. The system requires an account in hedging mode to manage trade-specific sna

MT5 Trading robot SMC / ICT / price actionHedging
Updated 5 months ago None stated GitHub repository of P4 Pattern Strategy

Ravan EA

by bhavyat81
1 stars

Ravan EA is a multi-indicator confluence trading robot for MetaTrader 5. It utilizes a scoring engine based on seven indicators, including EMA crossovers, Supertrend, ADX, RSI, automated support and resistance levels, candlestick patterns, and volume analysis. The expert advisor enters trades when a user-defined signal

MT5 Trading robot Indicator crossoverTrend followingMulti-strategy
Updated 5 months ago None stated GitHub repository of Ravan EA

RapidPass EA

by jonahgrigoryan
1 stars

RapidPass EA (RPEA) is an MT5 trading robot designed specifically for passing prop firm challenges. It utilizes a hybrid ensemble architecture combining Burst-Weighted Imbalance with Session Confluence (BWISC) and mean-reversion strategies. The EA incorporates machine learning through Q-learning and contextual bandits

MT5 Trading robot SMC / ICT / price actionMean reversionAI / machine learning High risk
Updated 5 months ago None stated GitHub repository of RapidPass EA

XAUUSD ProBot

by KodaL0
1 stars

This automated trading system for MetaTrader 4 is specifically designed for Gold (XAUUSD) on the fifteen-minute timeframe. It identifies market direction using an Exponential Moving Average crossover on the hourly chart and executes trades on the M15 chart during pullbacks to short-term moving averages. Risk management

MT4 Trading robot Trend followingIndicator crossover
Updated 6 months ago None stated GitHub repository of XAUUSD ProBot

Inside Bar Grid EA

by danielworthy
1 stars

This MetaTrader 4 robot implements a grid-based hedging strategy triggered by inside bar price formations. It places multiple pending orders on both sides of a breakout and uses martingale lot scaling to increase position sizes for subsequent entries. The expert advisor is designed for the H4 and Daily timeframes, util

MT4 Trading robot BreakoutGridMartingale High risk
Updated 6 months ago None stated GitHub repository of Inside Bar Grid EA

CodexBot Collection

by hungnm2527
1 stars

This MetaTrader 5 repository provides a collection of expert advisors, including a specialized mean-reversion system for gold and silver. The primary strategy identifies liquidity sweeps of the first trading hour to time entries, utilizing multi-timeframe filters like ADX and candle wick ratios. It manages risk through

MT5 Collection Mean reversionSMC / ICT / price actionMartingale High risk
Updated 6 months ago None stated GitHub repository of CodexBot Collection

SMC Copet Trader

by ahmadkikok
1 stars

SMC Copet Trader is an expert advisor for MetaTrader 5 that implements a strategy based on Smart Money Concepts and ICT principles. It analyzes market structure and order blocks across multiple timeframes to identify trade entries. The robot manages risk through a modular protection system, including a grid recovery me

MT5 Trading robot SMC / ICT / price actionGridNews High risk
Updated 6 months ago None stated GitHub repository of SMC Copet Trader

OrderFlow Alpha

by alimagdi94
1 stars

OrderFlow Alpha is a MetaTrader 5 expert advisor designed for Auction Market Theory and order flow analysis. It generates footprint charts directly on the platform, visualizing volume, delta, and bid-ask clusters per price level. The EA identifies key market structures such as Point of Control, Value Area, and high or

MT5 Collection SMC / ICT / price actionMartingale High risk
Updated 6 months ago None stated GitHub repository of OrderFlow Alpha

SMC Liquidity Sweep EA

by mavickohmc-beep
1 stars

This MetaTrader 5 expert advisor automates a Smart Money Concepts strategy focused on liquidity sweeps of previous session highs and lows. It identifies sweeps on a higher timeframe and seeks entries on a lower timeframe using Inversion Fair Value Gaps. The robot monitors the Asian and London trading sessions to establ

MT5 Trading robot SMC / ICT / price action
Updated 6 months ago None stated GitHub repository of SMC Liquidity Sweep EA

Portfolio Manager Pro

by Sebastianlr11
1 stars

Portfolio Manager Pro is a management utility for MetaTrader 5 that provides a centralized graphical interface to monitor and control active Expert Advisors. It automatically scans open charts to identify running bots via their Magic Numbers and templates. The tool enables users to filter strategies in real-time and ex

MT5 Trade manager
Updated 6 months ago None stated GitHub repository of Portfolio Manager Pro

Ema9 RSI EA

by jjportero
1 stars

This MetaTrader 5 expert advisor executes a strategy combining Exponential Moving Average crossovers with Relative Strength Index filtering. It identifies entries by detecting price crossovers of the 9-period EMA confirmed by RSI levels recovering from overbought or oversold zones. The robot manages trades using define

MT5 Trading robot Indicator crossoverTrend followingMean reversion
Updated 6 months ago None stated GitHub repository of Ema9 RSI EA

Dane Auto Bot

by natadikoko9-ux
1 stars

Dane Auto Bot is a MetaTrader 5 expert advisor that combines trend-following filters with a grid-based execution system. The robot uses multiple Exponential Moving Averages to identify the primary market trend and the Relative Strength Index to find specific entry points. When conditions are met, it places a series of

MT5 Trading robot GridIndicator crossoverTrend following High risk
Updated 6 months ago None stated GitHub repository of Dane Auto Bot
1 stars

This expert advisor for MetaTrader 5 focuses on scalping XAUUSD during the London and New York trading sessions. It employs a multi-timeframe filtering system using EMAs and ADX to identify momentum, alongside tick-level price analysis for entry. The bot executes a stacking strategy, allowing multiple positions to be o

MT5 Trading robot ScalpingIndicator crossoverGrid High risk
1 stars

This MetaTrader 5 expert advisor implements a pair trading arbitrage strategy between spot gold and gold futures. The robot monitors the price difference between XAUUSD and the GC futures contract, opening simultaneous buy and sell orders when the spread exceeds a defined threshold. Risk management is handled through a

MT5 Trading robot ArbitrageHedging
Updated 6 months ago None stated GitHub repository of XAU And GC Arbitrage
1 stars

This MetaTrader 5 utility serves as a risk management tool designed to monitor equity and drawdown across multiple magic numbers. It tracks realized and floating profits for up to twenty individual strategies, allowing users to define specific drawdown limits for each. The EA features an emergency stop function that ca

MT5 Risk & protection
Updated 6 months ago None stated GitHub repository of Equity Drawdown Monitor
1 stars

This MetaTrader 5 utility is designed for managing and broadcasting trading signals directly to Discord. It features a visual interface for drafting trade ideas on the chart using interactive entry and stop-loss lines. The software tracks trade states, manages position numbering, and routes alerts to specific Discord c

MT5 Copier & bridge
Updated 6 months ago Unlicense GitHub repository of DowHow Signal Service

Heikin Ashi Candle Flip EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor automates trading by detecting reversals in Heikin Ashi candle colors. It initiates a buy trade when a bullish flip occurs and a sell trade upon a bearish flip, managing one position at a time. The robot allows users to specify a custom Heikin Ashi indicator path if the default is not u

MT5 Trading robot Trend following
Updated 6 months ago None stated GitHub repository of Heikin Ashi Candle Flip EA

Remote MT5 Child EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor serves as a template for a master-child trading architecture. It is designed to work in conjunction with a separate Master EA, from which it receives instructions via global terminal variables. The EA monitors parameters such as remote pause states, maximum lot sizes, risk settings, and

MT5 Framework & template
Updated 7 months ago None stated GitHub repository of Remote MT5 Child EA

Remote MT5 Master EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor serves as a bridge between a terminal and a remote SaaS backend for centralized management. It polls a web API at regular intervals to receive and execute commands such as opening orders, pausing trading, or modifying positions. The tool enforces local risk controls, including maximum l

MT5 Copier & bridge
Updated 7 months ago None stated GitHub repository of Remote MT5 Master EA

AIME

by H3NST7
1 stars

AIME is a MetaTrader 5 Expert Advisor that automates trading using Inner Circle Trader (ICT) methodologies. The robot enters trades by evaluating smart money concepts such as fair value gaps, order blocks, and liquidity levels during specific session killzones. It features distinct strategies including the Unicorn mode

MT5 Trading robot SMC / ICT / price action
Updated 7 months ago None stated GitHub repository of AIME
1 stars

This MetaTrader 5 expert advisor implements a multi-layer Smart Money Concepts strategy across twelve currency pairs and gold. It utilizes a weighted scoring engine to evaluate setups based on market structure, liquidity sweeps, fair value gaps, and technical indicators like RSI and VWAP. The robot identifies break of

MT5 Trading robot SMC / ICT / price actionMulti-strategyTrend following
Updated 7 months ago None stated GitHub repository of Confluence Trading System

FINS QQQ Development

by atanasvasilevjourney
1 stars

This MetaTrader 5 repository contains a collection of expert advisors centered on opening range breakouts and statistical mean reversion. The primary breakout tool defines trading zones based on specific time intervals and executes trades using price bias or candle closes. It incorporates robust risk management feature

MT5 Collection BreakoutMean reversionScalping
Updated 7 months ago None stated GitHub repository of FINS QQQ Development

Trend Pullback EA

by Ekisa02
1 stars

Trend Pullback EA is an automated trading robot for MetaTrader 5 that uses Exponential Moving Averages and price action to execute trades. It identifies market trends using a dual EMA crossover system and waits for price pullbacks into the moving average zone. Valid entries require confirmation from bullish or bearish

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

Liquidity Scalper

by torOxO
1 stars

Liquidity Scalper is an automated expert advisor for XAUUSD (Gold) on MetaTrader 4 and 5. It executes trades based on institutional order flow and Smart Money Concepts, specifically targeting liquidity sweeps followed by market displacement. The system identifies order blocks and enters on either retests or momentum-ba

MT4MT5 Trading robot SMC / ICT / price actionScalpingBreakout
Updated 7 months ago None stated GitHub repository of Liquidity Scalper

Sharrow

by Shinpai-AI
1 stars

Sharrow is an AI-driven trading robot for MetaTrader 5 that integrates with a Python-based machine learning toolchain. It functions as a trend engine, primarily designed for the H1 timeframe, using rules generated from walk-forward training scripts. The system includes sophisticated risk controls such as daily drawdown

MT5 Trading robot AI / machine learningTrend followingNews
Updated 7 months ago None stated GitHub repository of Sharrow

EMA Crossover Strategy Studio

by forexstrategystudio
1 stars

This MetaTrader 5 Expert Advisor implements an Exponential Moving Average crossover strategy generated using a visual no-code development platform. It utilizes bar-gated logic to evaluate trade entries and exits once per candle, preventing repetitive order submissions. The robot includes risk management controls such a

MT5 Trading robot Indicator crossover
1 stars

This MetaTrader 5 expert advisor performs comprehensive Smart Money Concepts (SMC) and ICT-style analysis. It identifies market structure elements such as Break of Structure (BOS) and Change of Character (CHOCH) based on candle body closes. The tool visualizes order blocks, fair value gaps, and liquidity levels includi

MT5 Trading robot SMC / ICT / price action
1 stars

This collection of MetaTrader 5 expert advisors focuses on automated trendline breakout strategies integrated with Elliott Wave theory and Fibonacci levels. The system identifies trendline breaks on the H4 timeframe and uses H1 and M15 intervals for entry confirmation. It employs RSI filters for divergence detection an

MT5 Collection Trend followingBreakoutSMC / ICT / price action

Gold Btc Mtf Trader

by Mahmoodsaa
1 stars

This MetaTrader 5 expert advisor automates trading for gold and bitcoin symbols using a trend-following strategy. It identifies entry points by combining Exponential Moving Average crossovers with the Relative Strength Index for momentum filtering on the M5 timeframe. The robot includes automated risk management that c

MT5 Trading robot Trend followingIndicator crossover
Updated 7 months ago None stated GitHub repository of Gold Btc Mtf Trader

SMC FVG EA

by trenddaytrader
1 stars

This MetaTrader 5 expert advisor automates trading strategies based on Smart Money Concepts (SMC), specifically focusing on Fair Value Gaps (FVG) and Order Blocks. The robot identifies market structure using swing highs and lows, rejection blocks, and a Simple Moving Average filter. Positions are managed through fixed

MT5 Trading robot SMC / ICT / price action
Updated 7 months ago None stated GitHub repository of SMC FVG EA

Gold Dual Engine Scalper

by MithunCyDev
1 stars

Gold Dual Engine Scalper is an MT5 expert advisor designed for XAUUSD trading. It utilizes a regime-based state machine to navigate market conditions, employing two distinct engines: one for volatility burst continuations and another for liquidity sweep reversals. The EA monitors for price compression and market exhaus

MT5 Trading robot ScalpingBreakoutSMC / ICT / price action

Rebelion Digital FX

by rebelion16
1 stars

Rebelion Digital FX is an automated trading expert advisor for MetaTrader 5 that employs a multi-indicator strategy combining Exponential Moving Averages, RSI, and MACD for trend confirmation. It supports specific optimized parameters for Gold and major currency pairs. The EA includes comprehensive risk controls such a

MT5 Trading robot Trend followingIndicator crossoverScalping
Updated 7 months ago None stated GitHub repository of Rebelion Digital FX

MQL5 EA Collection

by Santhosh-waran
1 stars

This MetaTrader 5 repository contains a collection of expert advisors centered on Smart Money Concepts and automated grid systems. The featured EA Lucre employs a grid strategy with integrated martingale or anti-martingale lot scaling. It manages risk through daily profit targets, drawdown limits, and optional multi-ti

MT5 Collection SMC / ICT / price actionGridMartingale High risk
Updated 7 months ago None stated GitHub repository of MQL5 EA Collection

XAU Hedge Strategy

by mraicodedev
1 stars

This MetaTrader 5 expert advisor executes a coordinated hedging strategy across two separate accounts for XAUUSD. By running one instance as a buyer and another as a seller, the system coordinates simultaneous opposing entries. The two instances communicate status and synchronization via shared local files. It manages

MT5 Trading robot Hedging
Updated 7 months ago Custom licence GitHub repository of XAU Hedge Strategy

Gold Pullback Bot

by umarf000
1 stars

Gold Pullback Bot is an automated trading system for MetaTrader 5 designed specifically for XAUUSD. The expert advisor utilizes a trend-following strategy based on the alignment of three Exponential Moving Averages to identify price direction. Entries are filtered using a momentum indicator to confirm market strength.

MT5 Trading robot Trend followingIndicator crossover
Updated 7 months ago None stated GitHub repository of Gold Pullback Bot

MT5 Strategies Collection

by vincentwongso
1 stars

This repository provides a collection of expert advisors for MetaTrader 5, featuring various technical strategies. The primary implementation is the Trading Made Simple system, which utilizes Hull Moving Average crossovers, Heiken Ashi candles, and Stochastic filters to identify entry signals. Other included robots foc

MT5 Collection Indicator crossoverBreakoutScalping
Updated 7 months ago None stated GitHub repository of MT5 Strategies Collection

ONNX LSTM Trading Bot

by winningtrendingbots
1 stars

This MetaTrader 5 expert advisor employs an ONNX-integrated LSTM model to forecast price action for the EURUSD pair on the H1 timeframe. It generates trade signals by comparing neural network predictions against current market prices or previous trend forecasts. The system manages risk through fixed or ATR-based stop l

MT5 Trading robot AI / machine learningTrend following Archived
Updated 7 months ago None stated GitHub repository of ONNX LSTM Trading Bot

Dejavu EA

by MarxMad
1 stars

Dejavu EA is a grid trading robot for MetaTrader 5 that automates trade entry using a system of pending orders. It supports buy and sell stops and limits, organized in configurable increments. The strategy includes a dynamic take profit mechanism relative to grid spacing, trailing stops, and ATR-calculated stop losses.

MT5 Trading robot GridHedging High risk
Updated 7 months ago None stated GitHub repository of Dejavu EA

NY Breakout Bot

by colmanserafin-hub
1 stars

This Expert Advisor for MetaTrader 5 automates a breakout strategy focused on the New York session opening range. It targets XAUUSD (Gold), identifying the high and low of the initial session candle to set entry levels. The robot includes risk management features such as equity-based lot sizing, a maximum daily trade l

MT5 Trading robot Breakout
Updated 7 months ago None stated GitHub repository of NY Breakout Bot

MT5 Docker JsonAPI

by Martingale42
1 stars

MT5 Docker JsonAPI is a connectivity bridge that integrates MetaTrader 5 with external environments via a multi-socket ZeroMQ architecture. It enables real-time price streaming, trade execution, and account management from external platforms like Python. The solution is packaged in a Docker container, providing remote

MT5 Collection Grid High risk
Updated 7 months ago None stated GitHub repository of MT5 Docker JsonAPI

Golden Structure

by edisonq
1 stars

Golden Structure is a trend-following expert advisor for MetaTrader 5, specifically optimized for Gold (XAUUSD). It uses an exponential moving average to determine the primary market bias and enters trades based on price action rejection wicks following a pullback. The EA prioritizes risk control with automated lot siz

MT5 Trading robot Trend followingNews
Updated 7 months ago MIT GitHub repository of Golden Structure

Gold EA

by ChenyuHeee
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy centered on moving average pullbacks. It utilizes a 200-period EMA for trend direction and a 50-period EMA for entry signals, further filtered by RSI momentum and ADX volatility measures. The EA includes sophisticated trade management features such

MT5 Trading robot Trend following
Updated 7 months ago None stated GitHub repository of Gold 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 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