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.

548 EAs match Clear filters

Hurst Regime Adaptive Dual

by presios2004-boop
1 stars

This MetaTrader 5 expert advisor employs a regime-adaptive strategy using the Hurst exponent to distinguish between trending and ranging market conditions. It performs dual timeframe analysis, typically executing on the H1 timeframe while monitoring H4 for broader context. The system incorporates technical indicators s

MT5 Collection Trend followingMean reversion
Updated 13 days ago None stated GitHub repository of Hurst Regime Adaptive Dual
1 stars

This MetaTrader 5 expert advisor provides a manual backtesting environment by simulating the bar replay feature popular on web-based charting platforms. It functions by creating a custom symbol and loading historical data, allowing the user to progress through the chart candle by candle. The tool supports virtual trade

MT5 Utility
Updated 2 weeks ago None stated GitHub repository of Bar Replay for MetaTrader 5

Gamble MQL5

by jonasMapuche
1 stars

This MetaTrader 5 expert advisor executes trades based on a time-restricted strategy combined with moving averages and Fibonacci levels. It operates within a specific daily window, opening positions between a defined start and end time and automatically closing them at a designated hour. The system utilizes 21-period s

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 weeks ago None stated GitHub repository of Gamble MQL5

MQT Microstructure Analysis

by gregorian-09
1 stars

MQT Microstructure Analysis is a comprehensive header-only framework for MetaTrader 5 designed to process high-frequency market data. It transforms raw tick, quote, and Depth of Market events into structured measurements for order flow, liquidity depth, and price impact. The system includes specialized modules for calc

MT5 Framework & template

EA Trading Guide

by thenaritlab
1 stars

This collection provides educational Expert Advisors for the MetaTrader 5 platform, showcasing different algorithmic approaches for beginners and intermediate traders. It features a moving average crossover system and a more advanced mean reversion robot based on the Relative Strength Index. The included tools utilize

MT5 Collection Trend followingMean reversionIndicator crossover

Quick Risk Executor

by ratnakandel33-debug
1 stars

Quick Risk Executor is a utility for MetaTrader 5 designed to streamline trade entry by automating lot size calculations based on user-defined risk in currency. The user sets a fixed dollar amount to risk per trade and identifies a stop loss level directly on the chart using an interactive line. The expert advisor calc

MT5 Utility
Updated 2 weeks ago None stated GitHub repository of Quick Risk Executor

Arko Risk

by roseshayan
1 stars

Arko Risk is an open-source position and risk management utility designed for MetaTrader 5, particularly suited for scalpers and prop firm traders. It does not generate trade signals but provides a graphical interface for designing limit orders with visual entry, stop loss, and take profit lines. The expert manages act

MT5 Trade manager News
Updated 2 weeks ago MIT GitHub repository of Arko Risk

Vilona Gold Trading EA

by DIRJEN-BOT
1 stars

Vilona Gold Trading EA is a trend-following robot for MetaTrader 5 tailored for XAUUSD. It executes trades based on daily breakouts and moving average filters, often focusing on long-only setups to align with secular trends. Risk management features include equity-based lot sizing, fixed stop losses, trailing stops, an

MT5 Trading robot Trend followingBreakoutIndicator crossover High risk
Updated 2 weeks ago None stated GitHub repository of Vilona Gold Trading EA

Gold Scalper EA

by crissz-cmd
1 stars

Gold Scalper EA is an automated trading robot for MetaTrader 5 specifically designed for the XAUUSD market. It utilizes a modular architecture to perform multi-timeframe analysis across H1 and M15 charts, combining momentum, price action, and market structure indicators. The system employs a scoring engine and conflict

MT5 Trading robot ScalpingTrend followingSMC / ICT / price action
Updated 2 weeks ago Custom licence GitHub repository of Gold Scalper EA

Liquidity Sweep EA

by AoiKumo31
1 stars

