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

AI Assisted EAs

by cgmond
2 stars

This MetaTrader 5 repository contains a collection of expert advisors, including a scalping robot built with AI assistance for Forex, Gold, Crypto, and Indices. The main EA integrates technical indicators like RSI, Moving Averages, and ADX for entry signals. Risk management is handled through percentage-based lot sizin

MT5 Collection ScalpingHedgingMean reversion
Updated 1 year ago None stated GitHub repository of AI Assisted EAs

The AI Quantum Learning Advanced Trailing Stop EA is an automated trading robot for MetaTrader 5 that employs neural network structures and quantum probability calculations. It monitors market patterns by analyzing price changes, volume, volatility, and indicators like RSI. The EA manages risk using fixed stop loss and

MT5 Trading robot AI / machine learningMean reversion

Scalping Robot ML

by Red-misst
2 stars

This expert advisor for MetaTrader 5 performs scalping by identifying price levels based on a configurable lookback period. It incorporates a machine learning signal filter, requiring a separate Python environment to classify high-probability trade setups using historical market data. The robot manages entries within s

MT5 Trading robot ScalpingAI / machine learning
Updated 1 year ago None stated GitHub repository of Scalping Robot ML

Forecasting LSTM

by frkn2076
2 stars

This MetaTrader 5 expert advisor utilizes a Long Short-Term Memory (LSTM) machine learning model to forecast price movements for the GBPUSD currency pair. It operates by triggering an external Python script every hour to perform incremental learning and generate price predictions. The robot enters trades when predicted

MT5 Trading robot AI / machine learning
Updated 2 years ago None stated GitHub repository of Forecasting LSTM
2 stars

This MetaTrader 5 expert advisor serves as a technical bridge to integrate Python-based trading models into the platform. It facilitates the testing and validation of external models within the MetaTrader Strategy Tester by utilizing the ONNX format for cross-platform compatibility. The system allows developers to leve

MT5 Copier & bridge AI / machine learning
2 stars

This MetaTrader 5 expert advisor implements a trade execution strategy based on a linear regression model. It calculates entries using specific coefficients for an intercept and five independent variables, which include volatility, relative strength index, and average directional index data. The bot supports intraday o

MT5 Trading robot AI / machine learningMean reversion

Falcon C

by vzhomeexperiments
2 stars

Falcon C is a MetaTrader 4 expert advisor that implements a rule-based strategy using moving average crossovers and Keltner Channels. It relies on an external deep learning framework built in R to categorize current market regimes, such as normal or volatile bull and bear phases. Based on these categories, the robot sw

MT4 Trading robot Indicator crossoverAI / machine learningTrend following
Updated 7 years ago MIT GitHub repository of Falcon C

Trader App ZeroMQ Bridge

by FarzanehCS
2 stars

This expert advisor serves as a bridge between MetaTrader 4 and external applications using the ZeroMQ messaging protocol. It allows external programs to communicate with the terminal over TCP sockets to send trading commands or retrieve market data. The EA functions as a server, hosting REP and PUSH sockets to handle

MT4 Copier & bridge AI / machine learning
Updated 7 years ago None stated GitHub repository of Trader App ZeroMQ Bridge

Stat Euclidean Metric

by suvorovkonstantin
2 stars

Stat Euclidean Metric is a MetaTrader 4 expert advisor that utilizes pattern recognition via Euclidean distance calculations and k-nearest neighbor logic. The robot compares current market price vectors against historical data stored in external binary files to identify trade opportunities. It enters positions when cal

MT4 Trading robot AI / machine learning
Updated 9 years ago None stated GitHub repository of Stat Euclidean Metric

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

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

GoldEngine Sentinel

by vivekpanchal2489
1 stars

GoldEngine Sentinel is a specialized expert advisor for MetaTrader 5, designed specifically for trading spot gold. It utilizes an advanced architecture combining dual-AI ONNX models: SuperGRU for macro bias and Master AI for micro order flow analysis. Trade execution is filtered through Gaussian Kernel Channels and Nad

MT5 Trading robot AI / machine learningMean reversionSMC / ICT / price action
Updated 5 days ago None stated GitHub repository of GoldEngine Sentinel

Conquest EA

by MunchonGithub
1 stars

Conquest EA is a self-adjusting expert advisor for MetaTrader 5 that utilizes Smart Money Concepts such as Fair Value Gaps and Break of Structure for entries. It features a built-in learning module that evaluates its own trade outcomes to adjust strategy weighting and confidence in real-time. Risk management includes a

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following
Updated 4 weeks ago Apache-2.0 GitHub repository of Conquest EA
1 stars

This MetaTrader 5 expert advisor utilizes a Naive Bayes probabilistic model integrated with Smart Money Concepts and ICT principles to identify trading opportunities. It primarily targets gold bias and pullbacks but includes logic for universal symbol support. The system uses a machine learning engine that self-retrain

MT5 Trading robot AI / machine learningSMC / ICT / price actionMulti-strategy

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

