Trading robot ยท MT5

LSTM Pure MTF EA

by RemindCZ

This MetaTrader 5 expert advisor implements a multi-layer Long Short-Term Memory (LSTM) neural network for automated trading.

GitHub stars1
Forks1
Last update8 weeks ago27 Jul 2026
LicenceCustom licence

Overview

LSTM Pure MTF EA leverages a custom CUDA-accelerated DLL to handle intensive GPU computations, including asynchronous training and batch inference. The strategy processes data from three configurable timeframes and uses a Shannon entropy filter to identify market chaos. Risk management includes ATR-based dynamic stop loss and take profit, fixed or percentage lot sizing, and spread filters. The EA requires the included external DLL for functionality.

Details

Author

RemindCZ on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

AI / machine learning

Markets

Any symbol

Timeframes

M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Topics

cuda-librarygpu-computinglstm-neural-networksmql5-apineural-networks

Input parameters

Read from LSTM_Pure_MTF_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpTF1ENUM_TIMEFRAMESPERIOD_CURRENT
InpTF2ENUM_TIMEFRAMESPERIOD_H1
InpTF3ENUM_TIMEFRAMESPERIOD_H4
InpLookbackint30
InpHiddenSize1int128
InpHiddenSize2int64
InpHiddenSize3int32
InpDropoutdouble0.15
InpGradClipdouble5.0
InpMiniBatchint1
InpEntropyFastPeriodint12
InpEntropySlowPeriodint32
Show all 39 inputs
NameTypeDefaultDescription
InpEntropyPriceStepint1
InpUseEntropyFilterbooltrue
InpEntropyChaosLeveldouble0.65
InpEntropyFilterPowerdouble0.60
InpBuyThresholdPctdouble70.0
InpSellThresholdPctdouble30.0
InpDeadZonePctdouble4.0
InpMinConfidencedouble0.12
InpPositionModeENUM_POSITION_MODEPOS_ONE_TRADE
InpOppositeSignalActionENUM_OPPOSITE_ACTIONOPP_REVERSE
InpFixedLotdouble0.10
InpUseRiskPercentboolfalse
InpRiskPercentdouble1.0
InpATRPeriodint14
InpATRSLMultiplierdouble1.5
InpATRTPMultiplierdouble2.2
InpRiskRewardRatiodouble1.6
InpMaxSpreadPointsint40
InpDeviationPointsint20
InpMagicNumberlong590501
InpSaveModelbooltrue
InpModelPrefixstringREMIND
InpInferenceOnlybooltrue
InpAttemptRetrainboolfalse
InpVerboseLogboolfalse
InpTimerSecondsint0
InpTradeCooldownSecint5

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone RemindCZ/MQL5GPULibrary_LSTM from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

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

FxChartAI OpenEA

by abiodunaremu
49 stars

FxChartAI OpenEA is an automated trading solution for MetaTrader 5 that executes trades based on signals retrieved from the FxChartAI platform. The system operates in two modes, allowing for live API integration or historical testing using CSV datasets. It utilizes multi-timeframe analysis across M10 and H1 intervals,

MT5 Trading robot AI / machine learningTrend following
Updated 1 year ago GPL-3.0 GitHub repository of FxChartAI OpenEA
42 stars

This Expert Advisor for MetaTrader 5 is specifically designed for XAUUSD trading on the M1 timeframe. It utilizes a hybrid strategy combining classic technical indicators like RSI, Moving Averages, and ATR with an OpenAI API integration for signal validation. The robot features an on-chart dashboard for telemetry and i

MT5 Trading robot ScalpingTrend followingAI / machine learning
Updated 5 months ago None stated GitHub repository of Gold EA MT5 With OpenAI

Makets GA

by nopaixx
20 stars

Makets GA is a neural network trading system for MetaTrader 5 that utilizes genetic algorithms to optimize weights for multi-layer perceptrons. Instead of standard price prediction, the EA evolves trading strategies by processing price data across several major currency pairs simultaneously. It implements evolutionary

MT5 Trading robot AI / machine learningMulti-strategy
Updated 8 years ago None stated GitHub repository of Makets GA

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT
18 stars

This expert advisor for MetaTrader 5 utilizes a genetic algorithm and neural network to make autonomous trading decisions without relying on traditional technical indicators. It implements a self-learning mechanism that evaluates a population of species to determine entry, exit, and lot sizing across multiple currency

MT5 Trading robot AI / machine learningHedging

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers