This MetaTrader 4 expert advisor acts as a bridge between external Python scripts and the trading platform using the ZeroMQ messaging library. It functions as a server that listens for remote commands to open trades, modify positions, and delete orders. Additionally, the EA can transmit real-time tick data, historical
This repository provides a collection of MetaTrader 5 expert advisors developed for learning algorithmic trading. The primary featured tool, TimeRangeEA, identifies price high and low points within a specific time window to execute breakout trades. It incorporates risk management through stop loss and take profit level
This MetaTrader 4 collection provides a set of utilities focused on risk management and order execution. It includes scripts and expert advisors designed to automate the closing of open positions and the removal of pending orders. The logic specifically targets closing trades that have reached a specific gain threshold
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
OrderBlock Auto Extend is a MetaTrader 4 utility designed to automate the maintenance of manual chart markings. It scans for rectangle objects commonly used to represent supply and demand zones or order blocks. When a zone is identified by its color, the tool extends the rectangle's time coordinate to the most recent c
This MetaTrader 5 expert advisor automates trading based on the Fimathe methodology, a price action technique centered on channel expansions. The software allows users to define a macro channel using specific high and low price points, which it then fractionates into sub-levels for entry and exit signals. It features a
This MetaTrader 4 expert advisor automates trading using a combination of trend-following and mean-reversion indicators. It executes trades based on the crossover of two Exponential Moving Averages, filtered by Relative Strength Index levels and Bollinger Band boundaries. The robot enters a position when an EMA crossov
Hedging EA is a manual trading utility for MetaTrader 5 designed to facilitate hedging strategies. It provides a graphical interface that allows users to manually open and manage buy and sell positions to mitigate market risk. The tool includes risk management controls such as adjustable lot sizes, stop loss levels, an
This MetaTrader 5 expert advisor implements a classic moving average crossover strategy with multi-symbol support. It enters trades when a fast simple moving average crosses a slow simple moving average. The robot features automated risk management, calculating position sizes based on a percentage of the account balanc
This MetaTrader 5 expert advisor functions as a communication bridge between the trading terminal and the Telegram messaging platform. It allows users to interact with their terminal remotely by providing a bot token. The EA uses a timer-based polling system to check for incoming messages and can respond to specific co
This MetaTrader 5 expert advisor collection provides several automated strategies, primarily focusing on the Naive RSI EA. This robot enters trades by comparing Relative Strength Index values against two moving averages, buying when the RSI exceeds both and selling when it drops below both. It manages exits through fix
This repository contains a collection of MetaTrader 4 expert advisors designed for educational purposes. The primary strategy, named Belinda, executes trades based on moving average crossovers using a 10-period and 40-period SMA, filtered by volatility via the Average True Range indicator. The collection features sever
MT4CollectionIndicator crossoverScalpingTrend following
This MetaTrader 4 expert advisor functions as a client-side trade copier designed to receive and execute signals from a remote server. It utilizes socket communication to establish a link with a specified hostname and port, identifying the client by account number upon connection. The EA monitors for incoming data usin
This MetaTrader 4 robot automates a supply and demand strategy by identifying price pivots within a specific historical window. It analyzes candle structures to detect significant price moves and structural clearance for potential entries. The expert advisor manages risk by allowing users to set a fixed dollar amount p
This MetaTrader 5 utility serves as a foundational template for integrating the Telegram API with MQL5. It allows users to capture chart screenshots and send them directly to a Telegram bot or channel. The code demonstrates how to remove indicators from a chart, capture an image file, and transmit text alerts including
This MetaTrader 5 expert advisor serves as a trade management utility that trails the stop loss of open positions using the Bill Williams Fractals indicator. It monitors active trades on the current symbol and updates the stop loss to the most recent fractal high for sell positions or fractal low for buy positions. The
Simple Bot is an automated trading robot for MetaTrader 4 that utilizes Bill Williams Fractals and the Relative Strength Index to execute trades. The system monitors the one-minute timeframe for fractal formation while using daily RSI values as a filter for entry. It includes built-in risk management features such as f
Position Open Helper is a manual trade execution utility for MetaTrader 5 designed to assist with position sizing and order placement. Upon initialization, the expert advisor creates draggable horizontal lines on the chart to represent entry, stop-loss, and take-profit levels. It calculates the appropriate volume based
This MetaTrader 5 expert advisor is designed for trading gold on the one-minute timeframe. It appears to execute trades based on a price movement percentage over a specific number of bars, as indicated by the movement percent and bar count parameters. The tool includes fixed lot sizing and slippage controls but lacks v
This repository provides a collection of MetaTrader 5 expert advisors centered on mean reversion and statistical regression techniques. The bots utilize indicators such as Bollinger Bands and moving averages to determine trade entries. Each trade is executed with predefined risk controls, including fixed point-based st
This MetaTrader 5 expert advisor executes trades based on the Williams Percent Range (%R) indicator paired with a specialized filter to avoid sideways markets. The system identifies trends by checking if the Williams %R value crosses the median 50 level while simultaneously analyzing multiple timeframes—including M1, M
Falcon R is a rule-based expert advisor for MetaTrader 4 designed to identify and trade within ranging market conditions. It utilizes a combination of Keltner Channels and Moving Averages to determine entry points. The robot provides extensive trade management options, including fixed or volatility-based stop loss and
Data Writer is a MetaTrader 4 expert advisor designed to log historical asset data into CSV files. Rather than executing trades, it functions as a data collection tool for traders looking to build external prediction models or conduct deep learning analysis. Users can configure the EA to record specific price points in
WatchDog is a connectivity utility for MetaTrader 4 designed to ensure a trading terminal remains logged into an account. It monitors chart update activity and triggers an automated reconnection procedure if the connection stalls for a user-defined period. The tool utilizes Windows DLL calls to interact with the termin
This MetaTrader 4 collection provides several scripts designed to analyze price action and candlestick patterns. It includes modules for moving average crossovers, Bollinger Bands, and a specialized candlestick analysis tool. The software identifies specific formations such as hammers, dojis, and engulfing candles by c
This repository provides a collection of MetaTrader 4 utilities and expert advisors focused on technical signaling and market monitoring. The primary EA identifies exponential moving average crossovers, triggering terminal alerts when a fast EMA crosses a slow EMA on the completion of a candle. The collection includes
Soportes y Resistencias is a MetaTrader 4 utility designed to automatically identify and mark support and resistance levels on a price chart. It operates by scanning the price history for local maximums and minimums based on user-defined look-back and look-forward parameters. When a peak or trough is identified, the ex
This repository contains a collection of MetaTrader 5 expert advisors and sample codes for various trading strategies. The primary EA, Rompimento Pivot, implements a breakout system utilizing a combination of Relative Strength Index, Average True Range, and Bollinger Bands as filters. It features comprehensive risk con
MT5CollectionBreakoutIndicator crossoverTrend following
This MetaTrader 5 expert advisor serves as a bridge between the terminal and external programming languages via the ZeroMQ library. It allows developers to perform algorithmic trading and market data analysis from external environments by exposing the MQL5 API through a socket interface. The program handles JSON-format
This MetaTrader 5 expert advisor implements a mean-reversion strategy primarily designed for the EUR/USD pair. It utilizes a 25-period Moving Average to identify price deviations, operating on the theory that hourly prices will eventually return to the mean. The code facilitates a dual-position approach, managing simul
AutoNAS is an automated trading robot designed for the NAS100 index and USOil on the MetaTrader 4 platform. It employs a custom price-action strategy based on a variable threshold to determine entry points. The expert advisor monitors price movements relative to an initial anchor price, opening positions when specific
This collection provides a suite of trade management and execution assistants for MetaTrader 4 and MetaTrader 5. Designed to support manual trading, these utilities facilitate automatic position sizing and order placement via on-chart buttons rather than autonomous algorithmic decision-making. The repository includes s
This MetaTrader 4 expert advisor implements a trend-following breakout strategy using Heiken Ashi candle sequences. The system defines local highs and lows based on consecutive candle color changes and enters trades when these price levels are breached. It operates on a reversal basis, closing active trades and initiat
This repository is a comprehensive collection of MetaTrader 5 source code gathered from the MQL5 CodeBase and various technical articles. It serves as an archive of various trading systems, including trend-based impulse strategies, fuzzy logic applications, and standard indicator samples. The collection contains over 5
This MetaTrader 4 expert advisor implements a price action strategy based on candlestick engulfing patterns. It identifies bullish and bearish formations to enter long or short positions automatically. The bot manages active trades by closing existing positions whenever a new opposing signal is detected, effectively re
Momgreg GP1 is an automated trading robot for MetaTrader 5 that executes trades based on signal logic and market depth monitoring. The expert advisor implements a fixed lot sizing strategy with integrated stop loss and take profit protections for each position. It features a risk management module that monitors account
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
This MetaTrader 5 expert advisor functions as an autonomous trading system that integrates a genetic algorithm for parameter optimization. The robot utilizes a logic-tree structure combined with technical indicators such as RSI, MACD, and ADX to identify market entries. It features standard risk controls, including fix
This MetaTrader 4 expert advisor executes trades based on the crossover of two smoothed moving averages. It monitors direction changes between a fast and slow period to trigger market entries. Risk management is handled through fixed stop loss and take profit parameters, along with a break-even function that secures po
MT4Trading robotIndicator crossoverTrend following
Falcon EA Template is an automated trading robot for MetaTrader 4 that utilizes dual moving averages and Keltner Channels to determine market entries. The system prioritizes risk management through percentage-based position sizing and various exit strategies. It features fixed and volatility-based stop loss and take pr
MT4Trading robotIndicator crossoverTrend following
This repository contains a collection of expert advisors for the MetaTrader 4 platform. The primary strategy, BearishEngulfing, utilizes price action to identify specific candlestick patterns for executing sell orders. It includes essential risk management parameters such as fixed lot sizing, stop loss, take profit, an
NZT USDJPY is a MetaTrader 4 expert advisor specifically tailored for the USD/JPY forex pair. The EA monitors tick-by-tick price movements to manage active long and short positions. It employs logic that triggers order closures or modifications based on bid and ask fluctuations relative to reference prices. The softwar
This collection of MetaTrader 4 expert advisors features several distinct trading robots including Daybreaker, Stradle, and the Signature System. The primary Daybreaker EA utilizes custom task scheduling and lookback periods to identify market entries based on volatility. It includes risk management controls such as pe
This MetaTrader 5 expert advisor serves as a modular framework for testing and optimizing indicator-based trading strategies. It currently implements a trend-following system based on Supertrend signals, which utilize volatility-driven calculations for entries. The robot executes logic exclusively at the opening of eac
A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse
MT5CollectionMean reversionBreakoutTrend following
This news filter module for MetaTrader 5 provides a framework for Expert Advisors to avoid trading during high-impact economic events. It features a dual-layer system: a decision layer that blocks new entries and an action layer that can flatten current positions or cancel pending orders. The tool supports live termina
This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage
This MetaTrader 5 expert advisor implements a multi-timeframe strategy combining M15 trend direction with M5 trade execution. It identifies entries using Smart Money Concepts like break of structure and order blocks, confirmed by MACD, Stochastic, and Parabolic SAR indicators. Risk management is a primary focus, offeri
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.