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.

402 EAs match Clear filters
2 stars

This expert advisor for MetaTrader 5 focuses on scalping the BTCUSD pair using support and resistance levels on the one-minute timeframe. It calculates price floors and ceilings based on a customizable lookback period. The robot executes trades when the price enters a defined offset zone around these levels, aiming to

MT5 Trading robot ScalpingMean reversion

3711 Single EA

by hakimibob
2 stars

This expert advisor for MetaTrader 5 utilizes a multi-timeframe technical approach, scanning H1, M30, M15, and M5 periods simultaneously. It generates signals using a stochastic stack combined with RSI and stochastic divergence detection. The system incorporates a formula pack for market structure analysis, including B

MT5 Trading robot Indicator crossoverMean reversionSMC / ICT / price action
Updated 4 weeks ago None stated GitHub repository of 3711 Single EA
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

EAPRO M

by biglari2000
2 stars

EAPRO M is a price action scalper for MetaTrader 5 that utilizes a coordinate-based drag-and-drop system for trade placement. It manages execution through market, stop, and limit orders with automated position sizing based on account risk percentages. The EA incorporates multiple risk management layers, including daily

MT5 Trading robot ScalpingSMC / ICT / price action
Updated 5 weeks ago None stated GitHub repository of EAPRO M

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

This collection of utilities for MetaTrader 5 focuses on protecting open positions during periods of high volatility or spread widening. The SpreadHourDodger tool manages stop loss orders during market rollover by either removing them entirely or widening them based on historical spread data stored in a CSV file. The N

MT5 Risk & protection
Updated 7 weeks ago None stated GitHub repository of Spread Hour and News Dodger

Full MT5 MCP Server

by TradeSystemsNique
2 stars

This MetaTrader 5 expert advisor functions as a bridge between the trading terminal and external AI assistants using the Model Context Protocol (MCP). It facilitates platform control through natural language via an external C++ socket server. The software enables remote trade execution, market data retrieval, chart obj

MT5 Copier & bridge
Updated 8 weeks ago Custom licence GitHub repository of Full MT5 MCP Server

MQTT Five MQL

by chekh
2 stars

This MetaTrader 5 framework implements the MQTT 5.0 protocol natively within MQL5 without external DLL dependencies. It serves as a bridge between the trading platform and MQTT brokers, allowing for remote monitoring and data integration. The provided Status Monitor Expert Advisor tracks account metrics such as balance

MT5 Copier & bridge
Updated 2 months ago MIT GitHub repository of MQTT Five MQL

MQL5 Skill EA Template

by ductri-dev
2 stars

This MetaTrader 5 expert advisor provides a foundational template for developing automated trading robots using standard MQL5 classes. It features a basic crossover strategy where trades are triggered when the price crosses a Moving Average on the close of a candle. The system includes a tick freshness check to prevent

MT5 Framework & template Indicator crossover
Updated 2 months ago None stated GitHub repository of MQL5 Skill EA Template

SMC Systems Gold

by chatuponforex-afk
2 stars

SMC Systems Gold is an automated MetaTrader 5 expert advisor designed for trading XAUUSD using Smart Money Concepts. It identifies Points of Interest such as Order Blocks and Fair Value Gaps through an external indicator and executes trades based on M15 price action. The system enforces strict multi-timeframe alignment

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 2 months ago None stated GitHub repository of SMC Systems Gold

Hosopi

by harukihosono
2 stars

Hosopi operates as an automated trading robot for the MetaTrader 4 and MetaTrader 5 platforms. It utilizes a modular architecture to handle trade execution and account protection, incorporating indicator-based entry logic and volatility filtering. The software includes a Funds Guard to prevent orders during insufficien

MT4MT5 Trading robot Multi-strategy
Updated 2 months ago None stated GitHub repository of Hosopi
2 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) concepts. It identifies market structure elements such as Order Blocks, Fair Value Gaps, and Market Structure Shifts to find entry points. The robot features specific logic for Kill Zones, Asian range liquidity, and Optimal

