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,
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
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 4 expert advisor provides a foundational framework for developers to create custom automated trading systems. It establishes a structured environment for handling trade signals, entry execution, and exit management. The template includes standard risk parameters such as fixed lot sizing, stop loss, and
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
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
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 MQL4 framework provides a structured logging utility for MetaTrader 4 developers to record system events to external files and the terminal console. It allows users to categorize messages across six severity levels: trace, debug, info, warning, error, and critical. The class manages file creation within the platfo
MQL4 Price is a development library and utility for MetaTrader 4 that provides functions to convert between different price units including raw price, pips, and points. It serves as a framework for developers to handle decimal digit differences across various currency pairs and symbols. The repository includes a collec
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
MQL4 Project Templates provides a collection of MQL4 boilerplates designed for MetaTrader 4 developers. It serves as a foundational framework rather than a functional trading robot. The repository includes basic structures for experts, indicators, scripts, classes, and functions. The provided expert advisor template co
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
This MetaTrader 4 expert advisor collection serves as a structured framework for building automated trading strategies. The included examples demonstrate how to implement indicator-based entries using the iCustom function, such as MACD and Parabolic SAR crossovers. It manages trades with basic risk controls including f
MQL4 Order Module is a developer framework and library for MetaTrader 4 designed to simplify the selection and management of trading orders. It provides a structured interface for filtering open positions, pending orders, and historical trade data based on magic numbers or ticket IDs. The module includes functionality
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 repository provides a foundational boilerplate for developing Expert Advisors on the MetaTrader 4 platform. It implements an object-oriented structure, separating trading logic into distinct entry and exit classes. The code includes essential utility functions such as new candle detection and trade permission chec
MetaTrader Proxy Terminal is a structural framework for MetaTrader 4 designed to decouple trading logic from the client terminal. It provides a specialized architecture for data feeding and order management, allowing developers to protect intellectual property and distribute signals across multiple instances. The syste
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
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
Framework4o is a modular system building framework and expert advisor for MetaTrader 4. It provides a structured environment for developing trading models with pre-defined modules for position and risk management. The core functionality handles entry and exit logic using indicators like DEMA, EMA, and RSI. It includes
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 framework provides a prototype and tutorial for connecting MetaTrader 4 MQL code to modern .NET 6+ managed code using Dot Net Native Exports. It functions as a technical bridge rather than a trading robot, allowing developers to extend MetaTrader 4 capabilities with C# libraries. The included Expert Advisor serves
This MetaTrader 4 framework provides a modular environment for developing and backtesting expert advisors based on the No Nonsense Forex methodology. It includes functional swing trading robots that utilize baseline indicators, multiple confirmation layers, and volatility filters to identify entries. The system feature
Dv Tools is an open-source development framework and utility library for MetaTrader 4. It provides MQL4 programmers with modern C++ inspired data structures, including vectors and maps for handling both primitive types and objects. The library simplifies chart graphic management through a dedicated UI manager and offer
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 4 module provides a simplified interface for file system operations within the MQL4 environment. It functions as a programming library to assist developers in managing files without complex low-level coding. The package includes methods to read and write text data, copy existing files, delete files, and
This MetaTrader 4 framework provides a module for unit testing MQL4 code across multiple simulated account environments. It allows developers to verify function logic by comparing actual execution results against expected values. The tool can cycle through different broker settings using external configuration files to
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
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.