This MetaTrader 5 framework implements the MQTT 5.0 protocol natively within MQL5 without external DLL dependencies. It serves as a bridge between the trading platform and MQTT brokers, allowing for remote monitoring and data integration. The provided Status Monitor Expert Advisor tracks account metrics such as balance
This MetaTrader 5 expert advisor provides a foundational template for developing automated trading robots using standard MQL5 classes. It features a basic crossover strategy where trades are triggered when the price crosses a Moving Average on the close of a candle. The system includes a tick freshness check to prevent
Hosopi operates as an automated trading robot for the MetaTrader 4 and MetaTrader 5 platforms. It utilizes a modular architecture to handle trade execution and account protection, incorporating indicator-based entry logic and volatility filtering. The software includes a Funds Guard to prevent orders during insufficien
SoftArsenal is a collection of MetaTrader 4 expert advisors and development tools. The repository features a custom expert advisor named Aberration, which utilizes Bollinger Bands to identify market breakouts. It places pending buy and sell stop orders at the outer bands and dynamically adjusts stop loss levels to the
Mask Protected Trading Panel is a manual execution utility for MetaTrader 5 designed to enforce discipline and strict risk management. It acts as a protective layer, blocking manual orders that violate pre-set rules such as maximum daily trades, drawdown limits, or minimum reward-to-risk ratios. The tool includes a man
Trading AI System is a data collection utility for MetaTrader 5 designed to generate high-quality datasets for machine learning. Rather than executing its own trades, the expert advisor acts as a flight recorder, capturing raw market snapshots, bid/ask spreads, and detailed trade events. It automatically saves synchron
This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas
Zed MQL5 provides comprehensive MetaTrader 5 development tools for the Zed editor. It delivers advanced coding features including syntax highlighting for over 400 built-in functions, context-aware autocompletion, and a native language server. The repository includes a sample expert advisor that implements a classic dua
This collection for MetaTrader 5 provides a series of tools focused on Exponential Moving Average crossovers and trend identification. The primary scripts monitor the relationship between fast and slow EMAs to generate visual signals, marking the chart with vertical lines and arrows when a crossover or retest occurs. I
This MetaTrader 5 expert advisor serves as both a manual trading dashboard and an automated execution tool. Users can perform one-click operations, manage batch stop loss and take profit levels, and adjust orders visually via chart dragging. The automated component utilizes external arrow indicators, such as HalfTrend,
This utility for MetaTrader 4 and 5 provides an on-chart interface for manual trade execution and position management. It automatically applies stop losses to new orders and features a trailing stop mechanism to manage open trades. Notable management tools include one-click break-even and the ability to close a specifi
Secure Risk Manager is a MetaTrader 5 utility designed to provide a framework for account protection and trade sizing. This expert advisor does not execute independent trade entries; rather, it functions as a risk control tool that calculates lot sizes based on a user-defined risk percentage and risk-to-reward ratios.
Pi EA Auxiliary Panel is a management tool for MetaTrader 4 and 5 designed to enhance manual order execution and automated trade handling. It features an interactive on-chart interface that allows users to split large orders into smaller positions, apply automated break-even levels, and execute trailing stops for indiv
CBMQL is a development framework and build tool for MetaTrader 5 designed to modularize Expert Advisor code. Inspired by modern web development bundlers, it allows developers to break complex trading systems into reusable modules and bundle them into a single portable file. The system includes a Node.js-based environme
This MetaTrader 5 expert advisor implements Smart Money Concepts (SMC) by identifying liquidity sweeps and premium or discount zones. It detects buy-side and sell-side liquidity levels, looking for price sweeps followed by retest entries. The robot manages trades using a fixed risk-to-reward ratio, trailing stops, and
MQL Realtime Dashboard is a monitoring utility for MetaTrader 4 and 5 that exports account information to a web-based dashboard in real time. It collects account metrics including balance, leverage, equity, and historical trade data such as win rates and drawdown statistics. The expert advisor establishes a TCP connect
Advanced Grid Trading is a MetaTrader 5 expert advisor that manages a complex grid strategy across four configurable layers. It places stop and limit orders at fixed intervals, employing either fixed or geometric lot scaling for increased grid depth. Trade management includes a shared profit pool used to close losing p
This MetaTrader 5 expert advisor serves as a communication bridge using the ZeroMQ library to connect the terminal with external command-line interfaces. It facilitates the bidirectional exchange of tick data, candle rates, and indicator values between MetaTrader and external applications. The tool is designed to recei
This collection of MetaTrader 5 expert advisors provides several technical strategies for automated trading. The primary implementation uses a triple exponential moving average crossover for signals, supported by an Average True Range volatility filter. Risk control is managed via equity percentage or fixed lot sizing,
The MT5 Cpp API Bridge is a technical integration tool for MetaTrader 5 that facilitates communication with external C++ applications using Windows Shared Memory. It acts as a middleware, providing a command-based interface for opening and closing trades, managing positions, and retrieving real-time account data. The s
This Expert Advisor for MetaTrader 5 is a conversion of the EMA Slope and EMA Cross strategy originally developed for TradingView. It employs three Exponential Moving Averages with default lengths of 2, 4, and 20 to generate signals based on trend slope and price crossovers. The system supports a reversal-based trading
MT5Trading robotIndicator crossoverTrend following
The repository provides a collection of MetaTrader 5 expert advisors and analytical tools. The main featured tool is a 3D correlation matrix that visualizes the statistical relationships between multiple currency pairs over a customizable date range using DirectX and Canvas graphics. In addition to this analytical tool
This MetaTrader 5 expert advisor acts as a modular architectural blueprint for developing complex algorithmic trading systems. It demonstrates a structured framework for separating user interface components, input configurations, and core execution logic into maintainable layers. While the repository provides placehold
OverNight Close EA is a trade management utility for MetaTrader 4 and 5 designed to automatically close open positions and delete pending orders at specified times. It allows users to set unique closing windows for each day of the week, making it useful for prop firm traders who need to avoid weekend carryover. The EA
Oslib is an extensive repository of Expert Advisors and indicators for MetaTrader 5, encompassing various quantitative trading approaches. The collection includes statistical arbitrage robots that trade spreads between two correlated symbols, machine learning experts utilizing Support Vector Machines (SVM), and high-fr
This repository serves as an extensive educational resource for MetaTrader 5, containing a wide variety of Expert Advisors and indicators based on a series of MQL5 development articles. It includes robots utilizing technical indicators such as RSI, MACD, Ichimoku, and Bollinger Bands. The collection features tools for
This MetaTrader 5 expert advisor implements a sell-only grid strategy specifically designed for Gold (XAUUSD). It operates within a user-defined price range, placing short orders at fixed price intervals to capitalize on price oscillations and mean reversion. The system manages trades using a fixed take profit for each
This MetaTrader 5 expert advisor acts as a communication bridge between the trading platform and external software via a TCP server. It enables external applications, such as Python scripts, to execute trades, modify positions, and close orders remotely. The system provides real-time market data and account information
Punlie Raging is a grid-based trading robot for MetaTrader 5 that executes orders at fixed point intervals. It includes a trend filter to limit trading to specific market directions, such as only trading in uptrends verified on daily timeframes. For trade management, the advisor features an adjustable trailing stop and
This utility for MetaTrader 5 exports historical and real-time price data from the active chart symbol to CSV files. It records open, high, low, close, and volume information, saving these files directly to the platform's local file directory. The tool allows users to select multiple timeframes for export simultaneousl
This library provides a comprehensive framework for developing graphical user interfaces within MetaTrader 5 and MetaTrader 4 applications. It simplifies the creation of custom trading panels, dashboards, and interactive elements through pre-built components and quick-creation methods. The library features improved eve
This MetaTrader 5 utility calculates lot sizes based on account balance, risk percentage, and stop-loss distance. It features a graphical interface with draggable lines for entry, stop-loss, and take-profit levels to assist with precise trade planning. The expert advisor includes a portfolio risk overview, commission a
The AI Quantum Learning Advanced Trailing Stop EA is an automated trading robot for MetaTrader 5 that employs neural network structures and quantum probability calculations. It monitors market patterns by analyzing price changes, volume, volatility, and indicators like RSI. The EA manages risk using fixed stop loss and
Telegram To MT5 Copier is a utility for MetaTrader 5 that bridges communication between Telegram and the trading terminal. It retrieves messages from Telegram channels, groups, and private chats using a custom bot and displays the content directly on the active chart as comments. The tool provides real-time updates bas
LSF X Engine is a MetaTrader 5 expert advisor designed for momentum-based trading through mathematical price smoothing. It utilizes a Kalman filter to reduce market noise and calculates the Least Squares Fitting slope to identify the prevailing trend direction. The strategy triggers entries during high-velocity price b
Boleta MT5 is a manual trade execution tool for MetaTrader 5 that facilitates order routing via keyboard hotkeys. It allows users to open buy and sell market orders, cancel pending orders, and perform partial or full position closures using customizable shortcut keys. The utility includes basic risk management settings
LinearFX Trader is an automated expert advisor for MetaTrader 5 that utilizes mathematical linear regression to identify trading opportunities. The robot analyzes historical price data over a configurable lookback period to determine market direction. It includes essential risk management features such as fixed lot siz
This MetaTrader 4 expert advisor implements a cumulative profit strategy based on support and resistance levels. The system identifies potential trade entries by analyzing historical price extremes over a defined lookback period while excluding recent price action. It manages trade exits collectively, closing the entir
This repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through
MAStoch is a MetaTrader 5 expert advisor that executes trades based on moving average crossovers, with an optional Stochastic oscillator filter for overbought and oversold conditions. It features a dual-stage exit strategy allowing for partial closes at different Fibonacci levels or fixed currency targets. Risk control
MT5Trading robotIndicator crossoverTrend following
This MetaTrader 4 expert advisor is an automated trading robot developed using the fxDreema visual building framework. It utilizes an adaptive Relative Strength Index for market analysis and trade execution. The system features risk management controls based on account percentages, including inputs for balance-based si
This expert advisor functions as a bridge connecting MetaTrader 4 to Python through a MySQL database and a custom C++ DLL. It facilitates the real-time extraction of market data, including tick prices, account equity, and order information, which are stored in database tables for advanced analysis. The tool also suppor
This MetaTrader 5 expert advisor implements a trend-following strategy based on Bollinger Bands. It initiates long positions when price breaks above the upper band during periods of high volatility, attempting to ride extended uptrends. The strategy closes or reverses positions when price breaks below the lower band. A
The Position Sizer is a trade management tool for MetaTrader 4 and 5 that calculates the appropriate lot size based on account balance and risk tolerance. It allows traders to define risk as a percentage or fixed monetary amount, adjusting the position size dynamically as stop-loss and take-profit lines are moved on th
This MetaTrader 5 expert advisor executes trades based on a combination of Relative Strength Index (RSI) and Weighted Moving Averages (WMA) across two timeframes. It compares indicator values against defined buy and sell thresholds on a primary timeframe, with an optional trend filter from a higher timeframe. Risk mana
This Expert Advisor for MetaTrader 5 automates a strategy based on Fibonacci retracements following a Break of Structure or Change of Character. It identifies market structure shifts and places two separate pending orders: a trend-following stop order and a reversal limit order targeting liquidity runs. The EA calculat
AR Position Management BW is a trade manager for MetaTrader 5 that automates protective stop loss adjustments for existing positions. The expert advisor monitors open trades and applies trailing stops based on either Bill Williams Fractals or Moving Average calculations across selectable timeframes. It features a confi
This MetaTrader 4 expert advisor functions as a trade copying utility designed to synchronize orders between different accounts. It utilizes a master-slave architecture where the master instance exports trade data to a common CSV file and the slave instance replicates those positions. The tool provides options for lot
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.