This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.
JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to help traders adhere to strict account drawdown and timing rules. It monitors account equity to enforce maximum daily drawdown limits and per-trade loss caps in either currency or percentage terms. The tool includes features to restrict
This MetaTrader 4 expert advisor is an educational tool designed as part of a YouTube tutorial series. It executes a trend-following strategy by combining moving average crossovers with the Aroon indicator for trend confirmation. The EA opens positions when price conditions align across both indicators and manages exit
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 4 expert advisor executes trades based on candle momentum and specific trigger factors. It manages positions using virtual trailing stop-loss and take-profit levels, alongside a global profit target that halts trading once a predefined financial goal is met. The system includes logic for multi-symbol tr
This repository provides a collection of over 100 expert advisors for MetaTrader 4 and MetaTrader 5, produced using the Forex Strategy Builder software. The robots are configured for specific forex pairs including GBPUSD, USDJPY, and EURAUD on low timeframes. Trading logic typically combines multiple technical indicato
This expert advisor for MetaTrader 4 and 5 implements a moving average crossover strategy specifically designed for Gold on the 15-minute timeframe. It initiates trades when a fast simple moving average crosses a slow simple moving average, provided the price has moved a specified distance beyond the crossover point. T
This repository is a collection of several expert advisors for MetaTrader 4, featuring various technical indicator-based strategies. The primary logic involves momentum and volatility filters using Relative Strength Index (RSI), Bollinger Bands, and Average Directional Index (ADX) to identify trend strength. It include
GenX Silver is an automated trading robot for MetaTrader 4 that executes trades based on specific time-based liquidity windows. It targets the London open and two separate New York sessions, aligning with Silver Bullet strategy concepts. The expert advisor allows users to define trading volumes and utilizes a fixed ris
This MetaTrader 4 expert advisor implements a price action strategy focused on identifying pin bar formations. It screens for candles where the tail is at least three times the length of the body and touches an 8-period simple moving average. The EA utilizes a trend filter by calculating the slope of the moving average
This MetaTrader 4 expert advisor is designed for XAUUSD trading using a combination of technical indicators and price action. It enters trades based on several toggleable strategies, including Moving Average crossovers, MACD, Support/Resistance levels, and Bullish/Bearish Engulfing patterns. The EA manages risk through
Fibonacci EA is a MetaTrader 4 expert advisor that executes trades based on technical indicators. Despite the name, the provided implementation focuses on a moving average crossover strategy involving a 30-period and 50-period simple moving average. The robot enters a sell position when the shorter-period average cross
This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment of Simple Moving Averages. It utilizes a fast period of 30 and a medium period of 50 to determine entry signals, with logic for a third slow moving average present but partially commented out. The robot executes trades with fi
MT4Trading robotIndicator crossoverTrend following
This MetaTrader 4 expert advisor executes trades based on the Relative Strength Index (RSI) indicator. It monitors price momentum to identify potential entry points when the RSI value interacts with user-defined overbought and oversold levels. The EA includes basic risk management with hardcoded stop loss and take prof
A MetaTrader 4 expert advisor designed to execute trades based on signals received from an external API. It handles order placement for buy and sell signals, incorporating risk management features such as a pip-based stop loss and a take-profit target determined by a user-defined ratio. The EA limits market entry to tw
Ubot is an automated trading robot for MetaTrader 4 that utilizes technical analysis to execute market orders. It incorporates specific strategy patterns such as Sharkfin and Squeeze logic, likely based on the included Traders Dynamic Index library. The EA features comprehensive trade management including trailing prof
This MetaTrader 4 expert advisor is designed specifically for trading Gold (XAUUSD) on the H4 timeframe. It employs a combination of technical indicators, including the Relative Strength Index (RSI), Stochastic Oscillator, and Ichimoku Kinko Hyo. The strategy monitors overbought and oversold levels while using the Ichi
ATR Breakeven Engulfing EA is a MetaTrader 4 trading robot that combines engulfing price action patterns with the Relative Strength Index for market entries. It is designed to operate on low timeframes, such as M5, focusing on ranging currency pairs. The EA manages risk through fixed stop loss and take profit levels, w
BBMA Profit Seeker is a MetaTrader 4 expert advisor implementing a Bollinger Bands and Moving Average crossover strategy. It enters long positions when price rebounds from the lower band and closes above the moving average, while short entries occur after a rejection from the upper band. The robot manages exits dynamic
This MetaTrader 4 expert advisor executes trades based on a moving average crossover strategy. It specifically monitors the relationship between price action and a configurable moving average period, traditionally set to 50. The robot enters buy positions when the price closes above the moving average and sell position
The BU ATR Breakeven Engulfing is a MetaTrader 4 robot that executes trades based on candlestick price action and volatility indicators. It identifies entry points using bullish and bearish engulfing patterns, which are then filtered through the Relative Strength Index to confirm momentum. The system incorporates dynam
ANB Scalper is an automated trading robot for MetaTrader 4 that implements a scalping strategy centered on Fibonacci retracement levels. The EA calculates support and resistance zones by analyzing the highest and lowest prices over a user-defined candle lookback period. It filters potential entries using a combination
Average Scalper is a MetaTrader 4 expert advisor designed for trend-following strategies based on moving average levels and volatility ranges. It uses a 50-period Exponential Moving Average to determine market direction, initiating buy orders when the price is above the line and sell orders when below. Risk management
This MetaTrader 4 expert advisor implements a moving average crossover strategy for automated trading. It identifies entry points when price or technical indicators intersect and can exit positions when an opposite signal occurs. The EA provides trade management features, including traditional and virtual stop loss and
Khai Nui HFT is a trend-based trading robot for MetaTrader 4 that enters positions using Moving Average analysis. Users can configure the expert advisor to follow the prevailing trend or execute counter-trend trades by adjusting the trend toggle. It manages risk through fixed stop loss points and a trailing stop mechan
InfinityRSI Trader is a MetaTrader 4 expert advisor that automates trading based on Relative Strength Index (RSI) thresholds. It enters long positions when the RSI falls below a configurable level and enters short positions when the RSI rises above a specific threshold. The robot manages active trades using hard stop l
This utility for MetaTrader 4 calculates position sizes based on account balance and user-defined risk percentages. By providing entry and stop-loss prices via input parameters, the tool determines the specific lot size required to respect the trader's risk tolerance. It functions as a calculator that displays values o
This MetaTrader 4 collection provides trade management utilities focused on risk protection. The main expert advisor monitors open positions and automatically applies stop loss levels to orders that lack them, using hardcoded point values for specific assets like XAUUSD, BTCUSD, and US30. It includes a safety feature t
This MetaTrader 4 collection includes an automated trading expert advisor, an account protection tool, and an equity data uploader. Developed as a university final year project, the main expert advisor uses the Relative Strength Index for entry and exit signals. It features extensive risk management parameters, includi
This repository provides a collection of over fifty MetaTrader 4 expert advisors designed for testing algorithmic strategy combinations. Each robot follows a modular structure consisting of a baseline indicator, confirmation signals, and volatility filters. Common configurations include the Kijun-sen, RSI, and Waddah A
This MetaTrader 4 expert advisor focuses on identifying and trading trend reversals using price action patterns, specifically pin bars. It operates as an automated robot that monitors market conditions to execute entries based on reversal signals. The EA features an extensive graphical user interface that displays real
This MetaTrader 4 expert advisor functions as the receiving component of a trade copying system. It monitors a shared CSV file in the common terminal folder to replicate positions from a source account onto the local account. The EA provides multiple risk management options including lot size multipliers, fixed lot ove
Santos HFT is an automated trading robot for MetaTrader 4 designed for high-frequency execution based on bid-ratio imbalances. The system analyzes price dynamics across multiple timeframes, specifically looking for percentage-based triggers on M1 through H4 intervals to identify entry points. It includes support for a
This MetaTrader 4 tool calculates the profit factor specifically for open positions currently held in the terminal. It iterates through all active orders, categorizing them into long and short positions to determine their respective gross profits and gross losses. The utility then computes the profit factor ratio for e
This utility for MetaTrader 4 connects trading accounts to a Home Assistant instance for remote monitoring. It functions by periodically pushing account statistics, including daily closed profit and loss, to a specified URL via webhooks. The expert advisor calculates net daily gains by iterating through account history
Forex Cruise System is a MetaTrader 4 expert advisor that executes a breakout strategy based on price movements during the US and European session openings. The robot identifies a price range within a specific morning time window and enters trades when price breaks beyond defined thresholds. It includes integrated risk
Forex MT4 Perfect is an automated trading expert advisor for MetaTrader 4 that utilizes a suite of technical indicators to execute and manage positions. The system integrates Cap Channel, Envelopes, and MACD indicators to identify market entries and exit signals. It features diverse position sizing methods, including f
This expert advisor for MetaTrader 4 executes trades based on the Rank Correlation Index (RCI) indicator. It utilizes three distinct calculation periods—short, medium, and long—to identify market entries. The robot manages risk through configurable limit and stop loss offset parameters, allowing for specific exit point
The 24fx expert advisor for MetaTrader 4 automates trading based on external data updates and a specific hourly schedule. It manages trades through a state-based system, handling pending limit orders, market positions, and paused states. Risk management features include a choice between fixed lot sizes or percentage-ba
TradeExpert is a multi-functional expert advisor for MetaTrader 4 that combines technical indicator analysis with external data integration. It executes trades using market or limit orders across a wide range of forex pairs and cryptocurrencies. The system features a built-in news filter to manage volatility during eco
This MetaTrader 4 utility acts as a data exporter, bridging account and market information to external web environments. It retrieves real-time account statistics including balance, equity, and calculated peak drawdown, then transmits this data to a specified local server via WebRequest. The code is designed to work wi
This MetaTrader 4 expert advisor serves as a bridge connecting the trading platform to external Indian brokerage APIs such as Zerodha and Finvasia. It utilizes the ZeroMQ library to transmit trade signals from the chart to a local Python environment or executable application. The tool monitors chart events for the crea
This MetaTrader 4 expert advisor automates trading based on liquidity and market structure concepts. It identifies price action landmarks like higher highs, higher lows, lower lows, and lower highs to determine current trend or ranging states. The robot executes trades with distinct stop loss and take profit settings f
This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicator filters. It identifies potential entry points using ZigZag, MBFX, and SMA indicators, specifically targeting reversals or pinbars at key support and resistance levels. The software includes a mult
Zone Recovery is a MetaTrader 4 expert advisor that employs a hedging strategy to manage trades within a specific price range. It uses a recovery algorithm to open opposite positions with increased lot sizes when the market moves against the initial entry. The EA calculates a lot multiplier based on the risk-reward rat
This Expert Advisor for MetaTrader 4 provides a graphical interface to streamline order placement and trade management. It automates the execution process by allowing users to define parameters for price levels, take profit, stop loss, and breakeven settings. The tool is optimized for USD-based currency pairs and accom
This expert advisor for MetaTrader 4 trades based on the distance between the current price and an Exponential Moving Average. It monitors the market to identify when price has stayed on one side of the moving average for a specific number of consecutive candles. A trade is executed when the deviation in points reaches
This expert advisor implements a latency arbitrage strategy across MetaTrader 4 and 5 platforms. It functions by comparing price data from a high-speed feed against a slower broker execution environment to identify price lags. When a significant price gap is detected, the system attempts to execute trades to capture th
This MetaTrader 4 expert advisor implements a trend-following strategy based on a dual Exponential Moving Average crossover. It is designed for higher timeframes such as H1, H4, and Daily charts. The robot manages trade entries via the crossover and exits positions using a combination of a fixed take profit and a trail
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.