MT5 Trading robot SMC / ICT / price actionScalping
Updated 2 months ago Custom licence GitHub repository of Market Makers Nightmare
2 stars

SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the

MT4 Collection BreakoutTrend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of SoftArsenal EA Collection
2 stars

This Expert Advisor for MetaTrader 5 implements a stop-and-reverse trading strategy using pending stop orders. It places Buy Stop and Sell Stop orders that trail price movements in a single direction to tighten the entry point. Once a position is active, the EA maintains an opposite pending order as a reversal trigger,

MT5 Trading robot BreakoutScalping

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

Mask Protected Trading Panel

by meshalalsultan
2 stars

Mask Protected Trading Panel is a manual execution utility for MetaTrader 5 designed to enforce discipline and strict risk management. It acts as a protective layer, blocking manual orders that violate pre-set rules such as maximum daily trades, drawdown limits, or minimum reward-to-risk ratios. The tool includes a man

MT5 Risk & protection
Updated 3 months ago None stated GitHub repository of Mask Protected Trading Panel

Sumting Wong EA

by definitelyfkd
2 stars

This multistrategy expert advisor for MetaTrader 5 combines currency strength analysis, breakout/reversal logic, and swap carry trading. It targets various markets including forex, gold, oil, indices, and crypto. Trade execution involves ATR-based stop losses, multiplier-based take profits, and partial closing mechanis

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 months ago None stated GitHub repository of Sumting Wong EA

Trading AI System

by javadderoom
2 stars

Trading AI System is a data collection utility for MetaTrader 5 designed to generate high-quality datasets for machine learning. Rather than executing its own trades, the expert advisor acts as a flight recorder, capturing raw market snapshots, bid/ask spreads, and detailed trade events. It automatically saves synchron

MT5 Utility
Updated 3 months ago Apache-2.0 GitHub repository of Trading AI System

This MetaTrader 5 expert advisor implements a candlestick pattern breakout and mean-reversion strategy. It identifies specific sequences of three candles to determine market entry points. The robot places pending buy stop, sell stop, and buy limit orders at fixed distances from previous price extremes to target liquidi

MT5 Trading robot BreakoutMean reversion

AW Full Recovery EA

by wongthep
2 stars

This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas

MT5 Trading robot GridMartingaleHedging High risk
Updated 3 months ago None stated GitHub repository of AW Full Recovery EA

Zed MQL5

by MichalBPL
2 stars

Zed MQL5 provides comprehensive MetaTrader 5 development tools for the Zed editor. It delivers advanced coding features including syntax highlighting for over 400 built-in functions, context-aware autocompletion, and a native language server. The repository includes a sample expert advisor that implements a classic dua

MT5 Framework & template Indicator crossover
Updated 3 months ago MIT GitHub repository of Zed MQL5

Jamesmaria EA

by King-jamesmaria
2 stars

Jamesmaria EA is a multi-pair MetaTrader 5 trading robot specializing in EURUSD, EURGBP, and Gold. It employs an H1 entry strategy based on the EMA 21/50 crossover and RSI confirmation, using H4 trend filtering for higher-probability setups. The EA includes dynamic lot sizing scaled to account equity, ATR-based take pr

MT5 Trading robot Indicator crossoverTrend following
Updated 4 months ago None stated GitHub repository of Jamesmaria EA

Mt4 Ai Trading

by 160037lk
2 stars

This MetaTrader 4 expert advisor connects to a Python FastAPI backend to facilitate automated trading based on Claude AI signals. The system transmits market data to the server, which performs multi-indicator analysis and sentiment processing before returning trade recommendations. It features multi-timeframe trend fil

MT4 Collection AI / machine learningTrend followingNews
Updated 4 months ago None stated GitHub repository of Mt4 Ai Trading
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
2 stars

