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.

166 EAs match Clear filters

Mask Protected Trading Panel

by meshalalsultan
2 stars

Mask Protected Trading Panel is a manual execution utility for MetaTrader 5 designed to enforce discipline and strict risk management. It acts as a protective layer, blocking manual orders that violate pre-set rules such as maximum daily trades, drawdown limits, or minimum reward-to-risk ratios. The tool includes a man

MT5 Risk & protection
Updated 3 months ago None stated GitHub repository of Mask Protected Trading Panel

Trading AI System

by javadderoom
2 stars

Trading AI System is a data collection utility for MetaTrader 5 designed to generate high-quality datasets for machine learning. Rather than executing its own trades, the expert advisor acts as a flight recorder, capturing raw market snapshots, bid/ask spreads, and detailed trade events. It automatically saves synchron

MT5 Utility
Updated 3 months ago Apache-2.0 GitHub repository of Trading AI System

AW Full Recovery EA

by wongthep
2 stars

This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas

MT5 Trading robot GridMartingaleHedging High risk
Updated 3 months ago None stated GitHub repository of AW Full Recovery EA

Zed MQL5

by MichalBPL
2 stars

Zed MQL5 provides comprehensive MetaTrader 5 development tools for the Zed editor. It delivers advanced coding features including syntax highlighting for over 400 built-in functions, context-aware autocompletion, and a native language server. The repository includes a sample expert advisor that implements a classic dua

MT5 Framework & template Indicator crossover
Updated 3 months ago MIT GitHub repository of Zed MQL5

This collection for MetaTrader 5 provides a series of tools focused on Exponential Moving Average crossovers and trend identification. The primary scripts monitor the relationship between fast and slow EMAs to generate visual signals, marking the chart with vertical lines and arrows when a crossover or retest occurs. I

MT5 Collection Indicator crossoverTrend following

Quick Trade Panel

by kissMoona
2 stars

This MetaTrader 5 expert advisor serves as both a manual trading dashboard and an automated execution tool. Users can perform one-click operations, manage batch stop loss and take profit levels, and adjust orders visually via chart dragging. The automated component utilizes external arrow indicators, such as HalfTrend,

MT5 Trading robot Trend followingMulti-strategy
Updated 5 months ago MIT GitHub repository of Quick Trade Panel
2 stars

This utility for MetaTrader 4 and 5 provides an on-chart interface for manual trade execution and position management. It automatically applies stop losses to new orders and features a trailing stop mechanism to manage open trades. Notable management tools include one-click break-even and the ability to close a specifi

MT4MT5 Trade manager

Secure Risk Manager

by ItaloCoutinho
2 stars

Secure Risk Manager is a MetaTrader 5 utility designed to provide a framework for account protection and trade sizing. This expert advisor does not execute independent trade entries; rather, it functions as a risk control tool that calculates lot sizes based on a user-defined risk percentage and risk-to-reward ratios.

MT5 Risk & protection
Updated 5 months ago None stated GitHub repository of Secure Risk Manager

Pi EA Auxiliary Panel

by my05613828
2 stars

Pi EA Auxiliary Panel is a management tool for MetaTrader 4 and 5 designed to enhance manual order execution and automated trade handling. It features an interactive on-chart interface that allows users to split large orders into smaller positions, apply automated break-even levels, and execute trailing stops for indiv

MT4MT5 Trade manager
Updated 5 months ago None stated GitHub repository of Pi EA Auxiliary Panel

CC Trading Management

by ChartAndChill
1 stars

This trade management expert advisor for MetaTrader 5 provides a comprehensive execution panel featuring a TradingView-inspired position tool. It allows users to visually define risk through draggable on-chart stop loss and take profit zones, automatically calculating lot sizes based on a percentage of account risk. Th

MT5 Trade manager
Updated yesterday None stated GitHub repository of CC Trading Management

Forex EA Collection

by tmpmosisili
1 stars

This repository contains a set of automated trading robots for the MetaTrader 5 platform, focusing on indicator-driven entry logic. The primary expert advisor utilizes Relative Strength Index levels to identify potential reversals, filtered by a Moving Average to ensure trades align with the prevailing trend. Risk mana

MT5 Collection Trend followingMean reversion
Updated yesterday None stated GitHub repository of Forex EA Collection

RiskGuard Pro

