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.

690 EAs match Clear filters

Momgreg GP1

by RandomKori
4 stars

Momgreg GP1 is an automated trading robot for MetaTrader 5 that executes trades based on signal logic and market depth monitoring. The expert advisor implements a fixed lot sizing strategy with integrated stop loss and take profit protections for each position. It features a risk management module that monitors account

MT5 Trading robot Scalping
Updated 8 years ago GPL-3.0 GitHub repository of Momgreg GP1

GA Forex Strategy Maker

by JakubAdamczyk344
4 stars

This MetaTrader 5 expert advisor functions as an autonomous trading system that integrates a genetic algorithm for parameter optimization. The robot utilizes a logic-tree structure combined with technical indicators such as RSI, MACD, and ADX to identify market entries. It features standard risk controls, including fix

MT5 Trading robot AI / machine learning
Updated 9 years ago None stated GitHub repository of GA Forex Strategy Maker

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

Grid Trading EA MT5

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-layer grid trading system suitable for forex, gold, and indices. It establishes a grid of price levels around an anchor point, opening buy positions when the price crosses down through a specific level. The grid is divided into three customizable layers, each with ind

MT5 Trading robot Grid High risk
Updated 5 weeks ago None stated GitHub repository of Grid Trading EA MT5
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

Omak FxYO

by GoyBoi
3 stars

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on the TTrades Fractal Model and Dow Theory. It operates using two distinct execution branches: Intraday (D1/H1/M5) and Swing (W1/H4/M15). The system analyzes market structure to identify points of interest, employing wick ratios and optional

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 3 months ago None stated GitHub repository of Omak FxYO

OrderBlock ICT

by cfournel
3 stars

This MetaTrader 5 expert advisor implements Inner Circle Trader concepts, specifically focusing on Order Blocks and PD Arrays for trade entries. The robot identifies price action structures including breakouts, range-based patterns, and Fibonacci extensions. For risk management, it utilizes ATR-based stop losses, trail

MT5 Trading robot SMC / ICT / price actionBreakoutNews
Updated 3 months ago None stated GitHub repository of OrderBlock ICT

Adjustable MA 3G

by EarnForex
3 stars

This expert advisor for MetaTrader 4 and 5 executes trades based on crossovers of the 3rd Generation Moving Average indicator. It utilizes two instances of the custom indicator with adjustable periods and sampling settings to identify trend shifts. The robot enters positions when the difference between the fast and slo

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

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

Antigravity Geo Scalper

by Pusparaj99op
3 stars

Antigravity Geo Scalper is a MetaTrader 5 expert advisor that utilizes geometric and mathematical logic to identify trade opportunities. It focuses on price action and structure, specifically avoiding lagging indicators. The strategy incorporates Fibonacci levels, Gann Fans, harmonic pattern tolerances, and linear regr

MT5 Trading robot ScalpingMean reversion

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

Sentinel EA

by davidtomblin
3 stars

Sentinel EA is a trend-following scalping robot developed for MetaTrader 5, specifically optimized for trading Gold (XAU/USD) on the one-minute timeframe. The strategy utilizes a fast and slow Exponential Moving Average crossover to identify trade entries. It features mandatory risk controls including fixed stop loss a

MT5 Trading robot ScalpingIndicator crossoverTrend following
Updated 9 months ago None stated GitHub repository of Sentinel EA

Xauusd God MT5

by techly39
3 stars

This MetaTrader 5 expert advisor is designed specifically for trading gold (XAUUSD). The system utilizes a modular architecture to detect market regimes, identify ranges, and execute trades based on liquidity sweeps and breakouts. It incorporates several filters, including spread and volume checks, alongside a drawdown

MT5 Trading robot BreakoutSMC / ICT / price actionMean reversion
Updated 10 months ago None stated GitHub repository of Xauusd God MT5

Scalping Bot

by ilearncoding247
3 stars

This automated expert advisor for MetaTrader 5 focuses on short-term technical trading using a combination of trend and momentum indicators. It triggers entries based on RSI levels, Exponential Moving Average crossovers, and Bollinger Band deviations. Risk is managed through dynamic lot sizing and ATR-based stop loss a

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 10 months ago Custom licence GitHub repository of Scalping Bot

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

Smart Scalp PA

by logiccrafterdz
3 stars

Smart Scalp PA is a price action expert advisor for MetaTrader 5 designed for intraday trading and scalping. It identifies market entries using Engulfing and Pin Bar candle patterns confirmed by a higher timeframe EMA 50 trend filter. The system incorporates support and resistance clustering based on pivot highs and lo

MT5 Trading robot Trend followingScalping
Updated 11 months ago MIT GitHub repository of Smart Scalp PA
3 stars

