Synced with GitHub · updated hourly

Expert Advisor Library

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

377 EAs match Clear filters

Xauusd M1 Scalper

by febrimunan
1 stars

This MetaTrader 5 expert advisor implements a specialized opening range breakout strategy for gold (XAUUSD) on the M1 timeframe. It specifically targets the Monday market opening by monitoring price action during the first few minutes of the session to establish a high-low range. The robot enters a buy or sell position

MT5 Trading robot BreakoutScalping
Updated 4 months ago None stated GitHub repository of Xauusd M1 Scalper

Xauusd Event Driven

by lightup777777
1 stars

An event-driven expert advisor for MetaTrader 5 designed specifically for gold. It monitors rapid price movements or stretches to identify entry points, utilizing an exponential moving average for signal smoothing. The strategy focuses on momentum by entering trades after identifying specific price peaks and ignition m

MT5 Trading robot ScalpingTrend following
Updated 4 months ago None stated GitHub repository of Xauusd Event Driven

Crystal Light

by SearchlightFX
1 stars

Crystal Light is a MetaTrader 5 expert advisor specifically configured for XAUJPY on the M3 timeframe. It employs a confluence-based strategy using buy and sell differentials to trigger entries. The system features independent take profit levels, a trailing stop with adjustable buffers, and a risk-based auto-lot sizing

MT5 Trading robot ScalpingGrid High risk
Updated 4 months ago MIT GitHub repository of Crystal Light
1 stars

This MetaTrader 5 expert advisor implements a mean-reversion strategy based on the Relative Strength Index. It replaces traditional static oversold and overbought levels with dynamic extremes calculated from historical volatility. The bot utilizes a multi-entry grid approach, opening up to fifteen averaged positions to

MT5 Trading robot Mean reversionGrid High risk
Updated 4 months ago None stated GitHub repository of Dynamic RSI Multi Entry
1 stars

This MetaTrader 5 expert advisor executes a trend-following strategy based on Donchian Channel breakouts and MACD filters across multiple timeframes. It utilizes a higher timeframe for trend direction while identifying entry opportunities on lower timeframes. The robot includes a trend memory mode designed to manage en

MT5 Trading robot BreakoutTrend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Donchian MACD Breakout EA

Robot AI

by yansuwitna
1 stars

This MetaTrader 5 expert advisor utilizes Stochastic Oscillator crossovers to execute buy and sell orders. It calculates entry signals based on a minimum difference between the %K and %D lines. Risk management includes stop loss and take profit levels calculated using spread multipliers, as well as a trailing stop that

MT5 Collection Indicator crossoverMartingaleMean reversion High risk
Updated 4 months ago None stated GitHub repository of Robot AI

Scalp Gold EA

by wechuck
1 stars

Scalp Gold EA is a MetaTrader 5 robot primarily optimized for XAUUSD and major forex pairs. It employs a multi-tiered entry system that selects risk levels based on setup confluence and H4 trend alignment via moving averages. Entries are further filtered by ADX momentum and volatility checks. The EA manages risk with a

MT5 Trading robot Trend followingScalpingMulti-strategy
Updated 4 months ago None stated GitHub repository of Scalp Gold EA

DayBlocker

by th48ad
1 stars

DayBlocker is a utility expert advisor for MetaTrader 5 that manages the global AutoTrading state based on economic events. It monitors the built-in MQL5 calendar and a manual text file for high-impact news such as Flash PMI, FOMC meetings, and Non-Farm Payrolls. When a specific event is detected for the current day, t

MT5 News trading News
Updated 4 months ago None stated GitHub repository of DayBlocker
1 stars

This MetaTrader 5 expert advisor collection provides various automated strategies, with a primary focus on swing trading gold. The core logic utilizes dual Exponential Moving Averages for trend filtering and the Relative Strength Index to identify specific entry points. It manages risk using Average True Range for dyna