by farhadiamirali403-lab
1 stars

RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc

MT5 Trading robot Multi-strategyGridMartingale High risk
Updated yesterday None stated GitHub repository of RiskGuard Pro

Signal Scanner Pro PAICT

by asnakegreat
1 stars

This MetaTrader 5 expert advisor functions as a comprehensive chart annotation and signal scanning tool based on Smart Money Concepts and Price Action. It identifies structural elements such as order blocks, fair value gaps, liquidity pools, and market structure shifts across multiple symbols simultaneously. The system

MT5 Utility SMC / ICT / price actionTrend followingIndicator crossover High risk
Updated yesterday None stated GitHub repository of Signal Scanner Pro PAICT

AI Game Theory Trader

by can87683
1 stars

AI Game Theory Trader is a MetaTrader 5 expert advisor that employs Nash-style statistical signals for automated trade execution. It utilizes adaptive logic to calculate lot sizes based on user-defined risk percentages. The EA manages risk through stop losses, take profits, and trailing stops, which can be fixed or ATR

MT5 Trading robot AI / machine learning
Updated yesterday BSD-3-Clause GitHub repository of AI Game Theory Trader
1 stars

This MetaTrader 5 repository contains a large collection of expert advisors developed using the fxDreema visual builder. The primary strategy utilizes a triple moving average system with 200, 25, and 5 periods to detect trends, combined with ATR-based volatility filters for trade exits. It features grid-based order lay

MT5 Collection GridIndicator crossoverTrend following High risk
Updated yesterday None stated GitHub repository of Amighade MQL5 Collection

Otto EA

by vickygujjar17
1 stars

Otto EA is a MetaTrader 5 expert advisor ported from Pine Script, designed for institutional-style trading and price action analysis. It utilizes a proprietary Wick1+Wick2 support and resistance block methodology to identify market structure and potential entry points. The system includes a sophisticated trade manageme

MT5 Trading robot SMC / ICT / price action
Updated 2 days ago None stated GitHub repository of Otto EA

Xau Ai Pro

by apolopanda500
1 stars

This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la

MT5 Trading robot AI / machine learningTrend followingNews
Updated 2 days ago None stated GitHub repository of Xau Ai Pro

MT5 AI EA

by aminazhar
1 stars

This MetaTrader 5 expert advisor is a component of the MT5-AI ecosystem, designed to interface with Python gateways and Telegram signals. The robot processes external signals to identify specific candle patterns and automatically plot Fibonacci retracement levels on the chart. It features multiple operational modes inc

MT5 Trading robot BreakoutSMC / ICT / price action
Updated 3 days ago None stated GitHub repository of MT5 AI EA

Kaybambodlabfx SMC

by jetloo66-dot
1 stars

Kaybambodlabfx SMC is a MetaTrader 5 expert advisor that executes trades based on market regime classification and Smart Money Concepts (SMC). The system employs a multi-timeframe approach, scanning structures from the daily chart down to one-minute intervals to establish a master bias. It uses ADX, ATR, and swing poin

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 4 days ago None stated GitHub repository of Kaybambodlabfx SMC

ATR Reversal EA

by BoudhriYoussef
1 stars

This MetaTrader 5 expert advisor utilizes the Average True Range (ATR) indicator to identify trade entries based on market volatility. It functions as an automated robot that places orders using levels derived from ATR calculations. Risk management is handled through fixed stop loss and take profit settings defined in

MT5 Trading robot Mean reversion
Updated 4 days ago None stated GitHub repository of ATR Reversal EA

SMC Auto MT5

by trananh211
1 stars

This MetaTrader 5 expert advisor automates market structure analysis based on Smart Money Concepts. It identifies key technical events including Change of Character, Break of Structure, and Inducements across two synchronized timeframes. The tool maps Point of Interest zones, distinguishing between extreme and decision

MT5 Trading robot SMC / ICT / price action
Updated 6 days ago None stated GitHub repository of SMC Auto MT5

EddyTrader

by hallanbrito
1 stars

EddyTrader is a risk management tool for MetaTrader 5 designed to enforce trading discipline through account-wide loss limits. It monitors the total financial performance of the account regardless of the symbol or strategy. Once a user-defined maximum loss is reached, the expert advisor automatically closes all open po

MT5 Risk & protection
Updated 6 days ago None stated GitHub repository of EddyTrader
1 stars

