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
This MetaTrader 5 expert advisor functions as a comprehensive chart annotation and signal scanning tool based on Smart Money Concepts and Price Action. It identifies structural elements such as order blocks, fair value gaps, liquidity pools, and market structure shifts across multiple symbols simultaneously. The system
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
Quick Risk Executor is a utility for MetaTrader 5 designed to streamline trade entry by automating lot size calculations based on user-defined risk in currency. The user sets a fixed dollar amount to risk per trade and identifies a stop loss level directly on the chart using an interactive line. The expert advisor calc
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
Simple Expert is a basic MetaTrader 5 script that serves as a minimal template for expert advisor development. It does not feature any automated trading logic, entry signals, or exit management. The code primarily focuses on demonstrating the standard event handlers in MQL5, such as initialization and tick processing.
This utility for MetaTrader 5 provides an interactive on-chart panel for manual trade execution and risk management. It enables traders to calculate optimal lot sizes based on a specific percentage of account balance or a fixed cash amount. The interface features draggable lines for entry, stop loss, and take profit le
Spread Slippage Monitor is a diagnostic utility for MetaTrader 5 that tracks broker performance metrics. It records real-time spread data at regular intervals and exports the information to a CSV file. The tool features an optional slippage measurement function that executes a market order and immediately closes it to
This utility for MetaTrader 5 enables automated trade notifications, profit reports, and system alerts to be sent directly to Discord and Telegram. It functions as a lightweight library that developers can integrate into their own Expert Advisors or indicators. By utilizing the native MQL5 WebRequest API, it operates w
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
Account Monitor EA is a utility for MetaTrader 5 designed to track and notify users of account activities in real-time. It monitors trade executions, the creation of pending orders, and modifications to Stop Loss or Take Profit levels. Notifications are sent via the ServerChan service, supporting both Turbo and SC3 mod
This expert advisor is a risk management and trade execution utility for MetaTrader 5. It allows traders to visually manage risk on the chart by dragging entry, stop loss, and take profit lines. The tool automatically calculates the appropriate lot size based on account equity and user-defined risk parameters. It suppo
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,
MyTrader is a manual trading interface for MetaTrader 5 that provides a graphical panel for executing and managing orders. It allows traders to enter positions with stop loss and take profit levels, or perform quick market executions via buy and sell buttons. The utility includes comprehensive management features such
This MetaTrader 5 trade assistant provides a visual interface for order execution and position management. It features a custom CCanvas UI panel synchronized with chart objects, allowing users to drag take-profit and stop-loss levels directly on the chart to adjust risk parameters and lot sizes in real time. The tool h
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
Backtester EA is a validation tool for MetaTrader 5 designed to test specific trading signals within the Strategy Tester. Users can input exact entry, stop loss, and take profit prices, along with a precise timestamp down to the second. The expert advisor handles timezone offsets by automatically converting signal time
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
The MT5 Data Collector is a utility for MetaTrader 5 that exports market information into external CSV files for further analysis. It features two separate scripts to record either granular tick data or aggregated candle data. The tool logs various parameters including price levels, tick direction, volume, and bid/ask
Manual Mode is a trading utility for MetaTrader 5 that provides a graphical interface for manual order execution. It allows traders to place market and limit orders while monitoring their risk profile through a dedicated overview panel. The tool focuses on assisting with position management and trade entry rather than
RSI Alert is a signal monitoring tool for MetaTrader 5 that identifies potential market reversals and divergences across up to four timeframes simultaneously. It utilizes the Relative Strength Index alongside Average Directional Index filtering to detect oversold and overbought conditions while attempting to filter out
This data extraction utility for MetaTrader 5 exports historical price information for major stock indices such as NAS100 and US30. The tool processes multiple timeframes from one-minute bars up to monthly data, saving the results as CSV files for external analysis or backtesting. It features adjustable settings for ex
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 MetaTrader 5 expert advisor calculates Shannon entropy to measure market randomness and informational uncertainty. It processes log-returns from a user-defined period of historical candles and categorizes them into histogram bins to quantify the complexity of price movement. The tool is designed to assist traders
Boll Alert is a monitoring tool for MetaTrader 5 designed to notify traders when price crosses Bollinger Band boundaries. It scans multiple timeframes simultaneously, including minute, hourly, and daily periods, to identify potential breakout or mean-reversion signals. Users can configure the standard deviation and loo
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
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 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
Support And Resistance Drawing Tool is a MetaTrader 5 utility that visualizes price structure by identifying significant highs and lows across multiple lookback periods. The tool scans ranges of 20, 50, and 100 bars to determine key turning points, which are then plotted as horizontal lines on the chart. Resistance lev
This MetaTrader 5 tool identifies specific candlestick patterns including Marubozu, Hammer, Inverted Hammer, Hanging Man, and Shooting Star. It functions as an analytical utility rather than an automated trading robot, drawing vertical lines on the chart when specific patterns are detected based on the relative size of
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
Tool Easy For You is a manual trading utility for MetaTrader 5 designed to assist with order execution and position management through a graphical interface. The tool provides input fields for fixed lot sizes, stop losses, and take profit levels for buy and sell orders independently. It includes automated risk manageme
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 5 utility synchronizes multiple chart windows to facilitate multi-timeframe or multi-symbol analysis. When a user triggers a specific keyboard shortcut, the tool captures the time coordinate of the mouse cursor and draws a vertical line across all open charts at that exact timestamp. It manages chart se
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
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.