This risk management tool for MetaTrader 4 and 5 calculates optimal lot sizes based on user-defined risk parameters, account balance, and currency. It provides a graphical user interface for setting entry, stop loss, and take profit levels visually on the chart. The expert advisor accounts for commissions, swaps, and m
This MetaTrader 4 expert advisor functions as a local trade copier, allowing users to replicate trades from one terminal to another. It operates by sharing a data file between a master and a slave instance on the same computer or filesystem. The slave EA manages order execution, including market, limit, and stop orders
Telegram API Signal Bot is a notification utility for MetaTrader 4 designed to broadcast trading activity to external communication channels. The EA monitors the terminal for order events, including executions and partial closes, and transmits the details to a Telegram group or channel using the Telegram Bot API. It of
This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz
This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri
Account Protector is a risk management expert advisor for MetaTrader 4 and 5 designed to monitor account health and prevent excessive drawdowns. It allows users to set specific triggers based on floating profit or loss, equity levels, free margin, spread, or daily performance. When these conditions are met, the EA auto
This Expert Advisor framework for MetaTrader 4 provides a modular template for building custom trading strategies. It handles complex trade management tasks, including multi-symbol execution, margin-based position capping, and various lot-sizing algorithms such as risk percentage or fixed volume. Risk controls include
This expert advisor provides a communication layer between MetaTrader 4 and external software applications via the ZeroMQ protocol. It operates as a server that listens for remote commands to open, modify, or delete market and pending orders. The system features a request-response mechanism and a dedicated push server
This MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic
This MetaTrader 4 template provides a modular framework for developing expert advisors. It organizes trading logic into decoupled components including signal engines, order management, and environment checking. The system uses an abstract controller class to handle data processing from multiple sources, such as MACD or
This expert advisor provides automated schedule management for the MetaTrader 4 and MetaTrader 5 platforms. It allows users to define specific time windows for each day of the week to toggle the platform's global AutoTrading status. Beyond simple scheduling, the utility can close active positions and delete pending ord
This repository provides a series of educational code examples designed to help algorithmic traders transition from MetaTrader 4 to MetaTrader 5. The collection focuses on highlighting the technical improvements and syntax changes between the two versions of the MQL language. The included scripts demonstrate how to acc
This repository contains a collection of personal trading tools for MetaTrader 4 and MetaTrader 5. According to the author, the included expert advisors do not operate as fully automated trading robots. Instead, they function as execution assistants that help with manual trading by handling automatic position sizing an
This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si
Neo Trader is an order execution bridge that facilitates the transfer of trade data from TradingView to MetaTrader 4 and 5 terminals. Operating through a local socket server and a browser extension, it allows users to execute trades directly from TradingView position drawing tools. The expert advisor handles market and
This framework enables MetaTrader 4 to function as a TCP server using Winsock bindings, allowing external applications to connect over a network. It facilitates bidirectional communication, enabling users to stream real-time price data to external environments or execute trading commands remotely. The repository includ
This MetaTrader 4 expert advisor facilitates trade copying between separate accounts across different brokerages using a MySQL database as a bridge. It consists of a master script that records trades and a slave script that replicates them. The tool supports volume scaling via multipliers or fixed lot sizes, trade dire
This repository contains the MQL source code used by Forex Strategy Builder Professional to export automated trading strategies to MetaTrader 4 and MetaTrader 5. It serves as a standardized template for executing technical strategies generated by the software, handling order execution and trade management. The EA inclu
This utility for MetaTrader 4 and 5 automates trade execution based on trader-defined chart patterns. Users draw trendlines, horizontal lines, or channels, which the expert advisor monitors to place pending breakout orders. It handles trade entries, stop losses, and take profits according to specific object naming conv
NNFX Backtest C1 is a specialized utility for MetaTrader 4 designed to evaluate external confirmation indicators using the No Nonsense Forex methodology. It enables users to backtest custom indicators by defining signal logic such as two-line crossovers, zero-line crosses, or histogram changes. The system manages risk
This expert advisor acts as a communication bridge between MetaTrader 4 and NodeJS environments using the ZeroMQ protocol. It enables external applications to programmatically control trading functions, such as opening, modifying, or closing market and pending orders. The system supports fetching account info, price hi
This MetaTrader 4 expert advisor acts as a bridge between the trading platform and an external NodeJS application. It utilizes the WebRequest function to send real-time data, including bid and ask prices, to a local server during initialization, deinitialization, and on every price tick. The tool allows developers to p
This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on an Ichimoku-based strategy with neural network capabilities. The main EA utilizes an external API for AI-driven signals and incorporates risk controls such as Martingale lot scaling, trailing stops, and spread filters. It suppor
This repository contains a collection of MetaTrader 4 expert advisors, including the Ariel Turtle Bot and several named variants like Elisa, Cary, and Faith. The primary logic utilizes Donchian Channel breakouts combined with Simple Moving Average filters to identify trend-following entries. The software includes compr
Parallel Strategies is a MetaTrader 4 expert advisor designed to execute multiple independent technical strategies simultaneously. It includes modules for Moving Average crossovers, MACD breakouts, Heiken Ashi signals, and a hybrid Heiken-MACD system. Each strategy operates with a unique magic number to allow concurren
This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to
This utility synchronizes tick data and historical price information from MetaTrader 4 to MetaTrader 5 in real-time. It utilizes a socket communication library to transmit data between the two platforms, requiring an active expert advisor on both terminals. The receiver component creates custom symbols in the MetaTrade
LediaEA Trading Assistant is a MetaTrader 4 utility designed to facilitate manual trade execution and risk management. It provides a graphical interface for calculating lot sizes based on a fixed currency amount or a percentage of account balance or equity. The tool automatically detects order types, including market a
Adeline is a MetaTrader 4 expert advisor that executes trades based on a dual moving average crossover strategy. It monitors the 10-period and 40-period Simple Moving Averages, entering long or short positions when the fast line crosses the slow line. The robot manages exits using opposite signal crossovers, a fixed st
This repository features a vast collection of over 1,100 open-source Expert Advisors for the MetaTrader 4 platform. It serves as an educational library containing diverse trading strategies, including trend following, breakout, scalping, and mean-reversion systems. The collection explicitly includes high-risk methodolo
This expert advisor is a utility for MetaTrader 4 and MetaTrader 5 designed to manage stop-loss levels for existing trades. It utilizes Bill Williams' Fractals indicator to dynamically adjust the stop loss as new fractal points form on the chart. Users can configure the number of bars to scan and specify which fractal
Ubot is an automated trading system for MetaTrader 4 that utilizes the Traders Dynamic Index (TDI) indicator to execute market entries. It identifies specific technical patterns described as sharkfin and squeeze setups to determine trend direction and volatility. The expert advisor features advanced trade management to
This repository contains a collection of MetaTrader 4 expert advisors developed for MQL4 programming tutorials. It includes various trading strategies ranging from simple moving average crossovers to complex martingale and grid systems. The provided examples demonstrate order layering with configurable lot multipliers,
This MetaTrader 4 expert advisor provides a foundational framework for developers to create custom automated trading systems. It establishes a structured environment for handling trade signals, entry execution, and exit management. The template includes standard risk parameters such as fixed lot sizing, stop loss, and
This expert advisor acts as a trade manager for MetaTrader 4 and 5, focusing on automated stop-loss adjustments. It uses the Supertrend indicator to dynamically calculate and move the stop-loss level for existing positions. Users can filter which trades are managed based on symbol, magic number, trade type, or comments
Falcon F2 is an expert advisor for MetaTrader 4 that implements model-based trading by interpreting external signals. The robot acts as an execution interface for predictions generated outside the platform, such as those from R-based models or a Decision Support Centre. It enters trades when predicted price changes exc
This MetaTrader 4 expert advisor automates trading by combining the Relative Strength Index (RSI) with Ichimoku Kumo signals. It scans every instrument listed in the Market Watch window to identify entries across multiple pairs simultaneously. The robot includes a built-in spread filter to avoid high-cost executions an
Timed Order is a utility expert advisor that schedules market or pending orders to be executed at a specific time. It supports one-time execution or daily recurring trades on specified days of the week. The EA allows setting stop-loss and take-profit levels using fixed prices, point distances, ATR multipliers, or sprea
The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr
This collection of MetaTrader 4 expert advisors focuses on technical analysis strategies such as moving average crossovers and chart patterns. The primary EA utilizes dual moving averages alongside fractal detection to identify entry points based on price momentum. It incorporates risk management tools including hard s
MT4CollectionIndicator crossoverScalpingTrend following
This MetaTrader 4 expert advisor implements a reversal and trend-following strategy based on SOMAT3 and IRC Triplets indicators. It evaluates price action across consecutive bars to identify entries and offers an optional trend filter for signal validation. The system manages risk using fixed lot sizing, initial stop l
This expert advisor functions as a bridge that transforms a MetaTrader 4 terminal into an HTTP REST server. It enables external applications to communicate with the trading platform using HTTP requests via a defined host and port. The tool manages command processing through a millisecond timer and includes an IP-based
This expert advisor functions as a communication bridge between MetaTrader 4 and external software using the ZeroMQ messaging protocol. It enables a Python client to interact with the trading platform through a local server implementation on the MT4 terminal. The EA manages PUSH and PULL sockets to facilitate the excha
Mayordomo is a management expert advisor for MetaTrader 4 that facilitates account monitoring and remote trade intervention via Telegram. It periodically transmits balance, equity, and open position data to a designated Telegram channel. Beyond reporting, it acts as a controller, allowing users to close all active trad
This tool provides an interface between MetaTrader 4 or 5 and an external AI-powered analysis server. It allows users to request market evaluations from over thirty-four different AI models through a custom Node.js API bridge. The provided example expert advisor visualizes analysis results—including market trend, trade
This repository serves as a collection of MetaTrader 4 tools and indicators, with its main script being a multi-pair trading dashboard. The dashboard operates as an on-chart utility, enabling users to execute manual buy, sell, and close orders across multiple instruments simultaneously using clickable buttons. It manag
This MetaTrader 4 expert advisor acts as a bridge between Discord and the trading platform. It monitors specific text files in a local directory to receive commands and execute limit orders automatically. The bot utilizes Windows system calls via kernel32.dll for low-level file operations to synchronize with an externa
News Stopper is a utility for MetaTrader 4 designed to manage trade exposure and platform activity around scheduled economic events. It fetches data from external news calendars to automatically disable the automated trading button, close open positions, or delete pending orders. The tool allows users to set specific t
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.