This MetaTrader 5 expert advisor automates butterfly option strategies specifically for the AUDUSD pair. It utilizes a multi-timeframe approach, requiring bullish trend confirmation on H1 and H4 charts using exponential moving averages before entering positions. The logic identifies favorable volatility conditions thro

MT5 Trading robot Trend followingMean reversion
Updated 4 months ago None stated GitHub repository of AUDUSD Butterfly Options EA

Newton Fx

by Ralarcon88
2 stars

Newton Fx is an automated trading system for MetaTrader 5, specifically configured for the gold market on the fifteen-minute timeframe. It identifies entries using a combination of exponential moving average crossovers, ADX trend strength verification, and Fibonacci retracement levels. The robot manages risk through AT

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Newton Fx

This collection for MetaTrader 5 provides a series of tools focused on Exponential Moving Average crossovers and trend identification. The primary scripts monitor the relationship between fast and slow EMAs to generate visual signals, marking the chart with vertical lines and arrows when a crossover or retest occurs. I

MT5 Collection Indicator crossoverTrend following

Quick Trade Panel

by kissMoona
2 stars

This MetaTrader 5 expert advisor serves as both a manual trading dashboard and an automated execution tool. Users can perform one-click operations, manage batch stop loss and take profit levels, and adjust orders visually via chart dragging. The automated component utilizes external arrow indicators, such as HalfTrend,

MT5 Trading robot Trend followingMulti-strategy
Updated 5 months ago MIT GitHub repository of Quick Trade Panel
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
2 stars

This MetaTrader 5 expert advisor is designed specifically for the Deriv Crash 300 Index synthetic market. It employs a jump-diffusion model to detect price spikes and enters long positions during the subsequent recovery drift phase. The robot manages trades using fixed stop loss and take profit targets, with additional

MT5 Trading robot Mean reversionMartingale High risk
Updated 5 months ago None stated GitHub repository of Crash 300 Jump Diffusion EA

GoldForge ML

by pw4654918-jpg
2 stars

GoldForge ML is a MetaTrader 5 expert advisor specialized for gold trading on the M15 timeframe using a machine learning ensemble. It combines CatBoost, XGBoost, and LightGBM models via ONNX with Smart Money Concepts such as liquidity sweeps and order blocks. The EA manages risk through ATR-based stop losses, trailing

MT5 Trading robot AI / machine learningSMC / ICT / price actionTrend following
Updated 5 months ago None stated GitHub repository of GoldForge ML

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot
2 stars

This utility for MetaTrader 4 and 5 provides an on-chart interface for manual trade execution and position management. It automatically applies stop losses to new orders and features a trailing stop mechanism to manage open trades. Notable management tools include one-click break-even and the ability to close a specifi

MT4MT5 Trade manager

Secure Risk Manager

by ItaloCoutinho
2 stars

Secure Risk Manager is a MetaTrader 5 utility designed to provide a framework for account protection and trade sizing. This expert advisor does not execute independent trade entries; rather, it functions as a risk control tool that calculates lot sizes based on a user-defined risk percentage and risk-to-reward ratios.

MT5 Risk & protection
Updated 5 months ago None stated GitHub repository of Secure Risk Manager

Funded EA

by Pusparaj99op
2 stars

Funded EA is a MetaTrader 5 robot designed to help users pass proprietary firm challenges by automating trade execution and risk management. It implements a Smart Money Concepts strategy, targeting XAUUSD by detecting order blocks and liquidity sweeps. The system features a calibration engine that calculates lot sizes

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 5 months ago Unlicense GitHub repository of Funded EA

GainzAlgo EA

by saadkhan371
2 stars

This MetaTrader 5 robot is a trend-following expert advisor converted from Pine Script, designed primarily for gold scalping on the one-minute timeframe. It identifies entries using a triple Exponential Moving Average stack combined with Relative Strength Index filters and candle confirmation. The EA manages risk throu

MT5 Trading robot Trend followingScalpingIndicator crossover
Updated 5 months ago None stated GitHub repository of GainzAlgo EA

