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 is a modular MetaTrader 5 expert advisor framework designed to accelerate the development of custom trading strategies. It provides a standardized base that includes position management, risk controls, and multi-symbol support. The template features configurable entry and exit logic, integrated stop loss and take
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,
Account Protector is a risk management expert advisor for MetaTrader 4 and 5 designed to monitor account health and prevent excessive drawdowns. It allows users to set specific triggers based on floating profit or loss, equity levels, free margin, spread, or daily performance. When these conditions are met, the EA auto
This Expert Advisor framework for MetaTrader 4 provides a modular template for building custom trading strategies. It handles complex trade management tasks, including multi-symbol execution, margin-based position capping, and various lot-sizing algorithms such as risk percentage or fixed volume. Risk controls include
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
This expert advisor provides automated schedule management for the MetaTrader 4 and MetaTrader 5 platforms. It allows users to define specific time windows for each day of the week to toggle the platform's global AutoTrading status. Beyond simple scheduling, the utility can close active positions and delete pending ord
This repository features a collection of MetaTrader 5 trading utilities and management tools. The central component is the ASQ Command Desk, a manual trading dashboard that offers one-click execution and hotkey support. It manages positions using a three-stage partial take-profit logic and provides various trailing sto
This MetaTrader 5 collection features two primary components: a manual risk management panel and an automated confluence robot. The TyAlgo advisor executes trades using the No Nonsense Forex method, aggregating signals from various technical indicators via global variables. Risk is managed through the TyphooN tool, whi
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
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 MetaTrader 5 expert advisor acts as a manual trading assistant and management tool rather than an automated strategy. It provides a graphical interface for executing market, limit, and stop orders with integrated risk management. The panel automatically calculates lot sizes based on account percentage or fixed mon
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 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
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
This MetaTrader 5 expert advisor serves as a modular framework for building high-performance trading systems with external connectivity. It utilizes a three-pillar architecture: a bridge interface for REST API communication with external backends, a multi-agent logic system for AI-driven signal generation, and a risk m
This repository provides a collection of trading scripts for MetaTrader 4, MetaTrader 5, and Pine Script, covering various technical strategies. It includes a Williams Alligator expert advisor that enters trades based on the alignment of three smoothed moving averages. The repository also contains code for grid and hed
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
Move Stop To Breakeven is a trade management expert advisor for MetaTrader 4 and 5 that automatically secures open positions by adjusting stop-loss levels. Once a trade reaches a user-defined profit distance in points, the EA moves the stop-loss to the entry price or a specified buffer level. It features options to acc
This MetaTrader 5 expert advisor executes automated long-only trades based on the Supertrend indicator. It calculates trend direction using Average True Range and a multiplier factor to identify entry points. The robot includes built-in risk management tools such as percentage-based stop loss and take profit orders, as
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
This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale
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 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
Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba
MT4Trading robotIndicator crossoverMean reversionTrend following
This MetaTrader 4 expert advisor and modular framework provides advanced trade management and position scaling capabilities. It features a linear trailing stop that triggers at a predefined profit level and a pyramiding system to add positions to winning trades using a lot multiplier. The code is structured as a librar
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
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 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,
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
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
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,
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
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
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
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
MQT Microstructure Analysis is a comprehensive header-only framework for MetaTrader 5 designed to process high-frequency market data. It transforms raw tick, quote, and Depth of Market events into structured measurements for order flow, liquidity depth, and price impact. The system includes specialized modules for calc
DomPanion is a trade management and risk protection utility for MetaTrader 5 designed for discretionary traders. It monitors active positions to enforce lot size limits, session-based trading restrictions, and monetary take-profit or stop-loss targets. The EA features a dashboard with time-based performance analysis an
This MetaTrader 5 utility integrates Gexbot API data to visualize option-based market sentiment directly on the chart. It fetches and displays Gamma Exposure (GEX) profiles, including Open Interest, volume, and State data like Delta and Vanna across various days to expiration. The EA draws key levels such as Zero Gamma
This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on the crossover of 15-period and 60-period Exponential Moving Averages. It employs a continuous reversal logic to maintain market presence, switching between long and short positions as trends shift. Risk management includes ATR-based dyn
Dino Open Engine is a data-driven algorithmic trading framework for MetaTrader 5 designed to decouple strategy logic from MQL5 code. Instead of recompiling binaries, users define strategies using a fluent C# API and store them in a shared SQLite database. A single compiled expert advisor executes these strategies based
This MetaTrader 4 expert advisor implements a foundational trend-following strategy based on a 20-period Exponential Moving Average. It enters long positions when the market price trades above the average and short positions when it trades below. The code is designed as a template for users of the book Options Trading
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy
This MetaTrader 5 expert advisor provides an on-chart dashboard for manual trade execution and management. It features dedicated buy and sell buttons alongside editable fields for lot size, take profit, and stop loss distances. The tool includes a toggleable trailing stop mechanism that utilizes the stop loss input as
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.