Synced with GitHub · updated today

Free MT4 & MT5 expert advisors

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

New EAs by RSS
1,267 EAs match Clear filters

XAUUSD MTF Scalper AI Mode

by umarhusain075-hub
1 stars

This MetaTrader 5 expert advisor is a multi-timeframe scalping robot optimized for gold trading. It utilizes a higher-timeframe bias filter combined with lower-timeframe entry triggers based on a weighted scoring system. The strategy integrates Exponential Moving Averages, ADX for trend strength, Stochastic RSI, and VW

MT5 Trading robot Trend followingScalpingMulti-strategy
Updated 2 months ago None stated GitHub repository of XAUUSD MTF Scalper AI Mode

SNRZ Bot

by xalayzaman-ui
1 stars

SNRZ Bot is an automated trading system for MetaTrader 5 that implements a support and resistance breakout strategy. It identifies significant price levels requiring at least two touches and enters trades when price breaks and subsequently pulls back to these zones. The expert advisor includes built-in risk management

MT5 Trading robot Breakout
Updated 2 months ago None stated GitHub repository of SNRZ Bot

Bullish Continuation MT5

by andrewkorot
1 stars

This MetaTrader 5 expert advisor executes a long-only bullish continuation strategy. It identifies trade entries by combining specific candlestick patterns, such as bullish engulfing and harami, with trend-following filters. For a buy order to trigger, the price must close above both the 50 and 200 exponential moving a

MT5 Trading robot Trend followingIndicator crossover
Updated 2 months ago None stated GitHub repository of Bullish Continuation MT5

Smart Basket Recovery EA

by nguyenvnhieu290302-gif
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy with an integrated recovery mechanism. It initiates a series of orders at fixed intervals and manages them as a collective basket. The system utilizes dollar-based targets for profit-taking and loss prevention, including a maximum total loss limi

MT5 Trading robot GridHedging High risk
Updated 2 months ago None stated GitHub repository of Smart Basket Recovery EA

Ultimate ICT Gold Scalper

by srinivashacks
1 stars

Ultimate ICT Gold Scalper is a modular expert advisor framework for MetaTrader 5, primarily focused on gold trading using institutional concepts. It provides a robust risk management foundation, including daily, weekly, and monthly drawdown limits and maximum consecutive loss protections. The system handles position ma

MT5 Framework & template SMC / ICT / price actionScalping
Updated 2 months ago None stated GitHub repository of Ultimate ICT Gold Scalper

Disook Skill

by disook
1 stars

Disook is a development framework and AI agent skill for MetaTrader 5 designed to assist in creating, debugging, and testing MQL5 expert advisors. It provides an interface for AI coding tools to manage complex logic including trend, grid, and martingale strategies. The repository contains a basic educational template t

MT5 Framework & template
Updated 2 months ago None stated GitHub repository of Disook Skill

Straddle TP SL EA

by minhajul61
1 stars

Straddle TP SL EA is a breakout robot for MetaTrader 5, specifically optimized for gold trading. It implements a straddle strategy by placing buy-stop and sell-stop orders at the boundaries of a recent price range, typically using the last M5 candle. The EA includes risk management features such as ATR-adaptive stop lo

MT5 Trading robot BreakoutScalping
Updated 2 months ago None stated GitHub repository of Straddle TP SL EA

RvFx Trading Bot

by bipin-vishwakarma
1 stars

RvFx is an automated trading system for MetaTrader 5 that utilizes grid and hedging techniques. It manages trades through a cycle-based logic, adding positions at fixed point intervals. The EA includes sophisticated lot sizing options, such as linear steps, multipliers, and a predefined sequence, which results in marti

MT5 Trading robot GridHedgingMartingale High risk
Updated 2 months ago None stated GitHub repository of RvFx Trading Bot
1 stars

