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 provides automated forex trading using a grid-based strategy. The robot enters trades based on time-restricted windows and manages them using a martingale lot scaling mechanism. Users can configure the lot multiplier, the distance between grid levels, and a maximum level limit. For risk
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,
Ea Scalp Three is an automated scalping robot for MetaTrader 4 that uses recent price action to determine market direction. It analyzes the closing prices of the three most recent candles on the one-minute timeframe to detect momentum. The software opens a buy position when bullish momentum is identified and a sell pos
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 repository provides a collection of MetaTrader 4 expert advisors designed for forex and digital markets. The primary expert advisor implements a breakout strategy by placing buy and sell stop orders at a specific distance from the previous day's high and low prices. It includes automated trade management features
MT4CollectionBreakoutIndicator crossoverTrend following
This collection of MetaTrader 5 expert advisors is designed to trade Boom and Crash synthetic indices. The robots utilize RSI indicator logic and basic price action candle checks to identify and capture rapid price spikes. The tools feature automated trade execution with a focus on capturing momentum. Risk management i
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
This MetaTrader 4 robot automates a breakout strategy focused on the London and New York trading sessions. It identifies price ranges over a set number of bars and executes trades when price breaks above or below these levels. The EA includes an Exponential Moving Average filter to align trades with the prevailing tren
Sniper Profit is a MetaTrader 4 management utility that monitors aggregate floating profit and loss across all open positions. It utilizes a trailing take profit mechanism that activates once a specific equity trigger is reached, allowing the total basket profit to trail by a set distance. The tool includes risk manage
This repository is a collection of Expert Advisors for MetaTrader 5, providing several distinct automated strategies such as range trading, ZigZag-based signals, and Fibonacci targets. The primary robot executes trades based on Moving Average calculations and specific intraday session times. It manages risk through fix
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 is designed specifically for trading the Brazilian Mini Index. It utilizes a strategy based on Bollinger Bands and the Stochastic oscillator to identify potential market entries. The robot manages risk through predefined stop loss and take profit parameters. It features a specific compe
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
Swift Trader is a manual trading utility for MetaTrader 4 that assists users in executing trades using visual chart objects. It creates horizontal lines representing entry, stop loss, and take profit levels, allowing traders to position their orders graphically. The tool includes risk management features such as fixed
This MetaTrader 4 expert advisor is designed to capture price trends by combining moving average crossovers with momentum oscillators. It monitors fast and slow moving averages for entry signals while utilizing a long-term trend moving average as a directional filter. The Relative Strength Index is incorporated to vali
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 MetaTrader 4 expert advisor automates an inside bar momentum strategy based on price action patterns. It identifies dual candlestick formations where the second bar's range is entirely contained within the high and low of the mother bar. The robot monitors the four-hour timeframe to detect volatility contractions
This repository provides a collection of MetaTrader 4 expert advisors centered on trend-following and hedging mechanics. The primary Trend EA identifies market entries using moving average crossovers, stochastic oscillators, and MACD indicators. Risk is managed through percentage-based equity lot sizing and pair-specif
This MetaTrader 4 expert advisor functions as a semi-automatic trading assistant designed to automate lot sizing and position management. It calculates position sizes based on the user account balance, a target interest rate, and a specific pips distance. The tool provides manual execution buttons for immediate buy and
This Expert Advisor implementation utilizes a Long Short Term Memory (LSTM) neural network to execute trades on MetaTrader 5. It functions as a proof-of-concept system where MT5 exports market data to CSV files, which are then processed by an external Python environment using PyTorch. The system requires manual configu
Analise Do Grafico IQ is a MetaTrader 4 expert advisor that automates trading based on technical indicator signals. The robot utilizes the Moving Average Convergence Divergence (MACD) indicator to identify momentum shifts and an Exponential Moving Average (EMA) to filter for the prevailing trend. It opens buy and sell
MT4Trading robotIndicator crossoverTrend following
MT4 Common Functions Library is a developer-focused utility framework for the MetaTrader 4 platform. It provides a collection of encapsulated helper functions designed to simplify common programming tasks in MQL4. The primary functionality involves a flexible file management system capable of creating, reading, and app
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 collection of MetaTrader 4 expert advisors serves as a practice environment for MQL4 development. The scripts primarily focus on moving average crossover logic, utilizing 50-period Simple Moving Average and 15-period Exponential Moving Average indicators. Additionally, the code implements swing high and low detect
This MetaTrader 5 framework provides tools for integrating machine learning models with algorithmic trading. It features scripts designed to generate training data by exporting price action and technical indicators like RSI, MACD, and Stochastics into CSV formats. The system interfaces with external neural network mode
MT5Framework & templateAI / machine learningTrend following
This MetaTrader 4 expert advisor monitors tick volume patterns to identify periods of increasing market activity. It analyzes the volume of the four most recent candles, triggering signals when volume increases consecutively over four bars. Upon detection, the EA generates a terminal alert, displays a message box, and
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 MetaTrader 5 expert advisor executes trades based on a strategy involving nested Bollinger Bands and a 200-period moving average filter. The robot monitors price action relative to two sets of volatility bands with differing standard deviations to identify breakout opportunities. It enters positions when a specifi
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 MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin
This MetaTrader 4 expert advisor is a trade management utility designed to automate break-even adjustments for open positions. It monitors active trades and moves the stop loss to a locked-in profit level once the market reaches a specified distance in pips. The tool supports managing up to three distinct trade targets
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
Matrix Martingale is a MetaTrader 4 expert advisor designed to trade price action based on previous candle ranges. It utilizes a fixed Martingale lot scaling sequence across ten levels to manage trades. Entries are determined by Fibonacci levels, specifically placing orders at 25% or 50% retracements of the previous ca
The X-15 Framework is a modular development template for creating MetaTrader 4 expert advisors. It serves as a foundation for programmers to build custom trading systems by providing pre-built modules for order management, signal processing, and trade filters. The included template features standard risk management con
This MetaTrader 4 expert advisor implements a grid-based averaging strategy known as Nampin. The robot monitors open buy and sell positions, calculating aggregate lot sizes and floating profits. It uses a fixed lot multiplier of 1.5 to scale positions when the market moves against the initial trade by a set span. The s
This repository contains a collection of MetaTrader 4 expert advisors, primarily focused on grid and martingale strategies. The featured Ilan-TrioKS system uses automated lot scaling with a multiplier to manage series of trades. It opens positions at fixed pip intervals and aims to exit the entire basket at a calculate
This MetaTrader 4 expert advisor implements a zone-based hedging strategy using predefined price levels. The robot monitors specific price thresholds—defined as ceiling, middle, and floor—to manage order entries. It utilizes a timer-driven event system to evaluate trade conditions and manage positions. Risk control is
This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu
This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto
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
This MetaTrader 4 expert advisor acts as a multi-symbol scanner that monitors the Relative Strength Index and Money Flow Index indicators. It evaluates market conditions across six timeframes simultaneously, ranging from one-minute to four-hour charts. The logic triggers when both indicators reach specific overbought o
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
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.