Liquidity Sweep EA is a MetaTrader 5 tool designed to identify price sweeps beyond swing highs and lows followed by structural shifts. It focuses on detecting liquidity grabs and Change of Character (CHoCH) signals, providing on-chart visualization for key levels. The software monitors 5-minute and 15-minute timeframes

MT5 Utility SMC / ICT / price action
Updated 3 weeks ago None stated GitHub repository of Liquidity Sweep EA

Gold Scalper EA

by hawada850-glitch
1 stars

This automated trading robot for MetaTrader 5 focuses on gold scalping using a multi-timeframe moving average strategy. It identifies entries via EMA crossovers on the one-minute timeframe, while confirming the overall trend using larger periods on the five-minute chart. Risk management includes dynamic stop loss and t

MT5 Trading robot ScalpingIndicator crossoverTrend following
Updated 3 weeks ago None stated GitHub repository of Gold Scalper EA

Adaptive Breakout AI

by Garrick852
1 stars

This MetaTrader 5 expert advisor combines breakout and mean-reversion strategies within a framework optimized for proprietary trading firm requirements. It features adaptive logic that transitions between modes based on market drift detection. Users can configure breakout entries using Donchian channels or fixed time r

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 weeks ago None stated GitHub repository of Adaptive Breakout AI

DomPanion

by domsendotnet
1 stars

DomPanion is a trade management and risk protection utility for MetaTrader 5 designed for discretionary traders. It monitors active positions to enforce lot size limits, session-based trading restrictions, and monetary take-profit or stop-loss targets. The EA features a dashboard with time-based performance analysis an

MT5 Trade manager Grid High risk
Updated 3 weeks ago MIT GitHub repository of DomPanion

XAUUSD ICT M5 EA

by mary1369
1 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts and ICT strategies specifically for the XAUUSD pair on the five-minute timeframe. It utilizes a multi-confirmation scoring system including market structure shifts, break of structure, and change of character detection alongside fair value gaps and liquid

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 weeks ago None stated GitHub repository of XAUUSD ICT M5 EA
1 stars

This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli

MT5 Trading robot Mean reversionGridMartingale High risk

Fimathe PCM EA

by leonardoguaracidasilvacruz15
1 stars

This expert advisor for MetaTrader 5 automates the Fimathe/PCM technical analysis strategy. It identifies market cycles by constructing reference channels and expansion zones to execute trades on price breakouts. The robot supports entries based on candle touch or closure and manages exits using two take profit levels.

MT5 Trading robot BreakoutTrend following
Updated 3 weeks ago None stated GitHub repository of Fimathe PCM EA
1 stars

This MetaTrader 5 expert advisor is designed specifically for trading gold (XAUUSD) using a breakout strategy. It functions by placing buy stop and sell stop pending orders at a fixed distance from the current price during specified trading hours. The robot includes risk management features such as a configurable stop

MT5 Trading robot Breakout
Updated 3 weeks ago None stated GitHub repository of EA Pending Order MT5

Gold Trading EA

by shamshyder123-oss
1 stars

An automated trading robot for MetaTrader 5 specifically designed for the XAUUSD market. It utilizes a combination of RSI for overbought and oversold levels, MACD for momentum, and Simple Moving Average crossovers for trend confirmation. The EA enters trades when multiple indicators align and manages them using fixed o

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 3 weeks ago MIT GitHub repository of Gold Trading EA
1 stars

This MetaTrader 5 robot trades gold on the 15-minute timeframe using a trend-following pullback strategy. It identifies the primary trend using a 200-period EMA on the H1 chart and looks for entries on the M15 timeframe when price retracts to a fast EMA and RSI indicates a momentum reset. Risk is managed through ATR-ba

MT5 Trading robot Trend followingMean reversion
Updated 3 weeks ago None stated GitHub repository of Xauusd Trend Pullback

NeoFL EA Collection

by neofinn
1 stars

