Synced with GitHub · updated hourly

Expert Advisor Library

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

701 EAs match Clear filters
16 stars

This repository provides a collection of MetaTrader 4 expert advisors, centered around the OverLord robot which utilizes logistic regression models. OverLord determines entries by calculating price directionality over various tick counts and analyzing moving average slopes against hardcoded coefficients. In addition to

MT4 Collection AI / machine learningIndicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of OverLord MQL4 Code Samples

Hybrid Swing EA

by clevergoldfox
15 stars

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

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

Phase 404 EA

by Musyimi97
14 stars

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

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

This MetaTrader 5 repository features a diverse collection of automated trading strategies, including indicator-based scalpers and price action robots. The experts utilize technical filters such as Average True Range periods and baseline moving averages to identify entry signals. Key risk management features integrated

MT5 Collection Trend followingBreakoutScalping

Session Sauce

by jblanked
13 stars

Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Session Sauce

Project Eingana

by ThePathsOfSaga
13 stars

This MetaTrader 4 repository contains a collection of expert advisors developed for the Eingana social trading project. It features multiple strategies, including a Keltner Channel-based mean-reversion system for pairs like EURNZD and EURAUD, alongside a EURUSD scalper. The robots typically enter trades when price acti

MT4 Collection Mean reversionScalping
Updated 6 years ago GPL-3.0 GitHub repository of Project Eingana

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

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

MT5 Trading robot Indicator crossoverTrend followingMean reversion

JBlanked MQL Library

by jblanked
12 stars

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies for forex markets. A core component is the Gareth Range Breakout, which defines specific time-based price zones and executes trades when price breaks those boundaries. It includes risk controls such as stop loss and take pro

MT4MT5 Collection BreakoutMulti-strategyGrid High risk
Updated 11 days ago GPL-3.0 GitHub repository of JBlanked MQL Library

RL Agent Trader

by rezakarbasi
12 stars

RL Agent Trader is an expert advisor for MetaTrader 5 that integrates with a Python-based reinforcement learning environment via network sockets. It implements a breakout strategy based on the highest and lowest prices of previous candles. The core functionality relies on a Deep Q-Network (DQN) in Python to dynamically

MT5 Trading robot BreakoutAI / machine learning
Updated 2 years ago None stated GitHub repository of RL Agent Trader

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk

Fimathe EA

by yolisses
12 stars

Fimathe EA is a MetaTrader 5 robot designed to automate the Fimathe trading technique. It replaces manual channel drawing by analyzing a user-defined range of historical candles to determine reference channels and neutral zones. The system identifies price partitions and uses the median distance to set entry levels. Fo

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA
12 stars

This MetaTrader 4 expert advisor implements the No Nonsense Forex (NNFX) trading algorithm. It utilizes a modular structure comprising a baseline indicator for trend direction, dual confirmation signals, and a volume filter to detect market volatility. The system includes specific NNFX rules such as the seven-candle ru

MT4 Trading robot Trend following
11 stars

This MetaTrader 5 expert advisor utilizes deep learning models, specifically Long Short-Term Memory or Transformer architectures, to predict price movements several bars ahead. It operates by communicating via HTTP with a local Python daemon that processes machine learning inference. The system includes an advanced Kel

MT5 Trading robot AI / machine learningScalping
Updated 1 year ago GPL-3.0 GitHub repository of ALFA Transformer AI

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA

Falcon F2

by vzhomeexperiments
11 stars

Falcon F2 is an expert advisor for MetaTrader 4 that implements model-based trading by interpreting external signals. The robot acts as an execution interface for predictions generated outside the platform, such as those from R-based models or a Decision Support Centre. It enters trades when predicted price changes exc

MT4 Trading robot AI / machine learning
Updated 5 years ago MIT GitHub repository of Falcon F2

SR Expert

by OwaisQuadri
11 stars

SR Expert is a MetaTrader 4 robot that executes trades based on price reversals at support and resistance levels. It determines key levels by analyzing daily high and low price data to calculate dynamic trading intervals. The expert advisor features automated position sizing calculated as a percentage of the account ba

MT4 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of SR Expert
11 stars

This MetaTrader 4 expert advisor automates trading by combining the Relative Strength Index (RSI) with Ichimoku Kumo signals. It scans every instrument listed in the Market Watch window to identify entries across multiple pairs simultaneously. The robot includes a built-in spread filter to avoid high-cost executions an

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of RSI Ichimoku Trader Bot

