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 MetaTrader 5 utility is a comprehensive manual trading panel and risk management suite. It simplifies order execution by calculating lot sizes based on a defined risk percentage of account equity. Users can manage trades via automated break-even points, multi-mode trailing stops including Fractals, Moving Averages
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
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
This MetaTrader 5 utility exports technical indicator data for various currency pairs to external formats. It processes values from several indicators, including the Relative Strength Index (RSI), multiple exponential and simple moving averages with customizable periods, and Ichimoku Kinko Hyo components. The tool is d
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
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
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
Renko 2.0 Offline is a MetaTrader 5 utility designed to generate and manage Renko charts from standard price data. Instead of time-based intervals, it creates price-based bricks according to user-defined sizes in ticks, pips, or points. The expert advisor includes options for asymmetric reversals, market book monitorin
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
King Panel is a comprehensive account dashboard and trading utility for MetaTrader 5, featuring a high-density interface built with pure CCanvas rendering. It offers deep analytics across eight tabs, including equity curves, drawdown reports, and MFE/MAE scatter plots. For trade management, it provides an order ticket
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
Hedging EA is a manual trading utility for MetaTrader 5 designed to facilitate hedging strategies. It provides a graphical interface that allows users to manually open and manage buy and sell positions to mitigate market risk. The tool includes risk management controls such as adjustable lot sizes, stop loss levels, an
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
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
SVEA is a MetaTrader 4 trade management tool designed to supervise manual entries and automate order execution based on horizontal lines. It monitors specific price levels set by the user to trigger buy and sell orders, including stops and limits. The utility incorporates essential risk controls such as percentage-base
This MetaTrader 5 analytical tool uses Markov Chain theory to examine the relationship between consecutive price movements. It processes historical data to calculate transition probabilities for up and down candles based on the preceding price action. The repository contains separate experts for analyzing one, two, or
MT5 Basic Risk Manager is an execution utility for the MetaTrader 5 platform that automates position sizing. It calculates the appropriate lot size based on a fixed risk percentage of the account balance and the distance between user-defined horizontal lines on the chart. Traders place lines for entry, stop loss, and t
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
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 MetaTrader 5 utility serves as a historical data collector for exporting market information. Instead of executing trades, the expert advisor iterates through historical candles when run in the strategy tester to generate a CSV file containing open, high, low, and close prices. The data output includes ISO8601 form
This MetaTrader 5 utility provides an on-chart interface for manual trade execution and risk management. It allows users to open long and short positions with integrated stop loss and take profit levels calculated using a custom risk-to-reward ratio. The tool features an automated lot size calculator that adjusts posit
This MetaTrader 5 tool provides a semi-automatic interface for executing trades based on manual chart analysis. Users can configure trendlines and horizontal lines to trigger buy or sell orders upon price touch, breakout, or retest. The EA includes a graphical user interface to manage lot sizes and provides draggable o
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
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.