Synced with GitHub · updated hourly

Expert Advisor Library

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

263 EAs match Clear filters

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

HFT Arbitrage EA

by HFTHaidra
132 stars

This high-frequency trading robot implements latency arbitrage by comparing price feeds across two separate MetaTrader terminals. It requires a fast data source to serve as a reference and a slower broker where price delivery lags behind the market. The EA communicates between instances via a socket library to detect p

MT4MT5 Trading robot Arbitrage
Updated 9 months ago None stated GitHub repository of HFT Arbitrage EA
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

Trade Split Manager

by codedpro
79 stars

This MetaTrader 5 expert advisor serves as an AI-friendly bridge, connecting external platforms to the terminal via REST API and TCP sockets. It specializes in intelligent order splitting, where a single trade signal is divided into up to ten individual positions with staggered take-profit levels and custom volume dist

MT5 Trading robot Multi-strategy
Updated 2 months ago Custom licence GitHub repository of Trade Split Manager

My Trading Bot

by carlosrod723
78 stars

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot

Black XAU Automated Bot

by phatnomenal
48 stars

Black XAU is an automated trading robot for MetaTrader 5, specifically designed for gold. It utilizes a multi-timeframe breakout and retest strategy, identifying trading zones based on initial H4 market structure. Entries are triggered on the M5 timeframe when price retests a confirmed breakout level. The expert adviso

MT5 Trading robot BreakoutTrend following
Updated 11 months ago None stated GitHub repository of Black XAU Automated Bot
42 stars

This Expert Advisor for MetaTrader 5 is specifically designed for XAUUSD trading on the M1 timeframe. It utilizes a hybrid strategy combining classic technical indicators like RSI, Moving Averages, and ATR with an OpenAI API integration for signal validation. The robot features an on-chart dashboard for telemetry and i

MT5 Trading robot ScalpingTrend followingAI / machine learning
Updated 5 months ago None stated GitHub repository of Gold EA MT5 With OpenAI

ICT Gold EA

by darula-hpp
36 stars

This automated trading system for MetaTrader 5 focuses on spot Gold using Inner Circle Trader methodology. It identifies entries through order block detection, market structure analysis, and weekly opening price levels. The strategy is further filtered by dual moving averages and specific trading sessions, primarily Lo

MT5 Trading robot SMC / ICT / price actionIndicator crossoverTrend following
Updated 11 months ago None stated GitHub repository of ICT Gold EA

Fvg Gold EA

by foeed
34 stars

Fvg Gold EA is an automated trading robot for MetaTrader 5 designed specifically for the gold market. It utilizes institutional trading concepts by identifying high-probability Fair Value Gaps with Order Block confluence. The system employs a scoring algorithm to evaluate trade quality based on displacement, gap size,

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 5 days ago MIT GitHub repository of Fvg Gold EA

MT5 Sniper EA

by rithsila
27 stars

This expert advisor for MetaTrader 5 implements a Smart Money Concepts strategy. It identifies institutional trade setups using Order Blocks, Fair Value Gaps, Break of Structure, and liquidity sweeps. The robot performs multi-timeframe analysis across five periods to determine market bias and ensure trend alignment. Ri

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 11 months ago None stated GitHub repository of MT5 Sniper EA

Bakome Gold Scalper

by BAKOME-Hub
25 stars

Bakome Gold Scalper is an automated trading solution for MetaTrader 5 specifically designed for the gold market. It executes trades based on Inner Circle Trader concepts, incorporating Fair Value Gaps, Order Blocks, Liquidity Sweeps, and Silver Bullet kill zones. The system limits trading to specific sessions, primaril

MT5 Trading robot SMC / ICT / price actionScalping

Trillex 10S EA

by NadirAliOfficial
24 stars

Trillex 10S is a MetaTrader 5 scalping expert advisor optimized for Gold (XAUUSD). It executes trades based on the alignment of a three-period Exponential Moving Average (EMA) stack and Parabolic SAR indicators. The system features a proprietary synthetic bar engine that processes price data into 5-second and 10-second

