Neural Network Tester Improved is a MetaTrader 5 expert advisor designed as a framework for integrating machine learning models into automated trading. The repository includes a main tester file that references an external neural network library. Currently, the source code provides a basic structure for initialization
Aurum79 is a connectivity bridge that links MetaTrader 5 to external JavaScript environments via a local socket server. The expert advisor transmits live price ticks and historical candle data to a Node.js client, which can then process the information using external libraries such as TensorFlow.js. It receives and exe
This educational expert advisor for MetaTrader 4 and 5 demonstrates a logic for scaling into winning positions. It utilizes a simple moving average crossover strategy for initial trade entries. The primary feature is a function that detects when a current position has reached a specific profit target to trigger additio
This MetaTrader 5 tool records real-time tick data directly into an external MySQL database. It utilizes the libmysql library to establish a direct connection, requiring DLL execution to be enabled within the terminal. The expert can monitor a specific list of symbols provided in the settings or automatically collect d
This MetaTrader 4 expert advisor executes trades repeatedly at a user-defined price level. The robot monitors price action and opens a buy or sell position when the market reaches the specified entry price. Once a trade is closed via the designated take profit target, the EA resets and prepares to re-enter the market a
This repository contains a collection of MetaTrader 4 expert advisors focusing on technical analysis and pattern recognition. The included tools range from robots utilizing Volume Spread Analysis (VSA) and fractal-based trend detection to indicators like NeuroMACD and ACD patterns. The primary EA uses ZigZag and fracta
This AI-driven trading assistant integrates Large Language Models like OpenAI and DeepSeek into the MetaTrader 5 platform. It functions as an interactive chat-based assistant and robot, capable of opening, closing, and modifying positions based on natural language prompts. The system can fetch real-time market data, ca
This repository is a comprehensive collection of over 500 MetaTrader 4 expert advisors, including various third-party robots and specialized trading tools. The library contains a wide range of strategies such as trend following, scalping, and grid trading. Individual files like the Ultimate Trader EA utilize historical
JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to protect accounts from violating equity and drawdown rules. It monitors daily loss limits and maximum drawdown, allowing users to configure thresholds in either currency or percentage. The tool features time-based filters to restrict ov
This collection of MetaTrader 5 expert advisors serves as an educational resource for MQL5 programming. It contains multiple example robots utilizing technical indicators such as Moving Averages, Parabolic SAR, CCI, and Stochastic oscillators. The provided scripts demonstrate fundamental trading automation features inc
This MetaTrader 5 expert advisor integrates machine learning into forex trading by establishing a socket connection between the terminal and a local server. The system consists of a data scraper to collect market history and a trading agent that executes orders based on external model predictions. It handles entries us
One-Click Trade Pro is a position management and execution panel for MetaTrader 4. It provides a robust graphical interface to open market and pending orders with one click. Users can execute trades via standard buttons, chart-based lines, or opposite order distance settings. The tool calculates optimal lot sizes based
This MetaTrader 4 expert advisor serves as a bridge to automate trade execution based on messages from Telegram signal channels. It parses incoming text for specific commands such as market orders, pending orders, and order modifications. The tool handles trade management tasks including breakeven adjustments, stop los
This repository contains two MetaTrader 4 expert advisors that automate trading based on Bollinger Bands and the Relative Strength Index. One version uses only Bollinger Bands, while the second combines them with RSI to filter entries. The logic enters positions when price crosses specific outer bands and exits based o
This collection for MetaTrader 4 offers a variety of specialized utilities and signal indicators to streamline trading workflows. It features a Renko generator for creating custom offline price charts with fixed or ATR-based box sizes. Additional components include an Ichimoku-based signal generator, a tool for identif
This MetaTrader 5 collection features several versions of the classic Moving Average expert advisor, modified specifically for trading on custom symbols. It includes helper functions to ensure data readiness for synthetic instruments or imported data series. The included strategies execute trades based on moving averag
Aninditha EA is a modular framework for MetaTrader 5 focused on automated forex trading, market analysis, and trade management. Developed for the North Sulawesi community, the codebase organizes its functionality through external include files for analysis, execution, and management logic. The provided repository is in
Event Trader is a news-trading utility for MetaTrader 4 designed to automate straddle entries around scheduled economic releases. The EA places buy-stop and sell-stop orders at a user-defined GMT time and distance from the current market price. It incorporates one-cancels-the-other logic to delete the opposing pending
This MetaTrader 4 utility provides a framework for developers to implement event-driven trade monitoring. It replicates the native MQL5 OnTrade function within the MQL4 environment, which lacks a built-in event for position changes. By monitoring the order pool during each price tick, the code detects when trades are o
This MetaTrader 4 module facilitates communication between the trading platform and Slack channels. It operates as an integration tool, allowing users to programmatically send text notifications and updates directly from their Expert Advisors to a specified Slack workspace. The utility requires a Slack API key and supp
This expert advisor establishes a communication bridge between MetaTrader 4 and external applications using the ZeroMQ messaging protocol. It functions as a technical connector that enables data exchange and command execution via PUB and SUB socket patterns. The bridge supports TCP transport and requires the installati
MT5 Quant Lib is an MQL5 development framework and an included trend-following Expert Advisor for MetaTrader 5. It provides a modular infrastructure for trade execution, multi-symbol management, and risk control. The included strategy enters trades based on RSI triggers and CCI trend confirmation, utilizing trendline a
This Expert Advisor for MetaTrader 4 utilizes automated trading logic reportedly assisted by AI models like GPT-4o and ATNet. It executes trades based on market analysis and includes built-in risk controls such as dynamic lot sizing, trailing stops, and a time filter to restrict activity to specific hours. The system a
Amin Multi Strategy Bot is an automated trading system for MetaTrader 5 designed for the forex market. It uses a multi-timeframe approach that integrates technical analysis, candlestick pattern recognition, and price level detection. The expert advisor is constructed with modular components, including a signal manager,
This MetaTrader 5 expert advisor implements an automated trend-following system based on the combination of Average True Range and Moving Average indicators. Built using the modular EA31337 framework, it identifies market direction and volatility to determine trade entries. The robot supports concurrent analysis across
This news management utility for MetaTrader 5 protects accounts during high-impact economic events by monitoring the ForexFactory calendar. It automatically disables algorithmic trading and manages open positions according to pre-defined schedules before and after news releases. The tool can close active trades, delete
This expert advisor for MetaTrader 5 combines moving average crossovers with Relative Strength Index (RSI) levels to identify entry points. It initiates buy orders when the RSI indicates oversold conditions and a fast exponential moving average crosses above a slow exponential moving average. Conversely, it opens sell
This MetaTrader 5 expert advisor provides a framework for testing and executing indicator-based strategies, specifically those aligned with the No Nonsense Forex methodology. It allows users to define a baseline and a secondary confirmation indicator through external inputs. Trade management includes automated ATR-base
This MetaTrader 4 expert advisor provides a robust framework for developing automated trading strategies. It includes pre-built modules for trend detection using ADX and Moving Averages, alongside pullback entry logic. The template emphasizes risk management, featuring percentage-based lot sizing and adaptive volatilit
This repository provides a collection of educational resources and templates for developing MQL4 applications on MetaTrader 4. It includes a mean-reversion expert advisor based on Bollinger Bands, which enters trades when price breaches specific deviation levels. The strategy incorporates automated risk management by c
This MetaTrader 5 repository contains a collection of expert advisors based on moving average crossover logic. The primary systems utilize fast and slow moving average indicators to identify trend shifts and execute automated trades. Risk management is handled through user-defined stop loss and take profit levels, alon
This MetaTrader 5 repository provides a collection of scripts for external data communication and automated trading. It features a ZeroMQ-based bridge that utilizes TCP sockets to connect the trading platform with external environments. The system allows users to stream real-time tick data, OHLC bar rates, and custom k
This MetaTrader 5 expert advisor functions as a communication bridge between the trading platform and external applications. Developed to interface with the Backtrader Python framework, it utilizes ZeroMQ sockets and JSON-formatted messaging to facilitate cross-language trading. The tool enables remote command executio
This MetaTrader 4 utility acts as a diagnostic tool for developers attempting to integrate external indicators into automated strategies. It systematically monitors the output buffers of a specified custom indicator by iterating through various modes and shift values. The code detects changes in data and identifies spe
This MetaTrader 4 expert advisor acts as a communication bridge between the trading platform and an external web-based control panel. It operates as an agent that polls a remote Node.js server at regular intervals using HTTP requests to fetch commands or status updates in JSON format. The EA is intended as a framework
Desiree is an automated trading robot for MetaTrader 4 that utilizes Donchian Channel breakouts for trade execution. The system enters positions based on a specific lookback period and exits using a separate exit period. A notable logic constraint prevents the EA from entering a new trade if the preceding trade resulte
This MetaTrader 4 expert advisor implements a flexible strategy based on the directional consensus of multiple technical indicators. It allows users to combine Moving Averages, Stochastic Oscillators, THV3 T3, Babon Slope, and AMA Optimized modules. A trade is initiated only when all selected indicators align in the sa
This MetaTrader 4 expert advisor serves as a trade management tool that automates the trailing stop-loss process for existing positions. It does not open any new trades itself; rather, it monitors current market orders placed manually or by other robots. The utility uses a reverse loop to scan active orders, filtering
This repository is a large collection of over 2,400 MetaTrader 4 and 5 files, including expert advisors, utilities, and indicators. It includes a trade copier client that synchronizes positions via socket libraries. The systems manage trades through sophisticated risk controls like equity-based trailing stops, cycle-pe
MarketSync EA is an experimental MetaTrader 5 expert advisor designed to bridge algorithmic trading with external artificial intelligence. It functions by streaming real-time market and account data from the MT5 terminal to a local Node.js backend via HTTP requests. The external server processes this information using
Forex News Killer is a risk management utility for MetaTrader 4 designed to protect accounts from volatility during high-impact economic news. The tool monitors real-time calendars and automatically intervenes based on user-defined time buffers before and after events. It can close open positions, remove pending orders
This MetaTrader 5 expert advisor streams real-time price updates for selected symbols to an external server via WebSockets. It monitors a predefined list of assets from the Market Watch window and broadcasts ticker data using JSON serialization. The tool implements high-frequency monitoring through a millisecond timer
This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define
This MetaTrader 5 expert advisor uses complex mathematical modeling to predict future price movements through a combination of sinusoidal analysis, Fast Fourier Transform, and Monte Carlo simulations. It evaluates cyclical trends, fractal structures, and non-linear volatility via sigmoidal functions to generate buy and
DMRI Master Extractor is a data harvesting tool for MetaTrader 4 designed to facilitate machine learning model training. It functions as a feature extractor, exporting prices and technical indicator values into CSV format for external analysis. The system supports 33 standard indicators, including RSI, MACD, and Bollin
This MetaTrader 5 expert advisor implements a trend-following strategy based on the SuperTrend indicator. Built using the EA31337 framework, it supports multi-timeframe analysis through a configurable bitmask parameter. The EA enters trades based on indicator signal reversals and manages operations across various chart
This MetaTrader 5 expert advisor provides a versatile framework for trading based on Heiken Ashi price action. It allows users to toggle between numerous built-in strategies, including trend following, moving average crossovers, Fibonacci levels, and various oscillators like RSI and MACD. The system includes an option
This grid trading robot for MetaTrader 5 automates the placement of multiple limit orders within a user-defined price range. It populates the market with a configurable number of buy and sell limit orders between specified high and low boundaries. The expert advisor includes risk management features such as individual
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.