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

BotTrade ML

by soemsri
1 stars

This MetaTrader 5 expert advisor collection focuses on machine learning strategies, specifically Lorentzian Classification and Nadaraya-Watson Kernel Regression. It is primarily designed for trading gold on the H4 timeframe but offers configurable parameters for broader market use. The system supports both mean-reversi

MT5 Collection AI / machine learningMean reversionBreakout High risk
Updated 2 days ago MIT GitHub repository of BotTrade ML

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

XSpark is a modular automated trading framework for MetaTrader 5 that prioritizes capital protection and risk management. It includes a collection of distinct Expert Advisors covering various methodologies: a trend-pullback scalper, candle momentum tracking, Smart Money Concepts (SMC), and ICT liquidity models. The sys

MT5 Collection Trend followingScalpingSMC / ICT / price action
Updated 2 days ago None stated GitHub repository of XSpark Trading Engine

QuantumTitan Apex

by jadjadjade002
1 stars

This MetaTrader 5 expert advisor utilizes Smart Money Concepts and institutional trading principles to trade Gold and major Forex pairs. It employs a multi-agent confluence scoring system that evaluates market structure, liquidity sweeps, fair value gaps, and EMA trends before entering trades. The system filters entrie

MT5 Collection SMC / ICT / price actionTrend followingMulti-strategy High risk
Updated 3 days ago None stated GitHub repository of QuantumTitan Apex

MT5 AI EA

by aminazhar
1 stars

This MetaTrader 5 expert advisor is a component of the MT5-AI ecosystem, designed to interface with Python gateways and Telegram signals. The robot processes external signals to identify specific candle patterns and automatically plot Fibonacci retracement levels on the chart. It features multiple operational modes inc

MT5 Trading robot BreakoutSMC / ICT / price action
Updated 3 days ago None stated GitHub repository of MT5 AI EA

Raven Cost Averaging

by randiapriliyadiR
1 stars

Raven Cost Averaging is a multi-currency grid robot for MetaTrader 5 designed to trade seven major forex pairs from a single chart. The system employs a hedging strategy, opening initial buy and sell positions and layering subsequent trades at fixed pip distances. It includes an optional M15 SMA 200 filter for primary

MT5 Trading robot GridHedgingIndicator crossover High risk
Updated 4 days ago Apache-2.0 GitHub repository of Raven Cost Averaging
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

Axole

by mxillo
1 stars

Axole is a MetaTrader 5 expert advisor that implements a classic moving average crossover strategy. It operates specifically on the one-minute timeframe, identifying trends when a fast simple moving average crosses over a slow simple moving average. The robot restricts trading to one open position per symbol at a time

MT5 Trading robot Indicator crossoverScalping
Updated 4 days ago MIT GitHub repository of Axole

Kaybambodlabfx SMC

by jetloo66-dot
1 stars

Kaybambodlabfx SMC is a MetaTrader 5 expert advisor that executes trades based on market regime classification and Smart Money Concepts (SMC). The system employs a multi-timeframe approach, scanning structures from the daily chart down to one-minute intervals to establish a master bias. It uses ADX, ATR, and swing poin

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 4 days ago None stated GitHub repository of Kaybambodlabfx SMC

ATR Reversal EA

by BoudhriYoussef
1 stars

This MetaTrader 5 expert advisor utilizes the Average True Range (ATR) indicator to identify trade entries based on market volatility. It functions as an automated robot that places orders using levels derived from ATR calculations. Risk management is handled through fixed stop loss and take profit settings defined in

MT5 Trading robot Mean reversion
Updated 4 days ago None stated GitHub repository of ATR Reversal EA

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

SMC Auto MT5

by trananh211
1 stars

This MetaTrader 5 expert advisor automates market structure analysis based on Smart Money Concepts. It identifies key technical events including Change of Character, Break of Structure, and Inducements across two synchronized timeframes. The tool maps Point of Interest zones, distinguishing between extreme and decision

MT5 Trading robot SMC / ICT / price action
Updated 6 days ago None stated GitHub repository of SMC Auto MT5

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

EddyTrader

by hallanbrito
1 stars

