Utility · MT5

Neural Network EA

by farhadmonavar

This MetaTrader 5 expert advisor implements a single-layer neural network to generate market signals without requiring external machine learning libraries.

GitHub stars1
Forks0
Last update8 weeks ago27 Jul 2026
LicenceNone stated

Overview

Neural Network EA 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 input features. The system performs min-max normalization and backpropagation on-chart to classify potential price movements as buy or sell. While the EA visualizes signals with chart arrows and calculates prediction probabilities, it lacks automated trade execution logic and functions primarily as a research tool for on-device machine learning.

Details

Author

farhadmonavar on GitHub

Type

Utility

Platform

MetaTrader 5 (MQL5)

Strategy

AI / machine learning

Markets

Forex

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.

Input parameters

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

NameTypeDefaultDescription
LearningTFENUM_TIMEFRAMESPERIOD_H1
PeriodTradedENUM_TIMEFRAMESPERIOD_M5
MySymbolstringEURUSD
HideTesterIndicatorboolfalse
RSIPeriodint14
BBPeriodint20
BBDeviationdouble2.0
UsedBarsint1000
RandomSeedint42
ActivationFxActivation_FunctionAFSigmoid
LossFxLossMeanSquaredError
LearningRatedouble0.04
Show all 14 inputs
NameTypeDefaultDescription
Epochsuint100
PropThresholddouble0.55Probability threshold

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone farhadmonavar/neural-network-EA 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

9 stars

This tool provides an interface between MetaTrader 4 or 5 and an external AI-powered analysis server. It allows users to request market evaluations from over thirty-four different AI models through a custom Node.js API bridge. The provided example expert advisor visualizes analysis results—including market trend, trade

MT4MT5 Utility AI / machine learning
Updated 5 months ago Custom licence GitHub repository of Soluna AI Analysis Dashboard

DMRI Master Extractor

by jjeg1979
6 stars

DMRI Master Extractor is a data harvesting tool for MetaTrader 4 designed to facilitate machine learning model training. It functions as a feature extractor, exporting prices and technical indicator values into CSV format for external analysis. The system supports 33 standard indicators, including RSI, MACD, and Bollin

MT4 Utility AI / machine learning
Updated 1 year ago None stated GitHub repository of DMRI Master Extractor

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

Trading Panel

by Kashu7100
64 stars

This MetaTrader 5 tool acts as a discretion helper for manual traders to simplify order execution. It automates trade entries by applying calculated risk percentages and setting predefined stop loss and take profit values in pips. The utility features integrated trailing stop functionality, allowing users to define spe

MT5 Utility
Updated 2 years ago GPL-2.0 GitHub repository of Trading Panel

AR Trading Panel

by Andrukas8
37 stars

This MetaTrader 5 utility is a comprehensive manual trading panel and risk management suite. It simplifies order execution by calculating lot sizes based on a defined risk percentage of account equity. Users can manage trades via automated break-even points, multi-mode trailing stops including Fractals, Moving Averages

MT5 Utility SMC / ICT / price actionIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of AR Trading Panel

Chart Pattern Helper

by EarnForex
34 stars

This utility for MetaTrader 4 and 5 automates trade execution based on trader-defined chart patterns. Users draw trendlines, horizontal lines, or channels, which the expert advisor monitors to place pending breakout orders. It handles trade entries, stop losses, and take profits according to specific object naming conv

MT4MT5 Utility Breakout
Updated 1 year ago Apache-2.0 GitHub repository of Chart Pattern Helper

More utilities

Need a broker for MT5?

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

Compare brokers