MT5 Trading robot ScalpingIndicator crossover

Adjustable MA

by EarnForex
15 stars

This MetaTrader expert advisor implements a classic moving average crossover strategy for both MT4 and MT5. It enters trades when a fast moving average crosses a slow moving average, requiring a user-defined minimum point difference to confirm the signal. The robot includes risk management features such as stop loss, t

MT4MT5 Trading robot Indicator crossover
Updated 5 months ago Apache-2.0 GitHub repository of Adjustable MA

Hybrid Swing EA

by clevergoldfox
15 stars

This MetaTrader 4 expert advisor executes a regime-gated breakout strategy specifically optimized for XRP and ETH markets. It operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approac

MT4 Trading robot BreakoutTrend following
Updated 8 months ago None stated GitHub repository of Hybrid Swing EA

Phase 404 EA

by Musyimi97
14 stars

Phase 404 EA is a MetaTrader 5 robot that automates a mechanical Smart Money Concepts strategy including Wyckoff logic and liquidity sweeps. It identifies market structure shifts and enters trades during London or New York kill zones using Fibonacci Optimal Trade Entry levels. The expert advisor manages risk through pe

MT5 Trading robot SMC / ICT / price action
Updated 5 months ago MIT GitHub repository of Phase 404 EA

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion

MACD MME

by codingfordummies911
12 stars

This MetaTrader 5 expert advisor executes trades based on a combination of MACD signal levels and exponential moving average crossovers. It utilizes a 20-period and 6-period EMA to determine trend direction before initiating positions at specific MACD pip thresholds. The system employs a unique risk management approach

MT5 Trading robot Indicator crossoverTrend following
Updated 8 months ago None stated GitHub repository of MACD MME

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout
10 stars

This MetaTrader 5 expert advisor implements a triangular arbitrage strategy targeting price discrepancies between BTC/USD, ETH/USD, and BTC/ETH. It monitors both forward and reverse conversion paths to execute trades when a theoretical profit threshold is met. The EA features risk management tools including minimum pro

MT5 Trading robot Arbitrage

SmartMoney MTF EA

by SiyabongaDlamini
9 stars

This automated expert advisor for MetaTrader 5 implements institutional Smart Money Concepts using a multi-timeframe approach. It synchronizes analysis across three timeframes to identify trend direction, premium or discount zones, and market structure shifts. The robot executes trades based on liquidity sweeps and Fib

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 4 months ago Apache-2.0 GitHub repository of SmartMoney MTF EA
9 stars

This MetaTrader 5 Expert Advisor implements a neural network-based trading strategy using the ONNX format for model deployment. It bridges a Python-trained machine learning model with the MQL5 platform to automate trade execution based on price change predictions. The system includes integrated risk management controls

MT5 Trading robot AI / machine learning

Aurum Core

by francomascareloai
9 stars

This educational expert advisor for MetaTrader 5 serves as a study tool for algorithmic trading. It executes a simple moving average crossover strategy, comparing fast and slow exponential moving averages on a five-minute timeframe. The system includes entry filters like a maximum spread threshold and a new-bar executi

MT5 Trading robot Indicator crossover
Updated 8 months ago Custom licence GitHub repository of Aurum Core
9 stars

This MetaTrader 5 expert advisor collection provides multiple variants for scalping gold on the one-minute timeframe. It utilizes a combination of Stochastic Oscillator crossovers and linear regression analysis to identify trend quality and entry points. Trade management is handled through ATR-based dynamic stop loss a

MT5 Trading robot ScalpingTrend followingMean reversion

MetaTrader AI

by jblanked
8 stars

This AI-driven trading assistant integrates Large Language Models like OpenAI and DeepSeek into the MetaTrader 5 platform. It functions as an interactive chat-based assistant and robot, capable of opening, closing, and modifying positions based on natural language prompts. The system can fetch real-time market data, ca

MT5 Trading robot AI / machine learning
Updated 11 days ago GPL-3.0 GitHub repository of MetaTrader AI