MT5 Collection Trend followingIndicator crossoverMean reversion High risk
Updated 4 months ago None stated GitHub repository of Gold Swing Conservative
1 stars

This collection for MetaTrader 5 provides a suite of trading algorithms and risk management utilities. The primary expert advisor features an adaptive machine learning system using a neural network and evolutionary genetic algorithms. It analyzes market structure, volume profiles, and candlestick patterns to execute tr

MT5 Collection AI / machine learningSMC / ICT / price action

Trade Solutxn Masterclass EA Framework

by tradesolutxn-creator
1 stars

This MetaTrader 5 expert advisor serves as a modular boilerplate and educational framework for algorithmic trading development. It provides a base structure for students to build custom execution strategies, transitioning from manual price action to automated logic. The current implementation includes basic risk manage

MT5 Framework & template

Risk Managed Trend EA

by Hatef-Rostamkhani
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Exponential Moving Average crossovers and Relative Strength Index momentum confirmation. It enters trades based on trend direction and exits using Average True Range derived stop loss and take profit levels. The system includes robust risk man

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago None stated GitHub repository of Risk Managed Trend EA
1 stars

This MetaTrader 5 expert advisor implements a mean-reversion day-trading strategy using Bollinger Bands and the Relative Strength Index. It identifies overextended price movements where a candle closes significantly outside the bands with confirming RSI overbought or oversold levels. The robot enters trades on a price

MT5 Trading robot Mean reversion
Updated 4 months ago None stated GitHub repository of BB and RSI Pullback Strategy

GoldPulse BurstTrend

by wayneheyliger-cpu
1 stars

GoldPulse BurstTrend is an automated trading robot for MetaTrader 5 designed to capture momentum within established trends. It employs a multi-timeframe logic, analyzing the H1 and M5 periods for overall bias while using the M1 timeframe for trade execution. The system filters entries using EMA crossovers, ADX strength

MT5 Trading robot Trend followingIndicator crossoverScalping
Updated 4 months ago None stated GitHub repository of GoldPulse BurstTrend

GoldenGauss EA V4

by combjuda
1 stars

GoldenGauss EA V4 is a neural network-based trading robot for MetaTrader 5 that utilizes machine learning models to identify market entries. It employs an Average True Range based system for calculating dynamic stop loss, take profit, and trailing stop levels. The EA includes a time filter for specific trading sessions

MT5 Trading robot AI / machine learning
Updated 4 months ago None stated GitHub repository of GoldenGauss EA V4
1 stars

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

MT5 Utility
Updated 4 months ago None stated GitHub repository of Brokers DB Position Sizer

Oddioybek7 MQ5 Collection

by oddioybek7-beep
1 stars

This MetaTrader 5 repository contains a collection of automated trading systems, including SignalRobot, OrderBlockRobot, and Smart HHMA Robot. The primary SignalRobot expert uses Triple Exponential Moving Average (TEMA) and noise filters to generate trade signals. It includes a risk management module that calculates lo

MT5 Collection Trend followingIndicator crossoverSMC / ICT / price action
Updated 5 months ago None stated GitHub repository of Oddioybek7 MQ5 Collection

Fast Scalper

by tsvirinkal
1 stars

Fast Scalper is an Expert Advisor for MetaTrader 5 that executes trades based on price ranges and tick velocity. It monitors short-term and long-term price extremes using 40-candle and 200-candle lookback periods to establish market context. The system incorporates a hedging mechanism to manage open positions, using sp

MT5 Trading robot ScalpingHedgingMean reversion
Updated 5 months ago None stated GitHub repository of Fast Scalper

MT5 Trade Execution Engine

by kaushalshete
1 stars

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,

MT5 Utility

XGBoost Classifier MT5

by alexandruchirita4192
1 stars

This MetaTrader 5 expert advisor utilizes an XGBoost machine learning model exported via the ONNX format to identify trading opportunities. It enters trades based on classification probabilities and a minimum gap between prediction classes. The system features extensive risk controls, including stop loss and take profi