Pi EA Auxiliary Panel

by my05613828
2 stars

Pi EA Auxiliary Panel is a management tool for MetaTrader 4 and 5 designed to enhance manual order execution and automated trade handling. It features an interactive on-chart interface that allows users to split large orders into smaller positions, apply automated break-even levels, and execute trailing stops for indiv

MT4MT5 Trade manager
Updated 5 months ago None stated GitHub repository of Pi EA Auxiliary Panel
2 stars

Liquidex Volatility Trader is a MetaTrader 5 expert advisor designed for high-frequency trading styles, focusing on market volatility. It utilizes a Linear Weighted Moving Average combined with Average True Range (ATR) indicators to identify entry signals based on price ranges. The EA manages exits using a dynamic trai

MT5 Trading robot ScalpingTrend following
Updated 6 months ago Custom licence GitHub repository of Liquidex Volatility Trader

CC Trading Management

by ChartAndChill
1 stars

This trade management expert advisor for MetaTrader 5 provides a comprehensive execution panel featuring a TradingView-inspired position tool. It allows users to visually define risk through draggable on-chart stop loss and take profit zones, automatically calculating lot sizes based on a percentage of account risk. Th

MT5 Trade manager
Updated yesterday None stated GitHub repository of CC Trading Management

Forex EA Collection

by tmpmosisili
1 stars

This repository contains a set of automated trading robots for the MetaTrader 5 platform, focusing on indicator-driven entry logic. The primary expert advisor utilizes Relative Strength Index levels to identify potential reversals, filtered by a Moving Average to ensure trades align with the prevailing trend. Risk mana

MT5 Collection Trend followingMean reversion
Updated yesterday None stated GitHub repository of Forex EA Collection

RiskGuard Pro

by farhadiamirali403-lab
1 stars

RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc

MT5 Trading robot Multi-strategyGridMartingale High risk
Updated yesterday None stated GitHub repository of RiskGuard Pro

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

Signal Scanner Pro PAICT

by asnakegreat
1 stars

This MetaTrader 5 expert advisor functions as a comprehensive chart annotation and signal scanning tool based on Smart Money Concepts and Price Action. It identifies structural elements such as order blocks, fair value gaps, liquidity pools, and market structure shifts across multiple symbols simultaneously. The system

MT5 Utility SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated yesterday None stated GitHub repository of Signal Scanner Pro PAICT

AI Game Theory Trader

by can87683
1 stars

AI Game Theory Trader is a MetaTrader 5 expert advisor that employs Nash-style statistical signals for automated trade execution. It utilizes adaptive logic to calculate lot sizes based on user-defined risk percentages. The EA manages risk through stop losses, take profits, and trailing stops, which can be fixed or ATR

MT5 Trading robot AI / machine learning
Updated yesterday BSD-3-Clause GitHub repository of AI Game Theory Trader
1 stars

This MetaTrader 5 repository contains a large collection of expert advisors developed using the fxDreema visual builder. The primary strategy utilizes a triple moving average system with 200, 25, and 5 periods to detect trends, combined with ATR-based volatility filters for trade exits. It features grid-based order lay

MT5 Collection GridIndicator crossoverTrend following High risk
Updated yesterday None stated GitHub repository of Amighade MQL5 Collection

Otto EA

by vickygujjar17
1 stars

Otto EA is a MetaTrader 5 expert advisor ported from Pine Script, designed for institutional-style trading and price action analysis. It utilizes a proprietary Wick1+Wick2 support and resistance block methodology to identify market structure and potential entry points. The system includes a sophisticated trade manageme

MT5 Trading robot SMC / ICT / price action
Updated 2 days ago None stated GitHub repository of Otto EA

Xau Ai Pro

by apolopanda500
1 stars

This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la

MT5 Trading robot AI / machine learningTrend followingNews
Updated 2 days ago None stated GitHub repository of Xau Ai Pro

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

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