This MetaTrader 5 expert advisor implements a mean-reversion strategy using the Triple Exponential Moving Average and Average True Range indicators. It constructs dynamic volatility bands by applying a multiplier to the ATR value relative to the TEMA. The robot enters a sell position when the market price breaks above
Richer Machine is a MetaTrader 4 expert advisor designed for automated breakout trading using Bollinger Bands and custom price levels. It initiates trades when price closes outside the bands, subsequently placing Buy Stop and Sell Stop orders at intervals defined by a Fibonacci-width parameter. The system manages risk
Breakout Exp is a MetaTrader 4 expert advisor that implements a breakout-based trading strategy. It utilizes adjustable fast and slow period parameters to determine market entry and exit points. The system manages trades using fixed lot sizes and identifies its own positions via a unique magic number. It includes funct
This MetaTrader 4 expert advisor automates trading based on trendline analysis. It identifies price trends within a specific lookback period and executes entries when price aligns with these detected structures. The robot manages risk through a percentage-based money management system, requiring a stop loss and minimum
Quanta is an automated trading robot for MetaTrader 4 and MetaTrader 5 that executes trades based on external indicator signals. The EA utilizes the WebRequest function to download data and HTML files from a remote server to guide its trading logic. For risk control, the system provides parameters for manual lot sizing
First Robot is a MetaTrader 4 expert advisor designed as a basic testing script. The robot enters buy positions when no existing orders are detected, utilizing a randomized logic for initial execution. It features an aggressive martingale lot scaling system that increases the volume of subsequent trades following losse
This expert advisor for MetaTrader 4 automates trading based on the Pin Bar candlestick pattern. It identifies entries by evaluating candle geometry, specifically the ratio of the body to the total length and the minimum size of the candle. Users can adjust the sensitivity of the detection logic and limit the maximum n
This MetaTrader 4 expert advisor is designed for binary options trading based on candle patterns. It monitors the market for a specific number of consecutive bullish or bearish candles to trigger reversal entries. The robot includes a built-in martingale system that multiplies the investment amount by 2.2 after each lo
This MetaTrader 4 expert advisor executes trades based on the crossover of two Simple Moving Averages. It identifies trend shifts by comparing the relationship between a fast and a slow moving average over the two most recent bars. The robot enters a buy position and closes existing sell trades when the fast MA crosses
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 4 expert advisor implements a basic price action strategy based on bullish and bearish engulfing candlestick patterns. It identifies trade signals by comparing the current candle body to the previous one at the start of each new bar. The logic includes dynamic stop loss placement at recent candle extrem
This MetaTrader 4 expert advisor executes a single buy order of 0.1 lots immediately upon initialization. It functions primarily as an automated notification tool, sending an email containing the total account balance if the transaction is successful or a failure notification if the order cannot be placed. The EA does
This MetaTrader 4 expert advisor implements a spread trading strategy between two correlated commodities, specifically targeting USOIL and UKOIL. It utilizes timer-based logic to monitor price differences at set intervals rather than relying on standard chart candles. The robot enters trades based on volatility thresho
This MetaTrader 4 Expert Advisor implements a price-action grid strategy that opens orders based on fixed distance intervals. The robot establishes a baseline level and triggers a buy or sell position whenever the price moves a specific number of points away from that level. It features no built-in stop loss or take pr
This MetaTrader 4 expert advisor executes trades based on short-term price momentum across three consecutive candles. It monitors closing prices to identify price direction, initiating a buy order when prices are rising or a sell order when prices are falling. The system includes configurable fixed stop loss and take p
The Quantum Reverse EA is a low-frequency counter-trend trading robot developed for the MetaTrader 5 platform. It aims to identify potential market reversals to enter trades against the current trend direction. Based on the provided repository contents, the expert advisor is in a foundational state, as the main source
This MetaTrader 5 expert advisor is a pattern-based automated trading system that utilizes external signal data from a CSV file. It incorporates several risk management parameters, such as a maximum position limit, a maximum loss threshold, and a count for consecutive losing trades. The EA also includes a trailing stop
This MetaTrader 4 expert advisor serves as a development prototype based on standard technical indicators. It utilizes a combination of MACD signal line crossovers and Bollinger Band price interactions to automate trade entries. The robot initiates buy orders when the MACD main line is above the signal and price recove
Krikor is a MetaTrader 4 robot that uses a combination of technical indicators and a grid-based recovery system to manage trades. It determines entries using a Relative Strength Index (RSI), Moving Averages, Average Directional Index (ADX), and a custom ZigZag indicator. The strategy employs martingale lot scaling, inc
JiaoYi is a MetaTrader 4 expert advisor designed to trade based on manually or programmatically defined support and resistance levels. It features three operational modes allowing users to target price breakouts, oscillations within a range, or a combination of both strategies. The EA manages trade execution by monitor
Boss Logic is an automated trading robot for MetaTrader 4 that utilizes a combination of the Zigzag indicator, MACD, and Turtle Trading Channel logic. The EA monitors price pivots across various bar intervals to identify potential entry points based on trend exhaustion or reversals. Trade management includes standard t
This MetaTrader 4 expert advisor implements a trend-following grid strategy based on multiple moving averages. It determines market direction using configurable average periods and places initial pending orders followed by additional positions at set point intervals. The robot manages long and short trades independentl
Goertzel Dfilter Expert is an automated trading robot for MetaTrader 4 that utilizes signal processing techniques to enter and exit trades. It implements the Goertzel algorithm alongside a digital filter to determine market direction. The expert advisor follows a reversal logic, closing existing short positions when a
Mugen Nampin is a MetaTrader 4 expert advisor that executes a mean-reversion strategy using Bollinger Bands. It enters buy positions when price drops below the lower band and sell positions when price exceeds the upper band. The robot employs an averaging down approach, layering additional trades at fixed intervals whe
This MetaTrader 4 expert advisor is an educational tool developed for a technical webinar. It automates trading by combining signals from several technical indicators including Parabolic SAR, ZigZag, Fractals, and the Awesome Oscillator. The EA evaluates price direction and oscillator momentum to execute trades with de
This MetaTrader 4 expert advisor executes trades based on a simple moving average crossover strategy. The robot requires a specific start hour to authorize trading activity. Once active, it waits for a cross between two configurable moving averages to initiate buy or sell orders. The system uses hardcoded stop loss and
This MetaTrader 4 expert advisor implements a simple moving average crossover strategy. It uses two user-defined SMA periods to determine entry points once a specific hour of the day is reached. The robot monitors the relationship between the fast and slow averages, opening a single trade when they cross in a specific
This MetaTrader 5 expert advisor implements a multi-currency trading strategy based on a coefficient matrix of major forex pairs. It monitors price movements across a predefined set of currencies, including EUR, USD, GBP, AUD, JPY, and CAD, to identify trading opportunities. The system manages trades as a collective ba
This MetaTrader 4 expert advisor executes trades based on price distance from a Moving Average. It monitors whether the current price is within or outside specific bands defined by a margin parameter. When price exceeds these boundaries, the system manages pending buy stop and sell stop orders to capture market movemen
This MetaTrader 4 expert advisor utilizes the Relative Strength Index (RSI) and Momentum indicators to identify trading opportunities. The EA monitors price action, spreads, and indicator levels across various timeframes. A notable feature is its ability to log real-time market data, including broker info and indicator
Integra 777 Buy Sell is a MetaTrader 4 expert advisor that utilizes a grid-based approach combined with the Commodity Channel Index (CCI) for trade entries and management. The robot opens positions and adds supplementary orders at dynamic distances, governed by a minimum step parameter. It features a unique trailing pr
Susu Engulf is a MetaTrader 4 expert advisor that automates trading based on engulfing candlestick patterns and technical indicators. It utilizes a combination of MACD and five distinct moving averages to determine trend direction and entry points. The EA manages risk through a maximum order limit and a money managemen
This MetaTrader 4 expert advisor executes trades based on a triple moving average strategy. It utilizes fast, slow, and trend moving average periods to identify entry points, including new trends, trend continuations, and price touches on moving averages. The system includes built-in risk management via a fixed stop lo
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 4 expert advisor executes trades based on a trend-following system using four Simple Moving Averages and a custom indicator. It identifies entry points when price interacts with a specific sequence of moving averages (25, 75, 100, and 200 periods) while confirming the trend direction. Risk management is
Smith MQL5 is an automated trading robot for MetaTrader 5 that utilizes a combination of technical oscillators, specifically OsMA, MACD, and Stochastic. The system evaluates price action across multiple timeframes, from M1 to weekly charts, to determine entry points. It includes trade management features such as fixed
ZBlue is a MetaTrader 4 expert advisor designed for forex trading using a Martingale-style recovery strategy. It initiates a starting position and adds subsequent trades at increasing pip intervals if the market moves against the initial entry. The EA manages both buy and sell directions independently. It uses a tiered
Simple MA Crossover is a MetaTrader 4 expert advisor that executes trades based on the intersection of two moving averages. It enters long or short positions when the fast moving average crosses the slow moving average, while simultaneously closing any open trades in the opposite direction. Users can configure the peri
MT4Trading robotIndicator crossoverTrend following
Awesome EA is an automated multi-pair trading robot for MetaTrader 4 built on the Steve Hopwood Forex framework. It implements a trend-following strategy that filters entries using daily Peaky and SuperSlope indicators, executing trades when signals align on shorter timeframes. The system manages risk through equity-ba
Vforce EA is a versatile trading robot for MetaTrader 4 that utilizes a wide array of technical indicators to identify entry points. It integrates Stochastic, RSI, ADX, MACD, and Bollinger Bands, allowing traders to enable or disable specific signals via input parameters. The system manages risk through fixed lot sizin
This MetaTrader 5 expert advisor executes trades based on the crossover of two moving averages. It allows users to define periods for both long and short averages and select the calculation method, such as Exponential Moving Average. The EA includes internal time management, allowing for specific start and end times pl
MT5Trading robotIndicator crossoverTrend following
Pivot Fab is an automated trading robot for MetaTrader 4 that utilizes Fibonacci-based pivot point levels to identify entry and exit signals. The system calculates support and resistance lines based on historical price data, specifically identifying pivot points from R3 down to S3. It manages risk through fixed stop lo
This MetaTrader 5 expert advisor implements a classic dual moving average crossover strategy. It tracks two Simple Moving Averages with configurable fast and slow periods to determine trade entry and exit points. The robot checks for signals every 15 seconds via a timer function rather than on every price tick. Users c
This MetaTrader 4 expert advisor executes trades based on multiple stochastic oscillator crossovers. The strategy employs several sets of stochastic indicators with unique period settings, categorized into white, pink, and green groups, to identify potential entry signals. Risk management is handled through fixed stop
No Brainer is a MetaTrader 4 expert advisor that utilizes a triple Exponential Moving Average crossover strategy to identify market trends. It incorporates a Standard Deviation filter to assess volatility, determining if market conditions are suitable for trading. The EA manages risk through user-defined stop loss and
This MetaTrader 4 expert advisor automates trading using the Ichimoku Kinko Hyo indicator with hardcoded period settings for the Tenkan-sen, Kijun-sen, and Senkou Span B. It identifies trend-based entries and manages positions using a currency-specific risk module. The robot applies fixed stop loss and take profit valu
This MetaTrader 5 expert advisor implements a triangular arbitrage strategy targeting price discrepancies between correlated currency pairs. The robot monitors specific instruments, including EURUSD, USDJPY, EURJPY, USDCAD, and CADJPY, to identify synthetic price gaps. It executes trades when the calculated gap exceeds
Kohamama is an automated trading robot for MetaTrader 4 that executes trades based on signals from a custom external indicator. The system enters positions with fixed stop loss and take profit targets defined in pips. It includes a basic martingale-style lot scaling or repetition feature, controlled by a specific multi
This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control
This MetaTrader 4 expert advisor executes trades based on the Average Directional Index (ADX) and Directional Movement Index (DMI) indicators. Developed as part of a study group, the robot identifies trend strength and direction to automate market entries. A key feature is its risk management logic, which utilizes Bill
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.