This MetaTrader 4 expert advisor is an automated trading robot developed for a 2019 trading competition. It executes trades based on a price range breakout strategy, calculating entry levels from the high and low values of previous candles. The algorithm filters entries using a 10-period Exponential Moving Average and
This MetaTrader 4 expert advisor automates trading based on pivot point technical levels. It focuses on systematic trade execution with integrated risk management, featuring automated lot sizing calculated as a percentage of account balance relative to stop loss distance. The EA includes a trailing stop mechanism that
Junbari MT4 is a trend-following expert advisor for MetaTrader 4 that identifies trade entries based on price breakouts. The system monitors the highest highs and lowest lows over a specific lookback period to determine market direction. It enters positions when the current price breaks a historical level and meets a m
This MetaTrader 4 expert advisor implements a multicurrency basket trading strategy based on price action. It evaluates multiple currency pairs simultaneously using a scoring system that compares current price levels to opening prices across five-minute and fifteen-minute timeframes. The robot manages entries automatic
MACD MA Cross is a MetaTrader 4 expert advisor that automates entries based on the alignment of MACD signals and Moving Average crossovers. The strategy triggers trades when indicators confirm a trend, using Linear Weighted Moving Averages (LWMA) for direction. The EA features an unconventional exit strategy where posi
MT4Trading robotIndicator crossoverTrend following
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
Usd5 3 EA is a MetaTrader 4 expert advisor that executes trades based on specific candlestick sequences and trend direction. It identifies patterns of three consecutive bullish or bearish candles followed by a reversal to signal potential entries. The robot utilizes a 25-period Simple Moving Average on the H4 timeframe
Setup Da Paula is a MetaTrader 5 expert advisor that automates a technical trading strategy based on Bollinger Bands. The robot enters trades when specific price conditions are met relative to the bands, incorporating a volatility filter that checks the minimum band width in points. It manages risk through a fixed stop
This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on four moving averages. It determines market direction to trigger buy or sell entries during specified trading hours. The robot features time-restricted operations, allowing trade execution only between set start and end times. Risk manag
This MetaTrader 5 expert advisor automates trading for the Brazilian Mini Dollar market. It operates as an intraday robot, utilizing specific time-based filters to control when the system can open new positions and when it must liquidate all open trades before the daily market close. The EA includes standard risk contr
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
Span Model Day Trader is a MetaTrader 4 expert advisor that monitors market signals based on the Span Model and Super Bollinger technical indicators. The code specifically focuses on the USDJPY currency pair, evaluating the relationship between blue and red spans derived from the Ichimoku Kinko Hyo indicator. It tracks
This MetaTrader expert advisor implements a trading strategy based on Bollinger Bands. It primarily operates on the daily timeframe, using the indicator's upper and lower bands to identify potential trade entries. The robot includes standard risk management parameters, such as a fixed stop loss and take profit for ever
This MetaTrader 4 expert advisor implements a multi-strategy approach to automated trading using several technical indicator combinations. It features distinct logic for long and short positions, utilizing the Relative Strength Index, Moving Average Convergence Divergence, and Ichimoku Kinko Hyo. Buy signals are genera
MT4Trading robotIndicator crossoverMulti-strategyTrend following
This MetaTrader 4 expert advisor implements a pairs trading or statistical arbitrage strategy primarily designed for energy commodities like USOIL and UKOIL. It monitors the price differential between two correlated assets over a specific lookback period to identify mean-reversion opportunities. The robot executes simu
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 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
Arra is an automated trend-following expert advisor for MetaTrader 4 that utilizes a moving average crossover strategy paired with a volatility filter. It triggers trades when a short-term simple moving average crosses a long-term SMA, but only if the current Average True Range indicates higher volatility than a previo
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
HGSS Candle Bob is an automated trading system for MetaTrader 4 that identifies trade setups using candle sequences and external library signals. It evaluates market conditions via the HGI library to detect trends and ranges, allowing for both trend-following and pullback strategies. Risk management includes fixed lot
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 expert advisor for MetaTrader 4 utilizes a bridge to the R programming environment to implement machine learning for currency trading. It leverages pre-trained XGBoost models to identify trade opportunities based on technical features such as Average True Range, Bears Power, and Bulls Power indicators. The robot m
MT4Trading robotAI / machine learningScalpingTrend following
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
Falcon F is an automated trading system for MetaTrader 4 that utilizes supervised deep learning and an external Decision Support Centre powered by R to identify market inefficiencies. It analyzes indicator patterns across M1, M15, and H1 timeframes to predict price changes and trade direction up to 100 hours ahead. The
MT4Trading robotAI / machine learningTrend following
MartGreg GP1 is a MetaTrader 5 expert advisor designed for automated trading with a focus on specific instruments like Brent Crude. It executes trades using a fixed lot size and manages each position with predefined stop loss and take profit levels. The system includes a risk management component that tracks the accoun
Simple Sys is a MetaTrader 4 expert advisor that executes automated trades based on a specific daily start hour and moving average alignment. At the designated hour, the robot evaluates the relationship between current price action and a long-term moving average to identify trend direction. It features fixed lot sizing
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
News Catcher EA is an automated trading robot for MetaTrader 4 designed to trade market volatility typically associated with news events. It functions by placing pending buy and sell orders at a specific distance from the current price at a pre-defined start time. The EA manages trades using a configurable trailing sto
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
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
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
This MetaTrader 4 expert advisor executes a scalping strategy focused on the 5-minute timeframe. It monitors price action relative to the Envelopes indicator, initiating trades when price crosses back inside the indicator boundaries after a deviation. The robot includes risk management controls through fixed take profi
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
MAEA is a multi-symbol expert advisor for MetaTrader 4 that automates entries based on moving average analysis. The robot scans available symbols and monitors price action on the M15 timeframe. It incorporates automated trade management features including a break-even function and dynamic lot sizing based on a fixed ri
MT4Trading robotIndicator crossoverTrend following
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
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
Uchin is a MetaTrader 4 expert advisor that executes trades based on the price action of the previous daily candle. It enters a buy position if the prior day closed higher than it opened and a sell position if it closed lower. The robot includes time-based filters for specific entry and exit hours and allows users to t
Double MA ADX is a MetaTrader 4 expert advisor that automates trading based on the relationship between two Linear Weighted Moving Averages and the Average Directional Index. The strategy uses ADX values to filter for trend strength before entering positions during a specific intraday time window. It utilizes a trailin
MT4Trading robotIndicator crossoverTrend following
Krisha Scalper is an automated trading robot for the MetaTrader 4 platform that identifies potential entry points using ATR and EMA indicators. The expert advisor implements several risk management layers, including percentage-based lot sizing, a maximum loss limit in points, and a trailing step feature. It supports pa
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
This MetaTrader 5 expert advisor implements a technical trading strategy using Bollinger Bands and the Double Exponential Moving Average (DEMA). It performs multi-timeframe analysis, referencing the 30-minute chart for volatility envelopes and the daily chart for trend filtering. The robot executes trades using fixed 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.