NeoFL is a collection of modular MetaTrader 5 trading robots built on a shared algorithmic architecture. The library includes specialized engines for gold, forex, and candle level revisits. The primary Candle Revisit EA uses M5 price action analysis for entries while employing an M1 observer for trade protection. It ma

MT5 Collection SMC / ICT / price actionMartingaleMean reversion High risk
Updated 3 weeks ago None stated GitHub repository of NeoFL EA Collection

Gexbot MT5 Integration

by romerfrancogpt
1 stars

This MetaTrader 5 utility integrates Gexbot API data to visualize option-based market sentiment directly on the chart. It fetches and displays Gamma Exposure (GEX) profiles, including Open Interest, volume, and State data like Delta and Vanna across various days to expiration. The EA draws key levels such as Zero Gamma

MT5 Utility

Shakuni Trap

by vedkanani123
1 stars

Shakuni Trap is a MetaTrader 5 research laboratory focusing on systematic gold trading. The collection features multiple Expert Advisors, with the primary OneShot version utilizing M1 to M5 timeframes. This strategy executes trades based on EMA bounces or Donchian Channel breakouts, requiring alignment with higher time

MT5 Collection Trend followingBreakoutMean reversion
Updated 4 weeks ago None stated GitHub repository of Shakuni Trap

Prem Gold Advisor

by Premkumar238
1 stars

Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 4 weeks ago None stated GitHub repository of Prem Gold Advisor
1 stars

This repository features a collection of MetaTrader 5 Expert Advisors developed for strategy and risk-management research. It includes a multi-pair mean reversion grid system, a gold breakout robot using previous day levels, and trend-following strategies based on moving averages. The EAs incorporate extensive risk con

MT5 Collection Trend followingBreakoutMean reversion High risk

XAU Trailing Stop

by admininfokoding
1 stars

This position management expert advisor for MetaTrader 5 automates the trailing stop loss process for gold trades. It offers two distinct operational modes: a fixed pips distance and an adaptive mode based on the Average True Range indicator to adjust for volatility. The utility includes specific safeguards to block or

MT5 Trade manager
Updated 4 weeks ago Custom licence GitHub repository of XAU Trailing Stop

Aurum

by amarnazhan27-gif
1 stars

Aurum is an adaptive research expert advisor designed for trading Gold on MetaTrader 5 cent accounts. It employs a multi-timeframe logic that filters H1 trend direction, M15 market regimes, and M5 setups to trigger entries on M1 closed bars. Risk management is a central component, incorporating strict limits on daily a

MT5 Trading robot Trend followingMean reversion
Updated 4 weeks ago MIT GitHub repository of Aurum

Easy Candle Bridge

by easy-candle
1 stars

This MetaTrader 5 utility serves as a data bridge to stream M1 candle data to the Easy Candle application. It connects via a local WebSocket to transmit Open, High, Low, Close (OHLC), and volume data in JSON format. The EA handles historical data synchronization by chunking up to 500,000 bars and maintains a live conne

MT5 Copier & bridge
Updated 4 weeks ago None stated GitHub repository of Easy Candle Bridge

Conquest EA

by MunchonGithub
1 stars

Conquest EA is a self-adjusting expert advisor for MetaTrader 5 that utilizes Smart Money Concepts such as Fair Value Gaps and Break of Structure for entries. It features a built-in learning module that evaluates its own trade outcomes to adjust strategy weighting and confidence in real-time. Risk management includes a

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following
Updated 4 weeks ago Apache-2.0 GitHub repository of Conquest EA

Trend Matrix EA

by Rhett-Q
1 stars

Trend Matrix EA is a multi-model trend-following robot for MetaTrader 5, specifically optimized for Gold trading. It utilizes a scoring matrix based on several technical indicators including Moving Averages, MACD, ADX, and Bollinger Bands to determine entries. The system employs a conservative pyramiding approach, addi

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 4 weeks ago None stated GitHub repository of Trend Matrix EA

