This MetaTrader 4 repository hosts a collection of expert advisors based on a standardized automated trading template. The source files are tailored for EURUSD on the M15 timeframe, offering a modular structure for integrating custom entry and exit signals. It includes comprehensive risk management settings, allowing u
This MetaTrader 4 expert advisor implements a trend-following strategy using a 50-period Exponential Moving Average on the one-minute timeframe. It places pending buy stop or sell stop orders at a configurable distance from the current price when specific spread conditions are met. The system manages risk using fixed s
Trends Followers is a MetaTrader 4 expert advisor that executes trades based on trend analysis, support and resistance levels, and news events. The robot manages entries using a trend-following approach and allows users to set a minimum trade duration to avoid premature exits. It includes risk management controls to li
This expert advisor for MetaTrader 4 functions as a communication bridge between the trading terminal and an external application via WebSockets. It utilizes the JAson library to handle JSON data and a specialized socket library to maintain a connection with a server. The tool reads local configuration files to manage
This expert advisor for MetaTrader 4 is a multi-strategy robot focused on the recovery zone management technique. It offers a wide array of entry signals, including RSI, MACD, Bollinger Bands, and mean-reversion models. When initial trades move into a loss, the system employs an averaging recovery strategy with lot mul
Quantatech Securities FX provides two distinct expert advisors for MetaTrader 4, focusing on trend-following and momentum strategies. The primary MACD robot identifies entries using signal line crossovers filtered by an exponential moving average. It manages risk through fixed lot sizing with account margin checks, a s
This repository contains a collection of MetaTrader 5 Expert Advisors and graphical tools. It includes several technical strategy robots based on Relative Strength Index crossovers, Bollinger Bands, and Moving Averages. Additionally, it features advanced 3D visualization utilities such as a correlation matrix and a mat
Signal Service Buddy is a signal provider utility for MetaTrader 4 that bridges trading activity to Telegram channels via a SQLite database. It acts as a monitoring tool rather than an execution robot, watching the account for new trades. Once a trade is detected, the EA logs entry prices, stop loss, and take profit le
This repository is a collection of several MetaTrader 4 expert advisors, including robots based on RSI and MACD crossovers, engulfing patterns, and pending order strategies. The primary code provided utilizes a combination of the Relative Strength Index (RSI) for overbought and oversold detection and Moving Average Con
Siren is a MetaTrader 4 expert advisor that automates trading based on technical indicators and multi-timeframe price levels. It utilizes the ZigZag indicator alongside multiple Exponential Moving Averages, including the 10, 20, 100, and 200 periods, to identify market trends. The EA monitors price action relative to p
This MetaTrader 5 expert advisor acts as a communication bridge between the terminal and external applications, specifically tailored for reinforcement learning and Python-based algorithmic trading. It exports real-time market data, bar history, and account information to local files while processing trade commands fro
Synergy Trade Copier is a trade duplication utility for MetaTrader 4 that mirrors orders from a source account to multiple receiver accounts on the same machine. It uses a file-based communication system to transfer trade data between export and import modules. Users can configure the tool to use fixed lot sizes or app
This MetaTrader 5 expert advisor is an educational prototype developed for a digital signal processing course at the University of Brasília. It utilizes a mean-reversion strategy based on the Volume Weighted Average Price (VWAP), entering trades when price deviates from the indicator by a specific distance. The robot s
This expert advisor serves as a bridge connecting MetaTrader 4 to external applications via the ZeroMQ messaging protocol. It enables remote control of the trading terminal, allowing external systems to execute, modify, and close market or pending orders. The EA facilitates real-time data streaming of account balances,
This MetaTrader 4 expert advisor functions as a manual trading panel for execution and strategy testing. It creates an on-chart graphical user interface with buttons for opening buy and sell positions and fields for defining lot sizes, stop losses, and take profits. The utility provides quick management options to clos
This MetaTrader 4 expert advisor implements a strategy combining trend-following moving averages with the Relative Strength Index for entry timing. The robot initiates buy orders when a fast moving average sits above a slow moving average, provided the RSI reflects an oversold state and price action confirms the moment
Boom EA Spike Notification is a MetaTrader 5 utility designed for monitoring Boom and Crash synthetic indices. It functions as a detection tool that identifies price spikes by analyzing historical candle data. The EA scans the last 2,000 bars to establish a threshold for standard price movement, distinguishing between
This MetaTrader 4 expert advisor executes trades based on moving average trends and price action triggers. It identifies entries by counting consecutive candles on specific sides of the MA20 and validates the broader trend using an additional MA period. The system incorporates pattern recognition to detect market types
Vela Martillo is a MetaTrader 4 expert advisor that identifies hammer and shooting star candlestick patterns through price action analysis. It evaluates the ratio of candle wicks to the total range using a configurable spike percentage threshold. The robot monitors new bar formations to detect potential reversals and f
XRL8 Bot is a MetaTrader 4 expert advisor designed for automated forex trading based on a simple moving average crossover system. The robot monitors price action to identify entries when a fast-period moving average crosses a slow-period moving average. It manages trades using fixed stop loss and take profit targets de
This MetaTrader 4 expert advisor implements a correlation-based trading strategy focused on the seven major currency groups. It utilizes the Auto Trend Forecaster custom indicator to identify market trends across multiple currency pairs simultaneously. The system monitors the aggregate profit and loss of specific curre
This MetaTrader 4 expert advisor acts as a technical bridge between the trading terminal and external web applications. It captures real-time market data, including bid and ask prices for the active symbol, and transmits this information to a user-defined server via HTTP POST requests in JSON format. The EA is designed
This MetaTrader 4 expert advisor utilizes an Exponential Moving Average alignment strategy for short-term trading. It identifies trend direction by comparing several EMA periods, including 5, 8, and 13, to execute market entries. The robot features built-in risk controls, including hard stop loss and take profit settin
This repository provides a collection of standard template expert advisors for both MetaTrader 4 and MetaTrader 5. It includes the classic MACD Sample and Moving Average robots, which demonstrate indicator-based trading logic. The MACD Sample enters positions based on MACD signal levels filtered by a moving average tre
MT4MT5CollectionIndicator crossoverTrend following
PyMQL5 is a bridge that connects Python 3 to MetaTrader 5 through a UDP socket communication layer. This expert advisor acts as a server within the MetaTrader 5 terminal, allowing external Python scripts to request market data, retrieve account information, and execute trading operations. It supports opening and closin
Icarus EA is a MetaTrader 4 robot that executes a grid trading strategy with lot size progression. It opens sequences of trades at fixed intervals and uses a multiplier to scale lot sizes, identifying it as a martingale-style system. Risk controls include an equity warning threshold, a maximum number of concurrent posi
This MetaTrader 4 expert advisor implements a latency arbitrage strategy by monitoring price discrepancies across multiple ECN brokers and liquidity pools. It tracks bid and ask prices for twenty-three currency pairs in a high-speed loop, identifying instances where prices diverge significantly across different platfor
This MetaTrader 4 expert advisor acts as a communication bridge using a socket-based architecture. It provides server and client examples to facilitate message exchange between the terminal and external applications. The tool supports basic command handling, such as retrieving current price quotes via telnet connection
This MetaTrader 5 expert advisor provides a foundation for automated trading using a multi-timeframe framework. It utilizes the Average True Range (ATR) indicator to determine dynamic stop loss levels and calculates take profit targets based on a predefined risk-to-reward ratio. The system includes built-in risk contro
This MetaTrader 4 expert advisor is a sample trading robot generated by StrategyQuant X. It utilizes the Williams Percent Range indicator for entry signals and incorporates Average True Range components for volatility measurement. The system employs fixed lot sizing and includes risk management features such as a hard
This MetaTrader 4 expert advisor is a trend-following robot developed as an academic project for an object-oriented programming course. The system combines Exponential Moving Averages and ZigZag indicators to determine trade entries and manage positions. It features basic risk controls including a user-defined maximum
This expert advisor for MetaTrader 5 automates trades based on the recognition of a specific three-bar candlestick formation. It looks for a small middle bar, termed a baby bar, flanked by larger outer bars to identify entry points. The system incorporates an Exponential Moving Average to filter trend direction and all
This MetaTrader 4 expert advisor implements a neural network approach to trade financial markets. It generates signals by processing Moving Average data through various activation functions, including Sigmoid, TanH, and ReLu. The EA provides standard risk management features such as fixed take profit, stop loss, and a
MT4Trading robotAI / machine learningTrend following
Aiden is a MetaTrader 5 expert advisor that utilizes a multi-indicator weighting system to determine market entries. It calculates trade signals by aggregating 'chances' from several technical indicators including ZigZag, Stochastic, Moving Average crossovers, Parabolic SAR, RSI, MACD, and Momentum. The EA manages risk
This MetaTrader 5 repository provides a collection of expert advisors and analytical tools focused on technical analysis and visualization. The primary utility is a 3D correlation matrix that calculates and displays the relationships between multiple currency pairs using DirectX rendering. The repository also includes
This MetaTrader 4 expert advisor is an automated trading robot specifically developed for the GBPNZD currency pair on the M15 timeframe. Generated using the EA Studio software, the strategy utilizes Bollinger Bands as its primary technical indicator to determine market entries and exits. The code includes built-in risk
This automated trading robot is designed specifically for the AUDJPY currency pair on the H1 timeframe for MetaTrader 4. Developed using the Expert Advisor Studio platform, the software utilizes a combination of directional and volume indicators to identify entry and exit points. It incorporates standard risk managemen
This MetaTrader 4 expert advisor implements a counter-trend strategy based on RSI trendline breakouts and price prediction indicators. It enters trades when the RSI breaks out of support or resistance lines and manages positions using a grid-based approach. The system layers limit and stop orders at fixed intervals, em
This repository is a collection of MetaTrader 4 expert advisors that focus on technical indicator signals. The primary EA combines four Moving Averages with Bollinger Bands to detect trend alignment and volatility conditions. It features dual-level stop loss and take profit settings, along with filters for Bollinger Ba
This MetaTrader 4 expert advisor implements an automated trading strategy based on the Bollinger Bands indicator. It monitors price positions relative to the upper, lower, and middle bands on the H1 timeframe. The EA uses a series of threshold parameters to determine entry and exit points, as well as the deletion of or
This MetaTrader 4 expert advisor implements a basic trend-following strategy using a Simple Moving Average. It triggers buy orders when the current price exceeds the 12-period SMA by a specific point threshold. The system manages risk through a fixed stop loss and a multi-stage trailing stop that adjusts based on favor
This repository contains a collection of Expert Advisors for MetaTrader 4, featuring the Combined Ergodic SSL Channel EA and a MACD-based strategy. The primary EA uses trend-following indicators for entries and provides various order management options, including trailing stops, break-even settings, and position accumu
MtApi Connection Bridge is a technical utility designed to link MetaTrader 4 and 5 terminals with external software environments. It acts as an API gateway using a dedicated DLL to pass commands and data between the platform and a remote application over a specified network port. The expert advisor handles various even
Fusion Plus RSI is an automated trading expert advisor developed for the MetaTrader 5 platform, specifically targeting the Crash 500 synthetic index. The robot employs a trend-based approach by analyzing the Relative Strength Index (RSI) across two separate timeframes, the one-minute and five-minute charts. It executes
Auto Zone Trader is a MetaTrader 4 expert advisor that automates trade execution based on manually identified price zones and technical candlestick patterns. Users specify potential reversal areas by placing horizontal lines labeled for buy or sell zones on the chart. The robot monitors these levels and triggers an ord
This MetaTrader 4 expert advisor is a trade management tool designed to automate the trailing stop process for existing positions. It monitors open buy and sell orders on the current chart, adjusting the stop loss level based on a user-defined gap. The utility uses a magic number filter to target specific trades or can
EMA H4 Crossover is an automated trading robot for MetaTrader 4 designed to execute trades based on moving average crossovers. The strategy utilizes two Exponential Moving Averages with configurable periods, specifically targeting the H4 timeframe for trend identification. It initiates long entries on golden crosses an
MT4Trading robotIndicator crossoverTrend following
Arbitrage Expert is a MetaTrader 4 expert advisor that focuses on a zone recovery hedging strategy rather than traditional arbitrage. Based on the OGT Zone Recovery system, it manages trades by opening counter-positions within a defined price zone when an initial trade goes into drawdown. The system employs a lot multi
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.