This MetaTrader 5 expert advisor acts as a quantitative trading assistant and order manager. It features a comprehensive graphical interface with tabs for trade operations, account monitoring, and position tracking. The system utilizes a predefined twenty-level lot sizing progression, which is typically used for recove

MT5 Trade manager Martingale High risk

Orva MT5 Bridge

by OrvaLabs
1 stars

Orva MT5 Bridge is a data integration tool for MetaTrader 5 that streams market and account information to external backends. It captures broker-native ticks, candle data, account balances, symbol specifications, and current open positions, converting them into versioned JSON messages. Data is delivered using either HT

MT5 Copier & bridge
Updated 8 days ago None stated GitHub repository of Orva MT5 Bridge

RRZ Market Structure Expert

by mostafa18181
1 stars

This MetaTrader 5 expert advisor automates trade entries based on price action and Smart Money Concepts. It monitors for liquidity sweeps followed by market structure shifts and retests of Fair Value Gaps or Order Blocks. The system manages risk using fixed risk-to-reward ratios, stop loss buffers, and time-based exits

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 10 days ago None stated GitHub repository of RRZ Market Structure Expert

HFT Grid AI

by loldlm1
1 stars

HFT Grid AI is a MetaTrader 5 Expert Advisor foundation built for high-frequency trading and grid-based strategies. It employs a broker-aware execution model that validates trade plans against local simulations before sending orders to the market. Key features include stochastic market structure analysis, session-based

MT5 Trading robot GridMean reversionScalping High risk
Updated 12 days ago None stated GitHub repository of HFT Grid AI
1 stars

This MetaTrader 5 expert advisor provides a manual backtesting environment by simulating the bar replay feature popular on web-based charting platforms. It functions by creating a custom symbol and loading historical data, allowing the user to progress through the chart candle by candle. The tool supports virtual trade

MT5 Utility
Updated 2 weeks ago None stated GitHub repository of Bar Replay for MetaTrader 5

Gamble MQL5

by jonasMapuche
1 stars

This MetaTrader 5 expert advisor executes trades based on a time-restricted strategy combined with moving averages and Fibonacci levels. It operates within a specific daily window, opening positions between a defined start and end time and automatically closing them at a designated hour. The system utilizes 21-period s

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 weeks ago None stated GitHub repository of Gamble MQL5

MQT Microstructure Analysis

by gregorian-09
1 stars

MQT Microstructure Analysis is a comprehensive header-only framework for MetaTrader 5 designed to process high-frequency market data. It transforms raw tick, quote, and Depth of Market events into structured measurements for order flow, liquidity depth, and price impact. The system includes specialized modules for calc

MT5 Framework & template

Quick Risk Executor

by ratnakandel33-debug
1 stars

Quick Risk Executor is a utility for MetaTrader 5 designed to streamline trade entry by automating lot size calculations based on user-defined risk in currency. The user sets a fixed dollar amount to risk per trade and identifies a stop loss level directly on the chart using an interactive line. The expert advisor calc

MT5 Utility
Updated 2 weeks ago None stated GitHub repository of Quick Risk Executor

Adaptive Breakout AI

by Garrick852
1 stars

This MetaTrader 5 expert advisor combines breakout and mean-reversion strategies within a framework optimized for proprietary trading firm requirements. It features adaptive logic that transitions between modes based on market drift detection. Users can configure breakout entries using Donchian channels or fixed time r

MT5 Trading robot BreakoutMean reversionMulti-strategy
Updated 3 weeks ago None stated GitHub repository of Adaptive Breakout AI

DomPanion

by domsendotnet
1 stars

DomPanion is a trade management and risk protection utility for MetaTrader 5 designed for discretionary traders. It monitors active positions to enforce lot size limits, session-based trading restrictions, and monetary take-profit or stop-loss targets. The EA features a dashboard with time-based performance analysis an

MT5 Trade manager Grid High risk
Updated 3 weeks ago MIT GitHub repository of DomPanion

Gexbot MT5 Integration

by romerfrancogpt
1 stars

This MetaTrader 5 utility integrates Gexbot API data to visualize option-based market sentiment directly on the chart. It fetches and displays Gamma Exposure (GEX) profiles, including Open Interest, volume, and State data like Delta and Vanna across various days to expiration. The EA draws key levels such as Zero Gamma