Flip Trader

by HassanAliMAli
1 stars

Flip Trader is a perpetual stop-and-reverse expert advisor for MetaTrader 5 that remains in the market at all times. The strategy opens an initial position and applies a tight trailing stop-loss without a take profit target. When the market hits the stop-loss, the robot immediately closes the position and opens a new o

MT5 Trading robot Trend following
Updated 5 weeks ago None stated GitHub repository of Flip Trader
1 stars

This MetaTrader 5 expert advisor serves as a risk management and execution framework rather than a standalone trading strategy. It monitors account equity in real-time to enforce daily drawdown limits. If a predefined monetary loss threshold is reached, the engine can trigger a kill switch to block further trading or f

MT5 Risk & protection
Updated 5 weeks ago None stated GitHub repository of ExecRisk Control Engine
1 stars

This MetaTrader 5 expert advisor implements a dual-direction hedging grid strategy primarily designed for XAUUSD. It simultaneously maintains buy and sell baskets, opening new positions at fixed or ATR-calculated intervals when the market moves against existing trades. The EA employs a soft martingale lot multiplier to

MT5 Trading robot GridMartingaleHedging High risk
Updated 5 weeks ago None stated GitHub repository of Bi-Directional Hedging Grid

Spike Can Can Drop

by ahmadihossein642-arch
1 stars

Spike Can Can Drop is a MetaTrader 5 expert advisor designed to detect price action spike patterns, specifically the Can Can pattern. It uses an Average True Range multiplier to confirm volatility surges relative to a defined lookback period on higher timeframe structures. The utility features an on-screen dashboard mo

MT5 Trading robot SMC / ICT / price action
Updated 5 weeks ago None stated GitHub repository of Spike Can Can Drop
1 stars

ITIP is an advanced multi-component expert advisor for MetaTrader 5 that connects the terminal to external AI and simulation modules. It utilizes a modular architecture to track smart money structure, including order blocks and fair value gaps, alongside RSI divergence signals across multiple timeframes. The platform h

MT5 Trading robot SMC / ICT / price actionMean reversionMulti-strategy
Updated 5 weeks ago None stated GitHub repository of ITIP Trading Platform

SynerPro EA

by t2an1s
1 stars

SynerPro EA is a MetaTrader 5 robot designed for managing prop firm challenges. It implements the Synergy Strategy, utilizing Heikin Ashi market bias and session-based filters to execute trades. The system features a master-slave communication architecture via shared files for coordinating between instances. Risk manag

MT5 Trading robot Trend following
Updated 5 weeks ago None stated GitHub repository of SynerPro EA

Quantum Alpha MT5 ONNX

by yole-shop-oficial
1 stars

This expert advisor for MetaTrader 5 combines traditional quantitative strategies with machine learning via the ONNX runtime. It features multiple trading modes including Order Blocks, market structure analysis, and a hybrid AI strategy using neural network predictions trained in PyTorch. The system incorporates compre

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following High risk
Updated 5 weeks ago None stated GitHub repository of Quantum Alpha MT5 ONNX
1 stars

This MetaTrader 5 expert advisor utilizes a Naive Bayes probabilistic model integrated with Smart Money Concepts and ICT principles to identify trading opportunities. It primarily targets gold bias and pullbacks but includes logic for universal symbol support. The system uses a machine learning engine that self-retrain

MT5 Trading robot AI / machine learningSMC / ICT / price actionMulti-strategy
1 stars

This MetaTrader 5 expert advisor implements a market regime filter inspired by Wyckoff principles, identifying phases like accumulation, distribution, markup, and markdown. It identifies trading ranges using a lookback period and triggers entries on confirmed breakouts with consecutive closes. Risk management is centra

MT5 Trading robot BreakoutSMC / ICT / price action
Updated 5 weeks ago None stated GitHub repository of Wyckoff Price Action EA
1 stars

