Synced with GitHub · updated hourly

Expert Advisor Library

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

113 EAs match Clear filters

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

Position Sizer

by EarnForex
594 stars

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

MT4MT5 Utility
Updated 8 days ago Apache-2.0 GitHub repository of Position Sizer

EA31337 Classes

by EA31337
269 stars

This development framework provides a comprehensive MQL library for building Expert Advisors, indicators, and scripts across MetaTrader 4 and 5 platforms. It facilitates cross-platform compatibility by offering a unified API that allows developers to port MQL4 code to MQL5 with minimal modifications. The library includ

MT5 Framework & template
Updated 5 months ago GPL-3.0 GitHub repository of EA31337 Classes

ICT Library MQ5

by xxvw
205 stars

This MetaTrader 5 library and expert advisor automates Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies. It identifies market structure shifts, breaks of structure, order blocks, and liquidity zones. The system features a confluence-based entry mechanism that evaluates signals against kill zones,

MT5 Framework & template SMC / ICT / price action

Account Protector

by EarnForex
124 stars

Account Protector is a risk management expert advisor for MetaTrader 4 and 5 designed to monitor account health and prevent excessive drawdowns. It allows users to set specific triggers based on floating profit or loss, equity levels, free margin, spread, or daily performance. When these conditions are met, the EA auto

MT4MT5 Risk & protection
Updated 7 months ago Apache-2.0 GitHub repository of Account Protector
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

My Trading Bot

by carlosrod723
78 stars

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot
67 stars

This MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic

MT4MT5 Trade manager
Updated 3 months ago Apache-2.0 GitHub repository of Trailing Stop On Profit

AutoTrading Scheduler

by EarnForex
55 stars

This expert advisor provides automated schedule management for the MetaTrader 4 and MetaTrader 5 platforms. It allows users to define specific time windows for each day of the week to toggle the platform's global AutoTrading status. Beyond simple scheduling, the utility can close active positions and delete pending ord

MT4MT5 Risk & protection
Updated 6 months ago Apache-2.0 GitHub repository of AutoTrading Scheduler

Fvg Gold EA

by foeed
34 stars

Fvg Gold EA is an automated trading robot for MetaTrader 5 designed specifically for the gold market. It utilizes institutional trading concepts by identifying high-probability Fair Value Gaps with Order Block confluence. The system employs a scoring algorithm to evaluate trade quality based on displacement, gap size,

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 5 days ago MIT GitHub repository of Fvg Gold EA

JB News Bot

by jblanked
31 stars

JB News Bot is an automated trading expert advisor for MetaTrader 4 and MetaTrader 5 that executes positions based on scheduled economic data releases. It interfaces with the JBlanked News API to fetch calendar events from sources including MQL5, Forex Factory, and FXStreet. The EA allows users to configure specific en

MT4MT5 News trading News
Updated 3 months ago MIT GitHub repository of JB News Bot

Bakome Gold Scalper

by BAKOME-Hub
25 stars

Bakome Gold Scalper is an automated trading solution for MetaTrader 5 specifically designed for the gold market. It executes trades based on Inner Circle Trader concepts, incorporating Fair Value Gaps, Order Blocks, Liquidity Sweeps, and Silver Bullet kill zones. The system limits trading to specific sessions, primaril

MT5 Trading robot SMC / ICT / price actionScalping

Trillex 10S EA

by NadirAliOfficial
24 stars

Trillex 10S is a MetaTrader 5 scalping expert advisor optimized for Gold (XAUUSD). It executes trades based on the alignment of a three-period Exponential Moving Average (EMA) stack and Parabolic SAR indicators. The system features a proprietary synthetic bar engine that processes price data into 5-second and 10-second

MT5 Trading robot ScalpingIndicator crossover

CRT Turtle Soup EA

by n30dyn4m1c
21 stars

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

MT5 Utility Mean reversionSMC / ICT / price action

ATR Trailing Stop

by EarnForex
19 stars

This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to

MT4MT5 Trade manager
Updated 6 months ago Apache-2.0 GitHub repository of ATR Trailing Stop

Gold Pro Scalper

by n30dyn4m1c
15 stars

This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-

MT5 Collection Mean reversionBreakoutScalping

Adjustable MA

by EarnForex
15 stars

This MetaTrader expert advisor implements a classic moving average crossover strategy for both MT4 and MT5. It enters trades when a fast moving average crosses a slow moving average, requiring a user-defined minimum point difference to confirm the signal. The robot includes risk management features such as stop loss, t

