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 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
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
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
A notification utility for MetaTrader 4 that monitors multiple technical indicators to generate trade alerts. It tracks moving average crossovers, specifically the 50 and 200 periods, along with Relative Strength Index levels, Bollinger Band breakouts, and MACD confirmations. Users can configure the tool to send notifi
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
One-Click Trade Pro is a position management and execution panel for MetaTrader 4. It provides a robust graphical interface to open market and pending orders with one click. Users can execute trades via standard buttons, chart-based lines, or opposite order distance settings. The tool calculates optimal lot sizes based
PR Pivots Expert Advisor is a technical tool for MetaTrader 4 that calculates and displays daily pivot points on the chart. Using price data from the previous trading day, including high, low, and close values, it plots the central pivot level along with three resistance and three support levels. The software uses grap
This MetaTrader 4 utility acts as a diagnostic tool for developers attempting to integrate external indicators into automated strategies. It systematically monitors the output buffers of a specified custom indicator by iterating through various modes and shift values. The code detects changes in data and identifies spe
DMRI Master Extractor is a data harvesting tool for MetaTrader 4 designed to facilitate machine learning model training. It functions as a feature extractor, exporting prices and technical indicator values into CSV format for external analysis. The system supports 33 standard indicators, including RSI, MACD, and Bollin
Ledia EA Assistant is a manual trading utility for MetaTrader 4 designed to streamline order execution and risk management. It allows users to enter positions at market price or via custom entry levels while automatically detecting the required order type, such as limits or stops. The tool includes built-in calculators
This MetaTrader 4 utility provides a framework for remote license management and authorization. It facilitates connection to an external web API to verify user keys through the wininet DLL library. The program executes an initial check upon activation and continues to monitor the authorization status at hourly interval
OrderBlock Auto Extend is a MetaTrader 4 utility designed to automate the maintenance of manual chart markings. It scans for rectangle objects commonly used to represent supply and demand zones or order blocks. When a zone is identified by its color, the tool extends the rectangle's time coordinate to the most recent c
Data Writer is a MetaTrader 4 expert advisor designed to log historical asset data into CSV files. Rather than executing trades, it functions as a data collection tool for traders looking to build external prediction models or conduct deep learning analysis. Users can configure the EA to record specific price points in
WatchDog is a connectivity utility for MetaTrader 4 designed to ensure a trading terminal remains logged into an account. It monitors chart update activity and triggers an automated reconnection procedure if the connection stalls for a user-defined period. The tool utilizes Windows DLL calls to interact with the termin
Soportes y Resistencias is a MetaTrader 4 utility designed to automatically identify and mark support and resistance levels on a price chart. It operates by scanning the price history for local maximums and minimums based on user-defined look-back and look-forward parameters. When a peak or trough is identified, the ex
EJTrader Order Flow is a technical utility for MetaTrader 4 that implements Level 2 market depth and tape reading tools. It utilizes the Bitcoin Nano API to stream order flow data directly onto the chart using various visual layouts like BookMap and volume aggression indicators. The EA manages manual trade execution wi
Horror EA, short for Horizontal Expert Advisor, is a manual trade management tool for MetaTrader 4. It enables traders to execute and manage positions through on-chart buttons and horizontal lines rather than standard order windows. The tool supports specific entry types based on candle highs, lows, or close prices and
This MetaTrader 4 utility exports historical price data into CSV format, specifically formatted for training deep learning models and neural networks. It calculates relative differences between consecutive Open, High, Low, and Close bars for each tick. The tool allows users to normalize data, include timestamps, and fi
This MetaTrader 4 utility functions as a data logger rather than a trading robot. It extracts real-time market information, including current bid and ask prices and spreads, alongside technical indicator values for the Relative Strength Index and Momentum, both using a 14-period setting. The tool exports this data into
MQL Realtime Dashboard is a monitoring utility for MetaTrader 4 and 5 that exports account information to a web-based dashboard in real time. It collects account metrics including balance, leverage, equity, and historical trade data such as win rates and drawdown statistics. The expert advisor establishes a TCP connect
The Position Sizer is a trade management tool for MetaTrader 4 and 5 that calculates the appropriate lot size based on account balance and risk tolerance. It allows traders to define risk as a percentage or fixed monetary amount, adjusting the position size dynamically as stop-loss and take-profit lines are moved on th
KEG Order EA is a manual trading utility for MetaTrader 4 designed to streamline order execution and position management. It features a graphical panel for one-click trading and allows users to close all open positions or filter by specific currency pairs. The tool provides visual feedback on pips and floating profit o
This MetaTrader 4 collection provides a testing framework for trend confirmation indicators based on the No Nonsense Forex methodology. It includes three Expert Advisors designed to evaluate different signal types: Zero Line crosses, Two Line crosses, and Chart indicators. The system simulates trades at candle closes u
Fomo Manual Trading Tool is an expert advisor for MetaTrader 4 designed to facilitate fast manual execution through keyboard hotkeys. It bypasses the standard order window, allowing users to open buy and sell positions, set limit orders, and adjust lot sizes instantly. The tool includes functions to increase or decreas
This utility for MetaTrader 4 monitors open trades and sends push notifications when the market price approaches an order's stop loss level. It allows users to define a specific distance threshold and includes a debounce time setting to filter out brief price spikes or noise. The tool loops through all active positions
This MetaTrader 4 expert advisor provides a utility framework for account risk management and manual trade execution. It monitors account equity and margin levels, offering alerts based on predefined risk percentages per order and total account exposure. The software includes an example for keyboard-based trading, allo
MQL4 Benchmark provides a specialized module for measuring the execution speed of code within MetaTrader 4. The tool allows developers to profile specific functions, loops, or logic segments by calculating the elapsed time and outputting the results to the terminal Experts tab. It supports manual start and end points f
MQL4 Environment Configuration Tool is a utility for MetaTrader 4 that enables developers to manage account settings and environment variables using external files. It supports reading key-value pairs from plain text or ini files located in the terminal data folder. This approach allows for the externalization of sensi
This MetaTrader 4 utility exports candlestick data for a specific financial instrument across various timeframes into a local SQLite database. It retrieves historical price action and continues to update the database as new ticks arrive. The program allows users to set a custom time zone offset and specify the instrume
This MetaTrader 4 utility provides a graphical user interface for manual trade management. It creates interactive on-chart buttons that allow traders to execute bulk exit commands with a single click. The tool facilitates closing all open positions, specifically targeting sell orders, or focusing on buy orders. It also
FFC Data Feeder is a utility expert advisor for MetaTrader 4 designed to fetch and manage economic calendar information. It acts as a backend data provider for the FFC Canvas Economic Calendar indicator by downloading JSON data directly from servers using the native WebRequest function. The tool operates without extern
Easy Backtest Pro is a manual trading simulator designed for the MetaTrader 4 Strategy Tester. It provides a graphical user interface that allows traders to practice execution and strategy refinement during visual mode simulation. The tool includes buttons for market and pending orders, comprehensive order management f
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 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
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 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 MetaTrader 4 utility exports technical indicator data to a CSV file for external analysis, specifically targeting machine learning model development. It operates within the Strategy Tester to extract historical values from custom indicators, such as the Waddah Attar Explosion. The script logs timestamps, moving av
This MetaTrader 4 expert advisor acts as an information relay tool, sending market sentiment reports directly to a Telegram chat. It monitors major currency pairs and allows for custom symbol mapping, such as linking indices or commodities to specific broker tickers. The EA utilizes a Telegram bot token and chat ID for
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
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,
This MetaTrader 4 expert advisor functions as a manual trading panel for execution and strategy testing. It creates an on-chart graphical user interface with buttons for opening buy and sell positions and fields for defining lot sizes, stop losses, and take profits. The utility provides quick management options to clos
Swift Trader is a manual trading utility for MetaTrader 4 that assists users in executing trades using visual chart objects. It creates horizontal lines representing entry, stop loss, and take profit levels, allowing traders to position their orders graphically. The tool includes risk management features such as fixed
This MetaTrader 4 expert advisor monitors tick volume patterns to identify periods of increasing market activity. It analyzes the volume of the four most recent candles, triggering signals when volume increases consecutively over four bars. Upon detection, the EA generates a terminal alert, displays a message box, and
This MetaTrader 4 expert advisor acts as a multi-symbol scanner that monitors the Relative Strength Index and Money Flow Index indicators. It evaluates market conditions across six timeframes simultaneously, ranging from one-minute to four-hour charts. The logic triggers when both indicators reach specific overbought o
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.