This collection for MetaTrader 5 provides a diverse range of algorithmic trading strategies and utility scripts. The featured Precision Sniper EA utilizes indicator resonance, combining EMA, RSI, and ATR for entry signals. It incorporates sophisticated risk controls including three-stage partial profit taking, structur

MT5 Collection Trend followingBreakoutMulti-strategy
Updated 2 months ago None stated GitHub repository of Precision Sniper EA Library
1 stars

Personal Scalping Tool is a MetaTrader 5 execution assistant designed primarily for gold trading. It features a floating graphical user interface that allows traders to manage layered position entries directly from the chart. The expert advisor automates trade management by calculating stop loss and take profit levels

MT5 Utility ScalpingGrid High risk
Updated 2 months ago None stated GitHub repository of Personal Scalping Tool
1 stars

This repository contains two expert advisors for MetaTrader 5: a reconstruction of a popular grid system and a price-action tool for gold. The primary EA utilizes RSI and price extremes for entry signals, managing trades through a grid with tiered lot multipliers. It features smart distance calculations using ATR ratio

MT5 Collection Mean reversionGridMartingale High risk

17BA Gold Scalper

by jmac17ba
1 stars

17BA Gold Scalper is an automated trading system for MetaTrader 5 that employs a pending one-cancels-other breakout strategy. It places buy and sell stop orders around the market price; once one triggers, the opposite is cancelled. To manage adverse movements, the EA initiates a Fibonacci recovery basket, adding layers

MT5 Trading robot BreakoutMartingaleGrid High risk
Updated 2 months ago None stated GitHub repository of 17BA Gold Scalper

Celebro XAU

by mdavidjeremiah
1 stars

Celebro XAU is a microtick scalping robot for MetaTrader 5, specifically developed for gold trading. It analyzes short-horizon price velocity, acceleration, and uptick imbalance using a rolling tick buffer to identify entry points. The system manages risk through automated position sizing based on account equity, manda

MT5 Trading robot Scalping
Updated 2 months ago MIT GitHub repository of Celebro XAU

Gold EA MACD

by anilgole1041
1 stars

This expert advisor for MetaTrader 5 automates gold (XAUUSD) trading based on a Moving Average Convergence Divergence (MACD) crossover strategy. It enters long positions when the MACD line crosses above the signal line with a positive histogram, and short positions for the opposite crossover. Risk management features i

MT5 Trading robot Indicator crossover
Updated 2 months ago None stated GitHub repository of Gold EA MACD

Smart Daily SR Hunter

by LeylaKhojasteh
1 stars

This MetaTrader 5 expert advisor automates trading using the previous day high and low levels as support and resistance. It monitors price reactions at these key daily zones to execute reversal entries or breakout trades based on configurable point distances. The EA manages risk through fixed stop loss and take profit

MT5 Trading robot BreakoutMean reversion

Smart SL

by tthanhvu002sgu
1 stars

Smart SL is a MetaTrader 5 risk management tool that calculates optimal exit levels using a multi-factor scoring system. It evaluates market structure via swing detection, ATR-based volatility, and multi-timeframe confluence. The tool offers three modes: real, virtual, and a hybrid setup with safety offsets. It include

MT5 Collection Trend followingBreakoutMean reversion
Updated 2 months ago None stated GitHub repository of Smart SL

Harmonic Five

by AwareSet
1 stars

Harmonic Five is a MetaTrader 5 trading suite designed for harmonic pattern detection and execution across forex, gold, indices, and cryptocurrencies. It identifies ABCD, Gartley, Bat, Butterfly, and Crab formations using Fibonacci geometry. The included expert advisor handles entries on fresh patterns and manages exit

MT5 Collection Mean reversion
Updated 2 months ago None stated GitHub repository of Harmonic Five

Clipboard Signal Trader

by al-trade-dev
1 stars

Clipboard Signal Trader is a MetaTrader 5 utility that transforms manually copied text signals from applications like Telegram or Discord into executable orders. The software utilizes the Windows API to read the clipboard and parse trade details into a visual, editable table. It follows a human-in-the-loop philosophy,