MT4MT5 Trading robot Indicator crossover
Updated 5 months ago Apache-2.0 GitHub repository of Adjustable MA

Phase 404 EA

by Musyimi97
14 stars

Phase 404 EA is a MetaTrader 5 robot that automates a mechanical Smart Money Concepts strategy including Wyckoff logic and liquidity sweeps. It identifies market structure shifts and enters trades during London or New York kill zones using Fibonacci Optimal Trade Entry levels. The expert advisor manages risk through pe

MT5 Trading robot SMC / ICT / price action
Updated 5 months ago MIT GitHub repository of Phase 404 EA

MonsterFX Reliable Trader

by NadirAliOfficial
12 stars

This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l

MT5 Trading robot Indicator crossoverTrend followingMean reversion

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following

SmartMoney MTF EA

by SiyabongaDlamini
9 stars

This automated expert advisor for MetaTrader 5 implements institutional Smart Money Concepts using a multi-timeframe approach. It synchronizes analysis across three timeframes to identify trend direction, premium or discount zones, and market structure shifts. The robot executes trades based on liquidity sweeps and Fib

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 4 months ago Apache-2.0 GitHub repository of SmartMoney MTF EA
9 stars

This MetaTrader 5 Expert Advisor implements a neural network-based trading strategy using the ONNX format for model deployment. It bridges a Python-trained machine learning model with the MQL5 platform to automate trade execution based on price change predictions. The system includes integrated risk management controls

MT5 Trading robot AI / machine learning

MT5 Trade Panel

by maxime-fintech
9 stars

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

MT5 Utility
Updated 8 months ago MIT GitHub repository of MT5 Trade Panel

MetaTrader AI

by jblanked
8 stars

This AI-driven trading assistant integrates Large Language Models like OpenAI and DeepSeek into the MetaTrader 5 platform. It functions as an interactive chat-based assistant and robot, capable of opening, closing, and modifying positions based on natural language prompts. The system can fetch real-time market data, ca

MT5 Trading robot AI / machine learning
6 stars

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe. It identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle pattern

MT5 Trading robot Trend followingSMC / ICT / price actionScalping

Orchard Forex Trailing Stop Manager

by OrchardForexTutorials
6 stars

This MetaTrader 4 expert advisor serves as a trade management tool that automates the trailing stop-loss process for existing positions. It does not open any new trades itself; rather, it monitors current market orders placed manually or by other robots. The utility uses a reverse loop to scan active orders, filtering

MT4 Trade manager

Price Action Engulfing Zone

by NadirAliOfficial
6 stars

This expert advisor for MetaTrader 5 implements a pure price action strategy focused on Gold (XAUUSD) on the five-minute timeframe. It identifies market trends through swing-point structure analysis and marks supply and demand zones based on engulfing candlestick patterns. Trades are triggered only when price retests a

MT5 Trading robot SMC / ICT / price actionTrend following

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel
5 stars

This MetaTrader 5 expert advisor executes trades based on opening range breakout logic. The system identifies a price range over a specific duration and enters positions when the market breaks through these levels. It supports multiple entry methods including market orders on candle close, resting stop orders, or limit

MT5 Trading robot Breakout
5 stars

This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated

MT5 Collection BreakoutMean reversionScalping

High Frequency Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for scalping gold on the M1 timeframe. It features a versatile strategy engine capable of toggling between breakout and mean-reversion modes based on market conditions. The system manages trades using ATR-based trailing stops, break-even adjustments, and time-based exits. Ri

MT5 Trading robot ScalpingBreakoutMean reversion

Gold Scalper MT5

by autoea-online
5 stars

Gold Scalper is an educational MetaTrader 5 expert advisor designed for scalping XAUUSD on the one-minute timeframe. It is presented as a masterclass tutorial to demonstrate modular coding practices. The system utilizes a 200-period Exponential Moving Average for trend filtering and the Relative Strength Index for entr

MT5 Trading robot ScalpingTrend followingIndicator crossover
Updated 6 months ago MIT GitHub repository of Gold Scalper MT5

CRT TBS Gold Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles. It identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specifi

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
5 stars

This MetaTrader 5 expert advisor serves as a modular framework for building high-performance trading systems with external connectivity. It utilizes a three-pillar architecture: a bridge interface for REST API communication with external backends, a multi-agent logic system for AI-driven signal generation, and a risk m

MT5 Framework & template AI / machine learning

