This MetaTrader 5 expert advisor implements a single-layer neural network to generate market signals without requiring external machine learning libraries.
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.
Read from NeuralNetworkEA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
LearningTF
ENUM_TIMEFRAMES
PERIOD_H1
PeriodTraded
ENUM_TIMEFRAMES
PERIOD_M5
MySymbol
string
EURUSD
HideTesterIndicator
bool
false
RSIPeriod
int
14
BBPeriod
int
20
BBDeviation
double
2.0
UsedBars
int
1000
RandomSeed
int
42
ActivationFx
Activation_Function
AFSigmoid
LossFx
Loss
MeanSquaredError
LearningRate
double
0.04
Show all 14 inputs
Name
Type
Default
Description
Epochs
uint
100
PropThreshold
double
0.55
Probability threshold
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone farhadmonavar/neural-network-EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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
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
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