EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
This risk management tool for MetaTrader 4 and 5 calculates optimal lot sizes based on user-defined risk parameters, account balance, and currency. It provides a graphical user interface for setting entry, stop loss, and take profit levels visually on the chart. The expert advisor accounts for commissions, swaps, and m
This development framework provides a comprehensive MQL library for building Expert Advisors, indicators, and scripts across MetaTrader 4 and 5 platforms. It facilitates cross-platform compatibility by offering a unified API that allows developers to port MQL4 code to MQL5 with minimal modifications. The library includ
This MetaTrader 5 library and expert advisor automates Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies. It identifies market structure shifts, breaks of structure, order blocks, and liquidity zones. The system features a confluence-based entry mechanism that evaluates signals against kill zones,
This MetaTrader 5 expert advisor serves as an AI-friendly bridge, connecting external platforms to the terminal via REST API and TCP sockets. It specializes in intelligent order splitting, where a single trade signal is divided into up to ten individual positions with staggered take-profit levels and custom volume dist
This MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic
Metatrader WebSocket Tickers is a data bridge for MetaTrader 5 that streams real-time ticker updates to external servers. It allows developers to export live market data for use in third-party applications or custom analysis tools via the WebSocket protocol. The utility monitors a specific list of symbols and employs a
TradeSync Transmitter is a MetaTrader 5 expert advisor designed to broadcast trading activity from a host terminal to external receivers. It functions as the transmitter component of a trade copying system, sending real-time trade requests and periodic position summaries to a remote server or local CSV files. The utili
This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to
MT5 Agent Toolkit is a developer framework and collection of expert advisors designed to automate the creation and testing of MQL5 strategies using AI agents. It provides headless PowerShell scripts to bypass common MetaTrader 5 command-line failures during compilation and backtesting. The included example robots, such
This MetaTrader expert advisor implements a classic moving average crossover strategy for both MT4 and MT5. It enters trades when a fast moving average crosses a slow moving average, requiring a user-defined minimum point difference to confirm the signal. The robot includes risk management features such as stop loss, t
This tool provides an interface between MetaTrader 4 or 5 and an external AI-powered analysis server. It allows users to request market evaluations from over thirty-four different AI models through a custom Node.js API bridge. The provided example expert advisor visualizes analysis results—including market trend, trade
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
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 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 provides a collection of four Expert Advisors for MetaTrader 5, developed using the MQL5 standard library framework. These robots focus on trend-following and momentum strategies using indicators like Moving Averages, MACD, and the MESA Adaptive Moving Average. Notable features include a Parabolic SAR t
HCPropsController is a comprehensive management utility for MetaTrader 5 designed to safeguard prop firm accounts and facilitate local trade replication. It functions in Master, Slave, or standalone Risk Manager modes. The EA enforces various risk controls, such as daily profit and loss limits, maximum trade counts, an
This MetaTrader 5 expert advisor provides a comprehensive framework for training and deploying deep learning models natively within the MQL5 environment. It bypasses external dependencies by implementing Multilayer Perceptron, Recurrent Neural Network, and Long Short-Term Memory architectures directly in the platform.
Forex News Killer is a protective utility for MetaTrader 4 designed to manage market exposure during high-impact economic events. It monitors external news calendars and automatically intervenes by closing open positions, deleting pending orders, or disabling the platform's global algorithmic trading button. The EA off
King Panel is a comprehensive account dashboard and trading utility for MetaTrader 5, featuring a high-density interface built with pure CCanvas rendering. It offers deep analytics across eight tabs, including equity curves, drawdown reports, and MFE/MAE scatter plots. For trade management, it provides an order ticket
This MetaTrader 5 expert advisor functions as a bridge to execute trades originating from TradingView alerts or a custom embedded dashboard. It utilizes a local Python Flask server and file-based Inter-Process Communication to relay commands. The system supports manual execution through a floating toolbar and automated
This MetaTrader 5 expert advisor serves as a modular framework for testing and optimizing indicator-based trading strategies. It currently implements a trend-following system based on Supertrend signals, which utilize volatility-driven calculations for entries. The robot executes logic exclusively at the opening of eac
This news filter module for MetaTrader 5 provides a framework for Expert Advisors to avoid trading during high-impact economic events. It features a dual-layer system: a decision layer that blocks new entries and an action layer that can flatten current positions or cancel pending orders. The tool supports live termina
Mql5 Pro is a comprehensive development framework and template collection for MetaTrader 5, specifically optimized for AI-assisted coding and Pine Script conversion. It provides standardized structures for creating Expert Advisors, custom indicators, and graphical user interfaces. The system includes built-in risk mana
This MetaTrader 5 analytical tool uses Markov Chain theory to examine the relationship between consecutive price movements. It processes historical data to calculate transition probabilities for up and down candles based on the preceding price action. The repository contains separate experts for analyzing one, two, or
This expert advisor for MetaTrader 4 and 5 executes trades based on crossovers of the 3rd Generation Moving Average indicator. It utilizes two instances of the custom indicator with adjustable periods and sampling settings to identify trend shifts. The robot enters positions when the difference between the fast and slo
This collection for MetaTrader 5 provides dozens of expert advisors based on the combination of Japanese candlestick patterns and technical indicators. The robots detect patterns such as Engulfing, Harami, and Morning Stars, using Stochastic, RSI, MFI, or CCI for signal confirmation. Trades are managed with fixed stop
This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
This MetaTrader 5 utility serves as an automated trade manager focused on risk reduction. It monitors active positions and moves the Stop Loss to the entry price once a specific profit target, defined in pips, is reached. The tool allows for an optional offset to account for spreads or transaction costs. It does not in
This collection of utilities for MetaTrader 5 focuses on protecting open positions during periods of high volatility or spread widening. The SpreadHourDodger tool manages stop loss orders during market rollover by either removing them entirely or widening them based on historical spread data stored in a CSV file. The N
This MetaTrader 5 expert advisor functions as a bridge between the trading terminal and external AI assistants using the Model Context Protocol (MCP). It facilitates platform control through natural language via an external C++ socket server. The software enables remote trade execution, market data retrieval, chart obj
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
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
This trade management expert advisor for MetaTrader 5 provides a comprehensive execution panel featuring a TradingView-inspired position tool. It allows users to visually define risk through draggable on-chart stop loss and take profit zones, automatically calculating lot sizes based on a percentage of account risk. Th
This repository contains a set of automated trading robots for the MetaTrader 5 platform, focusing on indicator-driven entry logic. The primary expert advisor utilizes Relative Strength Index levels to identify potential reversals, filtered by a Moving Average to ensure trades align with the prevailing trend. Risk mana
AI Game Theory Trader is a MetaTrader 5 expert advisor that employs Nash-style statistical signals for automated trade execution. It utilizes adaptive logic to calculate lot sizes based on user-defined risk percentages. The EA manages risk through stop losses, take profits, and trailing stops, which can be fixed or ATR
Otto EA is a MetaTrader 5 expert advisor ported from Pine Script, designed for institutional-style trading and price action analysis. It utilizes a proprietary Wick1+Wick2 support and resistance block methodology to identify market structure and potential entry points. The system includes a sophisticated trade manageme
This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la
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.