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.

43 EAs match Clear filters

EA Scalper XAUUSD

by francomascareloai
236 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper
49 stars

This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul

MT5 Collection ScalpingTrend followingBreakout High risk
Updated 2 months ago Custom licence GitHub repository of Frontline MT5 Strategy Collection
4 stars

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk
4 stars

This machine learning robot for MetaTrader 5 uses an ensemble of AI models including LSTM, GRU, and LightGBM to predict price movements. It executes trades based on signal confidence and predicted price targets. The EA features multiple risk controls such as volatility filters, trend-based MA filters, RSI checks, and a

MT5 Trading robot AI / machine learningTrend followingMartingale High risk
Updated 4 months ago GPL-3.0 GitHub repository of GGTH Forex Predictor
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk

KolaTradebot SMC

by Sidoine1991
3 stars

KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes

MT5 Collection SMC / ICT / price actionAI / machine learningBreakout High risk
2 stars

This collection for MetaTrader 5 provides several automated Expert Advisors designed for various symbols including forex, gold, and indices. The repository features Mecha Godzilla, a grid trading system using ATR-based spacing and bidirectional orders, alongside specialized bots for Asian session breakouts and H4 trend

MT5 Collection GridBreakoutTrend following High risk

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

Fibonacci ICT EA

by Shifrozy
2 stars

Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per

MT5 Trading robot SMC / ICT / price actionIndicator crossoverMean reversion High risk
Updated 3 weeks ago None stated GitHub repository of Fibonacci ICT EA

Apex Breakout

by sbrakni
2 stars

This Expert Advisor for MetaTrader 5 offers two distinct trading modes: Donchian Channel breakouts for trend following and session range breakouts for daytrading. The Donchian mode utilizes high/low channel breaks filtered by an Exponential Moving Average, while the session mode targets breakouts from defined UTC time

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 6 weeks ago None stated GitHub repository of Apex Breakout

XAUUSD Basket Trailing EA

by Muhammad-TalhaK
2 stars

This MetaTrader 5 expert advisor implements a basket-trading strategy specifically for XAUUSD. It opens an initial position based on the current short-term trend and enters additional trades at fixed intervals if the market moves against the basket. The robot utilizes a progressive lot-sizing model to manage the grid.

MT5 Trading robot GridTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of XAUUSD Basket Trailing EA
2 stars

This MetaTrader 5 expert advisor utilizes the Ichimoku Kinko Hyo indicator for trend identification, specifically targeting gold on the 15-minute timeframe. It employs a grid-based trading strategy that layers orders at fixed point distances when the market moves against the initial entry. To manage these positions, th

MT5 Trading robot Trend followingGridMartingale High risk
Updated 5 months ago None stated GitHub repository of Ichimoku Grid Martingale EA

Xau Cloud AI Sniper

by Lamarrsdrip
1 stars

Xau Cloud AI Sniper is an automated trading robot for MetaTrader 5 designed for gold trading. It utilizes a multi-layered entry pipeline involving a pattern engine, breakout detection, and trend alignment, often synchronized with external cloud-based market outlooks. The system features an AI-filter mode to validate tr

MT5 Collection BreakoutTrend followingMean reversion High risk
Updated yesterday None stated GitHub repository of Xau Cloud AI Sniper

Mveuuh Gold

by Nziikang
1 stars

Mveuuh Gold is an automated MetaTrader 4 expert advisor designed specifically for trading XAUUSD. It utilizes a multi-layered trend filtering system based on three Exponential Moving Averages and the Average Directional Index to determine entry direction. The EA employs a grid-based pyramid strategy, opening additional

MT4 Trading robot Trend followingGridMartingale High risk
Updated 2 days ago None stated GitHub repository of Mveuuh Gold

Adaptive DDQN MT5

by chyr-rpg
1 stars

This MetaTrader 5 expert advisor is a research-oriented reinforcement learning system implemented natively in MQL5. It utilizes a Deep Q-Network to make trading decisions based on market states derived from technical indicators, volatility, and supply-demand zones. The system manages trades using a grid-based basket ap

MT5 Trading robot AI / machine learningGridMartingale High risk
Updated 2 days ago None stated GitHub repository of Adaptive DDQN MT5
1 stars

This collection of MetaTrader 5 expert advisors focuses on grid and basket trading strategies. The core system establishes a reference price based on a specific hourly candle to initiate buy and sell grids. It manages risk using volume-weighted basket targets for take profit and stop loss. The EA employs aggressive lot

