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,
Roffild Library is an extensive framework and collection of expert advisors for MetaTrader 5 that bridges MQL5 with modern data science tools. It provides functional implementations for machine learning models, specifically Multilayer Perceptron neural networks and Random Forests via the AlgLib library. The project fac
Orchard Forex Framework 3 is an educational development library for MetaTrader 5. It provides a structured foundation for building Expert Advisors using object-oriented programming. The repository includes base classes for handling trades, managing positions, and integrating common technical indicators like RSI, MACD,
This repository contains the MQL source code used by Forex Strategy Builder Professional to export automated trading strategies to MetaTrader 4 and MetaTrader 5. It serves as a standardized template for executing technical strategies generated by the software, handling order execution and trade management. The EA inclu
This MetaTrader 5 expert advisor serves as a foundational framework for developing automated trading strategies. It streamlines the creation process by providing pre-built modules for position sizing, risk management, and trade execution. The system includes parameters for ATR-based stop-loss and take-profit calculatio
This MetaTrader 5 expert advisor serves as a foundational template for building automated trading systems. The README is minimal, but the code provides a structured framework for beginners to implement custom entry and exit logic using price data and technical indicators. It includes examples of Exponential Moving Aver
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 repository provides a software development kit and a collection of example Expert Advisors for MetaTrader 5 designed to work with custom tick and volume bar charts. It includes template robots that execute trades based on moving average crossovers or price action relative to moving averages on non-time-based chart
This framework provides MQL5 header files and example expert advisors designed to trade on non-time-based Range Bar charts within MetaTrader 5. It includes template robots for moving average crossovers and Super Trend strategies. The included code manages trade execution with configurable stop loss, take profit, break-
MT5Framework & templateIndicator crossoverTrend following
This collection provides educational templates for building MetaTrader 5 Expert Advisors. It includes demonstration robots that interface with indicators like MACD and Parabolic SAR using the iCustom function. The repository serves as a learning resource for structuring MQL5 code and handling trade execution. Each exam
MT5Framework & templateIndicator crossoverTrend following
This MetaTrader 5 framework provides a modular structure for developing and deploying automated strategies, specifically optimized for the Mini Índice Bovespa. It includes an example implementation of the Dunnigan setup, utilizing candle sequences and price levels for entries. The system manages trades with advanced co
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
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
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 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.
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 framework provides a standardized method for developers to implement licensing and serial key validation within MetaTrader 4 and MetaTrader 5 Expert Advisors. It utilizes an external validation library to authenticate users by comparing hardware IDs and product codes against encrypted serial keys. The system inclu
This MetaTrader 5 framework provides a library and a template expert advisor designed for walk-forward optimization. It enables developers to test strategies across moving windows of historical data to verify performance stability. The included template expert advisor demonstrates basic trade management, featuring para
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 repository provides a framework and example Expert Advisors that bridge MetaTrader 4 and MetaTrader 5 with the Algogene platform. It utilizes external dynamic-link libraries to establish a WebSocket connection, allowing the system to receive tailored trading signals from Algogene servers for trade entries. Additio
Hedge Terminal is a specialized framework for MetaTrader 5 designed to facilitate hedging net positions and provide a structured API for managing expert advisors. The repository includes demonstration robots such as a moving average expert that operates across multiple timeframes. These examples show how to open trades
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
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
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 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
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 expert advisor serves as a development framework for building customized trading robots with external connectivity. It features a built-in bridge to send trade execution data to web APIs and record history in local CSV files. The template includes logic for monitoring position profit and managing trad
This MetaTrader 5 framework provides a modular library for technical analysis, including candle pattern detection, support and resistance levels, and Fibonacci calculations. The repository includes an expert advisor that implements ZigZag-based wave analysis to identify market structure and chart patterns. It features
This MetaTrader 5 framework provides a modular structure for developing expert advisors. It includes base classes for retrieving account information, market prices, and candle data, alongside a dedicated trading system class for signal execution. The repository features an example implementation utilizing Relative Stre
This MetaTrader 5 expert advisor is a research-oriented framework designed to scan and analyze Ichimoku Kinko Hyo indicator criteria across multiple symbols. It evaluates price positions relative to the Chikou Span, Senkou Span A, and Senkou Span B to identify market reactions. The utility includes features for exporti
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
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
Ultimate ICT Gold Scalper is a modular expert advisor framework for MetaTrader 5, primarily focused on gold trading using institutional concepts. It provides a robust risk management foundation, including daily, weekly, and monthly drawdown limits and maximum consecutive loss protections. The system handles position ma
Disook is a development framework and AI agent skill for MetaTrader 5 designed to assist in creating, debugging, and testing MQL5 expert advisors. It provides an interface for AI coding tools to manage complex logic including trend, grid, and martingale strategies. The repository contains a basic educational template t
This MetaTrader 5 expert advisor serves as a development framework and diagnostic tool for organizing complex trading logic. It implements an object-oriented finite state machine to manage transitions between initialization, signal monitoring, order execution, and news restriction states. By replacing nested conditiona
This lightweight, macro-based unit testing framework is designed for MetaTrader 5 developers to verify Expert Advisor logic and trading calculations. It provides a set of simple assertion macros for checking booleans, integers, and double-precision values directly within the terminal environment. The framework is entir
This MetaTrader 5 expert advisor serves as a modular boilerplate and educational framework for algorithmic trading development. It provides a base structure for students to build custom execution strategies, transitioning from manual price action to automated logic. The current implementation includes basic risk manage
This MetaTrader 5 expert advisor serves as a template for a master-child trading architecture. It is designed to work in conjunction with a separate Master EA, from which it receives instructions via global terminal variables. The EA monitors parameters such as remote pause states, maximum lot sizes, risk settings, and
This MetaTrader 5 expert advisor acts as a modular framework for algorithmic trading using object-oriented principles. It includes a functional strategy that enters trades based on RSI levels and Moving Average crossovers. The system manages exits through automated stop loss, take profit, break-even adjustments, and tr
This MetaTrader 5 expert advisor serves as a modular framework and starter template for developing trend-following trading systems. It utilizes a clean architecture to separate signal logic, risk management, and order execution. The included demo logic implements a standard moving average crossover strategy to enter tr
MQL5 EA CI/CD Template is a development framework for MetaTrader 5 designed to automate the lifecycle of Expert Advisors. It implements modern software engineering practices through continuous integration and deployment pipelines using GitHub Actions. The system includes tools for automated unit testing, static code an
This MetaTrader 5 framework integrates artificial intelligence models into trading strategies through the OpenRouter API. It provides a structured set of libraries for managing multiple AI providers, handling API fallback logic, and parsing natural language outputs into executable trade commands. The included demo expe
This MetaTrader 5 expert advisor serves as an educational framework for developing trading robots using object-oriented programming. It demonstrates how to organize trading logic into modular classes for symbol handling, order execution, and strategy management. The EA incorporates two distinct price action strategies
This MetaTrader 5 library provides developers with a mechanism to detect the opening of a new bar across different timeframes. It serves as a programming utility rather than a standalone trading strategy. The repository includes an include file and a test expert advisor demonstrating two detection methods: one for mult
MALE5 is a machine learning framework for MetaTrader 5 designed to help developers create trading systems using a Python-like syntax. It provides a suite of predictive models including linear regression, decision trees, support vector machines, and neural networks. The library includes tools for data collection, prepro
This MetaTrader 5 expert advisor serves as a modular template designed for integrated risk management. It functions as a framework rather than a standalone trading robot, focusing primarily on capital protection parameters. The tool allows users to define the percentage of the account balance to risk per position and s
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.