AI Gen XII

by KanekiCraynet
7 stars

This Expert Advisor for MetaTrader 4 utilizes automated trading logic reportedly assisted by AI models like GPT-4o and ATNet. It executes trades based on market analysis and includes built-in risk controls such as dynamic lot sizing, trailing stops, and a time filter to restrict activity to specific hours. The system a

MT4 Trading robot AI / machine learning
Updated 7 months ago None stated GitHub repository of AI Gen XII
6 stars

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe. It identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle pattern

MT5 Trading robot Trend followingSMC / ICT / price actionScalping

Snipe FX Pro

by NadirAliOfficial
6 stars

Snipe FX Pro is a MetaTrader 5 expert advisor designed for high-frequency tick scalping, primarily pre-configured for XAUUSD. It utilizes a virtual stealth execution system to manage entries and exits without placing hard stops on the broker's server until necessary. The EA enters trades based on price breakouts or pul

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 7 weeks ago None stated GitHub repository of Snipe FX Pro

Price Action Engulfing Zone

by NadirAliOfficial
6 stars

This expert advisor for MetaTrader 5 implements a pure price action strategy focused on Gold (XAUUSD) on the five-minute timeframe. It identifies market trends through swing-point structure analysis and marks supply and demand zones based on engulfing candlestick patterns. Trades are triggered only when price retests a

MT5 Trading robot SMC / ICT / price actionTrend following
6 stars

This MetaTrader 5 expert advisor executes a breakout strategy based on specific three-day candlestick patterns. It identifies sequences of 'Up' or 'Down' days to trigger pending orders above or below the previous day's range. The EA manages entries using Buy Stop and Sell Stop orders with a configurable liquidity dista

MT5 Trading robot BreakoutTrend following
Updated 3 months ago None stated GitHub repository of Candle Pattern Breakout

HLT Auto Trader

by GeorgVahi
6 stars

HLT is an automated trading robot for MetaTrader 5 that focuses on market structure and swing analysis across multiple timeframes from M1 to H4. The expert advisor synchronizes with New York time and identifies setups based on price swings and daily trading plans. It includes a fixed risk money management module and sp

MT5 Trading robot SMC / ICT / price actionNews
Updated 3 months ago None stated GitHub repository of HLT Auto Trader

Xauusd God MT5 EA

by techly39
6 stars

This expert advisor is designed for automated gold trading on the MetaTrader 5 platform, specifically targeting the 5-minute timeframe. It employs a scalping strategy with integrated filters for spread and volatility to qualify entries. The system includes various risk controls such as drawdown gates, weekly trading li

MT5 Trading robot Scalping
Updated 9 months ago None stated GitHub repository of Xauusd God MT5 EA

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel
5 stars

This MetaTrader 5 expert advisor executes trades based on opening range breakout logic. The system identifies a price range over a specific duration and enters positions when the market breaks through these levels. It supports multiple entry methods including market orders on candle close, resting stop orders, or limit

MT5 Trading robot Breakout

XAUUSD Trend Follow

by maker-tung
5 stars

This MetaTrader 5 expert advisor implements a long-only trend-following strategy designed specifically for gold (XAUUSD) on the hourly timeframe. The system filters entries using a 200-period exponential moving average and an optional ADX momentum filter to avoid low-volatility periods. Trade signals originate from MAC

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago Custom licence GitHub repository of XAUUSD Trend Follow

High Frequency Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for scalping gold on the M1 timeframe. It features a versatile strategy engine capable of toggling between breakout and mean-reversion modes based on market conditions. The system manages trades using ATR-based trailing stops, break-even adjustments, and time-based exits. Ri

MT5 Trading robot ScalpingBreakoutMean reversion

Gold Scalper MT5

by autoea-online
5 stars

Gold Scalper is an educational MetaTrader 5 expert advisor designed for scalping XAUUSD on the one-minute timeframe. It is presented as a masterclass tutorial to demonstrate modular coding practices. The system utilizes a 200-period Exponential Moving Average for trend filtering and the Relative Strength Index for entr

