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
166 EAs match Clear filters

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

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

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

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

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

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

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

FXTR1 MT5

by GicaGashy
1 stars

FXTR1 is a modular Expert Advisor for MetaTrader 5 designed with a source-first development approach. It features a strategy selection engine that includes a moving average crossover system and a pivot gravity strategy. The crossover strategy supports optional ATR-based volatility exits, while the pivot system uses ban

MT5 Trading robot Indicator crossoverMulti-strategy
Updated 3 months ago None stated GitHub repository of FXTR1 MT5

Options Trading Moving Average

by SankarSrinivasan1
1 stars

This MetaTrader 4 expert advisor implements a foundational trend-following strategy based on a 20-period Exponential Moving Average. It enters long positions when the market price trades above the average and short positions when it trades below. The code is designed as a template for users of the book Options Trading

MT4 Trading robot Indicator crossoverTrend following

Zbbot

by zbgerman
1 stars

This Expert Advisor for MetaTrader 5 implements trading logic based on Smart Money Concepts, specifically the ICT 2022 mentorship model. It automatically identifies market structures such as Fair Value Gaps, fractals, and rejection blocks across multiple timeframes to locate entries. The system includes a time-based fi

MT5 Trading robot SMC / ICT / price actionTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of Zbbot

Grid Retest

by khamminasomchanmavong
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy combined with an EMA trend filter. It enters positions based on price relation to a 50-period Exponential Moving Average. If a trend reverses while a basket is active, the EA initiates a dual-mode recovery by opening a new basket in the opposing

MT5 Trading robot GridTrend followingHedging High risk
Updated 3 months ago None stated GitHub repository of Grid Retest

Gartal Inc

by bsAmirHeydar
1 stars

Gartal Inc is a modular trading automation framework and strategy development template for MetaTrader 4. It provides a structured environment for testing various entry and exit logic, including Fair Value Gaps, moving average crossovers, and Donchian channels. The repository focuses on backtesting workflows, featuring

MT4 Framework & template SMC / ICT / price actionIndicator crossoverTrend following
Updated 3 months ago None stated GitHub repository of Gartal Inc

MoneyMaker EA Collection

by akshayboora342-cell
1 stars

This MetaTrader 5 collection features the Prime Quantum AI expert advisor alongside a Python-based FastAPI dashboard for strategy management. The primary robot utilizes a hybrid logic, combining traditional indicators like ADX and the Bill Williams Alligator with external artificial intelligence models for market analy

MT5 Collection AI / machine learningTrend followingGrid High risk
Updated 3 months ago Apache-2.0 GitHub repository of MoneyMaker EA Collection

ZoneTrader Pro

by Valenteeno
1 stars

ZoneTrader Pro is an automated trading robot for MetaTrader 5 that identifies and trades supply and demand zones based on price context. It features a granular session filter allowing users to enable or disable trading for specific hours of the day. The EA manages risk through a daily profit and loss protector, a news

MT5 Trading robot SMC / ICT / price action
Updated 3 months ago Custom licence GitHub repository of ZoneTrader Pro

Renko Trader

by Valenteeno
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns. It features an internal calculation engine that supports both fixed point-based brick sizes and dynamic ATR-based sizing. The system includes visual on-chart drawing of Renko bricks to provide a custom price perspective. Trade management is

MT5 Trading robot Trend followingBreakout
Updated 3 months ago Custom licence GitHub repository of Renko Trader

PropGuard MT5

by dmck24
1 stars

This MetaTrader 5 expert advisor serves as a compliance protection layer designed for proprietary trading firm accounts. It implements three primary risk guards: an equity-anchored daily loss limit that resets at midnight, a static overall maximum loss halt based on starting balance, and a news filter that blocks new e

MT5 Risk & protection Indicator crossover
Updated 3 months ago None stated GitHub repository of PropGuard MT5
1 stars

This MetaTrader 5 expert advisor provides an on-chart dashboard for manual trade execution and management. It features dedicated buy and sell buttons alongside editable fields for lot size, take profit, and stop loss distances. The tool includes a toggleable trailing stop mechanism that utilizes the stop loss input as

MT5 Utility

Grid EA

by MubinCodes
1 stars

This MetaTrader 5 expert advisor implements a grid trading strategy specifically designed for sideways or range-bound market conditions. It places multiple buy and sell orders at fixed intervals defined by the user. The EA includes several operational filters, such as specific trading days and time sessions. Risk manag

MT5 Trading robot GridHedging High risk
Updated 3 months ago None stated GitHub repository of Grid EA

Bollinger Bands Mean Reversion EA

by federico-quintieri
1 stars

This Expert Advisor for MetaTrader 5 implements a mean reversion strategy utilizing Bollinger Bands and a 200-period Exponential Moving Average. It monitors market volatility through band distance and enters trades when price action returns inside the bands following a breakout. The system executes logic only at the st

MT5 Trading robot Mean reversionTrend following

MQL5 Corso Free

by federico-quintieri
1 stars

A collection of educational Expert Advisors and scripts designed for learning MQL5 programming on the MetaTrader 5 platform. The repository functions as a modular curriculum, covering programming fundamentals, event handling, and market data retrieval. It demonstrates core trade execution using the CTrade class, includ

MT5 Collection
Updated 3 months ago None stated GitHub repository of MQL5 Corso Free

Mirza Algo EA Collection

by Mirza-Algo
1 stars

