Discussion of article "Neural networks made easy (Part 2): Network training and testing" - page 6

 

ne86.mo

12.04. 2024г

hint! Earthlings! To the alien from the planet Stock Market! Why can there be no marks on the forecast bars? They are present on the picture of the nnw file.

 

Thanks, Dmitriy.

What a fantastic article (and the preceding article)!  I was looking for something to get me started, some code that I can adapt, and this is perfect. I am new to MQL5, but I am already picking learning from reading the code. When compiling I had the same two errors as another poster, but thanks to Dmitriy's response I was able to edit NeuroNet.mqh and get a successful compilation.

Has anybody written the code to place orders? Care to share?

How could we also incorporate predicting which position open parameters would work best, such as volume, sl, and tp?

I love that there are only about 500 lines of code in both the example and the library. It's a manageable size for learning and adapting. 

Dmitriy Gizlyk
Dmitriy Gizlyk
  • 2024.04.19
  • www.mql5.com
Trader's profile
 
I am finding that Fractal_2 (classification) is displaying the highs and lows on the chart, but Fractal (regression) is not. Does anyone else have this issue?
 

I think I found the problem with the labels of the predicted fractals not being displayed for the regression neural network (Fractal).

The article says the following:

The variable i loops through the candles. This code is correct in the classification neural network (Fractal_2), although there the test is i<300.

However, in the regression neural network (Fractal), count is used as the test variable, and the test is ">".

Count seems to be the Era number. This would mean that labels would be placed on all relevant candles, not just those from the last 200, and only after 200 Eras. I assume this is an error.

Does this seem right?

A great learning experience.

 

Morning


Thank you so much for this article, however I ran into a compiler error compiling Fractal_2.mq5 and Fractal.mq5. The problem was "void  feedForward(const CArrayObj *&prevLayer);" and I changed it to "void feedForward(const CArrayObj *prevLayer);". Is this change correct

Regards

 
RenierVan #:

Morning


Thank you so much for this article, however I ran into a compiler error compiling Fractal_2.mq5 and Fractal.mq5. The problem was "void  feedForward(const CArrayObj *&prevLayer);" and I changed it to "void feedForward(const CArrayObj *prevLayer);". Is this change correct

Regards

Hi, yes, you can use it.