MT5 Collection GridMartingaleNews High risk
Updated 4 days ago None stated GitHub repository of Daily Straddle Basket EA

C Financial

by rafaelsoec
1 stars

C Financial is a MetaTrader 5 repository containing a large collection of expert advisor variants focused on trend-following and price action strategies. The primary scripts utilize technical indicators like Moving Averages, ADX, CCI, and Average True Range to detect market direction and volatility. It features modular

MT5 Collection Trend followingBreakoutIndicator crossover High risk
Updated 10 days ago None stated GitHub repository of C Financial

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

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

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

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

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

This automated expert advisor for MetaTrader 4 and 5 trades forex using a multi-timeframe technical strategy. It identifies H1 trends with moving averages and Ichimoku clouds while timing M5 entries via MACD and RSI convergence. The system incorporates robust risk controls including equity-based lot sizing, daily loss

MT4MT5 Trading robot Trend followingIndicator crossoverMulti-strategy High risk
Updated 7 weeks ago None stated GitHub repository of EA PM Portfolio Management

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

This MetaTrader 5 repository hosts a collection of over 90 expert advisors generated by StrategyQuant X. The robots are designed for the M15 timeframe across diverse markets including forex majors, gold, and oil. Entry signals are derived from technical indicators like Ichimoku, VWAP, and Moving Averages. Each EA featu

MT5 Collection Trend followingIndicator crossoverMartingale High risk
Updated 2 months ago None stated GitHub repository of Quant V1 Strategy Collection
1 stars

This MetaTrader 5 expert advisor executes trades based on daily classic pivot points combined with the engulfing candlestick pattern on the M15 timeframe. It employs a 200-period Exponential Moving Average as a trend filter to refine entries. Risk management includes a martingale lot scaling system that increases posit

MT5 Trading robot Trend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Pivot Points Engulfing EA

Gann Bot

by avangardistic
1 stars

This automated expert advisor for MetaTrader 5 executes trades based on Gann Box analysis, identifying entries at dynamic support and resistance levels. It features advanced risk controls including hard stop loss, take profit, and a trailing stop. The EA provides four capital management modes: fixed lot size, risk perc

MT5 Trading robot Mean reversionTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Gann Bot

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

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

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

LQS AI Institutional Engine is a MetaTrader 5 robot designed for trading gold using market microstructure analysis. It combines four analytical modules focusing on liquidity sweeps, order flow divergence, Wyckoff accumulation and distribution phases, and multiple anchored VWAP levels. The system features an integrated

MT5 Trading robot SMC / ICT / price actionAI / machine learningMean reversion High risk
Updated 4 months ago None stated GitHub repository of Lqs Ai Institutional Engine

Bakome Hash EA

by Bakomebandias
1 stars

Bakome Hash EA is a trend-following expert advisor for MetaTrader 5 that combines Exponential Moving Average crossovers with RSI momentum filtering. It initiates trades based on the interaction between fast and slow EMAs while confirming momentum through RSI levels. The robot utilizes Average True Range for calculated

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Hash EA

Bakome Bitcoin EA

by BAKOME-Hub
1 stars

Bakome Bitcoin EA is a trend-following robot optimized for trading BTCUSD on the MetaTrader 5 platform. It generates trade signals using an exponential moving average crossover combined with price breakouts on the H1 timeframe. The system features a grid recovery module that adds positions with a lot multiplier when tr

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 4 months ago MIT GitHub repository of Bakome Bitcoin EA

Gold Adaptive Multi Regime EA

by cdimabusinessent-byte
1 stars

This MetaTrader 5 expert advisor is designed for gold trading using an adaptive, modular architecture. It features a regime detector that switches between trend-following, mean reversion, and breakout strategies based on market conditions. The system utilizes exponential moving averages, ADX for trend strength, and RSI

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 4 months ago None stated GitHub repository of Gold Adaptive Multi Regime EA

Bakome Trinity EA

by BAKOME-Hub
1 stars

This multi-asset MetaTrader 5 expert advisor is designed for gold, forex, and cryptocurrency markets, specifically XAUUSD, GBPUSD, and BTCUSD. It focuses on a single-position approach, explicitly avoiding grid or martingale techniques. Trade entries are managed through session filters for London and New York and are pr

MT5 Trading robot Trend followingMean reversionMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Trinity EA

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

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