Synced with GitHub · updated hourly

Expert Advisor Library

1,978 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

348 EAs match Clear filters

AntiLatency Sniper EA

by themusafirr
1 stars

This algorithmic scalping robot for MetaTrader 4 and 5 uses a five-factor confluence engine to identify trade entries. It monitors RSI extremes, Bollinger Band breakouts, MACD momentum, EMA ribbons, and volume acceleration. The EA employs percentage-based risk management with a strict stop loss and a flexible take prof

MT4MT5 Trading robot ScalpingTrend followingMean reversion
Updated 5 days ago None stated GitHub repository of AntiLatency Sniper EA

GoldEngine Sentinel

by vivekpanchal2489
1 stars

GoldEngine Sentinel is a specialized expert advisor for MetaTrader 5, designed specifically for trading spot gold. It utilizes an advanced architecture combining dual-AI ONNX models: SuperGRU for macro bias and Master AI for micro order flow analysis. Trade execution is filtered through Gaussian Kernel Channels and Nad

MT5 Trading robot AI / machine learningMean reversionSMC / ICT / price action
Updated 5 days ago None stated GitHub repository of GoldEngine Sentinel

Medula SMC EA

by gurupirataurai92-wq
1 stars

This MetaTrader 5 expert advisor utilizes Smart Money Concepts and pure price action to execute trades without traditional technical indicators. By analyzing raw candle data, it identifies market structures, order blocks, and various fair value gaps. The system includes multiple versions, ranging from simple price acti

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 days ago None stated GitHub repository of Medula SMC EA

MATE Apex Scalper

by Yamsim-bot
1 stars

MATE Apex Scalper is a MetaTrader 5 expert advisor designed for scalping major forex pairs and gold. It employs a multi-symbol confluence strategy, filtering entries based on triple exponential moving average alignment, RSI levels, and Bollinger Band rejections on the M5 and M15 timeframes. The robot manages trades usi

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 8 days ago None stated GitHub repository of MATE Apex Scalper

Enigma Feed Exporter

by jeremetorresglitch
1 stars

This MetaTrader 5 expert advisor functions as a specialized data utility for exporting broker-specific market data to external files. It records historical M1 and M5 bar data and periodically snapshots live bid and ask spreads to CSV format. The tool is designed to support research pipelines by providing exact pricing

MT5 Copier & bridge
Updated 9 days ago Custom licence GitHub repository of Enigma Feed Exporter

SpeedPanel

by puchi-works
1 stars

SpeedPanel is a manual trading utility for MetaTrader 5 designed to streamline scalping operations. It provides an on-chart interface that displays live bid and ask prices, spreads, and floating profit or loss. Users can execute market orders with pre-defined lot sizes tailored for instruments like USDJPY and XAUUSD. T

MT5 Utility Scalping
Updated 10 days ago None stated GitHub repository of SpeedPanel
1 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for a quantitative trading seminar by QRT Solutions. It includes multiple models such as US opening gap momentum, opening range breakouts, and SMA-based gold strategies. Each robot features professional risk management components including t

MT5 Collection Trend followingBreakoutIndicator crossover
1 stars

This MetaTrader 5 repository provides a collection of seventeen quantitative trading strategies designed for educational and research purposes. The primary expert advisor implements a US opening gap momentum strategy, utilizing ATR-based gap thresholds and Z-Score volatility regime detection to identify entry points. R

MT5 Collection BreakoutTrend followingIndicator crossover

Inan Quant

by inandenizturk
1 stars

Inan Quant is a MetaTrader 5 expert advisor designed specifically for trading gold on the M15 timeframe. It utilizes a Donchian breakout strategy combined with a multi-layered filtering system, including an H1 trend filter, ADX regime detection, and a custom signal quality score. The system manages risk using percentag

MT5 Trading robot BreakoutTrend following
Updated 12 days ago None stated GitHub repository of Inan Quant

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

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

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

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

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

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

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

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

JBM EMA Gold Scalper

by goesbams
1 stars

JBM EMA Gold Scalper is an automated trading system for MetaTrader 5 designed specifically for gold on the one-minute timeframe. It utilizes an exponential moving average ribbon consisting of four periods to identify trend alignment and enters trades on price retracements. The expert advisor includes several filters, s

MT5 Trading robot ScalpingTrend following
Updated 6 weeks ago None stated GitHub repository of JBM EMA Gold Scalper

AI XAU M1 Scalper

by shedrigarish
1 stars

This MetaTrader 5 expert advisor is designed for scalping XAU/USD on the one-minute timeframe. It utilizes a multi-indicator approach combined with Smart Money Concepts, including order blocks, fair value gaps, and liquidity sweeps. The robot calculates a confidence score for entries using EMA trend analysis, RSI, and

MT5 Trading robot ScalpingSMC / ICT / price actionTrend following
Updated 7 weeks ago None stated GitHub repository of AI XAU M1 Scalper
1 stars

This MetaTrader 5 expert advisor identifies daily support and resistance levels for gold based on price action at 08:00 SGT. It calculates entry points using specific candle patterns and includes ATR-based take-profit targets. The system manages risk through fixed lot sizes or equity percentage, utilizing stop losses a

MT5 Trading robot Mean reversionBreakout

Straddle Grid

by wolfbomb
1 stars