MT5 TradingView Bridge

by bktimmy247
4 stars

This MetaTrader 5 expert advisor functions as a bridge to execute trades originating from TradingView alerts or a custom embedded dashboard. It utilizes a local Python Flask server and file-based Inter-Process Communication to relay commands. The system supports manual execution through a floating toolbar and automated

MT5 Copier & bridge

MT5 Auto Backtest Pipeline

by 26730023-PhamPhuNguyenHung
4 stars

This repository features a headless CLI automation pipeline for MetaTrader 5, enabling users to compile, backtest, and rank MQL5 Expert Advisors through PowerShell. It contains a large collection of robots focused on candlestick patterns, such as Morning and Evening Star signals, combined with Stochastic or CCI filters

MT5 Collection SMC / ICT / price actionIndicator crossoverMean reversion

Move Stop To Breakeven

by EarnForex
4 stars

Move Stop To Breakeven is a trade management expert advisor for MetaTrader 4 and 5 that automatically secures open positions by adjusting stop-loss levels. Once a trade reaches a user-defined profit distance in points, the EA moves the stop-loss to the entry price or a specified buffer level. It features options to acc

MT4MT5 Trade manager
Updated 6 months ago Apache-2.0 GitHub repository of Move Stop To Breakeven

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 7 months ago Unlicense GitHub repository of SMC Master Pro

AI Telegram Signal

by bizkut
4 stars

This MetaTrader 5 expert advisor acts as a bridge between Telegram channels and the trading terminal via a dedicated Python server. It uses a TCP socket connection to receive structured JSON data parsed by artificial intelligence from unstructured chat messages. The EA executes market or pending orders based on entry r

MT5 Copier & bridge ScalpingMulti-strategy

AI Supertrend Long Only

by dharaarpan7
4 stars

This MetaTrader 5 expert advisor executes automated long-only trades based on the Supertrend indicator. It calculates trend direction using Average True Range and a multiplier factor to identify entry points. The robot includes built-in risk management tools such as percentage-based stop loss and take profit orders, as

MT5 Trading robot Trend following
Updated 11 months ago BSL-1.0 GitHub repository of AI Supertrend Long Only
3 stars

A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse

MT5 Collection Mean reversionBreakoutTrend following

News Filter MQL5

by sushiix-trader
3 stars

This news filter module for MetaTrader 5 provides a framework for Expert Advisors to avoid trading during high-impact economic events. It features a dual-layer system: a decision layer that blocks new entries and an action layer that can flatten current positions or cancel pending orders. The tool supports live termina

MT5 News trading News
Updated 12 days ago Apache-2.0 GitHub repository of News Filter MQL5

IJESHA Algo EA

by Shifrozy
3 stars

This MetaTrader 5 expert advisor implements a multi-indicator strategy based on momentum and divergence confluence. It utilizes Stochastic, Commodity Channel Index (CCI), Parabolic SAR, and Exponential Moving Averages (EMA) to identify entries, specifically targeting bullish and bearish divergence patterns. Risk manage

MT5 Trading robot Mean reversionTrend followingIndicator crossover
Updated 2 weeks ago MIT GitHub repository of IJESHA Algo EA

Hydra Prime

by sriramvarun0636
3 stars

Hydra Prime is a systematic expert advisor for MetaTrader 5 designed specifically for the gold market. It executes trades based on intraday momentum expansions and market structure shifts using Smart Money Concepts like Fair Value Gaps and Optimal Trade Entry zones. The robot analyzes swing structures on the M5 timefra

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 5 weeks ago GPL-3.0 GitHub repository of Hydra Prime

Adjustable MA 3G

by EarnForex
3 stars

This expert advisor for MetaTrader 4 and 5 executes trades based on crossovers of the 3rd Generation Moving Average indicator. It utilizes two instances of the custom indicator with adjustable periods and sampling settings to identify trend shifts. The robot enters positions when the difference between the fast and slo

MT4MT5 Trading robot Indicator crossover
Updated 5 months ago Apache-2.0 GitHub repository of Adjustable MA 3G

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

Break Even Bot

by autoea-online
3 stars

This MetaTrader 5 utility serves as an automated trade manager focused on risk reduction. It monitors active positions and moves the Stop Loss to the entry price once a specific profit target, defined in pips, is reached. The tool allows for an optional offset to account for spreads or transaction costs. It does not in

MT5 Trade manager
Updated 6 months ago MIT GitHub repository of Break Even Bot

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