This MetaTrader 4 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator. Developed as an academic project, the bot filters signals using an Exponential Moving Average to ensure trades follow the established trend. Risk management features include a fixed lot sizing model, a
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk
This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili
This MetaTrader 5 expert advisor utilizes an Echo State Network, which is a type of recurrent neural network, to analyze price action and execute trades. The system computes various statistical inputs, including price volatility, mean values, and Hurst exponent metrics, to feed its reservoir computing model. Risk is ma
This MetaTrader 5 expert advisor executes a multi-indicator strategy inspired by the No Nonsense Forex methodology. It combines an SSL indicator for signal confirmation, the Waddah Attar Explosion for volume filtering, and a Geometric Mean Moving Average as a baseline. The robot enters trades based on trend alignment a
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 expert advisor provides a technical demonstration of real-time communication between MetaTrader 5 and Python using TCP sockets. It functions as a data bridge, serializing MQL5 information into JSON strings to be processed by an external Python environment. The EA sends synthetic position data and receives response
Flood MA Lines ML for MetaTrader 5 generates and interprets complex Moving Average trend series to provide data for machine learning and deep learning applications. It uses a mass production algorithm to perform relational trend analysis, measuring trend robustness and identifying price range expectations. The software
This MetaTrader 5 expert advisor implements a trend-following strategy using MACD and EMA indicators. For long entries, it requires a MACD crossover below the zero line and price confirmation above the EMA. It manages risk through ATR-based stop losses and take profits, with a default 1:2 risk-to-reward ratio. Users ca
This collection for MetaTrader 5 features a variety of trading tools and automated expert advisors. It includes advanced visualization utilities like a 3D correlation matrix and a mathematical morpher using DirectX canvas. The repository also provides several technical trading robots based on moving averages, MACD, ADX
This MetaTrader 4 expert advisor automates trading using moving average crossovers. It generates buy and sell signals based on user-defined periods and shift parameters. The EA includes a risk management module that calculates lot sizes dynamically based on free margin and a maximum risk percentage. It features a reduc
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It utilizes a fast Exponential Moving Average and a slow Exponential Moving Average for entry signals, with a longer-period Simple Moving Average acting as a trend filter. The robot includes an optional RSI filter
MT5Trading robotIndicator crossoverTrend following
This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes. The primary strategies revolve around Commodity Channel Index crossovers and Average True Range indicators for dynamic stop loss and take profit placement. The codebase includes various experimental models, such as
This automated trading robot for MetaTrader 5 utilizes the Ichimoku Kinko Hyo indicator to execute trades. It features customizable periods for the Tenkan-sen, Kijun-sen, and Senkou Span B components. Risk management is handled through fixed pips-based stop loss and take profit orders, supplemented by a trailing stop a
This repository contains a collection of MetaTrader 5 expert advisor files designed for educational and tutorial purposes. It includes various scripts covering fundamental MQL5 programming concepts such as array manipulation, mathematical functions, and position management. Specific examples demonstrate basic entry log
This MetaTrader 5 utility provides a three-dimensional visualization of price correlations across multiple currency pairs. It processes historical data to calculate returns and synchronizes price action for a user-defined list of symbols over a specified date range. The tool utilizes the Canvas3D library and DirectX to
This MetaTrader 5 expert advisor implements a multi-layered grid strategy that manages up to three independent grids simultaneously on a single instrument. It uses the Relative Strength Index (RSI) across different timeframes to determine the initial trade direction for each grid. The EA employs martingale lot scaling,
This repository is a collection of MetaTrader 4 projects including expert advisors, libraries, and utilities. The featured Tri-Arbitrage EA executes an experimental strategy by monitoring price discrepancies between currency triplets like EURUSD and EURGBP. It calculates an implied price and enters trades when market i
This MetaTrader 4 utility acts as a bridge between custom technical indicators and Telegram channels for signal distribution. It monitors specific indicator buffers to identify trade entries and transmits alerts to a designated chat via the Telegram API. The tool is specifically configured for binary options workflows,
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 repository is a collection of various MetaTrader 5 expert advisors generated through the Mission Automate tool. It contains over 100 separate files covering a wide array of technical strategies, including range breakouts, trend-following systems, and indicator crossovers using Ichimoku, CCI, and Heiken Ashi. Sever
FaSt is an automated trading robot for MetaTrader 4 that determines entries based on price extremes and trend direction indicators. The system employs Average True Range (ATR) to calculate dynamic stop loss and take profit levels, ensuring volatility-adjusted risk control. It includes multiple signal filters, trailing
This MetaTrader 5 expert advisor manages trades on synthetic instruments like Range Break indices. It functions primarily as a trade manager that monitors price spikes to trigger the closing of open positions. The utility includes risk management filters, allowing the user to target specific orders using magic numbers
This MetaTrader 5 expert advisor automates the placement of buy market and buy stop orders. When no positions are active, the robot enters the market and sets a pending buy stop order based on configurable distance parameters. It features a continuous trailing stop mechanism that tracks price movements without a minimu
This MetaTrader 5 expert advisor automates trading strategies based on support and resistance levels. The software identifies price pivot points and monitors price action relative to these boundaries to determine entry signals. It references technical indicators, specifically the Relative Strength Index and Bollinger B
This MetaTrader 5 expert advisor serves as a technical bridge to integrate Python-based trading models into the platform. It facilitates the testing and validation of external models within the MetaTrader Strategy Tester by utilizing the ONNX format for cross-platform compatibility. The system allows developers to leve
This expert advisor for MetaTrader 4 acts as a bridge between the trading terminal and Telegram. It monitors the account for new, modified, or closed orders and automatically sends the details to a specified Telegram channel or group using the Telegram Bot API. The tool functions as a signal transmitter, allowing users
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 5 utility functions as a data bridge to import and visualize aggregated Bitcoin trade volume from external cryptocurrency exchanges. It utilizes a companion Expert Advisor to perform web requests, fetching CSV data from Bitcoinity to bypass platform limitations that restrict indicator internet access. T
This MetaTrader 4 repository serves as a research and development environment for MQL4 algorithmic trading. It includes multiple experimental files focusing on pivot point identification and volume-based price analysis. The code explores custom data structures for price action and seeks to implement specific strategies
OCO Part 1 is an educational expert advisor for MetaTrader 5 that implements a One-Cancels-the-Other (OCO) trading mechanism. The robot places pairs of pending Buy Stop and Sell Stop orders at a fixed distance from the current market price. Once one order in the pair is triggered or deleted, the EA automatically cancel
This MetaTrader 5 utility serves as a historical data collector for exporting market information. Instead of executing trades, the expert advisor iterates through historical candles when run in the strategy tester to generate a CSV file containing open, high, low, and close prices. The data output includes ISO8601 form
This collection includes four MetaTrader 5 expert advisors designed to demonstrate basic algorithmic trading using the Relative Strength Index. The repository provides separate scripts for long and short entries, with options to evaluate trade signals either on a per-tick basis or only upon candle completion. Each expe
This bridge for MetaTrader 4 enables external control of the trading platform via a REST API. By connecting to a PHP-based web server through a socket, it allows users to perform trading operations like opening and closing orders, fetching trade history, and listing symbols using standard HTTP requests. The expert advi
This MetaTrader 5 expert advisor serves as a base model or template for trend-following strategies. It utilizes three distinct moving averages—fast, medium, and slow—to identify market direction and potential entry points. The system includes built-in risk management parameters for fixed lot sizing, stop loss, and take
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 utility provides an on-chart interface for manual trade execution and risk management. It allows users to open long and short positions with integrated stop loss and take profit levels calculated using a custom risk-to-reward ratio. The tool features an automated lot size calculator that adjusts posit
This MetaTrader 5 trade manager automates stop loss adjustments for existing positions using the Teeth line of the Bill Williams Alligator indicator. It tracks an 8-period smoothed moving average shifted 5 periods forward to determine exit levels. The tool operates on a new bar basis, checking open trades and modifying
HFT V1 is a MetaTrader 4 expert advisor designed to execute trades based on historical data analysis. The robot calculates dynamic price levels, including mid-lines and breath levels, by evaluating a minimum threshold of previous account history. It manages risk through fixed stop loss and take profit settings, with lo
This MetaTrader 5 expert advisor executes a martingale strategy using pending buy stop or sell stop orders. Users define an initial entry price and lot size, which the EA then manages using a configurable volume multiplier for subsequent trades. It includes automated stop loss and take profit calculations based on fixe
Bot Trend Line is an automated trading tool for MetaTrader 4 that executes orders based on price interactions with trendlines. The expert advisor monitors lines to trigger market or pending orders when specific price conditions are met. It manages risk through a fixed risk-per-deal setting and includes account-level sa
This MetaTrader 5 tool provides a semi-automatic interface for executing trades based on manual chart analysis. Users can configure trendlines and horizontal lines to trigger buy or sell orders upon price touch, breakout, or retest. The EA includes a graphical user interface to manage lot sizes and provides draggable o
This expert advisor for MetaTrader 4 acts as a bridge using the ZeroMQ protocol to connect the trading terminal with external environments. It facilitates bidirectional communication, allowing users to send trade commands and retrieve market data or account status via TCP sockets. The system supports multiple instrumen
This MetaTrader 5 expert advisor identifies and trades the 212 candlestick pattern. It combines price action analysis with technical indicators, specifically using the Average Directional Index and a Moving Average for trend confirmation. The system manages risk through fixed stop loss and take profit levels, including
This MetaTrader 5 expert advisor is a legacy project focused on machine learning and neural network forecasting. The system implements logic for training models and generating forecasts using technical indicators like ADX and ZigZag. It includes several optional modules for long, short, hedging, and martingale trading
Trade Manager EA is a utility for MetaTrader 4 designed to simplify order placement and position management. It features a graphical user interface that allows users to open trades and visually define multiple stop loss and take profit levels. The expert advisor includes logic for partial closing of orders and uses a t
This MetaTrader 4 collection provides several expert advisors designed to automate trade entry with integrated risk controls. The tools calculate lot sizes based on a user-defined percentage of account capital, ensuring consistent exposure. Users can configure the trade direction, expected duration, and risk-to-reward
This MetaTrader 4 Expert Advisor acts as a communication interface using the ZeroMQ library to link the terminal with external software. It functions as a server through REP and PUSH sockets, allowing external logic to execute trades via TCP ports. The tool includes standard risk controls such as stop loss and take pro
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.