MT5 Trading robot ScalpingTrend followingIndicator crossover
Updated 6 months ago MIT GitHub repository of Gold Scalper MT5

CRT TBS Gold Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles. It identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specifi

MT5 Trading robot SMC / ICT / price actionScalpingTrend following

ICT System EA

by 26730023-PhamPhuNguyenHung
5 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) and Smart Money Concepts (SMC). It utilizes a confluence engine to evaluate market structure, PDA zones, fair value gaps, order blocks, and SMT divergence against correlated symbols like the DXY. Designed specifically for p

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

DBasket EA

by dinethlive
5 stars

DBasket EA is a statistical arbitrage expert advisor for MetaTrader 5 that trades three-pair correlation baskets. It identifies price divergences between related currency pairs using Z-score analysis and enters hedged three-leg positions expecting mean reversion. The system incorporates advanced statistical modules inc

MT5 Trading robot Mean reversionHedging
Updated 8 months ago None stated GitHub repository of DBasket EA
4 stars

Gold SnR Momentum Scalper Pro is an automated scalping robot for MetaTrader 5, specifically optimized for XAUUSD on the M1 timeframe. It identifies entry points by combining support and resistance zones with RSI and moving average momentum. The system incorporates tick-level analysis to measure buying and selling press

MT5 Trading robot ScalpingBreakoutMean reversion
Updated 3 months ago Custom licence GitHub repository of Gold SnR Momentum Scalper Pro

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 7 months ago Unlicense GitHub repository of SMC Master Pro
4 stars

This MetaTrader 5 expert advisor implements an automated breakout strategy based on the high and low prices of the previous candle. It monitors price action on the active chart and enters long positions when the bid price exceeds the previous high, or short positions when it falls below the previous low. Risk managemen

MT5 Trading robot Breakout
Updated 8 months ago None stated GitHub repository of Breakout Trading Script

AI Supertrend Long Only

by dharaarpan7
4 stars

This MetaTrader 5 expert advisor executes automated long-only trades based on the Supertrend indicator. It calculates trend direction using Average True Range and a multiplier factor to identify entry points. The robot includes built-in risk management tools such as percentage-based stop loss and take profit orders, as

MT5 Trading robot Trend following
Updated 11 months ago BSL-1.0 GitHub repository of AI Supertrend Long Only

Indicator Tester EA

by softwaredevelop
3 stars

This MetaTrader 5 expert advisor serves as a modular framework for testing and optimizing indicator-based trading strategies. It currently implements a trend-following system based on Supertrend signals, which utilize volatility-driven calculations for entries. The robot executes logic exclusively at the opening of eac

MT5 Trading robot Trend following
Updated yesterday None stated GitHub repository of Indicator Tester EA

IJESHA Algo EA

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage

MT5 Trading robot Mean reversionTrend followingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of IJESHA Algo EA
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy combining M15 trend direction with M5 trade execution. It identifies entries using Smart Money Concepts like break of structure and order blocks, confirmed by MACD, Stochastic, and Parabolic SAR indicators. Risk management is a primary focus, offeri

MT5 Trading robot SMC / ICT / price actionTrend followingIndicator crossover

Hydra Prime

by sriramvarun0636
3 stars

Hydra Prime is a systematic expert advisor for MetaTrader 5 designed specifically for the gold market. It executes trades based on intraday momentum expansions and market structure shifts using Smart Money Concepts like Fair Value Gaps and Optimal Trade Entry zones. The robot analyzes swing structures on the M5 timefra

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 5 weeks ago GPL-3.0 GitHub repository of Hydra Prime

Opening Bot

by shahabodin121
3 stars

Opening Bot is an automated trading robot for MetaTrader 5 that executes an opening range breakout strategy. It identifies the high and low price levels during specific market session starts, such as London, New York, Tokyo, or Sydney. The EA supports three entry models: instant breakout of the range, waiting for a can

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

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