This automated trading system for MetaTrader 5 utilizes machine learning models via the ONNX runtime to forecast currency trends. It implements an ensemble approach, combining predictions from Logistic Regression, Support Vector Machines, Random Forest, and XGBoost. The system operates in two primary modes: technical i

MT5 Trading robot AI / machine learningNewsTrend following

LSTM Pure MTF EA

by RemindCZ
1 stars

This MetaTrader 5 expert advisor implements a multi-layer Long Short-Term Memory (LSTM) neural network for automated trading. It leverages a custom CUDA-accelerated DLL to handle intensive GPU computations, including asynchronous training and batch inference. The strategy processes data from three configurable timefram

MT5 Trading robot AI / machine learning
Updated 8 weeks ago Custom licence GitHub repository of LSTM Pure MTF EA

Neural Network EA

by farhadmonavar
1 stars

This MetaTrader 5 expert advisor implements a single-layer neural network to generate market signals without requiring external machine learning libraries. It utilizes native MQL5 matrix and vector operations to train a model directly on historical data, using the Relative Strength Index and Bollinger Bands as primary

MT5 Utility AI / machine learning
Updated 8 weeks ago None stated GitHub repository of Neural Network 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

Conquest Platinum SMC EA

by MunchonGithub
1 stars

This MetaTrader 5 expert advisor implements a comprehensive Smart Money Concepts strategy, detecting market structure shifts through Break of Structure and Change of Character events. It monitors Fair Value Gaps and liquidity sweeps to identify entry points across multiple timeframes. The system offers several executio

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 3 months ago Apache-2.0 GitHub repository of Conquest Platinum SMC EA

MT5 Experts AI

by tahaalhafid
1 stars

This expert advisor for MetaTrader 5 utilizes an advanced modular architecture focused on market regimes and decision consensus. It implements a Council-based execution system that evaluates quality scores, spread fractions, and consensus levels before triggering trades. The system features an AI evolution engine desig

MT5 Trading robot AI / machine learningMulti-strategy
Updated 4 months ago None stated GitHub repository of MT5 Experts AI

Gold Scalper AI Bridge

by almightymoon
1 stars

This MetaTrader 5 expert advisor acts as a bridge between the trading terminal and an external Python-based AI server. It extracts market data and technical indicators—including EMA, RSI, ATR, and ADX across multiple timeframes—to request trade signals via ZeroMQ, TCP, or file-based communication. The EA manages trade

MT5 Trading robot AI / machine learningScalpingIndicator crossover Archived
Updated 4 months ago None stated GitHub repository of Gold Scalper AI Bridge
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

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

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

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

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

Sharrow

by Shinpai-AI
1 stars

Sharrow is an AI-driven trading robot for MetaTrader 5 that integrates with a Python-based machine learning toolchain. It functions as a trend engine, primarily designed for the H1 timeframe, using rules generated from walk-forward training scripts. The system includes sophisticated risk controls such as daily drawdown

MT5 Trading robot AI / machine learningTrend followingNews
Updated 7 months ago None stated GitHub repository of Sharrow

ONNX LSTM Trading Bot

by winningtrendingbots
1 stars

This MetaTrader 5 expert advisor employs an ONNX-integrated LSTM model to forecast price action for the EURUSD pair on the H1 timeframe. It generates trade signals by comparing neural network predictions against current market prices or previous trend forecasts. The system manages risk through fixed or ATR-based stop l

MT5 Trading robot AI / machine learningTrend following Archived
Updated 7 months ago None stated GitHub repository of ONNX LSTM Trading Bot

ONNX Trading Models

by jsgaston
1 stars

This MetaTrader 5 expert advisor utilizes machine learning via ONNX (Open Neural Network Exchange) models to predict price movements. The system includes specialized versions for major currency pairs including AUDUSD, EURUSD, GBPUSD, and USDCHF. It employs an automated entry logic based on predicted price direction. Ri

MT5 Trading robot AI / machine learning
Updated 8 months ago None stated GitHub repository of ONNX Trading Models
1 stars

This MetaTrader 5 framework integrates artificial intelligence models into trading strategies through the OpenRouter API. It provides a structured set of libraries for managing multiple AI providers, handling API fallback logic, and parsing natural language outputs into executable trade commands. The included demo expe

MT5 Framework & template AI / machine learning
1 stars

This MetaTrader 5 expert advisor utilizes a multi-layer perceptron neural network to enhance statistical arbitrage strategies. It periodically scans major currency pairs to identify high correlation relationships across multiple lookback windows. Trade signals are generated based on a confidence threshold derived from

MT5 Trading robot ArbitrageAI / machine learningMean reversion
1 stars

This expert advisor integrates MetaTrader 4 and 5 with external deep learning models using socket communication. It captures chart screenshots and price data to send to an external server, where models like Random Forest or Generative Adversarial Imitation Learning process the visual information. The EA then receives a

MT4MT5 Trading robot AI / machine learning
1 stars