MT5 Trading robot AI / machine learningTrend following
Updated 5 months ago GPL-3.0 GitHub repository of XGBoost Classifier MT5
1 stars

This MetaTrader 5 expert advisor implements core Inner Circle Trader (ICT) concepts including Fair Value Gaps (FVG), liquidity sweeps, and Market Structure Shifts (MSS). It executes trades based on price imbalances and displacement, utilizing session-based filters for London and New York kill zones. Risk management fea

MT5 Trading robot SMC / ICT / price action
Updated 5 months ago None stated GitHub repository of ICT Trading Strategy EA

MyTrader

by scarftk
1 stars

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

MT5 Utility
Updated 5 months ago None stated GitHub repository of MyTrader
1 stars

This repository is a collection of MetaTrader 5 expert advisors focusing on quantitative research and price action strategies. It includes implementations of Smart Money Concepts and Inner Circle Trader methods, such as Order Blocks, Fair Value Gaps, and liquidity sweeps. Other components feature Ichimoku Kinko Hyo tre

MT5 Collection SMC / ICT / price actionTrend followingMean reversion

Adaptive Quant Grid

by x001tk-Igor
1 stars

Adaptive Quant Grid is an automated trading system for MetaTrader 5 that utilizes a dynamic grid strategy. It adjusts grid spacing based on market volatility using the Average True Range indicator and includes a regime filter powered by ADX and EMA to distinguish between trending and ranging markets. The EA supports sy

MT5 Trading robot GridMean reversionHedging High risk

Pro Trader AI

by salmanrki
1 stars

This MetaTrader 5 expert advisor integrates Large Language Models such as OpenAI and Anthropic Claude with technical analysis to automate trading across forex, gold, crypto, and indices. It utilizes a confluence scoring system based on Smart Money Concepts, Ichimoku Cloud, and standard indicators like RSI and MACD. The

MT5 Trading robot SMC / ICT / price actionAI / machine learningNews
Updated 5 months ago None stated GitHub repository of Pro Trader AI

Robot MA RSI

by space-55
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy using Moving Average crossovers and Relative Strength Index (RSI) signals. The robot enters trades when a fast EMA crosses a slow EMA, provided the RSI confirms momentum. Risk management is handled through ATR-based stop loss and take profit calcula

MT5 Trading robot Indicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Robot MA RSI
1 stars

This repository contains a collection of MetaTrader 5 expert advisors focusing on various automated strategies. Notable files include a liquidity sweep scalper, an opening range breakout tool, and an index arbitrage EA. The primary liquidity sweep EA uses price action filters like candle size and wick ratios alongside

MT5 Collection ScalpingBreakoutSMC / ICT / price action
Updated 5 months ago None stated GitHub repository of VSendra MT5 EA Collection
1 stars

Apex Leviathan is a multi-indicator expert advisor for MetaTrader 5 that combines technical analysis with external AI validation. It calculates a trade score using moving averages across H4, H1, and M30 timeframes, alongside RSI and MACD data. If a score threshold is met, the robot optionally consults the Google Gemini

MT5 Trading robot AI / machine learningIndicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Apex Leviathan AI Oracle

Forex Robot Collection

by ruanolivier93-netizen
1 stars

This collection for MetaTrader 5 provides multiple trading strategies, including an Asian session breakout system, a trend-aligned mean reversion strategy, and a moving average crossover expert. The breakout logic identifies price ranges during the Asian session and initiates trades during London or New York hours if c

MT5 Collection BreakoutMean reversionIndicator crossover
Updated 5 months ago None stated GitHub repository of Forex Robot Collection

AI Quant Strategy Lab

by Vinu-Kevin-Diesel
1 stars

This MetaTrader 5 framework provides a suite of expert advisors optimized for Gold trading using advanced signal processing. It employs a Hidden Markov Model to classify the market into five regimes, filtering entries based on current volatility and trend strength. The logic utilizes Gaussian IIR filters for lag-reduce