MT5 Copier & bridge
Updated 2 months ago None stated GitHub repository of Clipboard Signal Trader

PCI EA

by sugridpung
1 stars

PCI EA is a MetaTrader 5 algorithmic trading system designed for XAUUSD. It utilizes statistical mechanics and Shannon entropy to measure market chaos and identify trade entries. The architecture comprises a modular system including a quantum engine for signal generation, a Z-score validator for trade filtering, and a

MT5 Trading robot Mean reversionMulti-strategy
Updated 2 months ago None stated GitHub repository of PCI EA

Elite Specialist V11

by mafabatho0470-code
1 stars

This MetaTrader 5 expert advisor automates an institutional-style breakout-retest strategy. It identifies structural high and low points within a defined lookback window and waits for a breakout followed by a confirmed pullback to the broken level. The EA utilizes a 50 and 200 EMA trend filter and ADX for momentum veri

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 2 months ago None stated GitHub repository of Elite Specialist V11
1 stars

TitanAI 4H Range Scalper is a MetaTrader 5 expert advisor that executes a range rejection strategy based on the 00:00 New York H4 candle. The EA identifies a fixed daily range and monitors for false breakouts or liquidity sweeps, entering a trade when price closes back within the range boundaries. It features robust ri

MT5 Trading robot SMC / ICT / price actionMean reversionBreakout
Updated 2 months ago None stated GitHub repository of TitanAI 4H Range Scalper

Phoelix Receiver EA

by Phoelix-Platforms
1 stars

The Phoelix Receiver EA is an automated execution bridge for MetaTrader 5 that translates signals from TradingView into live market positions via a Telegram API pipeline. It functions as a low-latency connector, polling a specific Telegram channel for trade instructions including entry, exit, and lot sizing. The adviso

MT5 Copier & bridge Trend following

ProRiskManager

by mhosseini1989
1 stars

ProRiskManager is a trade execution and management panel for MetaTrader 5 tailored for discretionary traders. It prioritizes precision by calculating position sizes directly through broker functions to match displayed risk with actual potential losses. Users can prepare trades using draggable chart lines for entry and

MT5 Trade manager
Updated 2 months ago None stated GitHub repository of ProRiskManager

Simple Expert

by Debkalpamookherjee
1 stars

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.

MT5 Utility
Updated 2 months ago None stated GitHub repository of Simple Expert
1 stars

This MetaTrader 5 expert advisor implements a volatility-driven grid strategy primarily focused on Gold. It populates a range of buy-stop and sell-stop limit orders at specified intervals around the market price. The system transitions into a trend-following mode once multiple orders are triggered in one direction, app

MT5 Trading robot GridBreakoutTrend following High risk
Updated 2 months ago None stated GitHub repository of Volatility Grid Bot
1 stars

Scorpion Risk Infrastructure is a MetaTrader 5 expert advisor focused on capital protection and trade execution. Originally derived from a smart money strategy, this framework handles position sizing based on balance risk, enforces daily loss limits, and applies cooldown periods after trades hit stop loss. It protects

MT5 Risk & protection
Updated 2 months ago None stated GitHub repository of Scorpion Risk Infrastructure

MT5 Position Sizer

by Alfacentauree
1 stars

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

MT5 Utility
Updated 2 months ago None stated GitHub repository of MT5 Position Sizer

XM Gold AI Trader

by fuquan728-lang
1 stars

XM Gold AI Trader is an automated expert advisor for MetaTrader 5 that leverages a Python-based backend powered by DeepSeek AI. The system processes market data using indicators such as RSI, MACD, and Bollinger Bands to generate signals, which are transmitted via WebSocket or TCP sockets. It includes robust risk contro

MT5 Collection AI / machine learningTrend followingMean reversion High risk
Updated 2 months ago None stated GitHub repository of XM Gold AI Trader