Conservative Scalper EA

by NadirAliOfficial
10 stars

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

MT4 Trading robot ScalpingTrend followingBreakout

Monkey Attack Gold Pivot EA

by Monkeyattack
10 stars

This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr

MT4 Trading robot Mean reversionIndicator crossoverMartingale High risk
10 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts and Order Block identification. It analyzes price action across multiple timeframes, utilizing higher timeframe data for trend context and lower timeframes for entries. The system includes trade management tools such as break-even triggers

MT5 Trading robot SMC / ICT / price actionGrid High risk

This repository is a collection of various MetaTrader 4 expert advisors, featuring the WallStreet Forex Robot along with other tools like SteadyWinner and IndoRun. The primary EA utilizes technical indicators such as Moving Averages, CCI, and Williams' Percent Range to execute trades on the M15 timeframe. It includes c

MT4 Collection Trend followingIndicator crossoverMartingale High risk

Trading Signals

by CDrosos
10 stars

A notification utility for MetaTrader 4 that monitors multiple technical indicators to generate trade alerts. It tracks moving average crossovers, specifically the 50 and 200 periods, along with Relative Strength Index levels, Bollinger Band breakouts, and MACD confirmations. Users can configure the tool to send notifi

MT4 Utility Indicator crossoverMean reversion
Updated 4 years ago None stated GitHub repository of Trading Signals

New Robot

by andreolvgomes
10 stars

This MetaTrader 5 framework provides a modular structure for developing and deploying automated strategies, specifically optimized for the Mini Índice Bovespa. It includes an example implementation of the Dunnigan setup, utilizing candle sequences and price levels for entries. The system manages trades with advanced co

MT5 Framework & template BreakoutTrend following
Updated 5 years ago None stated GitHub repository of New Robot
10 stars

Advanced Multi Currency Scalper is a MetaTrader 5 robot designed to monitor and trade multiple forex pairs simultaneously from a single instance. The strategy is based on Bollinger Bands, using period and deviation settings to identify potential entry points. Each currency pair is managed independently with its own set

MT5 Trading robot ScalpingMean reversion
10 stars

This MetaTrader 4 expert advisor automates trading on the foreign exchange market, with specific testing historicals for GBPUSD on the five-minute timeframe. It focuses on intraday logic, allowing users to define specific trading windows and maximum daily trade limits. Risk controls include dynamic lot sizing based on

MT4 Trading robot BreakoutTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of E and P For The Freedom

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following

SmartMoney MTF EA

by SiyabongaDlamini
9 stars

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

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

Aurum Core

by francomascareloai
9 stars

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

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

Code To Cash

by LUBANGAKENE
9 stars

Code To Cash is an end-to-end algorithmic trading system for MetaTrader 5 that combines deep learning forecasts with technical breakout logic. It utilizes a ZeroMQ bridge to receive real-time market predictions from an external Python backend. The system enters trades using BuyStop or SellStop orders at recent price ex

MT5 Trading robot AI / machine learningBreakoutTrend following
Updated 1 year ago None stated GitHub repository of Code To Cash

Mforex Smart Scalper

by francomascareloai
9 stars

This MetaTrader 4 expert advisor is designed for gold scalping using a combination of Relative Strength Index and Exponential Moving Average indicators. It identifies entry points when momentum reaches specific overbought or oversold thresholds while considering moving average trends. The system manages risk through fi

MT4 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago None stated GitHub repository of Mforex Smart Scalper

This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based

MT5 Collection Indicator crossoverMean reversionMartingale High risk
9 stars

This MetaTrader 5 collection features several expert advisors and utility tools based on various technical analysis methods. The primary strategy uses Ichimoku Kinko Hyo components, specifically Tenkan-sen, Kijun-sen, and Senkou Span B, to identify trend-based entries. Additional bots in the repository utilize moving a

MT5 Collection Trend followingIndicator crossoverMulti-strategy
Updated 3 years ago None stated GitHub repository of Niferu Forex Trading Robots
9 stars

This MetaTrader 5 expert advisor executes a counter-trend strategy utilizing Bollinger Bands and the Slow Stochastic oscillator. Developed as part of academic research into deep learning and technical analysis, the robot incorporates Heiken Ashi filtering to identify market extensions and doji candles. It manages risk

