This expert advisor for MetaTrader 5 implements a bidirectional range grid strategy based on user-defined price boundaries. It automatically divides the range into two halves, executing sell orders in the upper section and buy orders in the lower section. The system includes a safety mechanism that closes all positions
This risk management expert advisor for MetaTrader 5 functions as an account-wide watchdog. It monitors equity fluctuations against user-defined thresholds for daily loss, total drawdown, and profit targets. When a limit is breached, the EA automatically closes all open positions and can optionally delete pending order
This MetaTrader 5 expert advisor serves as a development framework and diagnostic tool for organizing complex trading logic. It implements an object-oriented finite state machine to manage transitions between initialization, signal monitoring, order execution, and news restriction states. By replacing nested conditiona
Spread Slippage Monitor is a diagnostic utility for MetaTrader 5 that tracks broker performance metrics. It records real-time spread data at regular intervals and exports the information to a CSV file. The tool features an optional slippage measurement function that executes a market order and immediately closes it to
This news filter for MetaTrader 5 allows Expert Advisors to automatically suspend trading activities around high-impact economic news releases. Instead of relying on commercial APIs, the tool fetches event data from a user-hosted JSON file on GitHub using native WebRequest functionality. It monitors specific currencies
This lightweight, macro-based unit testing framework is designed for MetaTrader 5 developers to verify Expert Advisor logic and trading calculations. It provides a set of simple assertion macros for checking booleans, integers, and double-precision values directly within the terminal environment. The framework is entir
This utility for MetaTrader 5 enables automated trade notifications, profit reports, and system alerts to be sent directly to Discord and Telegram. It functions as a lightweight library that developers can integrate into their own Expert Advisors or indicators. By utilizing the native MQL5 WebRequest API, it operates w
This MetaTrader 5 expert advisor executes trades based on price action and momentum patterns, specifically identifying strong candles relative to their recent average range. The logic incorporates Fair Value Gap (FVG) detection and moving averages to filter entries. It includes automated risk management with percentage
MT5Trading robotSMC / ICT / price actionTrend following
FXTR1 is a modular Expert Advisor for MetaTrader 5 designed with a source-first development approach. It features a strategy selection engine that includes a moving average crossover system and a pivot gravity strategy. The crossover strategy supports optional ATR-based volatility exits, while the pivot system uses ban
This MetaTrader 5 collection features automated strategies including breakout, mean reversion, and gap-based systems. The primary breakout advisor utilizes a multi-factor weighting system to score potential trades based on ADX strength, ATR expansion, impulse candle size, and higher timeframe EMA alignment. Risk contro
MT5CollectionBreakoutMean reversionTrend following
This Expert Advisor for MetaTrader 5 implements trading logic based on Smart Money Concepts, specifically the ICT 2022 mentorship model. It automatically identifies market structures such as Fair Value Gaps, fractals, and rejection blocks across multiple timeframes to locate entries. The system includes a time-based fi
This Expert Advisor for MetaTrader 5 implements a trend-following strategy on the H4 timeframe by identifying pullbacks to the 50-period Exponential Moving Average. It utilizes the 200 EMA to define the primary trend and the 21 EMA to confirm momentum recovery after a pullback. The EA enters trades based on price rejec
This MetaTrader 5 expert advisor implements a grid-based trading strategy combined with an EMA trend filter. It enters positions based on price relation to a 50-period Exponential Moving Average. If a trend reverses while a basket is active, the EA initiates a dual-mode recovery by opening a new basket in the opposing
This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy
ZoneTrader Pro is an automated trading robot for MetaTrader 5 that identifies and trades supply and demand zones based on price context. It features a granular session filter allowing users to enable or disable trading for specific hours of the day. The EA manages risk through a daily profit and loss protector, a news
This MetaTrader 5 expert advisor executes trades based on Renko chart patterns. It features an internal calculation engine that supports both fixed point-based brick sizes and dynamic ATR-based sizing. The system includes visual on-chart drawing of Renko bricks to provide a custom price perspective. Trade management is
Advanced KT Trader is a price action robot for MetaTrader 5 that specializes in trading the Kangaroo Tail candlestick pattern. It employs a sophisticated scoring system to filter entries based on tail-to-body ratios and candle positioning. The strategy integrates support and resistance zone confluence alongside 200 EMA
MT5Trading robotSMC / ICT / price actionMean reversionTrend following
This MetaTrader 5 expert advisor serves as a compliance protection layer designed for proprietary trading firm accounts. It implements three primary risk guards: an equity-anchored daily loss limit that resets at midnight, a static overall maximum loss halt based on starting balance, and a news filter that blocks new e
This MetaTrader 5 expert advisor implements a comprehensive Smart Money Concepts strategy, detecting market structure shifts through Break of Structure and Change of Character events. It monitors Fair Value Gaps and liquidity sweeps to identify entry points across multiple timeframes. The system offers several executio
MT5Trading robotSMC / ICT / price actionScalpingTrend following
This MetaTrader 5 expert advisor provides an on-chart dashboard for manual trade execution and management. It features dedicated buy and sell buttons alongside editable fields for lot size, take profit, and stop loss distances. The tool includes a toggleable trailing stop mechanism that utilizes the stop loss input as
This MetaTrader 5 expert advisor implements a grid trading strategy specifically designed for sideways or range-bound market conditions. It places multiple buy and sell orders at fixed intervals defined by the user. The EA includes several operational filters, such as specific trading days and time sessions. Risk manag
This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across M1, M5, and M15 intervals. It utilizes a seven-period Exponential Moving Average system ranging from EMA 30 to EMA 60 to identify market conditions. When EMAs are aligned, it executes trend-following trades; in consolidated markets, i
This Expert Advisor for MetaTrader 5 implements a mean reversion strategy utilizing Bollinger Bands and a 200-period Exponential Moving Average. It monitors market volatility through band distance and enters trades when price action returns inside the bands following a breakout. The system executes logic only at the st
A collection of educational Expert Advisors and scripts designed for learning MQL5 programming on the MetaTrader 5 platform. The repository functions as a modular curriculum, covering programming fundamentals, event handling, and market data retrieval. It demonstrates core trade execution using the CTrade class, includ
This MetaTrader 5 expert advisor executes an intraday breakout strategy based on the volatility of the first five-minute candle of the trading day. It calculates eight distinct price levels using percentage deviations from the session midpoint and high/low ranges. The system monitors for price crossovers at specific th
Account Monitor EA is a utility for MetaTrader 5 designed to track and notify users of account activities in real-time. It monitors trade executions, the creation of pending orders, and modifications to Stop Loss or Take Profit levels. Notifications are sent via the ServerChan service, supporting both Turbo and SC3 mod
MQL Relay Executor is a MetaTrader 5 utility designed to automate the execution of trading signals received from external platforms like TradingView. It functions as a bridge that monitors for incoming signal data and manages the subsequent trade lifecycle. The system includes logic for automated risk management, such
This MetaTrader 5 expert advisor functions as a signal bridge and trading dashboard. It connects to an external server via a specified URL to retrieve trading signals and display account statistics directly on the chart. Users can manage positions and execute trades with predefined risk parameters, including automated
This MetaTrader 5 expert advisor implements a multi-timeframe trading strategy across H4, M15, and M5 intervals. It executes trades based on confluence between Fibonacci levels, liquidity zones, and market regime analysis. The robot manages risk through defined per-trade percentages, daily loss limits, and weekly drawd
MT5Trading robotSMC / ICT / price actionMulti-strategyTrend following
MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes
This MetaTrader 5 collection features several expert advisors, with a primary focus on the ICT v2 robot. The main strategy implements Smart Money Concepts, identifying Market Structure Shifts, Fair Value Gaps, and Liquidity Sweeps across high, medium, and low timeframes. It automates entries on price retracements with
This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script. The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It
This MetaTrader 5 expert advisor functions as a monitoring and notification tool that integrates with Telegram via a bot. It tracks account activity in real-time to send alerts for trade executions, including details on entry prices, stop loss, and take profit. Upon closing a trade, it provides comprehensive data on ne
This MetaTrader 5 expert advisor serves as a centralized management interface for monitoring and controlling multiple active trading bots across various charts. It automatically identifies running experts and their associated Magic Numbers by scanning active chart templates in real-time. The tool provides a custom grap
This expert advisor for MetaTrader 5 implements an automated breakout strategy based on the high and low points of the previous candle. It monitors the market for price breaches above the previous high to initiate long positions or below the previous low for short positions. The bot includes basic risk management contr
Docker MT5 is a full-stack integration tool that enables MetaTrader 5 automation via a Python API. It uses a ZeroMQ-based Expert Advisor to bridge communication between the terminal and external scripts for trade execution and data retrieval. The project includes a Docker configuration to run MetaTrader 5 on Linux envi
Bakome Hash EA is a trend-following expert advisor for MetaTrader 5 that combines Exponential Moving Average crossovers with RSI momentum filtering. It initiates trades based on the interaction between fast and slow EMAs while confirming momentum through RSI levels. The robot utilizes Average True Range for calculated
This expert advisor for MetaTrader 5 utilizes an advanced modular architecture focused on market regimes and decision consensus. It implements a Council-based execution system that evaluates quality scores, spread fractions, and consensus levels before triggering trades. The system features an AI evolution engine desig
This repository features a collection of MetaTrader 5 expert advisors centered around the MultiLevel Grid strategy. The system manages trades through baskets, allowing users to close positions based on account currency profit, point thresholds, or individual targets. It supports manual execution via an interactive on-c
This MetaTrader 5 expert advisor executes a trend-following strategy based on Donchian Channel breakouts and MACD filters across multiple timeframes. It utilizes a higher timeframe for trend direction while identifying entry opportunities on lower timeframes. The robot includes a trend memory mode designed to manage en
This MetaTrader 5 expert advisor utilizes Stochastic Oscillator crossovers to execute buy and sell orders. It calculates entry signals based on a minimum difference between the %K and %D lines. Risk management includes stop loss and take profit levels calculated using spread multipliers, as well as a trailing stop that
DayBlocker is a utility expert advisor for MetaTrader 5 that manages the global AutoTrading state based on economic events. It monitors the built-in MQL5 calendar and a manual text file for high-impact news such as Flash PMI, FOMC meetings, and Non-Farm Payrolls. When a specific event is detected for the current day, t
This MetaTrader 5 expert advisor serves as a modular boilerplate and educational framework for algorithmic trading development. It provides a base structure for students to build custom execution strategies, transitioning from manual price action to automated logic. The current implementation includes basic risk manage
This MetaTrader 5 expert advisor implements a trend-following strategy using Exponential Moving Average crossovers and Relative Strength Index momentum confirmation. It enters trades based on trend direction and exits using Average True Range derived stop loss and take profit levels. The system includes robust risk man
GoldenGauss EA V4 is a neural network-based trading robot for MetaTrader 5 that utilizes machine learning models to identify market entries. It employs an Average True Range based system for calculating dynamic stop loss, take profit, and trailing stop levels. The EA includes a time filter for specific trading sessions
This expert advisor is a risk management and trade execution utility for MetaTrader 5. It allows traders to visually manage risk on the chart by dragging entry, stop loss, and take profit lines. The tool automatically calculates the appropriate lot size based on account equity and user-defined risk parameters. It suppo
This MetaTrader 5 repository contains a collection of automated trading systems, including SignalRobot, OrderBlockRobot, and Smart HHMA Robot. The primary SignalRobot expert uses Triple Exponential Moving Average (TEMA) and noise filters to generate trade signals. It includes a risk management module that calculates lo
Fast Scalper is an Expert Advisor for MetaTrader 5 that executes trades based on price ranges and tick velocity. It monitors short-term and long-term price extremes using 40-candle and 200-candle lookback periods to establish market context. The system incorporates a hedging mechanism to manage open positions, using sp
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.