Straddle Grid is an automated trading robot for MetaTrader 5 that deploys bidirectional stop-order grids based on fixed price distances. The expert advisor utilizes a gates system to filter entries by ATR volatility, spread limits, and specific GMT trading sessions. It manages positions as a basket with currency-based

MT5 Trading robot GridBreakoutNews High risk
Updated 7 weeks ago None stated GitHub repository of Straddle Grid

Steadx

by odarinewton
1 stars

Steadx is an Expert Advisor for MetaTrader 5 that automates various Smart Money Concepts and ICT strategies. It utilizes multiple entry models, including Order Block and Fair Value Gap confluences, the Unicorn model, and liquidity sweeps during specific sessions. The system filters trades using higher-timeframe trend a

MT5 Trading robot SMC / ICT / price actionIndicator crossoverMulti-strategy
Updated 8 weeks ago GPL-3.0 GitHub repository of Steadx

MTF Confluence Trend

by aretephi
1 stars

MTF Confluence Trend is a MetaTrader 5 expert advisor designed for trend-following across multiple timeframes. It initiates trades when the local Supertrend indicator aligns with a higher timeframe trend, further filtered by ADX strength and optional volume conditions. The robot includes risk management features such a

MT5 Trading robot Trend followingMulti-strategy
Updated 8 weeks ago None stated GitHub repository of MTF Confluence Trend

XAUUSD MTF Scalper AI Mode

by umarhusain075-hub
1 stars

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot optimized for gold trading. It utilizes a higher-timeframe bias filter combined with lower-timeframe entry triggers based on a weighted scoring system. The strategy integrates Exponential Moving Averages, ADX for trend strength, Stochastic RSI, and VW

MT5 Trading robot Trend followingScalpingMulti-strategy
Updated 2 months ago None stated GitHub repository of XAUUSD MTF Scalper AI Mode

SNRZ Bot

by xalayzaman-ui
1 stars

SNRZ Bot is an automated trading system for MetaTrader 5 that implements a support and resistance breakout strategy. It identifies significant price levels requiring at least two touches and enters trades when price breaks and subsequently pulls back to these zones. The expert advisor includes built-in risk management

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

Smart Basket Recovery EA

by nguyenvnhieu290302-gif
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy with an integrated recovery mechanism. It initiates a series of orders at fixed intervals and manages them as a collective basket. The system utilizes dollar-based targets for profit-taking and loss prevention, including a maximum total loss limi

MT5 Trading robot GridHedging High risk
Updated 2 months ago None stated GitHub repository of Smart Basket Recovery EA

Ultimate ICT Gold Scalper

by srinivashacks
1 stars

Ultimate ICT Gold Scalper is a modular expert advisor framework for MetaTrader 5, primarily focused on gold trading using institutional concepts. It provides a robust risk management foundation, including daily, weekly, and monthly drawdown limits and maximum consecutive loss protections. The system handles position ma

MT5 Framework & template SMC / ICT / price actionScalping
Updated 2 months ago None stated GitHub repository of Ultimate ICT Gold Scalper

Straddle TP SL EA

by minhajul61
1 stars

Straddle TP SL EA is a breakout robot for MetaTrader 5, specifically optimized for gold trading. It implements a straddle strategy by placing buy-stop and sell-stop orders at the boundaries of a recent price range, typically using the last M5 candle. The EA includes risk management features such as ATR-adaptive stop lo

MT5 Trading robot BreakoutScalping
Updated 2 months ago None stated GitHub repository of Straddle TP SL EA
1 stars

This collection for MetaTrader 5 provides a diverse range of algorithmic trading strategies and utility scripts. The featured Precision Sniper EA utilizes indicator resonance, combining EMA, RSI, and ATR for entry signals. It incorporates sophisticated risk controls including three-stage partial profit taking, structur

MT5 Collection Trend followingBreakoutMulti-strategy
Updated 2 months ago None stated GitHub repository of Precision Sniper EA Library
1 stars

Personal Scalping Tool is a MetaTrader 5 execution assistant designed primarily for gold trading. It features a floating graphical user interface that allows traders to manage layered position entries directly from the chart. The expert advisor automates trade management by calculating stop loss and take profit levels

MT5 Utility ScalpingGrid High risk
Updated 2 months ago None stated GitHub repository of Personal Scalping Tool
1 stars

This repository contains two expert advisors for MetaTrader 5: a reconstruction of a popular grid system and a price-action tool for gold. The primary EA utilizes RSI and price extremes for entry signals, managing trades through a grid with tiered lot multipliers. It features smart distance calculations using ATR ratio

MT5 Collection Mean reversionGridMartingale High risk

17BA Gold Scalper

by jmac17ba
1 stars

17BA Gold Scalper is an automated trading system for MetaTrader 5 that employs a pending one-cancels-other breakout strategy. It places buy and sell stop orders around the market price; once one triggers, the opposite is cancelled. To manage adverse movements, the EA initiates a Fibonacci recovery basket, adding layers

MT5 Trading robot BreakoutMartingaleGrid High risk
Updated 2 months ago None stated GitHub repository of 17BA Gold Scalper

Celebro XAU

by mdavidjeremiah
1 stars

Celebro XAU is a microtick scalping robot for MetaTrader 5, specifically developed for gold trading. It analyzes short-horizon price velocity, acceleration, and uptick imbalance using a rolling tick buffer to identify entry points. The system manages risk through automated position sizing based on account equity, manda

MT5 Trading robot Scalping
Updated 2 months ago MIT GitHub repository of Celebro XAU

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