This repository provides a collection of MetaTrader 4 expert advisors, including Evoque Global, Alpha Winner, and FXBULL. These robots primarily implement grid strategies with martingale lot scaling to manage positions. Evoque Global specifically includes a news filter, customizable trading hours, and an equity-based s

MT4 Collection GridMartingaleNews High risk
Updated 3 months ago None stated GitHub repository of Mirza Algo EA Collection

This MetaTrader 5 expert advisor functions as a signal executor that bridges TradingView alerts to the platform via local JSON files. It monitors a specified directory for trade instructions, supporting market entries and various closing commands. The EA includes internal risk controls such as maximum daily loss percen

MT5 Copier & bridge

Account Monitor EA

by Mind2Money
1 stars

Account Monitor EA is a utility for MetaTrader 5 designed to track and notify users of account activities in real-time. It monitors trade executions, the creation of pending orders, and modifications to Stop Loss or Take Profit levels. Notifications are sent via the ServerChan service, supporting both Turbo and SC3 mod

MT5 Utility
Updated 3 months ago None stated GitHub repository of Account Monitor EA

MQL Relay Executor

by naidenpetrov00
1 stars

MQL Relay Executor is a MetaTrader 5 utility designed to automate the execution of trading signals received from external platforms like TradingView. It functions as a bridge that monitors for incoming signal data and manages the subsequent trade lifecycle. The system includes logic for automated risk management, such

MT5 Copier & bridge

Telegram Trader Dashboard

by AutoTradeSignal
1 stars

This MetaTrader 5 expert advisor functions as a signal bridge and trading dashboard. It connects to an external server via a specified URL to retrieve trading signals and display account statistics directly on the chart. Users can manage positions and execute trades with predefined risk parameters, including automated

MT5 Copier & bridge
Updated 3 months ago None stated GitHub repository of Telegram Trader Dashboard

HpFX Framework

by mbelgin
1 stars

High Performance Forex (hpFX) is an indicator-agnostic framework for MetaTrader 4 designed for large-scale backtesting and strategy automation. It allows traders to define complex rules by combining up to ten custom indicators as entry signals, confirmation filters, or exit triggers using a flexible string-based encodi

MT4 Framework & template Trend followingIndicator crossoverMulti-strategy
Updated 3 months ago MIT GitHub repository of HpFX Framework

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers

Bell Price Action ICT

by thinhct95
1 stars

This MetaTrader 5 collection features several expert advisors, with a primary focus on the ICT v2 robot. The main strategy implements Smart Money Concepts, identifying Market Structure Shifts, Fair Value Gaps, and Liquidity Sweeps across high, medium, and low timeframes. It automates entries on price retracements with

MT5 Collection SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated 3 months ago None stated GitHub repository of Bell Price Action ICT

OmniB3

by helveciopereira
1 stars

OmniB3 is an automated grid trading expert advisor for MetaTrader 5, specifically developed for the Brazilian B3 exchange mini-contracts including WIN (mini-index) and WDO (mini-dollar). It employs a multi-indicator entry system with up to four confirmation layers, utilizing signals such as RSI. The EA features an adva

MT5 Collection GridMean reversionMartingale High risk
Updated 3 months ago None stated GitHub repository of OmniB3

Renko Reversal Collection

by PETERSAMUELOPS12
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script. The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It

MT5 Collection Trend followingMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Renko Reversal Collection
1 stars

WannaBeQuant Strategy Selection is a multi-strategy expert advisor for MetaTrader 5 designed to trade cryptocurrency and equity markets. It combines six distinct trading logic modules, including Ichimoku trend following, mean reversion, and breakout strategies. The EA executes on a timer-based loop rather than every ti

MT5 Trading robot Trend followingMean reversionBreakout

MT5 Telegram Assistant

by Sebastianlr11
1 stars

This MetaTrader 5 expert advisor functions as a monitoring and notification tool that integrates with Telegram via a bot. It tracks account activity in real-time to send alerts for trade executions, including details on entry prices, stop loss, and take profit. Upon closing a trade, it provides comprehensive data on ne

MT5 Copier & bridge

Master Portfolio Dashboard

by Sebastianlr11
1 stars

This MetaTrader 5 expert advisor serves as a centralized management interface for monitoring and controlling multiple active trading bots across various charts. It automatically identifies running experts and their associated Magic Numbers by scanning active chart templates in real-time. The tool provides a custom grap

MT5 Trade manager

Renko EMA Trading EA

by NOVESH-CREATE
1 stars

This MetaTrader 5 expert advisor executes trades based on Renko chart patterns, specifically optimized for Bitcoin markets like BTCUSD. Instead of standard timeframes, the system uses fixed dollar-value brick sizes to filter price noise and identify trends. It features automated risk management through percentage-based

MT5 Trading robot Trend following
Updated 4 months ago None stated GitHub repository of Renko EMA Trading EA

Automatic Breakout Strategy EA

by Ayooluwa-trading-dev
1 stars

This expert advisor for MetaTrader 5 implements an automated breakout strategy based on the high and low points of the previous candle. It monitors the market for price breaches above the previous high to initiate long positions or below the previous low for short positions. The bot includes basic risk management contr

MT5 Trading robot Breakout

Docker MT5

by victalejo
1 stars

Docker MT5 is a full-stack integration tool that enables MetaTrader 5 automation via a Python API. It uses a ZeroMQ-based Expert Advisor to bridge communication between the terminal and external scripts for trade execution and data retrieval. The project includes a Docker configuration to run MetaTrader 5 on Linux envi

MT5 Collection Grid High risk
Updated 4 months ago GPL-3.0 GitHub repository of Docker MT5

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