This automated expert advisor for MetaTrader 5 implements a mean-reversion strategy based on Asian session price ranges. It identifies the high and low levels during specific Asian trading hours and monitors for a price breakout. Instead of trading the breakout momentum, it enters a position when price returns inside t

MT5 Trading robot Mean reversionBreakout
Updated 1 year ago None stated GitHub repository of Asian Range Breakout

EA 2M Adx

by abimaelbs
3 stars

This MetaTrader 5 expert advisor utilizes a trend-following strategy based on two moving averages and the Average Directional Index (ADX). It enters trades when a short-term moving average crosses a long-term average, provided the ADX indicates sufficient trend strength. Specifically optimized for the Brazilian mini-in

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of EA 2M Adx
3 stars

Adaptive AI Scalper is a modular MetaTrader 5 robot designed for high-frequency scalping. It identifies trade entries using a weighted scoring system that evaluates signals from RSI, Moving Averages, and Bollinger Bands. The EA manages risk through automated lot sizing, ATR-based stop loss and take profit levels, trail

MT5 Trading robot ScalpingIndicator crossover

Ifvg London Breakout Algo

by 964quanyuan
3 stars

This Expert Advisor for MetaTrader 5 combines a London session breakout strategy with an Inverse Fair Value Gap (IFVG) trend continuation model. Designed for the EUR/USD M5 timeframe, it identifies price ranges during predefined morning hours to set pending breakout orders while simultaneously monitoring Smart Money Co

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of Ifvg London Breakout Algo

Grid Hedge Combine

by Far-1d
3 stars

Grid Hedge Combine is a MetaTrader 5 expert advisor designed to automate market entries using a mixture of grid and hedging techniques. It opens initial trades and layers subsequent orders at predefined pip intervals when the price moves against the position. The EA features lot size scaling, allowing for aggressive or

MT5 Trading robot GridMartingaleHedging High risk
Updated 1 year ago None stated GitHub repository of Grid Hedge Combine

Strategy TMA CG

by EA31337
3 stars

This MetaTrader 5 expert advisor implements a trading strategy based on the TMA+CG (Triangular Moving Average and Center of Gravity) indicator. Developed using the EA31337 framework, the robot utilizes the non-repainting version of the indicator to identify market entries. It features a multi-timeframe capability, enab

MT5 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Strategy TMA CG

Strategy Pinbar

by EA31337
3 stars

Strategy Pinbar is an automated trading robot for MetaTrader 5 that identifies entry points using pinbar candlestick patterns. The EA enhances signal accuracy by applying Relative Strength Index (RSI) and Commodity Channel Index (CCI) filters to confirm market conditions. Built upon the EA31337 framework, the system is

MT5 Trading robot Mean reversion
Updated 2 years ago None stated GitHub repository of Strategy Pinbar

Strategy Meta Multi

by EA31337
3 stars

This MetaTrader 5 expert advisor acts as a meta-strategy container that executes multiple underlying trading strategies simultaneously. Built on the EA31337 framework, it aggregates signals from various included strategy files across several timeframes ranging from M15 to H8. The EA manages trade entries and exits base

MT5 Trading robot Multi-strategy
Updated 2 years ago None stated GitHub repository of Strategy Meta Multi

Super Fondeo HFT

by TonyPrograma
3 stars

This high-frequency trading robot is designed for MetaTrader 4 and MetaTrader 5 to assist users in passing proprietary firm evaluation challenges. It employs a strategy that requires zero-slippage execution to function correctly, as it utilizes extremely tight or zero-point stop loss settings. The expert advisor includ

MT4MT5 Trading robot Scalping
Updated 2 years ago None stated GitHub repository of Super Fondeo HFT
3 stars

OCC Strategy MetaTrader is a technical trading robot for MetaTrader 5 that implements a crossover strategy based on a custom double-smoothed indicator. The EA identifies market entries by comparing fast and slow signal buffers to trigger buy or sell orders. It operates on a new bar basis and includes basic trade manage

MT5 Trading robot Indicator crossover
Updated 2 years ago None stated GitHub repository of OCC Strategy MetaTrader

Forex Pro EA

by hqs-triet
3 stars

This MetaTrader 5 expert advisor serves as an educational repository for various automated trading strategies and capital management techniques. It features a modular architecture allowing users to toggle between multiple entry algorithms, including EMA crossovers, MACD zero-crossings, and a combination of ADX and Boll

MT5 Trading robot Indicator crossoverHedgingTrend following
Updated 2 years ago MIT GitHub repository of Forex Pro EA

News Trading EA

by Badzoneyv4n
3 stars

News Trading EA is a volatility-capture robot for MetaTrader 4 and MetaTrader 5 designed to trade high-impact economic events. The EA places simultaneous buy stop and sell stop orders at a specific user-defined time before news releases. Once one order triggers, the robot is designed to close the opposite pending order

MT4MT5 Trading robot News
Updated 3 years ago None stated GitHub repository of News Trading EA

MT5 Hedge Trading Portal

by ahmedabdurahim
3 stars

This MetaTrader 5 expert advisor provides an interactive on-chart trading interface for manual execution and automated strategy management. It features dedicated graphical buttons for market entry along with input fields for volume, stop loss, and take profit levels. The repository includes distinct modules for hedging

MT5 Trading robot HedgingGrid High risk
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage
3 stars

This MetaTrader 5 expert advisor executes trades based on the Ichimoku Kinko Hyo system, specifically targeting cloud breakouts. It incorporates several technical filters including Average True Range for volatility and Average Directional Index for trend strength to refine entries. Risk management is handled through pe

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 3 years ago None stated GitHub repository of Ichimoku Cloud Breakout AR

Volatility 75 Index Expert

by reussiteforever
3 stars

This Expert Advisor is designed specifically for the Volatility 75 Index on the MetaTrader 5 platform. It employs a multi-timeframe strategy using exponential moving averages across H2 and M5 periods to determine trend direction and entry points. The system identifies long-term trends on the H2 chart and looks for pric

MT5 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of Volatility 75 Index Expert

Chanlun SpeedUp MT5

by gaoxiaojun
3 stars

This MetaTrader 5 expert advisor implements a strategy based on Chan Lun (Zen Theory) technical analysis. It evaluates market structure and price action, using a candle size filter to determine trade entries. The robot includes built-in risk management features such as fixed stop loss and take profit orders. Additional

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 5 years ago None stated GitHub repository of Chanlun SpeedUp MT5

Ichimoku Scalper

by terencebeauj
3 stars

Ichimoku Scalper is a technical expert advisor for MetaTrader 5 that executes trades based on the Ichimoku Kinko Hyo and Parabolic SAR indicators. The system enters positions when the price interacts with the Senkou Span buffers, using the SAR for trend confirmation. It incorporates standard risk controls including fix

MT5 Trading robot ScalpingTrend following
Updated 5 years ago None stated GitHub repository of Ichimoku Scalper

DS Fibonacci Trader

by DaniloS99
3 stars

DS Fibonacci Trader is a MetaTrader 5 expert advisor that automates trading based on Fibonacci retracement levels. The robot calculates the price range over a specified number of days to determine key levels including 23.6, 38.2, 50.0, 61.8, and 76.4 percent. It provides visual chart objects and manages order execution

MT5 Trading robot Mean reversionTrend following
Updated 5 years ago None stated GitHub repository of DS Fibonacci Trader

Nafi Deep RL

by neoricalex
3 stars

Nafi is a MetaTrader 5 expert advisor framework designed for deep reinforcement learning in forex trading. It bridges Python-based training environments, such as OpenAI Gym and PyTorch, with MetaTrader to facilitate automated trade execution. The system features standard risk management controls including fixed lot siz

MT5 Trading robot AI / machine learningTrend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Nafi Deep RL

Xeque Mate Open Source

by petrusbastos
3 stars

Xeque Mate Open Source is a counter-trend expert advisor for MetaTrader 5 based on the theories of Flavio Schotgues. It executes trades by placing limit orders at a user-defined point distance from a moving average. The system manages risk through fixed stop loss and take profit levels, while limiting exposure to a sin

MT5 Trading robot Mean reversion
Updated 7 years ago None stated GitHub repository of Xeque Mate Open Source

MA Cross Risk EA

by alexistdev
2 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on moving average crossovers. It monitors fast and slow exponential moving averages on closed bars to trigger buy or sell orders, with an optional RSI filter to confirm momentum. The robot includes automated risk management features such as dyna

MT5 Trading robot Indicator crossoverTrend following
Updated 2 days ago None stated GitHub repository of MA Cross Risk EA

XAUUSD Scalping EA

by AhsanAli013
2 stars

This MetaTrader 5 expert advisor is designed for gold scalping using a multi-timeframe approach. It analyzes price action across M5, M15, and H1 intervals using Exponential Moving Averages, Relative Strength Index, and Average Directional Index for entry confirmation. Trades are managed with ATR-based stop losses, take

MT5 Trading robot ScalpingIndicator crossoverTrend following

Atlas EA

by ymk5py-commits
2 stars

Atlas EA is a multi-strategy intraday trading robot for MetaTrader 5, primarily focused on gold, silver, and USDJPY. It identifies market structure shifts using Smart Money Concepts, specifically targeting breaks of structure and fair value gaps during the London and New York sessions. The EA includes optional modules

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 3 weeks ago None stated GitHub repository of Atlas EA

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

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