EddyTrader is a risk management tool for MetaTrader 5 designed to enforce trading discipline through account-wide loss limits. It monitors the total financial performance of the account regardless of the symbol or strategy. Once a user-defined maximum loss is reached, the expert advisor automatically closes all open po

MT5 Risk & protection
Updated 6 days ago None stated GitHub repository of EddyTrader
1 stars

This MetaTrader 5 expert advisor acts as a quantitative trading assistant and order manager. It features a comprehensive graphical interface with tabs for trade operations, account monitoring, and position tracking. The system utilizes a predefined twenty-level lot sizing progression, which is typically used for recove

MT5 Trade manager Martingale High risk

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

Orva MT5 Bridge

by OrvaLabs
1 stars

Orva MT5 Bridge is a data integration tool for MetaTrader 5 that streams market and account information to external backends. It captures broker-native ticks, candle data, account balances, symbol specifications, and current open positions, converting them into versioned JSON messages. Data is delivered using either HT

MT5 Copier & bridge
Updated 8 days ago None stated GitHub repository of Orva MT5 Bridge

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

Daily Sweep EA

by spice2807
1 stars

This MetaTrader 5 expert advisor implements the Daily Sweep strategy, focusing on Swing Failure Patterns. It monitors high-timeframe liquidity levels and executes trades on lower timeframes when price sweeps these zones. The robot manages entries during defined session hours, such as the New York session, and exits bas

MT5 Trading robot SMC / ICT / price actionMean reversion
Updated 10 days ago None stated GitHub repository of Daily Sweep 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

RRZ Market Structure Expert

by mostafa18181
1 stars

This MetaTrader 5 expert advisor automates trade entries based on price action and Smart Money Concepts. It monitors for liquidity sweeps followed by market structure shifts and retests of Fair Value Gaps or Order Blocks. The system manages risk using fixed risk-to-reward ratios, stop loss buffers, and time-based exits

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 10 days ago None stated GitHub repository of RRZ Market Structure Expert

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

Moon HFT Pro

by nongsiejmoonshine-collab
1 stars

Moon HFT Pro is a MetaTrader 5 expert advisor that executes trades on the one-minute timeframe using analysis from five-minute and fifteen-minute charts. It identifies entries through a combination of Smart Money Concepts, market structure, and technical indicators including Moving Averages, RSI, and MACD. The system c

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 11 days ago None stated GitHub repository of Moon HFT Pro

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

HFT Grid AI

by loldlm1
1 stars

HFT Grid AI is a MetaTrader 5 Expert Advisor foundation built for high-frequency trading and grid-based strategies. It employs a broker-aware execution model that validates trade plans against local simulations before sending orders to the market. Key features include stochastic market structure analysis, session-based

MT5 Trading robot GridMean reversionScalping High risk
Updated 12 days ago None stated GitHub repository of HFT Grid AI

Hurst Regime Adaptive Dual

by presios2004-boop
1 stars

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

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

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

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

Gamble MQL5

by jonasMapuche
1 stars

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

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

MQT Microstructure Analysis

by gregorian-09
1 stars

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

MT5 Framework & template

EA Trading Guide

by thenaritlab
1 stars

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

MT5 Collection Trend followingMean reversionIndicator crossover

Quick Risk Executor

by ratnakandel33-debug
1 stars

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

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

Arko Risk

by roseshayan
1 stars

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

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

Vilona Gold Trading EA

by DIRJEN-BOT
1 stars

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

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

Gold Scalper EA

by crissz-cmd
1 stars

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

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

Liquidity Sweep EA

by AoiKumo31
1 stars

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

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

Gold Scalper EA

by hawada850-glitch
1 stars

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

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

Adaptive Breakout AI

by Garrick852
1 stars

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

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

DomPanion

by domsendotnet
1 stars

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

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

XAUUSD ICT M5 EA

by mary1369
1 stars

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

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

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

MT5 Trading robot Mean reversionGridMartingale High risk

Fimathe PCM EA

by leonardoguaracidasilvacruz15
1 stars

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

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

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

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

Gold Trading EA

by shamshyder123-oss
1 stars

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

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

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

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

NeoFL EA Collection

by neofinn
1 stars

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

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

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