MT5 Utility

XAU Trailing Stop

by admininfokoding
1 stars

This position management expert advisor for MetaTrader 5 automates the trailing stop loss process for gold trades. It offers two distinct operational modes: a fixed pips distance and an adaptive mode based on the Average True Range indicator to adjust for volatility. The utility includes specific safeguards to block or

MT5 Trade manager
Updated 4 weeks ago Custom licence GitHub repository of XAU Trailing Stop

Flip Trader

by HassanAliMAli
1 stars

Flip Trader is a perpetual stop-and-reverse expert advisor for MetaTrader 5 that remains in the market at all times. The strategy opens an initial position and applies a tight trailing stop-loss without a take profit target. When the market hits the stop-loss, the robot immediately closes the position and opens a new o

MT5 Trading robot Trend following
Updated 5 weeks ago None stated GitHub repository of Flip Trader
1 stars

This MetaTrader 5 expert advisor serves as a risk management and execution framework rather than a standalone trading strategy. It monitors account equity in real-time to enforce daily drawdown limits. If a predefined monetary loss threshold is reached, the engine can trigger a kill switch to block further trading or f

MT5 Risk & protection
Updated 5 weeks ago None stated GitHub repository of ExecRisk Control Engine
1 stars

ITIP is an advanced multi-component expert advisor for MetaTrader 5 that connects the terminal to external AI and simulation modules. It utilizes a modular architecture to track smart money structure, including order blocks and fair value gaps, alongside RSI divergence signals across multiple timeframes. The platform h

MT5 Trading robot SMC / ICT / price actionMean reversionMulti-strategy
Updated 5 weeks ago None stated GitHub repository of ITIP Trading Platform

SynerPro EA

by t2an1s
1 stars

SynerPro EA is a MetaTrader 5 robot designed for managing prop firm challenges. It implements the Synergy Strategy, utilizing Heikin Ashi market bias and session-based filters to execute trades. The system features a master-slave communication architecture via shared files for coordinating between instances. Risk manag

MT5 Trading robot Trend following
Updated 5 weeks ago None stated GitHub repository of SynerPro EA

EMA Cross EA

by momomosun
1 stars

This Expert Advisor for MetaTrader 5 implements a trend-following strategy based on the crossover of 15-period and 60-period Exponential Moving Averages. It employs a continuous reversal logic to maintain market presence, switching between long and short positions as trends shift. Risk management includes ATR-based dyn

MT5 Trading robot Trend followingIndicator crossover
Updated 6 weeks ago MIT GitHub repository of EMA Cross EA

Ichimoku Strategy Bot

by Mrben509
1 stars

This MetaTrader 5 expert advisor utilizes the Ichimoku Kinko Hyo indicator system integrated with a machine learning boosting model to execute trades. It analyzes technical factors including RSI, ATR, Z-scores, and price slopes to determine a success probability before opening positions. The robot features built-in ris

MT5 Trading robot Trend followingAI / machine learning
Updated 6 weeks ago None stated GitHub repository of Ichimoku Strategy Bot

LTX MT5 Redis Bridge

by gsolaril
1 stars

This MetaTrader 5 expert advisor functions as a bridge between the trading platform and a Redis database using the hiredis library. It consists of two components: a data connector for streaming tick and candle information and an execution connector for handling trade events and account status. The system allows externa

MT5 Copier & bridge
Updated 6 weeks ago None stated GitHub repository of LTX MT5 Redis Bridge
1 stars

This repository provides a collection of MetaTrader 5 expert advisors and technical utilities designed for market analysis and automated trading. It includes a 3D correlation matrix for visualizing price relationships across multiple currency pairs. The library also features several trading robots based on Japanese can

MT5 Collection Multi-strategyGrid High risk
Updated 6 weeks ago None stated GitHub repository of MQL5 Algo Forge Collection

Dino Open Engine

by GiacomoGhi
1 stars

Dino Open Engine is a data-driven algorithmic trading framework for MetaTrader 5 designed to decouple strategy logic from MQL5 code. Instead of recompiling binaries, users define strategies using a fluent C# API and store them in a shared SQLite database. A single compiled expert advisor executes these strategies based

MT5 Framework & template Multi-strategy
Updated 8 weeks ago GPL-3.0 GitHub repository of Dino Open Engine

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

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

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

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

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