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
Siren is a MetaTrader 4 expert advisor that automates trading based on technical indicators and multi-timeframe price levels. It utilizes the ZigZag indicator alongside multiple Exponential Moving Averages, including the 10, 20, 100, and 200 periods, to identify market trends. The EA monitors price action relative to p
This MetaTrader 4 expert advisor acts as a technical bridge between the trading terminal and external web applications. It captures real-time market data, including bid and ask prices for the active symbol, and transmits this information to a user-defined server via HTTP POST requests in JSON format. The EA is designed
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
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 repository contains a collection of Expert Advisors for MetaTrader 4, featuring the Combined Ergodic SSL Channel EA and a MACD-based strategy. The primary EA uses trend-following indicators for entries and provides various order management options, including trailing stops, break-even settings, and position accumu
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
This MetaTrader 4 expert advisor uses a simple perceptron neural network to identify market entry and exit points. The system evaluates price action through four adjustable weight parameters to generate signals and includes a reversal mechanism for active positions. Risk management is handled through a fixed stop loss
Wise Chaos Crypto is an automated trading robot for MetaTrader 4 designed primarily for cryptocurrency markets. It utilizes elements of Bill Williams' Chaos theory, specifically the Alligator indicator and Fractals, to identify entries and manage exits. The system scans a user-defined number of bars for divergent price
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 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
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 4 expert advisor automates binary options trading for the Intrade.bar broker. It functions as a signal generator and bridge, utilizing a dual Bollinger Band strategy to identify entry points. The EA communicates with an external C++ console application via a named pipe to execute trades through a REST A
This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R
Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-
Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s
Cuckoos MT4 is a notification expert advisor for MetaTrader 4 that bridges account activity to Discord via webhooks. This utility monitors the trading account and sends automated updates whenever the total number of open orders changes or during initialization. The messages delivered to Discord contain detailed account
This repository is a collection of MQL5 utility scripts and snippets for the MetaTrader 5 platform. It includes tools for dumping account details, active positions, and trade history directly into the terminal log for debugging or monitoring. Other components demonstrate SQLite database integration, price alerts, and g
This repository provides a framework for integrating machine learning and quantum physics models with MetaTrader 4 and 5. It aims to implement a Quantum Genetic Algorithm and Support Vector Machine for feature selection and price classification. The system utilizes a ZeroMQ bridge to connect Python 3.8 with the trading
This expert advisor acts as a trade receiver for the MetaTrader 4 platform, enabling the execution of orders sent from a remote master account. It establishes a connection via a socket library to a cloud hub or a specified local port to receive trade commands. The system parses incoming messages for parameters such as
This repository is a collection of MetaTrader 4 expert advisors and study scripts focused on technical analysis and automated execution. It includes modules for identifying support and resistance levels, templates for news-based trading, and tools for drawing visual objects based on price extremes. The projects serve a
This MetaTrader 5 expert advisor serves as a bridge between the trading terminal and an external Python API server. It allows users to control the terminal and manage trades through remote infrastructure using JSON-based communication. The code includes specific functions for managing trailing take profits on active po
EA Swap is a MetaTrader 4 expert advisor designed to capture interest rate differentials during the triple rollover period, typically occurring on Wednesdays. It automates the process of opening a buy or sell position shortly before the swap is charged and closing it after the rollover is processed. The robot includes
Usd5 3 EA is a MetaTrader 4 expert advisor that executes trades based on specific candlestick sequences and trend direction. It identifies patterns of three consecutive bullish or bearish candles followed by a reversal to signal potential entries. The robot utilizes a 25-period Simple Moving Average on the H4 timeframe
This collection of MetaTrader 4 and 5 expert advisors provides various utilities for trade management and entry automation. The primary tool, Multi TP, monitors specific order tickets to execute partial closes and modify stop losses when price targets are hit. Additional scripts automate entries based on price action p
This expert advisor for MetaTrader 5 provides a foundational implementation of the Relative Strength Index (RSI). It calculates the RSI value using a standard 14-period setting on the current chart and timeframe. The code focuses on data retrieval and processing, using the iRSI function and price buffers to determine t
This MetaTrader 4 repository provides a collection of utility scripts intended for personal use. Its main Expert Advisor functions as a logic framework for developers, specifically designed to execute code exactly once at the start of each new price bar. By comparing the current bar time to the last recorded timestamp,
This collection for MetaTrader 4 provides a set of expert advisors designed for testing technical indicator logic and trade management. The primary EA, Optimal Close, integrates Bollinger Bands and Stochastic oscillators to analyze market conditions across multiple timeframes. It features a built-in trailing stop mecha
The Quantum Reverse EA is a low-frequency counter-trend trading robot developed for the MetaTrader 5 platform. It aims to identify potential market reversals to enter trades against the current trend direction. Based on the provided repository contents, the expert advisor is in a foundational state, as the main source
Falcon F is an automated trading system for MetaTrader 4 that utilizes supervised deep learning and an external Decision Support Centre powered by R to identify market inefficiencies. It analyzes indicator patterns across M1, M15, and H1 timeframes to predict price changes and trade direction up to 100 hours ahead. The
MT4Trading robotAI / machine learningTrend following
This repository provides a specialized framework and example expert advisors for developing Renko-based trading systems on the MetaTrader 5 platform. It includes a dedicated MQL5 header library that simplifies integration with the Median Renko indicator bundle. The framework handles the acquisition of chart settings au
MartGreg GP1 is a MetaTrader 5 expert advisor designed for automated trading with a focus on specific instruments like Brent Crude. It executes trades using a fixed lot size and manages each position with predefined stop loss and take profit levels. The system includes a risk management component that tracks the accoun
This MetaTrader 4 utility serves as a comprehensive trading assistant for manual chart analysis and risk management. It integrates various drawing tools, including object snapping and supply-and-demand indicators, to help identify entry points. The expert advisor includes a risk calculator that determines position sizi
This MetaTrader 4 repository contains a collection of basic expert advisors designed around standard technical indicators. It includes automated strategies for MACD crossovers, moving average crossovers, and mean-reversion setups using Bollinger Bands, RSI, and Stochastic oscillators. Each individual robot executes tra
MT4CollectionIndicator crossoverMean reversionTrend following
Goertzel Dfilter Expert is an automated trading robot for MetaTrader 4 that utilizes signal processing techniques to enter and exit trades. It implements the Goertzel algorithm alongside a digital filter to determine market direction. The expert advisor follows a reversal logic, closing existing short positions when a
This MetaTrader 4 expert advisor implements a simple moving average crossover strategy. It uses two user-defined SMA periods to determine entry points once a specific hour of the day is reached. The robot monitors the relationship between the fast and slow averages, opening a single trade when they cross in a specific
This MetaTrader 4 utility captures chart screenshots and sends them to a Telegram channel or chat. It functions as a bridge between the trading platform and the Telegram API by utilizing an external DLL for communication. The expert advisor can generate a series of images at specified intervals or counts, demonstrating
This MetaTrader 5 expert advisor executes trades based on the crossover of two moving averages. It allows users to define periods for both long and short averages and select the calculation method, such as Exponential Moving Average. The EA includes internal time management, allowing for specific start and end times pl
MT5Trading robotIndicator crossoverTrend following
This expert advisor for MetaTrader 4 implements a price action strategy based on the inside bar candlestick pattern. It identifies scenarios where the current candle is contained within the price range of the previous candle. The EA automatically places buy stop and sell stop pending orders at specific distances from t
This MetaTrader 4 expert advisor identifies and monitors currency pairs with high statistical correlation. It scans the market to find symbols that move in tandem with the current chart, filtering results based on a user-defined minimum correlation coefficient. The EA manages chart generation for identified pairs and i
Equity Tracker is a risk management utility for MetaTrader 4 designed to monitor account equity in real time. It serves as a global protection mechanism by automatically closing all open and pending positions when equity reaches a predefined target or drops below a minimum threshold. Users can configure these exit leve
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.