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 5 tool acts as a discretion helper for manual traders to simplify order execution. It automates trade entries by applying calculated risk percentages and setting predefined stop loss and take profit values in pips. The utility features integrated trailing stop functionality, allowing users to define spe
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 functions as a manual trading assistant for MetaTrader 4 and MetaTrader 5, designed to simplify discretionary order management. It provides a graphical interface on the chart, allowing users to execute trades with pre-defined risk parameters. The tool includes options for percentage-based risk calcu
This MetaTrader 5 expert advisor scans over 60 financial instruments to identify Turtle Soup reversal setups based on Candle Range Theory. It monitors price action for specific three-candle patterns involving a range, a false breakout with a long wick, and a subsequent reversal. The EA operates as an alert-only utility
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
This MetaTrader 5 expert advisor acts as a manual trading assistant and management tool rather than an automated strategy. It provides a graphical interface for executing market, limit, and stop orders with integrated risk management. The panel automatically calculates lot sizes based on account percentage or fixed mon
This MetaTrader 5 tool records real-time tick data directly into an external MySQL database. It utilizes the libmysql library to establish a direct connection, requiring DLL execution to be enabled within the terminal. The expert can monitor a specific list of symbols provided in the settings or automatically collect d
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
This MetaTrader 5 utility serves as a foundational template for integrating the Telegram API with MQL5. It allows users to capture chart screenshots and send them directly to a Telegram bot or channel. The code demonstrates how to remove indicators from a chart, capture an image file, and transmit text alerts including
Position Open Helper is a manual trade execution utility for MetaTrader 5 designed to assist with position sizing and order placement. Upon initialization, the expert advisor creates draggable horizontal lines on the chart to represent entry, stop-loss, and take-profit levels. It calculates the appropriate volume based
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
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
Trading AI System is a data collection utility for MetaTrader 5 designed to generate high-quality datasets for machine learning. Rather than executing its own trades, the expert advisor acts as a flight recorder, capturing raw market snapshots, bid/ask spreads, and detailed trade events. It automatically saves synchron
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
This utility for MetaTrader 5 exports historical and real-time price data from the active chart symbol to CSV files. It records open, high, low, close, and volume information, saving these files directly to the platform's local file directory. The tool allows users to select multiple timeframes for export simultaneousl
This MetaTrader 5 utility calculates lot sizes based on account balance, risk percentage, and stop-loss distance. It features a graphical interface with draggable lines for entry, stop-loss, and take-profit levels to assist with precise trade planning. The expert advisor includes a portfolio risk overview, commission a
Boleta MT5 is a manual trade execution tool for MetaTrader 5 that facilitates order routing via keyboard hotkeys. It allows users to open buy and sell market orders, cancel pending orders, and perform partial or full position closures using customizable shortcut keys. The utility includes basic risk management settings
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
Flood MA Lines ML for MetaTrader 5 generates and interprets complex Moving Average trend series to provide data for machine learning and deep learning applications. It uses a mass production algorithm to perform relational trend analysis, measuring trend robustness and identifying price range expectations. The software
This MetaTrader 5 utility functions as a data bridge to import and visualize aggregated Bitcoin trade volume from external cryptocurrency exchanges. It utilizes a companion Expert Advisor to perform web requests, fetching CSV data from Bitcoinity to bypass platform limitations that restrict indicator internet access. T
This utility for MetaTrader 5 automates the collection and extraction of historical price data into CSV format. It captures essential market information including date, open, high, low, and close prices. The tool allows users to specify a single symbol for export or process all available symbols in the terminal. It inc
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 5 utility integrates Gexbot API data to visualize option-based market sentiment directly on the chart. It fetches and displays Gamma Exposure (GEX) profiles, including Open Interest, volume, and State data like Delta and Vanna across various days to expiration. The EA draws key levels such as Zero Gamma
This MetaTrader 5 expert advisor provides an on-chart dashboard for manual trade execution and management. It features dedicated buy and sell buttons alongside editable fields for lot size, take profit, and stop loss distances. The tool includes a toggleable trailing stop mechanism that utilizes the stop loss input as
This MetaTrader 5 expert advisor serves as a semi-automated execution panel and risk management tool. It streamlines manual trading by calculating lot sizes based on a fixed dollar amount and a specified stop loss distance. The on-chart interface features buttons for instant market execution, partial position closing,
This MetaTrader 5 utility provides a visual interface for position sizing and manual trade execution. It allows traders to drag and drop stop loss and take profit lines directly on the chart, automatically calculating the required lot size based on a predefined risk percentage and account equity. The tool handles curre
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
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
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
2Order Expert is a semi-automated trading tool for MetaTrader 5 designed to streamline order entry. It allows traders to execute two simultaneous orders at a specified distance from each other, using either a fixed pip value or a multiplier of the current market spread. The tool includes a graphical user interface for
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
The Nova Ultimate Trade Panel is a comprehensive manual trading and management utility for MetaTrader 5. It provides a movable, dynamic interface for executing market and pending orders with precise control over lot sizing and risk levels. Users can adjust stop loss and take profit targets directly on the chart using d
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 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
Box Trader is a MetaTrader 5 utility designed to visualize price levels directly on the trading terminal. The expert advisor automatically generates horizontal lines on the chart that track real-time price movements, specifically following the Bid and Ask levels. Users can modify various visual parameters including lin
Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s
This expert advisor for MetaTrader 5 provides a foundational implementation of the Relative Strength Index (RSI). It calculates the RSI value using a standard 14-period setting on the current chart and timeframe. The code focuses on data retrieval and processing, using the iRSI function and price buffers to determine t
This MetaTrader 4 utility serves as a comprehensive trading assistant for manual chart analysis and risk management. It integrates various drawing tools, including object snapping and supply-and-demand indicators, to help identify entry points. The expert advisor includes a risk calculator that determines position sizi
This MetaTrader 4 expert advisor identifies and monitors currency pairs with high statistical correlation. It scans the market to find symbols that move in tandem with the current chart, filtering results based on a user-defined minimum correlation coefficient. The EA manages chart generation for identified pairs and i
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.