NELODI BackProp Chart - MetaTrader 5 Library - MT4/MT5 Resources
"NLD_BackProp.mqh" contains an implementation of a very simple artificial neural network with one hidden layer and trained/learned using backpropagation. The advantage of this implementation is that it is very short, which makes it easy for anyone to start using ANN.
"NLD_BPChart.mq5" is a custom price chart that plots price movements as red/green lines and uses an artificial neural network (in "NLD_BackProp.mqh") to try to predict where the closing price will go next relative to the last opening price. It predicts the next X using the last Y past opening prices (default = 200) and the future closing price (default = 10), optimizing the network weights for each new (completed) candle received.
I wouldn't call the output of the Artificial Neural Network a "prediction", but simply an "opinion", which I would NOT take seriously when trading, so don't get too excited about it. But ... if you find Artificial Neural Networks interesting, it might be fun to watch how an Artificial Neural Network tries to optimize its outputs as new data arrives. There are many ways to use Artificial Neural Networks and this is just a very simple example, so have fun experimenting!
Both files are fairly simple and don't have any external dependencies on other libraries or files.
Use at your own risk!
Attachment download
📎bpchart3.png (21 KB)
📎 nld_backprop.mqh (5.04 KB)
📎 nld_bpchart.mq5 (12.69 KB)
Source: MQL5 #26928
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •