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.

1,267 EAs match Clear filters

EA31337 Libre

by FEISTYVIP
1 stars

EA31337 Libre is an open-source multi-strategy trading robot developed for MetaTrader 4 and 5. It serves as a simplified implementation of a larger algorithmic framework, offering over 35 distinct strategies based on popular technical indicators. The robot allows each strategy to analyze market conditions across multip

MT5 Trading robot Multi-strategy
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Gold Trading Bot Pro

by pollycarp
1 stars

This MetaTrader 5 expert advisor focuses on trading gold and other instruments using a trend-following breakout and retest methodology. It filters market conditions using three moving averages and ATR-based consolidation detection. Entries are triggered by RSI pullbacks and liquidity grab patterns during specific intra

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Gold Trading Bot Pro

Forex Killer

by mandisadube
1 stars

This MetaTrader 5 expert advisor executes trades based on a moving average crossover strategy specifically for Gold and Nasdaq symbols. It employs multi-timeframe confirmation by checking the trend on the H1 timeframe before entering positions. Risk management is handled through fixed lot sizes, hard stop losses, and t

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Forex Killer

Eurusd Breakout EA

by jonahgrigoryan
1 stars

This MetaTrader 5 expert advisor implements a multi-timeframe breakout strategy designed for EURUSD. It identifies the primary trend using a 200-period Exponential Moving Average on the H1 timeframe while executing entries on M15 breakouts. The system filters signals through RSI neutral-zone checks and ADX momentum req

MT5 Trading robot BreakoutTrend following
Updated 1 year ago None stated GitHub repository of Eurusd Breakout EA

Fuji Trader

by manish777karki
1 stars

This MetaTrader 5 expert advisor utilizes a combination of bullish engulfing candlestick patterns, Exponential Moving Averages, and the Relative Strength Index to identify trade entries. The bot includes modular filters for ATR volatility, specific trading sessions, and RSI ranges to refine signals. Risk management is

MT5 Trading robot Trend followingSMC / ICT / price action
Updated 1 year ago None stated GitHub repository of Fuji Trader

Trend Reversal EA

by fastleopard9372
1 stars

This MetaTrader 5 expert advisor executes trades based on a combination of momentum and trend indicators, specifically MACD, RSI, CCI, and ADX. It seeks trend reversal opportunities by identifying overbought or oversold conditions combined with specific trend strength requirements. The EA includes risk management featu

MT5 Trading robot Mean reversionIndicator crossoverHedging
Updated 1 year ago None stated GitHub repository of Trend Reversal EA
1 stars

Advanced Scalping Multi EA is a multi-strategy scalping robot for MetaTrader 5 that integrates multi-timeframe momentum, smart money concepts, and pattern recognition. It calculates a signal confidence score based on RSI, EMA crossovers, MACD, and institutional flow tracking. The expert advisor offers four distinct mod

MT5 Trading robot ScalpingSMC / ICT / price actionIndicator crossover
Updated 1 year ago None stated GitHub repository of Advanced Scalping Multi EA

USDJPY Buy Down EA

by wista110
1 stars

This MetaTrader expert advisor implements a grid-based buying strategy specifically designed for USDJPY. It places buy orders at fixed pip intervals below a specified base price, accumulating positions as the market moves lower. The robot manages a basket of trades and exits all positions simultaneously once the combin

MT4MT5 Trading robot GridMean reversion High risk
Updated 1 year ago None stated GitHub repository of USDJPY Buy Down EA

MT5 to REST API

by strongtiger-dev
1 stars

This expert advisor acts as a bridge between MetaTrader 5 and external web services through a RESTful API. It enables users to programmatically interact with the terminal to retrieve real-time symbol pricing, account balances, active positions, and trade history. The EA supports remote command execution for opening mar

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT5 to REST API

Gold Domination EA

by JoeMoer
1 stars

Gold Domination is an automated trading robot for MetaTrader 5 developed for the gold market. It utilizes a strategy based on CCI, Williams %R, and ADX indicators, supplemented by price action patterns and Fibonacci confluence. The EA incorporates intermarket analysis by tracking the US Dollar Index and the VIX fear in

MT5 Trading robot Trend followingMean reversionMulti-strategy High risk
Updated 1 year ago None stated GitHub repository of Gold Domination EA

FX Trading EA Collection

by tambillbka
1 stars

This repository provides a collection of automated trading systems for MetaTrader 4 and 5. The expert advisors utilize various technical indicators, including ADX, DMI, RSI, and Heiken Ashi, to determine market entry points. Some strategies are based on price action from previous candle directions. Trade management fea

MT4MT5 Collection Trend followingScalpingMartingale High risk
Updated 1 year ago None stated GitHub repository of FX Trading EA Collection

Jivita Expert Advisors

by rasingollam
1 stars

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies. The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk managem

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Jivita Expert Advisors

Trend EA Collection

by Yogurt-Peng
1 stars

Trend EA is a collection of MetaTrader 5 expert advisors providing various automated trading strategies, including grid, martingale, and trend-following systems. The repository features implementations of the Turtle trading method, Donchian Channel breakouts, and moving average crossovers. Each expert advisor allows fo

MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Trend EA Collection
1 stars

Hybrid Smart Zone EA is an automated trading robot designed for the MetaTrader 5 platform. It employs a multi-indicator strategy incorporating Exponential Moving Averages, Bollinger Bands, RSI, MACD, and ADX to identify entry and exit points. The system defaults to a 15-minute timeframe but allows for customization. Ri

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Hybrid Smart Zone EA

Trade Manager

by rasingollam
1 stars

Trade Manager is a MetaTrader 5 utility designed to assist manual traders with risk calculation and position execution. It provides an on-chart interface with buttons for market, limit, and stop orders. The EA calculates position sizes based on a user-defined risk percentage per trade and manages exits through a reward

MT5 Trade manager
Updated 1 year ago MIT GitHub repository of Trade Manager

SMC Trading EA

by kustandy
1 stars

This expert advisor for MetaTrader 5 implements a Smart Money Concepts strategy focused on automated order block detection. It identifies market entries by scanning historical bars for specific price action patterns. The robot includes built-in risk management that calculates lot sizes based on a percentage of account

MT5 Trading robot SMC / ICT / price actionScalping
Updated 1 year ago None stated GitHub repository of SMC Trading EA

Ogidani MQL Samples

by OgidaniLLC
1 stars

This repository provides a collection of educational Expert Advisor snippets for MetaTrader 4 and MetaTrader 5. The primary script demonstrates an account verification mechanism that checks the current login against a user-defined parameter, terminating execution if the numbers do not match. Additional files illustrate

MT4MT5 Collection
Updated 1 year ago None stated GitHub repository of Ogidani MQL Samples

PulseNX

by Jagielsky
1 stars

PulseNX is a MetaTrader 5 expert advisor that follows a mean-reversion strategy using the Triangular Moving Average (TMA) and a Stochastic oscillator. It identifies entry opportunities when Heiken Ashi candles touch the outer TMA bands while the oscillator indicates overbought or oversold conditions. The EA includes ri

MT5 Trading robot Mean reversion
Updated 1 year ago GPL-3.0 GitHub repository of PulseNX

Liquidity Trap EA

by Javacaveman999
1 stars

Liquidity Trap EA is an automated trading robot for MetaTrader 5 that identifies price action setups near swing points. It detects specific candle formations using wick-to-body and body-to-average-bar ratios to enter trades based on perceived liquidity traps. The system incorporates trend filters through moving average

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion High risk
Updated 1 year ago None stated GitHub repository of Liquidity Trap EA

SMC FVG Robot

by hungnguyentien
1 stars

This Expert Advisor for MetaTrader 5 automates a trading strategy based on Smart Money Concepts and Fair Value Gaps. It monitors market structure shifts using high and low patterns on a higher timeframe and executes entries on a lower timeframe once candle body requirements are met. The system includes a fixed risk per

MT5 Trading robot SMC / ICT / price action
Updated 1 year ago None stated GitHub repository of SMC FVG Robot
1 stars

This semi-automated expert advisor facilitates trading around high-impact economic events by bridging Python and MetaTrader 5. A Python-based scraper collects macroeconomic data from Trading Economics, allowing users to filter events and manually input trading directions via a graphical interface. The MetaTrader 5 comp

MT5 News trading News

Shuka Expert

by Houman-Amiri
1 stars

Shuka Expert is a MetaTrader 5 robot designed for risk-managed trading using technical indicators and price action filters. It identifies entries through optional EMA and ZigZag components combined with candlestick patterns, such as engulfing bars and candle length requirements. The EA manages risk via percentage-based

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Shuka Expert

Supply Demand Pro EA

by Monte-Ntuli
1 stars

Supply Demand Pro EA is an automated trading robot for MetaTrader 5 that focuses on price action and institutional market structures. It identifies supply and demand zones, Quasimodo reversal patterns, and ATR-based price compression. The system filters entries using fakeout detection to avoid false breakouts. It featu

MT5 Trading robot SMC / ICT / price actionBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Supply Demand Pro EA

TradeMe

by Deric254
1 stars

TradeMe is an automated MetaTrader 5 expert advisor implementing a Turtle Breakout trend-following strategy. It identifies entry points using Donchian Channel highs and lows over a user-defined lookback period. The system manages positions using an ATR-based trailing stop and exits trades when the price reaches a secon

MT5 Trading robot Trend followingBreakout
Updated 1 year ago None stated GitHub repository of TradeMe

News Trading

by JonusNattapong
1 stars

News Trading is an automated expert advisor for MetaTrader 5 that executes breakout strategies based on high-impact economic events. The EA monitors built-in calendars for major releases such as NFP, FOMC, and GDP to identify potential volatility. It analyzes price action within specific time windows before and after e

MT5 News trading BreakoutNews
Updated 1 year ago None stated GitHub repository of News Trading

Gold Momentum Breakout

by hadrygassama
1 stars

Gold Momentum Breakout is an automated trading system for MetaTrader 5 designed to capture price movements after periods of consolidation. The expert advisor employs a trend-following approach using two Exponential Moving Averages on a higher timeframe, paired with Relative Strength Index filters for momentum. It ident

MT5 Trading robot BreakoutTrend following
Updated 1 year ago None stated GitHub repository of Gold Momentum Breakout

This MetaTrader 5 expert advisor is a momentum-based scalping robot designed for trading on the M1 timeframe, with a primary focus on XAUUSD. It enters trades based on Keltner Channel breakouts and filters entries using a dual Moving Average trend-following system. The EA features comprehensive risk controls, including

MT5 Trading robot ScalpingTrend followingBreakout

HiLo Capital EA

by NeoSkosana
1 stars

The HiLo Capital EA is an automated trading robot for MetaTrader 5 that uses a trend-following strategy. It combines two exponential moving averages, specifically the 50 and 200 periods, with the Traders Dynamic Index (TDI) custom indicator to identify market entries. Risk management is handled through an automated lot

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of HiLo Capital EA

2Order Expert

by farnadtech
1 stars

2Order Expert is a semi-automated trading tool for MetaTrader 5 designed to streamline order entry. It allows traders to execute two simultaneous orders at a specified distance from each other, using either a fixed pip value or a multiplier of the current market spread. The tool includes a graphical user interface for

MT5 Utility
Updated 1 year ago MIT GitHub repository of 2Order Expert

FVG Trading Strategy MT5

by Kukhta-Stepan
1 stars

This expert advisor for MetaTrader 5 implements a trading strategy based on Fair Value Gaps, often associated with Smart Money Concepts. It identifies price imbalances using a custom external indicator and executes market orders when the pattern is detected. Risk management features include a fixed lot sizing model, a

MT5 Trading robot SMC / ICT / price action
Updated 1 year ago None stated GitHub repository of FVG Trading Strategy MT5

Swing Trading EA

by JonusNattapong
1 stars

This expert advisor for MetaTrader 5 implements a medium-term swing trading strategy using multiple technical indicators. It identifies entries through two primary methods: trend reversals and breakouts from consolidation zones. The reversal logic utilizes Fibonacci retracement levels combined with Stochastic and MACD

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Swing Trading EA

Position Trading EA

by JonusNattapong
1 stars

A trend-following MetaTrader 5 expert advisor designed for long-term position trading on daily and weekly timeframes. It utilizes the 200-period Exponential Moving Average and the Ichimoku Cloud to confirm multi-timeframe trends and momentum. The EA calculates position sizes according to account risk percentage and use

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Position Trading EA

Ashutosh Khemka EA

by Ashu27124
1 stars

Ashutosh Khemka EA is a trend-following robot for MetaTrader 5 that uses an exponential moving average to generate trading signals. It operates within a defined daily session, featuring configurable start and end times for new entries, as well as an automatic close time for open positions. Risk controls include fixed t

MT5 Trading robot Trend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Ashutosh Khemka EA

Nyrok RSI MT5

by Nyrok
1 stars

The Nyrok RSI EA is an automated trading robot for MetaTrader 5 designed for mean-reversion on the EURGBP currency pair. It utilizes the Relative Strength Index (RSI) to identify overbought and oversold conditions, entering sell positions when the RSI exceeds a specified upper threshold and buy positions when it falls

MT5 Trading robot Mean reversion
Updated 1 year ago None stated GitHub repository of Nyrok RSI MT5

This MetaTrader 5 expert advisor serves as a risk management tool designed to monitor manual trades. It checks active positions at regular intervals, defined by the user in seconds, and automatically closes them if the drawdown per order exceeds a specific percentage. The utility includes features for performance repor

MT5 Risk & protection
1 stars

This expert advisor integrates MetaTrader 4 and 5 with external deep learning models using socket communication. It captures chart screenshots and price data to send to an external server, where models like Random Forest or Generative Adversarial Imitation Learning process the visual information. The EA then receives a

MT4MT5 Trading robot AI / machine learning

Malicious EA Emporium

by TyphooN-
1 stars

This MetaTrader 5 collection serves as a proof of concept to demonstrate the security risks of running unverified code. The primary script, Commission Grindr, illustrates how an account balance can be intentionally depleted through rapid trade execution that maximizes commission fees. It utilizes asynchronous trading m

MT5 Collection

Bots Practica

by AlexDotel
1 stars

This collection for MetaTrader 5 contains several expert advisors developed for practice and strategy testing. It includes robots based on Bollinger Bands, Larry Williams patterns, and breakout logic. The tools provide automated trade execution with integrated risk controls, allowing users to choose between fixed lot s

MT5 Collection BreakoutMean reversionTrend following
Updated 1 year ago None stated GitHub repository of Bots Practica

News Detector

by vestorfinance
1 stars

This MetaTrader 5 utility monitors upcoming economic events by reading news data from a local binary file. It functions as a notification tool that alerts the user via the terminal log before a scheduled event occurs. The software identifies market holidays by checking forecast and actual values and cycles through a ch

MT5 News trading
Updated 1 year ago None stated GitHub repository of News Detector

Robo Trader Fibonacci

by ezequielpestana
1 stars

This MetaTrader 5 expert advisor utilizes the price range of the previous weekly candle to define four trading channels, inspired by Fibonacci principles. It monitors 15-minute price action for breakouts across the 50% midpoint of these channels. The robot automates position entry with stop loss and take profit levels

MT5 Trading robot Breakout

HipoAlgoritm

by Khajavi8056
1 stars

This MetaTrader 5 expert advisor provides an automated trading system designed for Forex, Bitcoin, Gold, and various indices. It employs technical analysis filters including RSI levels and Moving Average price distance to identify entries. Risk management features include flexible lot sizing based on account equity or

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago None stated GitHub repository of HipoAlgoritm

EA Max Profit

by diditgravatar
1 stars

This MetaTrader 5 expert advisor is designed specifically for trading XAUUSD. It utilizes a combination of the Average Directional Index (ADX) for trend strength, Relative Strength Index (RSI) for momentum, and two Simple Moving Averages for trend direction. The system uses multi-timeframe analysis, specifically checki

MT5 Trading robot Indicator crossoverTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of EA Max Profit

MQL5 Expert Advisors Collection

by AmonCheruiyotHQ
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a multi-currency ring trading system. The flagship EA executes trades across several currency pairs simultaneously, utilizing triangular hedging logic to manage exposure. It incorporates various lot management modes including

MT5 Collection Multi-strategyHedgingMartingale High risk

MQL5 Bolugi

by Lucianomin
1 stars

MQL5 Bolugi is an automated trading expert for MetaTrader 5 that utilizes Bollinger Bands and the Relative Strength Index to identify overbought and oversold conditions. It features a tiered entry system referred to as complementary and mediation modes, which allows the robot to scale into positions based on price dist

MT5 Collection Mean reversionGrid High risk
Updated 1 year ago None stated GitHub repository of MQL5 Bolugi
1 stars

This MetaTrader 5 Expert Advisor establishes a TCP socket connection to an external Python server to facilitate real-time data exchange. It acts as a client that transmits symbol closing prices and handles incoming responses from the server. The tool features robust reconnection logic to maintain the link during server

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of MQL5 Python Socket Bridge

This MetaTrader 5 repository provides a collection of expert advisors and visual dashboard tools centered on multi-timeframe technical analysis. It features strategies utilizing the Traders Dynamic Index, Exponential Moving Averages, and Commodity Channel Index indicators. The included tools range from trend-following

MT5 Collection Trend followingBreakoutIndicator crossover

Inside Day MT5

by Da-Xiong-Chen
1 stars

This MetaTrader 5 expert advisor implements a price action strategy based on the Inside Day candle pattern. Developed primarily for the EUR/USD pair on the daily timeframe, the robot identifies instances where a trading day price range is entirely contained within the previous day range. It executes trades using fixed

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of Inside Day MT5

Trend Observation EA

by longnguyencbct
1 stars

Trend Observation EA is an automated trading robot designed for the MetaTrader 5 platform. It identifies market trends using the Aroon indicator to generate entry and exit signals. The system executes trades based on trend direction and incorporates standard risk controls, including user-defined fixed lot sizes, stop l

MT5 Trading robot Trend following
Updated 1 year ago None stated GitHub repository of Trend Observation EA

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every 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