MT5 Collection Trend followingMean reversionAI / machine learning

MQL5 Trade Assistant

by supertonka
1 stars

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

MT5 Utility
Updated 5 months ago None stated GitHub repository of MQL5 Trade Assistant

Visual Risk Calculator

by arnaudrmt
1 stars

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

MT5 Utility

Xauusdt MT5

by 4everfantasygaming
1 stars

Xauusdt MT5 is an automated trading robot for MetaTrader 5, specifically optimized for gold trading. It executes a grid-based strategy with martingale lot scaling, where position sizes are increased by a user-defined multiplier after losses. The system features a dual-stage grid distance mechanism that adjusts spacing

MT5 Trading robot GridMartingaleHedging High risk
Updated 5 months ago None stated GitHub repository of Xauusdt MT5

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk

Arbitrage Grid Bot

by AlessandroGCodeca
1 stars

This MetaTrader 5 expert advisor implements a multi-pair grid and dollar-cost averaging strategy. It monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 5 months ago None stated GitHub repository of Arbitrage Grid Bot
1 stars

This MetaTrader 5 repository contains a collection of expert advisors, primarily documented around the TrioMartingale strategy. This system uses a martingale grid approach on AUDNZD, NZDCAD, and AUDCAD to exploit triangular correlation and mean-reversion. Entries are filtered using RSI and Moving Averages, while risk i

MT5 Collection MartingaleGridMean reversion High risk
Updated 5 months ago None stated GitHub repository of Cyrex23 Experts Collection
1 stars

This MetaTrader 5 repository provides a collection of expert advisors focused on hedging and position recovery strategies. The main utility manages trade entries with automated hedge triggers based on stop loss events or specific price distances. It includes sophisticated risk controls such as basket-level take profit

MT5 Collection HedgingMulti-strategy
Updated 5 months ago None stated GitHub repository of Seefactor Hedge Collection
1 stars

This collection of MetaTrader 5 expert advisors focuses on breakout strategies influenced by Smart Money Concepts. The primary tool, Super Breakout SMC, utilizes a multi-timeframe approach with M15 market structure analysis and M5 entry triggers. It features session-specific trading filters, often referred to as killzo

MT5 Collection BreakoutSMC / ICT / price actionTrend following
Updated 5 months ago None stated GitHub repository of Super Breakout SMC Collection

P4 Pattern Strategy

by junthy-me
1 stars

This MetaTrader 5 expert advisor identifies and trades a proprietary geometric P4 swing pattern. It scans for a multi-point price skeleton using historical data and triggers entries at P4 when specific price ratios and time constraints are met. The system requires an account in hedging mode to manage trade-specific sna

MT5 Trading robot SMC / ICT / price actionHedging
Updated 5 months ago None stated GitHub repository of P4 Pattern Strategy

Ravan EA

by bhavyat81
1 stars

Ravan EA is a multi-indicator confluence trading robot for MetaTrader 5. It utilizes a scoring engine based on seven indicators, including EMA crossovers, Supertrend, ADX, RSI, automated support and resistance levels, candlestick patterns, and volume analysis. The expert advisor enters trades when a user-defined signal

MT5 Trading robot Indicator crossoverTrend followingMulti-strategy
Updated 5 months ago None stated GitHub repository of Ravan EA

RapidPass EA

by jonahgrigoryan
1 stars

RapidPass EA (RPEA) is an MT5 trading robot designed specifically for passing prop firm challenges. It utilizes a hybrid ensemble architecture combining Burst-Weighted Imbalance with Session Confluence (BWISC) and mean-reversion strategies. The EA incorporates machine learning through Q-learning and contextual bandits

MT5 Trading robot SMC / ICT / price actionMean reversionAI / machine learning High risk
Updated 5 months ago None stated GitHub repository of RapidPass EA

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

Compare brokers