This MetaTrader 5 expert advisor identifies scalping opportunities by analyzing candle data within a sliding window. It utilizes dynamic delta thresholds calculated through rolling means and Median Absolute Deviation (MAD) for both tick and volume data. Users can configure specific multipliers and minimum absolute thre
This repository is a diverse collection of MetaTrader 5 expert advisors and utilities, ranging from automated trading robots to advanced risk management frameworks. The central tools focus on sophisticated risk control, implementing Value at Risk (VaR) calculations, equity-based stop loss and take profit protection, an
This MetaTrader 5 expert advisor utilizes statistical normalization and trend filters to execute trades within a grid recovery framework. It identifies entry points using the Fisher Transform for overbought or oversold conditions, filtered by QQE trend alignment and ADX volatility thresholds. When a position moves agai
This MetaTrader 5 expert advisor acts as a modular framework for algorithmic trading using object-oriented principles. It includes a functional strategy that enters trades based on RSI levels and Moving Average crossovers. The system manages exits through automated stop loss, take profit, break-even adjustments, and tr
ÆEA is an automated trading robot for MetaTrader 4 that employs an ensemble of technical indicators to identify market imbalances. The strategy, described by the author as the Proportionality Principle, triggers trades when a specific ratio of bullish to bearish indicator signals is met. It calculates inputs from a wid
This MetaTrader 5 utility functions as a performance auditing dashboard for managing multiple algorithmic trading strategies simultaneously. It monitors and calculates institutional-grade metrics such as Profit Factor, Win Rate, and Risk/Reward ratios. The tool automatically detects strategy names by filtering broker l
This MetaTrader 5 expert advisor serves as a modular framework and starter template for developing trend-following trading systems. It utilizes a clean architecture to separate signal logic, risk management, and order execution. The included demo logic implements a standard moving average crossover strategy to enter tr
MQL5 EA CI/CD Template is a development framework for MetaTrader 5 designed to automate the lifecycle of Expert Advisors. It implements modern software engineering practices through continuous integration and deployment pipelines using GitHub Actions. The system includes tools for automated unit testing, static code an
This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage
Set Fixed SL and TP EA is a management tool for MetaTrader 4 and 5 that automatically monitors open positions and pending orders to apply protective exit levels. The utility assigns stop-loss and take-profit values based on user-defined points, specific price levels, or a percentage of the stop-loss. It features granul
This collection for MetaTrader 4 provides a variety of expert advisor templates and functional trading robots. The core strategy logic often utilizes price action relative to moving averages to identify trends. Key features include a randomized entry timer designed to avoid high-volatility bar starts, integrated stop l
This MetaTrader 4 expert advisor combines the Relative Strength Index, Moving Average, and Average Directional Index to identify trend-following entries. The strategy executes trades when price positioning relative to the moving average aligns with RSI exhaustion levels and ADX trend strength. It includes built-in risk
This MetaTrader 5 robot implements a grid trading strategy featuring dynamic order spacing. Unlike traditional fixed grids, this expert advisor increases the distance between subsequent levels using an expansion factor. It employs martingale lot scaling where volumes grow exponentially based on the number of open posit
This Expert Advisor for MetaTrader 5 implements a bi-directional grid strategy combined with martingale lot scaling. The robot monitors buy and sell legs independently, opening new orders at fixed pip intervals when the price moves against existing positions. It utilizes an exponential growth factor to increase trade v
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.