MT5 Trading robot Mean reversionAI / machine learning

Smart Grid Martingale EA

by chenhengyi53-design
8 stars

This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an

MT5 Trading robot GridMartingaleTrend following High risk
Updated 7 months ago None stated GitHub repository of Smart Grid Martingale EA

Autumn Harvest

by wait4signal
8 stars

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l

MT5 Trading robot Mean reversionTrend followingMulti-strategy
Updated 1 year ago GPL-3.0 GitHub repository of Autumn Harvest
8 stars

High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s

MT5 Trading robot GridMean reversionScalping High risk

SMC Gold Diggers

by Konyuka
8 stars

This MetaTrader 5 expert advisor automates trading for XAUUSD using Smart Money Concepts. It implements a multi-timeframe approach, analyzing the H1 for bias, M15 for structure, and M5 for execution. The strategy enters positions based on order blocks, fair value gaps, and liquidity grabs. Risk controls include percent

MT5 Trading robot SMC / ICT / price actionMartingale High risk
Updated 1 year ago None stated GitHub repository of SMC Gold Diggers

Collinator

by jblanked
8 stars

Collinator is a MetaTrader 4 expert advisor specifically designed for trading US30 during the New York market open. It initiates trades based on the 8:30 AM candle trend or moving average crossovers. The robot features comprehensive exit management, including four stages of partial profit taking and a break-even stop l

MT4 Trading robot Trend followingMartingale High risk
Updated 3 years ago None stated GitHub repository of Collinator
7 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Signal Poller EA series alongside standard indicator-based robots. The system is designed for high-leverage environments, specifically targeting gold, bitcoin, forex, and indices. It utilizes an external signal push architect

MT5 Collection Trend followingBreakoutScalping High risk
Updated 6 months ago None stated GitHub repository of Signal Poller EA Collection

Zobad EA Collection

by zobad16
7 stars

This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas

MT4 Collection ScalpingGridTrend following High risk
Updated 7 months ago None stated GitHub repository of Zobad EA Collection
7 stars

This MetaTrader 5 expert advisor is a modular trading system designed for XAUUSD scalping. It utilizes a multi-engine architecture to separate market analysis, risk management, and execution logic. The robot generates entry signals based on technical indicators across multiple timeframes, requiring a minimum confidence

MT5 Trading robot ScalpingTrend following

Athena EA

by kecoma1
7 stars

Athena is a MetaTrader 5 expert advisor designed for intraday trading based on session range breakouts. The robot monitors price action during a specific user-defined time window to establish daily high and low boundaries. Once this window closes, it executes buy or sell orders when the current price breaches these lev

MT5 Trading robot BreakoutAI / machine learning
Updated 2 years ago None stated GitHub repository of Athena EA

Breakout Set and Forget

by OrchardForexTutorials
7 stars

This Expert Advisor for MetaTrader 5 implements a breakout strategy centered on a user-defined time range. It calculates the high and low prices within a specific session to place multiple pending orders at a set distance from the range boundaries. The system utilizes three separate take-profit targets for each directi

MT5 Trading robot Breakout
7 stars

This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance

MT5 Trading robot Mean reversionMartingaleGrid High risk

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus
7 stars

PR Pivots Expert Advisor is a technical tool for MetaTrader 4 that calculates and displays daily pivot points on the chart. Using price data from the previous trading day, including high, low, and close values, it plots the central pivot level along with three resistance and three support levels. The software uses grap

MT4 Utility Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of PR Pivots Expert Advisor

SrB MM Robot

by sandrorb
7 stars

SrB MM Robot is a MetaTrader 5 expert advisor that automates the Highs and Lows trading strategy on the Brazilian Bovespa mini index. The logic focuses on market volatility rather than trend direction, executing trades based on the price extremes of preceding candles. It enters positions at the low of the previous bar

MT5 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of SrB MM Robot

Learn how to use expert advisors

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

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

About the EA Library

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

Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

EA Library FAQ

What is an expert advisor (EA)?

An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).

Are the EAs in this library free?

Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.

Are these EAs safe to use?

ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.

How do I install an EA in MT4 or MT5?

Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.

How does ForexR choose which EAs to list?

A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every hour. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.

What do "High risk", grid and martingale mean?

A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers