This MetaTrader 5 expert advisor automates dual-direction hedging primarily for XAUUSD and BTCUSD. It opens both long and short initial positions simultaneously without waiting for indicator crossovers. When price moves against active positions, it places counter-trend grid orders at specified point intervals up to set
Xauusd Scalper is a regime-adaptive Expert Advisor designed for MetaTrader 5, specifically optimized for the XAUUSD (Gold) M5 timeframe. It integrates four distinct strategy modules—SweepReversal, VolBreakout, TrendPullback, and MeanReversion—under a shared risk manager. The EA automatically classifies market condition
AI Trading EA is an automated trading robot for MetaTrader 5 that integrates external machine learning signals with a local technical strategy. The EA sends real-time market data via HTTPS POST requests to a user-defined AI endpoint to retrieve trade signals. When AI signals are disabled or offline, it falls back to a
This MetaTrader 5 Expert Advisor trades gold using an ATR-adaptive grid system combined with monthly price bands. It segments account equity into a primary trading budget and a reserve fund, placing up to twelve levels of DCA orders. Grid spacing relies on ATR, while position sizing uses a quadratic progression budget
This MetaTrader 4 expert advisor implements a multicurrency basket trading strategy based on price action. It evaluates multiple currency pairs simultaneously using a scoring system that compares current price levels to opening prices across five-minute and fifteen-minute timeframes. The robot manages entries automatic
The SMC Quant EA is a MetaTrader 5 robot that trades using a deterministic state machine based on smart money concepts. It enters long or short positions when lower timeframe price action aligns with fair value gaps, order blocks, liquidity sweeps, and swing structures, with confirmation from the higher timeframe bias.
An MT5 Expert Advisor specifically designed for trading gold (XAU/USD) with modular strategy components and strong risk management filters. It features four mutually exclusive trading modes: Donchian breakout, EMA trend pullback, session breakout, and Bollinger Bands mean reversion. Trades are entered based on multi-ti
This EA acts as a slave terminal in a ZMQ-based trade copier for MetaTrader. It binds to a TCP socket on a configured port and listens for incoming trade positions from a master EA. Upon receiving a position, it opens a matching trade on the local terminal using the specified magic number and slippage. The system enabl
The Gold Reaper is a multi-strategy expert advisor for MetaTrader 4 and 5. It trades gold pairs using breakout and reversal entries based on fractals and ATR. Trades enter when spread and frequency conditions are met and exit via trailing stops or time-based rules. The EA includes NFP filters to pause during economic e
This trade management expert advisor for MetaTrader 5 provides a comprehensive execution panel featuring a TradingView-inspired position tool. It allows users to visually define risk through draggable on-chart stop loss and take profit zones, automatically calculating lot sizes based on a percentage of account risk. Th
This repository contains a set of automated trading robots for the MetaTrader 5 platform, focusing on indicator-driven entry logic. The primary expert advisor utilizes Relative Strength Index levels to identify potential reversals, filtered by a Moving Average to ensure trades align with the prevailing trend. Risk mana
RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc
AI Game Theory Trader is a MetaTrader 5 expert advisor that employs Nash-style statistical signals for automated trade execution. It utilizes adaptive logic to calculate lot sizes based on user-defined risk percentages. The EA manages risk through stop losses, take profits, and trailing stops, which can be fixed or ATR
Otto EA is a MetaTrader 5 expert advisor ported from Pine Script, designed for institutional-style trading and price action analysis. It utilizes a proprietary Wick1+Wick2 support and resistance block methodology to identify market structure and potential entry points. The system includes a sophisticated trade manageme
Mveuuh Gold is an automated MetaTrader 4 expert advisor designed specifically for trading XAUUSD. It utilizes a multi-layered trend filtering system based on three Exponential Moving Averages and the Average Directional Index to determine entry direction. The EA employs a grid-based pyramid strategy, opening additional
XSpark is a modular automated trading framework for MetaTrader 5 that prioritizes capital protection and risk management. It includes a collection of distinct Expert Advisors covering various methodologies: a trend-pullback scalper, candle momentum tracking, Smart Money Concepts (SMC), and ICT liquidity models. The sys
XAUUSD Guardian is a MetaTrader 5 expert advisor that scalps gold using a higher-timeframe EMA and ADX trend filter and a lower-timeframe pullback entry. It sends one order with an ATR-based stop loss and a take profit at 1.5 times that distance, then flattens after a time limit or outside the broker session. Risk cont
Pattern Scalp EA is an MT5 trading robot that automates a session-based scalping methodology tailored for index markets such as NAS100, US30, and US500. The advisor evaluates the initial 15-minute session candle against Daily ATR to determine market qualification and establish a contrarian bias. It enters positions bas
This MetaTrader 5 expert advisor is a component of the MT5-AI ecosystem, designed to interface with Python gateways and Telegram signals. The robot processes external signals to identify specific candle patterns and automatically plot Fibonacci retracement levels on the chart. It features multiple operational modes inc
This collection of MetaTrader 5 expert advisors focuses on grid and basket trading strategies. The core system establishes a reference price based on a specific hourly candle to initiate buy and sell grids. It manages risk using volume-weighted basket targets for take profit and stop loss. The EA employs aggressive lot
Axole is a MetaTrader 5 expert advisor that implements a classic moving average crossover strategy. It operates specifically on the one-minute timeframe, identifying trends when a fast simple moving average crosses over a slow simple moving average. The robot restricts trading to one open position per symbol at a time
This MetaTrader 5 expert advisor utilizes the Average True Range (ATR) indicator to identify trade entries based on market volatility. It functions as an automated robot that places orders using levels derived from ATR calculations. Risk management is handled through fixed stop loss and take profit settings defined in
This algorithmic scalping robot for MetaTrader 4 and 5 uses a five-factor confluence engine to identify trade entries. It monitors RSI extremes, Bollinger Band breakouts, MACD momentum, EMA ribbons, and volume acceleration. The EA employs percentage-based risk management with a strict stop loss and a flexible take prof
The AutoPilot FX EA is an MQL5 Expert Advisor for MetaTrader 5. It places Buy Stop and Sell Stop orders around current price to create a straddle breakout. The first triggered order trades and the opposite pending order cancels. Upon close the EA places a fresh straddle at new price using dynamic ATR distance. Multiple
This MetaTrader 5 expert advisor automates market structure analysis based on Smart Money Concepts. It identifies key technical events including Change of Character, Break of Structure, and Inducements across two synchronized timeframes. The tool maps Point of Interest zones, distinguishing between extreme and decision
This MetaTrader 5 expert advisor utilizes Smart Money Concepts and pure price action to execute trades without traditional technical indicators. By analyzing raw candle data, it identifies market structures, order blocks, and various fair value gaps. The system includes multiple versions, ranging from simple price acti
EddyTrader is a risk management tool for MetaTrader 5 designed to enforce trading discipline through account-wide loss limits. It monitors the total financial performance of the account regardless of the symbol or strategy. Once a user-defined maximum loss is reached, the expert advisor automatically closes all open po
The Gold Trend Pullback EA is a MetaTrader 5 robot that trades only XAUUSD. It analyzes H1 trend using fractal swing highs and lows, then identifies pullbacks to EMA 20 on M15 and waits for confirmation candles with volume. It enters market orders within session hours, spread limits, and ATR volatility ranges. Exits us
This MetaTrader 5 expert advisor acts as a quantitative trading assistant and order manager. It features a comprehensive graphical interface with tabs for trade operations, account monitoring, and position tracking. The system utilizes a predefined twenty-level lot sizing progression, which is typically used for recove
Orva MT5 Bridge is a data integration tool for MetaTrader 5 that streams market and account information to external backends. It captures broker-native ticks, candle data, account balances, symbol specifications, and current open positions, converting them into versioned JSON messages. Data is delivered using either HT
The Gold MTF Key Level Structure EA is a multi-timeframe expert advisor for trading gold XAUUSD on MetaTrader 5. It identifies swing highs and lows across daily D1 structure timeframe, H4 confirmation timeframe, and H1 entry timeframe to detect key support and resistance levels. The EA enters trades on CHOCH breakout s
This MetaTrader 5 expert advisor implements the Daily Sweep strategy, focusing on Swing Failure Patterns. It monitors high-timeframe liquidity levels and executes trades on lower timeframes when price sweeps these zones. The robot manages entries during defined session hours, such as the New York session, and exits bas
This MetaTrader 5 expert advisor automates trade entries based on price action and Smart Money Concepts. It monitors for liquidity sweeps followed by market structure shifts and retests of Fair Value Gaps or Order Blocks. The system manages risk using fixed risk-to-reward ratios, stop loss buffers, and time-based exits
SpeedPanel is a manual trading utility for MetaTrader 5 designed to streamline scalping operations. It provides an on-chart interface that displays live bid and ask prices, spreads, and floating profit or loss. Users can execute market orders with pre-defined lot sizes tailored for instruments like USDJPY and XAUUSD. T
This repository contains a collection of MetaTrader 5 expert advisors designed for a quantitative trading seminar by QRT Solutions. It includes multiple models such as US opening gap momentum, opening range breakouts, and SMA-based gold strategies. Each robot features professional risk management components including t
This MetaTrader 5 repository provides a collection of seventeen quantitative trading strategies designed for educational and research purposes. The primary expert advisor implements a US opening gap momentum strategy, utilizing ATR-based gap thresholds and Z-Score volatility regime detection to identify entry points. R
Moon HFT Pro is a MetaTrader 5 expert advisor that executes trades on the one-minute timeframe using analysis from five-minute and fifteen-minute charts. It identifies entries through a combination of Smart Money Concepts, market structure, and technical indicators including Moving Averages, RSI, and MACD. The system c
This MetaTrader 5 expert advisor implements an automated smart money trading strategy utilizing Fair Value Gaps (FVG) and liquidity sweeps. Designed with dual-path entry logic, the EA triggers trades based on a one-hour FVG combined with a five-minute sweep, or a fifteen-minute bias confirmation. For risk control, it e
Inan Quant is a MetaTrader 5 expert advisor designed specifically for trading gold on the M15 timeframe. It utilizes a Donchian breakout strategy combined with a multi-layered filtering system, including an H1 trend filter, ADX regime detection, and a custom signal quality score. The system manages risk using percentag
HFT Grid AI is a MetaTrader 5 Expert Advisor foundation built for high-frequency trading and grid-based strategies. It employs a broker-aware execution model that validates trade plans against local simulations before sending orders to the market. Key features include stochastic market structure analysis, session-based
The MT5 Scalper Trading Bot automates trades on MetaTrader 5 for forex pairs and gold using a moving average crossover strategy combined with RSI confirmation. It enters buy trades when the fast MA crosses above slow MA and RSI is below oversold, and sells when fast MA crosses below slow MA and RSI above overbought. Tr
An automated MetaTrader 5 trading robot designed for gold (XAUUSD) on the M15 timeframe. It executes trend pullback trades by combining moving average trend filters, bounded RSI confirmation, and weighted signal scoring. Risk controls include ATR-based stop loss and take profit multipliers, percentage risk lot sizing,
This MetaTrader 5 expert advisor implements Carl's Quick Flip Scalping Strategy, developed by Backtest the Hype for educational and backtesting purposes. The EA establishes a daily starting range box at a specified time and monitors price breakouts on lower timeframes, typically the five-minute chart. It filters trades
This MetaTrader 5 expert advisor provides a manual backtesting environment by simulating the bar replay feature popular on web-based charting platforms. It functions by creating a custom symbol and loading historical data, allowing the user to progress through the chart candle by candle. The tool supports virtual trade
This MetaTrader 5 expert advisor executes trades based on a time-restricted strategy combined with moving averages and Fibonacci levels. It operates within a specific daily window, opening positions between a defined start and end time and automatically closing them at a designated hour. The system utilizes 21-period s
This MetaTrader 5 expert advisor executes an engulfing candle scalping strategy designed specifically for Gold (XAUUSD) on the H1 timeframe. Upon detecting a valid engulfing candle pattern, the robot draws visual target ranges and places a grid of ten limit orders across the body of the engulfed candle. It features rob
Vorax is an automated scalping robot for MetaTrader 5 designed specifically for Gold (XAUUSD) and Bitcoin (BTCUSD) on the M1 timeframe. It enters trades using a signal engine that combines momentum analysis with buyer/seller pressure calculations. Risk management is highly structured, featuring dynamic lot sizing, maxi
MQT Microstructure Analysis is a comprehensive header-only framework for MetaTrader 5 designed to process high-frequency market data. It transforms raw tick, quote, and Depth of Market events into structured measurements for order flow, liquidity depth, and price impact. The system includes specialized modules for calc
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.