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
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
Mql5 Pro is a comprehensive development framework and template collection for MetaTrader 5, specifically optimized for AI-assisted coding and Pine Script conversion. It provides standardized structures for creating Expert Advisors, custom indicators, and graphical user interfaces. The system includes built-in risk mana
This MetaTrader 5 analytical tool uses Markov Chain theory to examine the relationship between consecutive price movements. It processes historical data to calculate transition probabilities for up and down candles based on the preceding price action. The repository contains separate experts for analyzing one, two, or
This collection for MetaTrader 5 provides dozens of expert advisors based on the combination of Japanese candlestick patterns and technical indicators. The robots detect patterns such as Engulfing, Harami, and Morning Stars, using Stochastic, RSI, MFI, or CCI for signal confirmation. Trades are managed with fixed stop
This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
This MetaTrader 5 utility serves as an automated trade manager focused on risk reduction. It monitors active positions and moves the Stop Loss to the entry price once a specific profit target, defined in pips, is reached. The tool allows for an optional offset to account for spreads or transaction costs. It does not in
This repository provides a collection of expert advisors for MetaTrader 4 and 5, centered on news event volatility and trend following. The primary NewsTrader tool integrates with online economic calendars to automate trade placement seconds before scheduled events. It deploys a grid of pending orders with configurable
Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.
This MetaTrader 5 expert advisor functions as a trade communication bridge designed to synchronize platform activity with external systems via WebSockets. It monitors the terminal position list in real-time, identifying when orders are opened, adjusted, or removed. The EA serializes trade data including ticket numbers,
Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba
MT4Trading robotIndicator crossoverMean reversionTrend following
This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol
MT5 Basic Risk Manager is an execution utility for the MetaTrader 5 platform that automates position sizing. It calculates the appropriate lot size based on a fixed risk percentage of the account balance and the distance between user-defined horizontal lines on the chart. Traders place lines for entry, stop loss, and t
This MetaTrader 5 Expert Advisor serves as the execution module for a three-part synchronization system connecting NinjaTrader to MT5. It functions as a trade copier and hedging manager, automatically opening positions based on signals received from a central Go-based bridge server. The EA includes specialized risk con
This MetaTrader 4 expert advisor is a basic automation script designed to reach a specific profit target. Upon initialization, the bot checks the current account profit against a hardcoded threshold. If the target is not met, it immediately executes a market buy order with a fixed lot size. It features an alert system
This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe
Equity Protector is an account management utility for MetaTrader 5 designed to safeguard capital against significant drawdowns. It operates by monitoring account equity and balance at a user-defined frequency, such as every second. When the floating loss reaches a specified percentage or limit, the utility automaticall
This MetaTrader 5 expert advisor implements a trading strategy based on the TMA+CG (Triangular Moving Average and Center of Gravity) indicator. Developed using the EA31337 framework, the robot utilizes the non-repainting version of the indicator to identify market entries. It features a multi-timeframe capability, enab
Strategy Pinbar is an automated trading robot for MetaTrader 5 that identifies entry points using pinbar candlestick patterns. The EA enhances signal accuracy by applying Relative Strength Index (RSI) and Commodity Channel Index (CCI) filters to confirm market conditions. Built upon the EA31337 framework, the system is
This MetaTrader 5 expert advisor acts as a meta-strategy container that executes multiple underlying trading strategies simultaneously. Built on the EA31337 framework, it aggregates signals from various included strategy files across several timeframes ranging from M15 to H8. The EA manages trade entries and exits base
This repository provides a diverse collection of MetaTrader 5 expert advisors and utility scripts for automated trading. The primary logic focuses on managing pending orders through dynamic distance adjustments, time-scheduled trade execution, and sophisticated trailing stops that operate via price ticks or millisecond
MT5CollectionBreakoutIndicator crossoverTrend following
This high-frequency trading robot is designed for MetaTrader 4 and MetaTrader 5 to assist users in passing proprietary firm evaluation challenges. It employs a strategy that requires zero-slippage execution to function correctly, as it utilizes extremely tight or zero-point stop loss settings. The expert advisor includ
This expert advisor acts as a communication bridge between MetaTrader 4 or 5 and external Python applications. Based on the Darwinex Labs server framework, it uses text files to exchange market data and trade commands, allowing users to implement machine learning models or reinforcement learning strategies. It includes
This MetaTrader 5 tool implements a socket server using the Windows Sockets API via a third-party DLL. It allows the platform to act as a server, listening for incoming network connections on a specified host and port. The expert advisor initializes the server and checks for incoming messages at regular intervals using
OCC Strategy MetaTrader is a technical trading robot for MetaTrader 5 that implements a crossover strategy based on a custom double-smoothed indicator. The EA identifies market entries by comparing fast and slow signal buffers to trigger buy or sell orders. It operates on a new bar basis and includes basic trade manage
MetaTrader Predictor is an expert advisor for MetaTrader 4 designed to interface with an external web service for market analysis and trade execution. The EA functions as a data bridge, using WebRequest to transmit candle data including Open, High, Low, and Close prices from multiple timeframes to a specified host. It
This repository contains a collection of educational Expert Advisors developed as solutions for an MQL5 programming course. The provided examples demonstrate fundamental automated trading concepts on the MetaTrader 5 platform, specifically focusing on Exponential Moving Average crossover logic and MACD data processing.
This trade management expert advisor for MetaTrader 4 and 5 automates stop-loss adjustments based on specific profit targets. Unlike standard trailing stops, this tool remains inactive until a position reaches a user-defined profit threshold in points. It offers flexible trade selection by filtering positions based on
This MetaTrader 5 expert advisor functions as a communication bridge between the platform and an external Python environment using TCP sockets over IPv4. It facilitates the transfer of candle data, including Open, High, Low, and Close prices, from the chart to a Python server for external analysis or storage. The repos
This collection provides several MetaTrader 5 expert advisors and utility scripts developed for educational purposes. The primary advisor combines moving average crossovers with Relative Strength Index filters to identify entry points. It features standard risk management controls including fixed lot sizing, hard stop
This MetaTrader 5 expert advisor executes trades based on the Ichimoku Kinko Hyo system, specifically targeting cloud breakouts. It incorporates several technical filters including Average True Range for volatility and Average Directional Index for trend strength to refine entries. Risk management is handled through pe
This repository is an extensive collection of MetaTrader 4 expert advisors and source code components written in MQL4. It includes over 70 files featuring diverse trading strategies such as Sanity TREND for trend following and various robots utilizing divergence-based entries. A significant portion of the code is based
This repository provides a framework and example Expert Advisors that bridge MetaTrader 4 and MetaTrader 5 with the Algogene platform. It utilizes external dynamic-link libraries to establish a WebSocket connection, allowing the system to receive tailored trading signals from Algogene servers for trade entries. Additio
This MetaTrader 4 repository contains a collection of expert advisors and utilities. The primary robot, Up and Down Trader, employs a Fisher-style transformation of price action to identify entry points across three different trading modes. It features a spread filter to avoid trading during illiquid conditions and all
ICCapitals Secure is a risk management utility for MetaTrader 5. It acts as a supervisor to monitor and enforce trading parameters across an account. The expert advisor calculates position sizing based on a user-defined risk percentage per trade and manages risk-to-reward ratios. It features a timer-driven function to
This MetaTrader 5 repository provides a collection of expert advisors developed primarily for educational purposes and MQL5 language study. The included robots utilize trend-following logic based on multiple moving average crossovers, featuring variations with up to four different indicator periods. Traders can configu
Falcon B is an automated trading robot for MetaTrader 4 that utilizes moving average crossovers and Keltner Channels for market entries. It is specifically designed to function within a larger framework, integrating with R-based decision support software through CSV command files. The EA provides robust risk management
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 5 expert advisor implements a strategy based on Chan Lun (Zen Theory) technical analysis. It evaluates market structure and price action, using a candle size filter to determine trade entries. The robot includes built-in risk management features such as fixed stop loss and take profit orders. Additional
MT5Trading robotSMC / ICT / price actionTrend following
Ichimoku Scalper is a technical expert advisor for MetaTrader 5 that executes trades based on the Ichimoku Kinko Hyo and Parabolic SAR indicators. The system enters positions when the price interacts with the Senkou Span buffers, using the SAR for trend confirmation. It incorporates standard risk controls including fix
DS Fibonacci Trader is a MetaTrader 5 expert advisor that automates trading based on Fibonacci retracement levels. The robot calculates the price range over a specified number of days to determine key levels including 23.6, 38.2, 50.0, 61.8, and 76.4 percent. It provides visual chart objects and manages order execution
Horror EA, short for Horizontal Expert Advisor, is a manual trade management tool for MetaTrader 4. It enables traders to execute and manage positions through on-chart buttons and horizontal lines rather than standard order windows. The tool supports specific entry types based on candle highs, lows, or close prices and
This MetaTrader 5 expert advisor functions as a communication bridge between the platform and external programming environments using the ZeroMQ messaging library. It enables developers to send trade instructions and receive market data via TCP protocols, connecting MetaTrader to languages such as Python, R, or C++. Th
This collection of MetaTrader 5 experts provides a variety of utility tools for data management and external integration. The primary focus is on extracting real-time market data, including utilities that send candle information via UDP sockets to local or remote hosts. Other scripts in the repository allow users to co
This MetaTrader 5 expert advisor is an educational project implementing a martingale trading strategy. It uses Bollinger Bands to trigger entries and employs a grid-based approach to manage trades by layering additional positions at fixed intervals. The system features lot size multiplication after each layer to recove
Hedge Terminal is a specialized framework for MetaTrader 5 designed to facilitate hedging net positions and provide a structured API for managing expert advisors. The repository includes demonstration robots such as a moving average expert that operates across multiple timeframes. These examples show how to open trades
This repository provides a foundational boilerplate for developing Expert Advisors on the MetaTrader 4 platform. It implements an object-oriented structure, separating trading logic into distinct entry and exit classes. The code includes essential utility functions such as new candle detection and trade permission chec
Wealth Protector is a MetaTrader 4 expert advisor designed for automated trading using technical indicators. It combines price envelopes and ZigZag parameters to determine market entries and exits. While described by the author as a scalping tool, it is specifically configured for use on the daily timeframe. The system
This MetaTrader 4 expert advisor automates trading using Stochastic Oscillator signals. It allows for the confluence of up to three separate Stochastic indicators, potentially across different timeframes, to determine entry points. Trades are triggered by line crossovers or when the indicator reaches user-defined overb
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.