EA MultiStrategy Advanced is an automated trading robot for MetaTrader 5 that integrates technical analysis with machine learning models. It utilizes a combination of RSI, Bollinger Bands, and Moving Average crossovers alongside LSTM-based deep learning signals to identify market patterns. The system features rigorous

MT5 Trading robot AI / machine learningIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of EA MultiStrategy Advanced
1 stars

MALE5 is a machine learning framework for MetaTrader 5 designed to help developers create trading systems using a Python-like syntax. It provides a suite of predictive models including linear regression, decision trees, support vector machines, and neural networks. The library includes tools for data collection, prepro

MT5 Framework & template AI / machine learning

Neural Network MT5

by NATTAYAx
1 stars

This MetaTrader 5 expert advisor utilizes a neural network model to automate trading decisions. It integrates custom libraries for data preprocessing and forward propagation to evaluate market conditions. The robot specifically targets the one-minute timeframe, preparing input vectors from recent historical bars. Trade

MT5 Trading robot AI / machine learning
Updated 1 year ago None stated GitHub repository of Neural Network MT5
1 stars

This MetaTrader 4 expert advisor implements a momentum-based trading strategy combined with reinforcement learning components. The robot enters buy positions when the current price exceeds the previous close and sell positions when it falls below, while simultaneously closing any opposing orders. It features a visual o

MT4 Trading robot Trend followingAI / machine learning
Updated 3 years ago None stated GitHub repository of Vadbash MT4 Trading Bot

Vega Bot

by VegaAISolutions
1 stars

Vega Bot is a MetaTrader 4 expert advisor that executes trades using a price action strategy combined with technical filters like RSI, MACD, and Ichimoku Kumo Cloud. Developed for the EURUSD five-minute timeframe, the system uses ATR for volatility measurement and calculates lot sizes based on a risk percentage. The co

MT4 Trading robot Indicator crossoverTrend followingAI / machine learning
Updated 3 years ago GPL-3.0 GitHub repository of Vega Bot

Deep Q Trading DWX Server

by SimonMonnier
1 stars

This MetaTrader 5 expert advisor acts as a communication bridge between the terminal and external applications, specifically tailored for reinforcement learning and Python-based algorithmic trading. It exports real-time market data, bar history, and account information to local files while processing trade commands fro

MT5 Copier & bridge AI / machine learning
Updated 4 years ago None stated GitHub repository of Deep Q Trading DWX Server
1 stars

This MetaTrader 4 expert advisor implements a neural network approach to trade financial markets. It generates signals by processing Moving Average data through various activation functions, including Sigmoid, TanH, and ReLu. The EA provides standard risk management features such as fixed take profit, stop loss, and a

MT4 Trading robot AI / machine learningTrend following

This MetaTrader 4 expert advisor uses a simple perceptron neural network to identify market entry and exit points. The system evaluates price action through four adjustable weight parameters to generate signals and includes a reversal mechanism for active positions. Risk management is handled through a fixed stop loss

MT4 Trading robot AI / machine learning

LSTM Neural Network Trader

by TestovironPowroci
1 stars

This Expert Advisor implementation utilizes a Long Short Term Memory (LSTM) neural network to execute trades on MetaTrader 5. It functions as a proof-of-concept system where MT5 exports market data to CSV files, which are then processed by an external Python environment using PyTorch. The system requires manual configu

MT5 Trading robot AI / machine learning
Updated 5 years ago None stated GitHub repository of LSTM Neural Network Trader

Prediction App DLL

by LeCray
1 stars

This MetaTrader 5 framework provides tools for integrating machine learning models with algorithmic trading. It features scripts designed to generate training data by exporting price action and technical indicators like RSI, MACD, and Stochastics into CSV formats. The system interfaces with external neural network mode

MT5 Framework & template AI / machine learningTrend following
Updated 5 years ago None stated GitHub repository of Prediction App DLL

QGA SVM Forex

by TerenceLiu98
1 stars

This repository provides a framework for integrating machine learning and quantum physics models with MetaTrader 4 and 5. It aims to implement a Quantum Genetic Algorithm and Support Vector Machine for feature selection and price classification. The system utilizes a ZeroMQ bridge to connect Python 3.8 with the trading

MT4MT5 Framework & template AI / machine learning
Updated 6 years ago BSD-3-Clause GitHub repository of QGA SVM Forex
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for various market conditions and strategies. The files include implementations of trend-following systems like the Dunnigan NRTR, signal-based dashboards using multi-indicator confirmation, and experimental artificial intelligence models.

MT5 Collection Trend followingIndicator crossoverAI / machine learning
Updated 7 years ago None stated GitHub repository of MQL5 EA Collection FLCS

XGBoost FX Trading

by ytanaka6174
1 stars

This expert advisor for MetaTrader 4 utilizes a bridge to the R programming environment to implement machine learning for currency trading. It leverages pre-trained XGBoost models to identify trade opportunities based on technical features such as Average True Range, Bears Power, and Bulls Power indicators. The robot m

MT4 Trading robot AI / machine learningScalpingTrend following
Updated 8 years ago None stated GitHub repository of XGBoost FX Trading

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