MintyGrid is an automated trading robot for MetaTrader 5 that employs a grid-based strategy without relying on technical indicators or market averages. It enters positions immediately and manages losing trades by layering additional orders at specific intervals. The expert advisor utilizes martingale and reverse-martin
This MetaTrader 5 utility synchronizes multiple chart windows to facilitate multi-timeframe or multi-symbol analysis. When a user triggers a specific keyboard shortcut, the tool captures the time coordinate of the mouse cursor and draws a vertical line across all open charts at that exact timestamp. It manages chart se
This MetaTrader 5 expert advisor automates trading strategies based on the Know Sure Thing (KST) momentum oscillator. It calculates weighted Rate of Change values across multiple internal periods, smoothed by simple moving averages, to identify trend reversals and overbought or oversold conditions. The robot offers sev
MT5Trading robotIndicator crossoverMean reversionTrend following
This MetaTrader 5 expert advisor automates trading based on trendline breakouts. It identifies market trends by calculating pivot highs and lows over a specific period. The slope of the trendlines is determined using Average True Range, standard deviation, or linear regression methods. The robot enters trades when pric
System 01 is an automated expert advisor for MetaTrader 5 that utilizes a trend-following strategy combining the Parabolic SAR and a Moving Average. The robot enters buy positions when the price is above both the Parabolic SAR and the Moving Average, while sell positions are initiated when the price falls below both in
MQL Basics Collection is an educational repository for MetaTrader 5, providing a wide array of scripts and expert advisors designed to teach the fundamentals of MQL5 programming. It includes over fifty files covering essential operations such as opening and closing positions, retrieving account information, and integra
This MetaTrader 5 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator combined with dual exponential moving average trend filters. The robot enters positions when MACD reaches specific pip thresholds and uses 6-period and 20-period EMAs to confirm market direction. It feat
This expert advisor serves as a ZeroMQ bridge for MetaTrader 5, enabling communication between the trading platform and external applications such as Python. It is primarily designed to run within a containerized environment using Docker and Alpine Linux. The EA facilitates data streaming, historical price access, and
This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It offers a comprehensive suite of trade management tools, including fixed tick-based stop loss and take profit levels, trailing stops, and break-even settings. Users can configure up to three partial exits to sca
This repository contains a diverse collection of MetaTrader 5 expert advisors and technical utilities. It features a three-dimensional correlation matrix visualizer for analyzing price relationships across multiple currency pairs simultaneously. The collection includes various automated trading robots based on technica
Fantastic Garbanzo is an automated trading robot for MetaTrader 5 that utilizes the Relative Strength Index (RSI) to identify entry points. It operates by monitoring RSI levels against user-defined upper and lower boundaries, typically used for mean-reversion strategies. Risk management is handled through fixed lot siz
Passive Income is an automated trading robot for MetaTrader 5 that identifies entries using Moving Average crossover signals. The EA utilizes standard MQL5 library classes to execute trades and manage positions. Risk management is facilitated through a Parabolic SAR trailing stop, which dynamically adjusts the stop los
MT5Trading robotIndicator crossoverTrend following
This repository contains a collection of MetaTrader 5 expert advisors developed for strategy experimentation and technical analysis. The robots utilize various technical indicators, including Moving Averages, MACD, Parabolic SAR, and RSI for trade entries. Risk management is handled through configurable stop loss and t
This MetaTrader 5 expert advisor is an experimental project developed to automate trading using technical indicators for trend and momentum analysis. The system incorporates a 100-period Exponential Moving Average (EMA), MACD, and Average True Range (ATR) for entry signals and trade management. It features built-in ris
Forex Trading Robot is a collection of MetaTrader 5 expert advisors that implement various technical strategies, including trend-following and hedging approaches. The core logic utilizes Exponential Moving Averages and the Average True Range indicator to identify market volatility. It employs a martingale lot scaling s
This MetaTrader 5 expert advisor is a quantitative trading framework that integrates eight distinct strategies into a single controller. It manages automated entries and exits for various systems while monitoring overall currency exposure to maintain risk within a defined limit. The EA is specifically designed for Fore
Bear Treading is a MetaTrader 5 robot developed using the MQL5 standard library expert classes. It primarily executes trades based on Relative Strength Index (RSI) signals, incorporating Moving Average parameters for trend identification. The system employs traditional risk controls, including hard stop loss and take p
This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies specific crossover events, such as price moving above the upper band or below the lower band, to trigger trade logic. The system monitors candle closes relative to these volatility bands and tracks individua
This automated expert advisor for MetaTrader 4 and MetaTrader 5 utilizes a strategy inspired by the Never Losing Formula. It employs technical indicators including the Stochastic Oscillator, Relative Vigor Index, and Envelopes to identify market entries. To manage trades, the EA incorporates a secondary entry mechanism
This utility for MetaTrader 5 enables communication between the trading platform and external systems using the MQTT protocol. It establishes a socket connection to a specified broker to publish messages and data to defined topics. The expert advisor handles packet construction manually, including headers and payload e
This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 library framework. The featured expert advisor, ExpertMAPSARSizeOptimized, generates trade signals based on a Moving Average and manages active positions using a Parabolic SAR trailing stop. It includes a money managemen
This repository provides a collection of MetaTrader 4 and MetaTrader 5 tools, centered around a local trade copying system. The primary expert advisors allow users to publish and subscribe to trade signals between terminal instances using file-based communication. The copier supports lot sizing via ratios or fixed valu
This repository contains a collection of MetaTrader 5 Expert Advisors and graphical tools. It includes several technical strategy robots based on Relative Strength Index crossovers, Bollinger Bands, and Moving Averages. Additionally, it features advanced 3D visualization utilities such as a correlation matrix and a mat
This MetaTrader 5 expert advisor acts as a communication bridge between the terminal and external applications, specifically tailored for reinforcement learning and Python-based algorithmic trading. It exports real-time market data, bar history, and account information to local files while processing trade commands fro
PyMQL5 is a bridge that connects Python 3 to MetaTrader 5 through a UDP socket communication layer. This expert advisor acts as a server within the MetaTrader 5 terminal, allowing external Python scripts to request market data, retrieve account information, and execute trading operations. It supports opening and closin
This MetaTrader 5 expert advisor provides a foundation for automated trading using a multi-timeframe framework. It utilizes the Average True Range (ATR) indicator to determine dynamic stop loss levels and calculates take profit targets based on a predefined risk-to-reward ratio. The system includes built-in risk contro
This expert advisor for MetaTrader 5 automates trades based on the recognition of a specific three-bar candlestick formation. It looks for a small middle bar, termed a baby bar, flanked by larger outer bars to identify entry points. The system incorporates an Exponential Moving Average to filter trend direction and all
Aiden is a MetaTrader 5 expert advisor that utilizes a multi-indicator weighting system to determine market entries. It calculates trade signals by aggregating 'chances' from several technical indicators including ZigZag, Stochastic, Moving Average crossovers, Parabolic SAR, RSI, MACD, and Momentum. The EA manages risk
This MetaTrader 5 repository provides a collection of expert advisors and analytical tools focused on technical analysis and visualization. The primary utility is a 3D correlation matrix that calculates and displays the relationships between multiple currency pairs using DirectX rendering. The repository also includes
MtApi Connection Bridge is a technical utility designed to link MetaTrader 4 and 5 terminals with external software environments. It acts as an API gateway using a dedicated DLL to pass commands and data between the platform and a remote application over a specified network port. The expert advisor handles various even
This repository provides a containerized MetaTrader 5 environment running on Alpine Linux via Wine, including a VNC server for remote graphical access. It features a bridge expert advisor that enables communication between MetaTrader 5 and external programming languages like Python through file-based data exchange. The
The US30 US500 Trading Collection for MetaTrader 5 provides a variety of expert advisors and analytical utilities. Although the repository name indicates a focus on major indices, it primarily contains standard technical indicator examples such as MACD, Moving Average, and Parabolic SAR. A notable component is a 3D cor
This MetaTrader 5 expert advisor serves as a study for basic trading logic and operational limits. It executes simple buy orders based on the relationship between price and a moving average. Specifically, it opens a long position when the current price is above the moving average and the previous candle closed bullish,
This MetaTrader 5 expert advisor executes a grid-based trading strategy, specifically tailored for gold but applicable to other instruments. It functions by opening initial buy and sell positions and subsequently placing a sequence of limit orders at specified intervals. The system manages risk through a configurable g
This MetaTrader 5 expert advisor serves as a basic template or coding exercise for automated trading. It uses simple price action logic by analyzing the open and close prices of a specific candle, defined by a user-inputted index. The EA is designed to open a single position based on whether the selected candle is bull
This MetaTrader 5 expert advisor automates trading by analyzing market conditions through multiple technical indicators, including Stochastic, RSI, MACD, and dual Moving Averages. It employs an object-oriented approach to identify entry points based on indicator crossovers and trend momentum. Risk management is handled
MT5Trading robotIndicator crossoverTrend following
This MetaTrader 5 robot executes trades based on the percentile rank of recent price ranges. It incorporates the Average Directional Index as a trend filter to ensure entries occur during specific market conditions. Risk management is handled through automated lot sizing based on a risk percentage and a maximum monetar
This MetaTrader 5 expert advisor collection provides a series of educational scripts for automated trading. The primary robot executes trades based on the relationship between the last market price and a Simple Moving Average. It initiates a buy order when the price is above the average and a sell order when below, pro
This repository provides a collection of MetaTrader 5 expert advisors focused on technical indicator strategies. The primary expert advisor implements a trend-following approach using the Average Directional Index to identify momentum and Exponential Moving Averages for entry signals. Risk management is handled through
This MetaTrader 5 expert advisor serves as a template and demonstration for automated trading systems. It implements a basic moving average crossover strategy using two configurable periods to determine market entries. The code is structured around a custom trading class that provides utility functions for analyzing hi
Portuguese is a MetaTrader 5 expert advisor designed as a trend-following robot utilizing multiple moving average indicators. It employs five distinct moving average periods and shifts to identify trade signals. The system manages positions through a comprehensive set of risk controls including fixed stop loss and take
MT5Trading robotIndicator crossoverTrend following
This repository provides sample Expert Advisors for MetaTrader 4 and 5, focusing on a Donchian Channel breakout system. The robot identifies entries based on price breaking through the highest high or lowest low of a defined lookback period. Risk management is handled through percentage-based stop losses, take profits,
This expert advisor for MetaTrader 5 serves as a data bridge between the trading terminal and external web applications via the Django REST Framework. The tool automatically cycles through symbols in the Market Watch at defined intervals to collect and export data into JSON format for API consumption. It is primarily a
This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 class library framework. The featured implementation, Expert MAPSAR Size Optimized, utilizes Moving Average crossover signals for entries and a Parabolic SAR trailing stop for trade management. It incorporates a lot sizi
Box Trader is a MetaTrader 5 utility designed to visualize price levels directly on the trading terminal. The expert advisor automatically generates horizontal lines on the chart that track real-time price movements, specifically following the Bid and Ask levels. Users can modify various visual parameters including lin
This MetaTrader 5 expert advisor serves as a structural framework for algorithmic trading development. It utilizes a modular approach by importing strategy logic from external header files to handle trade execution. The core code provides basic input parameters for trade volume, magic numbers, and price deviation. Sinc
MT5 Line Level Trader is a utility for MetaTrader 5 designed to manage trades based on price levels or lines drawn on the chart. The expert advisor includes specialized logic to handle point calculations and digit adjustments for a variety of symbols, specifically addressing forex pairs, gold, and major indices like th
This MetaTrader 5 tool extracts stock market data to build datasets for statistical analysis. It allows users to define the number of periods, the specific timeframe, and the price type used for extraction. The expert advisor functions as a data collector rather than a trading robot, as it lacks entry or exit logic in
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 day, 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 day. 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.