Gold and Bitcoin Scalper Suite

by addotwumnana-eng
1 stars

This MetaTrader 5 expert advisor suite contains two separate robots designed for scalping Gold and Bitcoin. The Gold Scalper functions during specific market sessions, while the Bitcoin Scalper trades continuously. Both tools utilize a moving average crossover system to place buy and sell stop orders at predefined dist

MT5 Trading robot ScalpingIndicator crossover

Acteck QA5

by Evgeniy-makdak
1 stars

Acteck QA5 is an analytical tool for MetaTrader 5 that performs quantitative analysis on historical price movements to identify trend segments and potential reversal zones. It utilizes a user-defined volatility filter in pips to categorize waves and calculates the mathematical probability of price exhaustion based on h

MT5 Utility Trend followingMean reversion
Updated 2 months ago None stated GitHub repository of Acteck QA5

MT5 Trade Manager

by ifeoluwaezekiel129-png
1 stars

This MetaTrader 5 expert advisor is a utility for managing active positions and controlling account risk rather than executing autonomous trade entries. It features an automated lot size calculator based on percentage risk, daily loss protection in both percentage and dollar terms, and a comprehensive trade management

MT5 Trade manager
Updated 2 months ago None stated GitHub repository of MT5 Trade Manager

News Calendar EA

by mahfujchowdhury
1 stars

The News Calendar EA for MetaTrader 5 is an automated tool designed to execute or manage trades based on economic events. It features a canvas-based dashboard and utilizes an SQLite database to store and track calendar data. The system allows users to enter trades before or after news releases or pause activity during

MT5 News trading News
Updated 2 months ago None stated GitHub repository of News Calendar EA

AI Canvas EA

by mahfujchowdhury
1 stars

This MetaTrader 5 expert advisor integrates with OpenAI API models, specifically GPT-4o, to analyze market data and generate trading signals. The tool sends a configurable number of recent chart bars to the AI model for processing and can execute trades automatically based on the response. It includes a chat-style inte

MT5 Trading robot AI / machine learning
Updated 2 months ago None stated GitHub repository of AI Canvas EA
1 stars

This MetaTrader 5 repository hosts a collection of over 90 expert advisors generated by StrategyQuant X. The robots are designed for the M15 timeframe across diverse markets including forex majors, gold, and oil. Entry signals are derived from technical indicators like Ichimoku, VWAP, and Moving Averages. Each EA featu

MT5 Collection Trend followingIndicator crossoverMartingale High risk
Updated 2 months ago None stated GitHub repository of Quant V1 Strategy Collection
1 stars

This MetaTrader 5 expert advisor executes trades based on daily classic pivot points combined with the engulfing candlestick pattern on the M15 timeframe. It employs a 200-period Exponential Moving Average as a trend filter to refine entries. Risk management includes a martingale lot scaling system that increases posit

MT5 Trading robot Trend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Pivot Points Engulfing EA

PASR Modular

by sakuninfinix-svg
1 stars

PASR Modular is a MetaTrader 5 expert advisor designed for automated trading using a modular framework. It employs technical indicators like ATR for dynamic stop losses and take profits, alongside ADX for trend filtering. The system integrates machine learning components for trade inference and multi-timeframe analysis

MT5 Trading robot AI / machine learningTrend followingMulti-strategy
Updated 2 months ago None stated GitHub repository of PASR Modular

Grid Trader MT5

by zhangwenwei
1 stars

This expert advisor for MetaTrader 5 implements a bidirectional range grid strategy based on user-defined price boundaries. It automatically divides the range into two halves, executing sell orders in the upper section and buy orders in the lower section. The system includes a safety mechanism that closes all positions

MT5 Trading robot GridMean reversionHedging High risk
Updated 2 months ago None stated GitHub repository of Grid Trader MT5

Gann Bot

by avangardistic
1 stars

