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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
This MetaTrader 4 expert advisor executes a dual-direction grid trading strategy driven by technical analysis. It enters trades based on an Exponential Moving Average crossover logic using three distinct periods. The system employs a customizable martingale sequence where lot sizes increase after a user-defined number
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
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
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
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
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
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
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
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
Scalping Master is an automated trading robot for MetaTrader 4 designed for short-term execution. It utilizes a technical strategy based on Exponential Moving Average crossovers combined with Relative Strength Index levels. The expert advisor features a dedicated quick scalping mode with tight targets and automated tra
This MetaTrader 4 expert advisor executes and manages trades using a specialized hedging strategy. It monitors account equity and floating losses, automatically opening hedge positions when a user-defined loss percentage is reached. The system includes robust risk management features such as daily and weekly loss limit
Adaptive Forex AI Trader is a MetaTrader 4 expert advisor designed for automated trading across various currency pairs and gold. It incorporates machine learning, candlestick pattern recognition, and multi-timeframe analysis to generate trade signals. Risk is controlled through stop loss and take profit levels, a trail
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
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
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
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
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
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
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
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
MT5CollectionBreakoutMean reversionTrend following
Barekat Expert is a MetaTrader 4 robot that executes trades based on a combination of technical indicators. It utilizes two ZigZag indicators for price action analysis, a Simple Moving Average for trend filtering, and the Relative Strength Index and Stochastic oscillators for momentum confirmation. The system manages e
This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.
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
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
JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to help traders adhere to strict account drawdown and timing rules. It monitors account equity to enforce maximum daily drawdown limits and per-trade loss caps in either currency or percentage terms. The tool includes features to restrict
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
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
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
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
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
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
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
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
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.