This Expert Advisor for MetaTrader 5 implements a basic moving average crossover strategy. It utilizes two Simple Moving Averages, specifically a fast 10-period and a slow 100-period line, to identify potential trend changes. The code calculates values for the current and previous candles to determine when the fast lin
This MetaTrader 5 expert advisor serves as a visual tool for plotting linear regression channels on a chart. It utilizes a custom library to calculate the regression line and standard deviation bands based on the last 50 periods of the M1 timeframe. The program automatically draws and updates trendlines to visualize th
This trade copier for MetaTrader 4 synchronizes orders from a master account to a slave instance using file-based communication. It provides flexible volume management, allowing users to copy original lot sizes, apply multipliers, or use fixed lot values. The tool includes account-level risk controls that can trigger b
This MetaTrader 4 expert advisor automates trading using a combination of support and resistance levels, Fibonacci retracements, and Marubozu candlestick patterns. It calculates and visualizes pivot points, support zones, and resistance zones across daily, weekly, and monthly timeframes. The robot identifies entries ba
This MetaTrader 5 utility manages open positions by applying a trailing stop based on the Parabolic SAR indicator. The Expert Advisor does not open new trades; it monitors an active position and incrementally adjusts the stop loss price according to the indicator's step and maximum parameters. It features a session tim
Tool Easy For You is a manual trading utility for MetaTrader 5 designed to assist with order execution and position management through a graphical interface. The tool provides input fields for fixed lot sizes, stop losses, and take profit levels for buy and sell orders independently. It includes automated risk manageme
This management tool for MetaTrader 4 and MetaTrader 5 automates the adjustment of stop-loss levels based on the Parabolic SAR indicator. It does not open new positions but instead monitors existing trades to trail their stop-loss according to current indicator values. Users can filter which trades the utility manages
This expert advisor for MetaTrader 5 implements a scalping strategy using a combination of trend and momentum indicators. It determines trend direction via three Smoothed Moving Averages (21, 50, and 200 periods) and uses the Relative Strength Index (RSI) as a filter. Entries are triggered by price breakouts of Fractal
Fractal Trailing Stop is a trade management expert advisor for MetaTrader 5 designed to automate stop loss adjustments based on the Bill Williams Fractals indicator. The EA monitors active positions on the current symbol and dynamically updates the stop loss level to the most recent fractal point. It incorporates custo
This repository contains a collection of MetaTrader 5 expert advisors focusing on technical analysis and candlestick price action. The scripts explore various entry methods, including Bollinger Bands with RSI for counter-trend setups and 'Big Shadow' engulfing patterns. The logic calculates specific candle metrics, suc
Walking Up The Bands is a trend-following expert advisor for MetaTrader 5 based on Bollinger Bands volatility breakouts. The robot enters long positions when the price moves above the upper band, attempting to capture the duration of an uptrend. Positions are closed when the price exits via the lower band. It includes
This MetaTrader 4 expert advisor functions as a manual trade management tool. It creates a graphical user interface panel directly on the chart, allowing traders to input specific price levels for protective measures. The EA specifically focuses on calculating and applying stop loss and take profit levels for manually
The Rsi MM is an automated trading tool for MetaTrader 4 that combines Relative Strength Index oscillators with a Moving Average trend filter. The system identifies potential market entries when RSI reaches overbought or oversold thresholds, using the Moving Average to confirm the broader trend direction. It features b
This MetaTrader 5 collection features automated implementations of trading strategies sourced from YouTube for the purpose of backtesting and verification. The repository includes multiple expert advisors, such as a MACD-based robot and an implementation of the 97 percent transparent trader strategy. These tools utiliz
This MetaTrader 5 expert advisor utilizes a combination of Envelopes, the Gator Oscillator, and Standard Deviation indicators to execute trades. It features comprehensive trade management including stop loss, take profit, and break-even functionality. The robot allows for position scaling through adding or reducing lot
Shuriken FX is an automated trading robot for MetaTrader 4 that executes trades based on indicator-driven signals, visualized as arrows on the chart. The expert advisor implements basic trade management using fixed lot sizing and mandatory stop loss and take profit levels. It supports both automatic and manual operatio
Trading Central Robot is a MetaTrader 4 expert advisor designed to automate trades based on technical levels, likely sourced from external analysis tools. The EA scans chart objects to identify pivot, support, and resistance points. When new levels are detected, it enters a trade in the identified direction with a fixe
This expert advisor for MetaTrader 4 acts as a bridge between an external signal API and the trading terminal. It automatically parses incoming trade commands for entries, exits, and modifications like moving to breakeven or performing partial closes. The EA handles risk through fixed lot sizes or percentage-based allo
Trading Algo Builder is a MetaTrader 4 expert advisor designed to help traders construct automated strategies without manual coding. It features a modular system where users can combine up to four different indicator signals, supporting both built-in MetaTrader indicators and custom external files. Signal logic include
This MetaTrader 5 utility synchronizes multiple chart windows to facilitate multi-timeframe or multi-symbol analysis. When a user triggers a specific keyboard shortcut, the tool captures the time coordinate of the mouse cursor and draws a vertical line across all open charts at that exact timestamp. It manages chart se
This MetaTrader 5 expert advisor automates trading strategies based on the Know Sure Thing (KST) momentum oscillator. It calculates weighted Rate of Change values across multiple internal periods, smoothed by simple moving averages, to identify trend reversals and overbought or oversold conditions. The robot offers sev
MT5Trading robotIndicator crossoverMean reversionTrend following
This MetaTrader 5 expert advisor automates trading based on trendline breakouts. It identifies market trends by calculating pivot highs and lows over a specific period. The slope of the trendlines is determined using Average True Range, standard deviation, or linear regression methods. The robot enters trades when pric
System 01 is an automated expert advisor for MetaTrader 5 that utilizes a trend-following strategy combining the Parabolic SAR and a Moving Average. The robot enters buy positions when the price is above both the Parabolic SAR and the Moving Average, while sell positions are initiated when the price falls below both in
Strawberry Strategy Tester is a MetaTrader 4 expert advisor designed for automated trading and strategy evaluation. It implements Bollinger Band-based entry logic and offers multiple lot sizing methods, including fixed lots, addition, and multiplication. The use of lot multiplication suggests the expert advisor utilize
This MetaTrader 5 robot executes trades based on quantitative risk indicators, including Value at Risk (VaR) and Expected Shortfall (ES). It uses statistical calculations like standard deviation and confidence levels to determine entry signals based on price returns. The system is designed for intraday trading, featuri
MQL Basics Collection is an educational repository for MetaTrader 5, providing a wide array of scripts and expert advisors designed to teach the fundamentals of MQL5 programming. It includes over fifty files covering essential operations such as opening and closing positions, retrieving account information, and integra
This MetaTrader 4 expert advisor functions as a trade manager to automate the trailing of stop-loss levels for active positions. It monitors trades matching a specific magic number and symbol, activating only after the profit reaches a predefined pip threshold. Once triggered, the EA adjusts the stop-loss to maintain a
This repository contains a collection of MetaTrader 4 expert advisors and utilities focusing on technical indicator strategies. The core EA, MACROSS, initiates positions based on simple moving average crossovers and filters entries using the Relative Strength Index. It incorporates risk controls through ATR-based stop
This MetaTrader 5 expert advisor executes trades based on the Moving Average Convergence Divergence (MACD) indicator combined with dual exponential moving average trend filters. The robot enters positions when MACD reaches specific pip thresholds and uses 6-period and 20-period EMAs to confirm market direction. It feat
This expert advisor serves as a ZeroMQ bridge for MetaTrader 5, enabling communication between the trading platform and external applications such as Python. It is primarily designed to run within a containerized environment using Docker and Alpine Linux. The EA facilitates data streaming, historical price access, and
This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It offers a comprehensive suite of trade management tools, including fixed tick-based stop loss and take profit levels, trailing stops, and break-even settings. Users can configure up to three partial exits to sca
This expert advisor acts as a server-side bridge for MetaTrader 4, allowing external programs written in Java or Python to control the platform. It utilizes the Windows API to establish communication through named pipes, enabling the execution of MQL4 functions within external environments. The EA is intended as a foun
Fantastic Garbanzo is an automated trading robot for MetaTrader 5 that utilizes the Relative Strength Index (RSI) to identify entry points. It operates by monitoring RSI levels against user-defined upper and lower boundaries, typically used for mean-reversion strategies. Risk management is handled through fixed lot siz
Passive Income is an automated trading robot for MetaTrader 5 that identifies entries using Moving Average crossover signals. The EA utilizes standard MQL5 library classes to execute trades and manage positions. Risk management is facilitated through a Parabolic SAR trailing stop, which dynamically adjusts the stop los
MT5Trading robotIndicator crossoverTrend following
This MetaTrader 4 repository contains a collection of trading tools and expert advisors, primarily focused on the Darwinex ZeroMQ bridge. The main server component enables external communication between MetaTrader and other programming environments using push, pull, and publish sockets. The collection also includes sev
This MetaTrader 4 expert advisor implements a One-Cancels-the-Other (OCO) order management system, primarily developed for educational purposes. The robot automatically places pairs of pending buy stop and sell stop orders at a user-defined distance from the current market price once per bar. When the logic detects tha
Fibonacci Expert is a MetaTrader 5 robot that calculates Fibonacci levels using price extremes from a user-defined timeframe. It automatically places various pending orders, including buy stops, sell stops, buy limits, and sell limits, at specified intervals relative to these levels. The EA manages risk through individ
This MetaTrader 4 utility serves as a visual aid for traders focusing on price action and candlestick patterns. It displays the current bid price and utilizes on-chart labels to highlight specific technical formations, such as Doji candles, helping users recognize market setups. The tool operates by creating graphical
This MetaTrader 4 expert advisor functions as a manual trading utility by providing a graphical interface on the chart. It allows users to execute buy and sell orders directly through on-screen buttons rather than using the standard terminal menus. The tool includes an editable text field for setting the lot size manua
This MetaTrader 4 expert advisor is designed to trade high-impact fundamental events such as NFP and CPI releases. It features a manual on-chart button that, when clicked, prepares logic for a price breakout. The EA tracks pending orders and is programmed to cancel the opposing side once a buy stop or sell stop is trig
Remote MetaTrader is a bridge for MetaTrader 4 that enables remote command execution through external applications, primarily Python. It functions by initializing a server within the platform using socket-based communication, supporting both request-reply and publish-subscribe architectures. The expert advisor facilita
Watchdog T is a monitoring utility for MetaTrader 4 designed to oversee the activity of other expert advisors. It functions by tracking a specific magic number across both open trades and account history. If no new trade activity, such as opening or closing a position, is detected within a user-defined time threshold,
Bear Treading is a MetaTrader 5 robot developed using the MQL5 standard library expert classes. It primarily executes trades based on Relative Strength Index (RSI) signals, incorporating Moving Average parameters for trend identification. The system employs traditional risk controls, including hard stop loss and take p
This MetaTrader 4 expert advisor serves as a communication bridge between the trading terminal and the Telegram messaging platform. It implements a trade observer to monitor real-time account changes, such as trade closures, and transmits notifications to a designated Telegram bot. The tool includes a custom bot class
This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies specific crossover events, such as price moving above the upper band or below the lower band, to trigger trade logic. The system monitors candle closes relative to these volatility bands and tracks individua
This utility for MetaTrader 5 enables communication between the trading platform and external systems using the MQTT protocol. It establishes a socket connection to a specified broker to publish messages and data to defined topics. The expert advisor handles packet construction manually, including headers and payload e
This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 library framework. The featured expert advisor, ExpertMAPSARSizeOptimized, generates trade signals based on a Moving Average and manages active positions using a Parabolic SAR trailing stop. It includes a money managemen
This MetaTrader 4 expert advisor functions as a communication bridge between the trading platform and a Node.js backend. It enables users to execute and manage market orders through external REST API endpoints, allowing for remote trade control via web applications. The software polls a configured server for trade inst
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.