This automated expert advisor for MetaTrader 5 executes trades based on Gann Box analysis, identifying entries at dynamic support and resistance levels. It features advanced risk controls including hard stop loss, take profit, and a trailing stop. The EA provides four capital management modes: fixed lot size, risk perc

MT5 Trading robot Mean reversionTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Gann Bot

Risk Guard EA

by Mind2Money
1 stars

This risk management expert advisor for MetaTrader 5 functions as an account-wide watchdog. It monitors equity fluctuations against user-defined thresholds for daily loss, total drawdown, and profit targets. When a limit is breached, the EA automatically closes all open positions and can optionally delete pending order

MT5 Risk & protection
Updated 2 months ago None stated GitHub repository of Risk Guard EA

MQL5 State Machine

by easaikyo-netizen
1 stars

This MetaTrader 5 expert advisor serves as a development framework and diagnostic tool for organizing complex trading logic. It implements an object-oriented finite state machine to manage transitions between initialization, signal monitoring, order execution, and news restriction states. By replacing nested conditiona

MT5 Framework & template
Updated 2 months ago None stated GitHub repository of MQL5 State Machine

Spread Slippage Monitor

by easaikyo-netizen
1 stars

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

MT5 Utility
Updated 2 months ago None stated GitHub repository of Spread Slippage Monitor

XAU Confluence EA

by sapsyhere01-max
1 stars

XAU Confluence EA is an automated trading robot for MetaTrader 5, specifically tailored for the gold market. The system executes trades based on a triple-confluence strategy that integrates an exponential moving average ribbon for trend direction, Donchian Channel breakouts with volume confirmation, and a proxy-CVD ind

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 2 months ago None stated GitHub repository of XAU Confluence EA

Mql5 News Filter

by easaikyo-netizen
1 stars

This news filter for MetaTrader 5 allows Expert Advisors to automatically suspend trading activities around high-impact economic news releases. Instead of relying on commercial APIs, the tool fetches event data from a user-hosted JSON file on GitHub using native WebRequest functionality. It monitors specific currencies

MT5 News trading
Updated 2 months ago None stated GitHub repository of Mql5 News Filter

MQL5 Unit Testing Framework

by easaikyo-netizen
1 stars

This lightweight, macro-based unit testing framework is designed for MetaTrader 5 developers to verify Expert Advisor logic and trading calculations. It provides a set of simple assertion macros for checking booleans, integers, and double-precision values directly within the terminal environment. The framework is entir

MT5 Framework & template
Updated 2 months ago None stated GitHub repository of MQL5 Unit Testing Framework

MQL5 Discord Telegram Logger

by easaikyo-netizen
1 stars

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

MT5 Utility
Updated 2 months ago None stated GitHub repository of MQL5 Discord Telegram Logger

SP2L

by farsosta-jpg
1 stars

This MetaTrader 5 expert advisor executes trades based on price action and momentum patterns, specifically identifying strong candles relative to their recent average range. The logic incorporates Fair Value Gap (FVG) detection and moving averages to filter entries. It includes automated risk management with percentage

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 3 months ago None stated GitHub repository of SP2L
1 stars

This repository contains a collection of ten trend-following Expert Advisors for the MetaTrader 5 platform. Each robot implements a different technical strategy, utilizing indicators such as Bollinger Bands and moving averages with various smoothing methods like ParMA and SMMA. The EAs identify entry points based on ov

MT5 Collection Trend followingIndicator crossover

Ustec Trend Runner

by RicardoBarato
1 stars

This MetaTrader 5 Expert Advisor is a research-oriented tool designed for systematic trading of USTEC/Nasdaq CFDs. It employs a trend-following logic using Exponential Moving Average crossovers and ADX filters to identify entries on the M5 timeframe during specific trading sessions. Risk is managed through ATR-based dy

MT5 Trading robot Trend followingIndicator crossover
Updated 3 months ago Custom licence GitHub repository of Ustec Trend Runner

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

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 day, 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 day. 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.

Compare brokers