This expert advisor for MetaTrader 5 implements a technical strategy combining MACD, Stochastic Oscillator, and Parabolic SAR indicators. Designed primarily for the five-minute timeframe, it enters trades based on momentum and trend alignment. The system features robust risk controls, including stop loss and take profi

MT5 Trading robot Indicator crossoverTrend followingMean reversion

US30 Systematic EA

by raihaan0308-png
1 stars

This expert advisor implements an automated trend-following strategy for the US30 index on the MetaTrader 5 platform. It identifies entries using a combination of dual Exponential Moving Averages for trend direction, RSI for momentum filtering, and specific candle patterns. Risk is managed through a percentage-based lo

MT5 Trading robot Trend followingIndicator crossover
Updated 5 weeks ago None stated GitHub repository of US30 Systematic EA

EMA Cross EA

by momomosun
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on the crossover of 15-period and 60-period Exponential Moving Averages. It employs a continuous reversal logic to maintain market presence, switching between long and short positions as trends shift. Risk management includes ATR-based dyn

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago MIT GitHub repository of EMA Cross EA

Smart Trader 7CAS

by andersonclement
1 stars

Smart Trader 7CAS is an automated trading robot for MetaTrader 5 designed specifically for commodities including Gold, Silver, and Oil. It implements seven distinct trading modules or scenarios covering trend following, scalping, range trading, breakouts, Smart Money Concepts, reversals, and Fibonacci levels. The syste

MT5 Trading robot Multi-strategySMC / ICT / price actionTrend following High risk
Updated 6 weeks ago None stated GitHub repository of Smart Trader 7CAS
1 stars

This MetaTrader 5 collection provides five Expert Advisors focused on Ichimoku Chikou-Kijun crossovers. The repository includes basic alert tools and automated robots that execute trades based on lagging span movements relative to the base line. Advanced variants incorporate ADX and DI filters, Kumo cloud confluence, a

MT5 Collection Indicator crossoverTrend following

Ichimoku Strategy Bot

by Mrben509
1 stars

This MetaTrader 5 expert advisor utilizes the Ichimoku Kinko Hyo indicator system integrated with a machine learning boosting model to execute trades. It analyzes technical factors including RSI, ATR, Z-scores, and price slopes to determine a success probability before opening positions. The robot features built-in ris

MT5 Trading robot Trend followingAI / machine learning
Updated 6 weeks ago None stated GitHub repository of Ichimoku Strategy Bot

Shake EA

by ziadoul25
1 stars

This trend-following expert advisor for MetaTrader 5 implements the SHAKE strategy to trade Bitcoin and Gold. It identifies entries by analyzing the alignment of three moving averages across three distinct timeframes, typically M1, M5, and M15. Positions are opened only when the fast, medium, and slow averages are sequ

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago None stated GitHub repository of Shake EA

LTX MT5 Redis Bridge

by gsolaril
1 stars

This MetaTrader 5 expert advisor functions as a bridge between the trading platform and a Redis database using the hiredis library. It consists of two components: a data connector for streaming tick and candle information and an execution connector for handling trade events and account status. The system allows externa

MT5 Copier & bridge
Updated 6 weeks ago None stated GitHub repository of LTX MT5 Redis Bridge
1 stars

This repository provides a collection of MetaTrader 5 expert advisors and technical utilities designed for market analysis and automated trading. It includes a 3D correlation matrix for visualizing price relationships across multiple currency pairs. The library also features several trading robots based on Japanese can

MT5 Collection Multi-strategyGrid High risk
Updated 6 weeks ago None stated GitHub repository of MQL5 Algo Forge Collection
1 stars

This automated trading system for MetaTrader 5 utilizes machine learning models via the ONNX runtime to forecast currency trends. It implements an ensemble approach, combining predictions from Logistic Regression, Support Vector Machines, Random Forest, and XGBoost. The system operates in two primary modes: technical i

MT5 Trading robot AI / machine learningNewsTrend following

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