This MetaTrader 4 expert advisor is a trade management utility designed to automate break-even adjustments for open positions. It monitors active trades and moves the stop loss to a locked-in profit level once the market reaches a specified distance in pips. The tool supports managing up to three distinct trade targets
This expert advisor for MetaTrader 5 serves as a data bridge between the trading terminal and external web applications via the Django REST Framework. The tool automatically cycles through symbols in the Market Watch at defined intervals to collect and export data into JSON format for API consumption. It is primarily a
Matrix Martingale is a MetaTrader 4 expert advisor designed to trade price action based on previous candle ranges. It utilizes a fixed Martingale lot scaling sequence across ten levels to manage trades. Entries are determined by Fibonacci levels, specifically placing orders at 25% or 50% retracements of the previous ca
The X-15 Framework is a modular development template for creating MetaTrader 4 expert advisors. It serves as a foundation for programmers to build custom trading systems by providing pre-built modules for order management, signal processing, and trade filters. The included template features standard risk management con
This MetaTrader 4 expert advisor implements a grid-based averaging strategy known as Nampin. The robot monitors open buy and sell positions, calculating aggregate lot sizes and floating profits. It uses a fixed lot multiplier of 1.5 to scale positions when the market moves against the initial trade by a set span. The s
This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 class library framework. The featured implementation, Expert MAPSAR Size Optimized, utilizes Moving Average crossover signals for entries and a Parabolic SAR trailing stop for trade management. It incorporates a lot sizi
This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani
This expert advisor for MetaTrader 4 executes trades based on the Relative Strength Index indicator. It enters long positions when the RSI period 14 crosses below the 30 level and short positions when it rises above 70. The robot maintains a simple logic of managing a single trade at a time with a fixed volume of 0.10
This MetaTrader 5 expert advisor serves as a structural framework for algorithmic trading development. It utilizes a modular approach by importing strategy logic from external header files to handle trade execution. The core code provides basic input parameters for trade volume, magic numbers, and price deviation. Sinc
Xurya Algorithmic Trading is a collection of MetaTrader 4 expert advisors centered on breakout strategies and volatility analysis. The primary EA uses a breakout mechanism with entries filtered by price action across a defined number of bars. It features risk controls including fixed percentage lot sizing based on acco
This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R
Daily Momentum EA is a MetaTrader 4 robot that automates trading based on the Moving Average Convergence Divergence (MACD) indicator. It identifies entry points by analyzing the sequence of the MACD histogram over three periods to find momentum shifts. The EA specifically targets the daily timeframe and includes a vali
This MetaTrader 5 expert advisor implements a statistical arbitrage strategy based on asset cointegration. It focuses on mean-reversion by identifying and trading pairs of assets that diverge from their historical price relationships. The software is pre-configured with a broad list of Brazilian equities and supports b
Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr
This MetaTrader 5 tool extracts stock market data to build datasets for statistical analysis. It allows users to define the number of periods, the specific timeframe, and the price type used for extraction. The expert advisor functions as a data collector rather than a trading robot, as it lacks entry or exit logic in
This repository is a collection of MetaTrader 5 expert advisors featuring various technical trading strategies. It includes individual robots based on moving average crossovers, MACD, Bollinger Bands, and linear regression models. Each EA is equipped with risk control parameters such as fixed stop losses, take profit l
MT5CollectionIndicator crossoverMean reversionTrend following
This repository contains a collection of MetaTrader 5 expert advisors and utility tools, primarily featuring a Depth of Market interface named RafaDomII. The main tool serves as a manual execution panel, allowing traders to monitor volume-at-price data and execute market or limit orders directly from the chart. It incl
Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-
This MetaTrader 4 expert advisor executes a classic moving average crossover strategy. It monitors two Simple Moving Averages with customizable periods to identify trend shifts. When the fast average crosses above the slow average, the robot initiates a buy order; a crossover below triggers a sell order. The system res
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 5 expert advisor monitors price action using a combination of Exponential Moving Averages and the Stochastic oscillator. It identifies potential market entries based on crossover logic and momentum. The system is designed to send real-time trade alerts to a configured Telegram channel, providing details
Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas
MT4Trading robotIndicator crossoverTrend following
Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s
Inside Bar Momentum is a MetaTrader 4 expert advisor that identifies and trades candlestick breakout patterns. The robot scans for inside bar formations, where a candle is completely contained within the previous candle's price range. It uses a stochastic oscillator to filter momentum, requiring specific overbought or
TeGi is a manual trading panel and management utility for MetaTrader 4 that bridges local trade execution with Telegram groups or channels. It allows users to open buy or sell orders with predefined stop loss and take profit levels while automatically broadcasting trade signals and screenshots to a connected bot. The e
Cuckoos MT4 is a notification expert advisor for MetaTrader 4 that bridges account activity to Discord via webhooks. This utility monitors the trading account and sends automated updates whenever the total number of open orders changes or during initialization. The messages delivered to Discord contain detailed account
Position By Equity Risk is a MetaTrader 5 expert advisor designed as a programming snippet for automated trade management. The EA enters a single buy order on the first received tick, serving as a functional template for risk-based calculations. It manages positions using configurable stop loss and take profit multipli
This repository contains a collection of MetaTrader 4 programs, including expert advisors, indicators, and scripts. The provided files appear to be utility tools rather than automated trading robots, with names suggesting functions for account monitoring, folder management, and time-based tasks. The project provides mi
Robo Trade MQL5 is an automated trading robot for MetaTrader 5 that implements technical analysis setups based on moving average indicators. It specifically targets the 9.1 and 9.2 setups, utilizing 9-period and 21-period moving averages to identify entry points. The EA features fixed lot sizing and a mandatory daily e
MT5Trading robotIndicator crossoverTrend following
This MetaTrader 5 expert advisor implements a trading strategy based on the Volume Price Change oscillator. Developed as a module for the EA31337 framework, it supports simultaneous operation across multiple timeframes using a bitmask input. The EA focuses on the relationship between price movement and volume to identi
This MetaTrader 5 expert advisor executes trades based on the Commodity Channel Index (CCI) Arrows indicator. Developed as part of the EA31337 framework, the robot identifies market entries through CCI-derived signals. It supports multi-timeframe operations, allowing users to activate specific intervals from M1 to H4 a
This MetaTrader 4 expert advisor functions as a trade receiver or bridge for external web services. It uses the WebRequest function to poll a Heroku-hosted URL for trading data and instructions. The software parses incoming text strings to identify specific trade parameters and synchronize the local terminal with the r
This MetaTrader 5 expert advisor, developed as a university project, executes trades based on technical indicators including Average Directional Index (ADX) and Moving Averages. The system features risk management controls such as fixed stop loss and take profit levels, which are automatically scaled for five-digit pri
Discretion Algo is a collection of MetaTrader 4 experts designed for automated trading based on technical price action patterns. The repository provides distinct modules for identifying liquidity sweeps and engulfing candle formations. The system employs multi-timeframe analysis, by default analyzing price data across
This MetaTrader 5 expert advisor utilizes ZigZag indicators and Fibonacci retracements to identify and trade ABCD patterns. Operating primarily on the M1 and M5 timeframes, the robot calculates entry points based on specific price ranges and Fibonacci levels such as 23.6 and 38.2. The system employs an aggressive marti
TradeRobot is a manual trading panel for MetaTrader 4 that facilitates trade execution and order management. It allows users to open buy and sell positions directly from the chart using graphical buttons. The utility incorporates essential risk management features, including fixed lot sizing, stop loss, take profit, an
This repository is a collection of MQL5 utility scripts and snippets for the MetaTrader 5 platform. It includes tools for dumping account details, active positions, and trade history directly into the terminal log for debugging or monitoring. Other components demonstrate SQLite database integration, price alerts, and g
Ndow Forex is a MetaTrader 5 expert advisor that uses price action from a specific lookback period to determine trade boundaries. It scans a defined number of historical candles to identify the highest and lowest price points. Based on this range, which the developer calls the chasm, the EA calculates stop loss and tak
This MetaTrader 5 repository provides a collection of Expert Advisors based on the educational material from Andrew Young. It includes several distinct strategies such as RSI and Bollinger Band counter-trend systems, moving average crossovers, and breakout trading with pending orders. Each EA includes standard risk man
This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator. It identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, t
This expert advisor acts as a bridge between MetaTrader 5 and Python using the UDP protocol. It functions as a server that captures real-time symbol tick data, specifically ask prices and timestamps, and transmits them to an external Python client. The tool enables low-latency data streaming for external analysis or al
HiLo Pro is a MetaTrader 5 robot that identifies trades using a combination of the HiLo Activator and the Relative Strength Index. It executes long or short positions based on trend direction and momentum filters for overbought or oversold conditions. The EA includes intraday time management, allowing users to define s
This expert advisor acts as a trade receiver for the MetaTrader 4 platform, enabling the execution of orders sent from a remote master account. It establishes a connection via a socket library to a cloud hub or a specified local port to receive trade commands. The system parses incoming messages for parameters such as
Aych MTFX is a collection of MetaTrader 4 expert advisor templates designed for building custom trading robots. It utilizes a modular structure with various versions ranging from basic to full feature sets. The core logic manages trade entries and exits at bar opens, featuring integrated risk controls like break-even s
Aych Trading Tools is a collection of semi-automated utilities for MetaTrader 4 and 5 designed to assist with manual execution. Rather than operating as autonomous robots, these experts function as trade managers and execution assistants that require human intervention to initiate trades. The suite provides tools for a
Dollar Killer Martingale is an automated trading robot for MetaTrader 5 that utilizes Bollinger Bands to identify market entry points. The EA initiates trades based on price interaction with band boundaries and manages drawdowns through a lot-multiplication recovery system. It features a grid-based approach where addit
Scadama Legacy is a trading panel collection for MetaTrader 4 and MetaTrader 5 that provides a graphical user interface for manual order execution. The application renders interactive buttons directly on the chart, allowing traders to monitor bid and ask prices across different digit significances. It includes a modula
This MetaTrader 4 expert advisor executes trades based on the crossover of two moving average indicators. It initiates buy positions when the fast moving average crosses above the slow moving average, provided both indicators are trending upward, and opens sell positions on downward crossovers. The robot manages exits
This repository is a collection of MetaTrader 5 expert advisors and scripts designed for educational purposes. It contains several standalone trading tools, including simple Bollinger Band strategies, trailing stop managers, and limit order placement utilities. The primary example uses a grid-based approach, populating
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.