Experts: Examples from the book "Neural networks for algorithmic trading with MQL5"

 

Examples from the book "Neural networks for algorithmic trading with MQL5":

The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.

Examples from the book "Neural networks for algorithmic trading with MQL5"

Author: MetaQuotes

 
Ho inserito: #pragma OPENCL EXTENSION cl_khr_gl_sharing : enable #pragma OPENCL EXTENSION cl_khr_gl_depth_images : enable in opencl_program.cl Per il resto un capolavoro. 😍​
 
pleases updatade
 
I tried to test on tester but it's not working, tester stops showing message "Tester stopped because OnInit returns non-zero code 1" Please update it So everybody can test it and understand it what is exactly doing.
 

I am getting an error loading the file "our_model.net".  Is there a sample file to load?  Please provide some guidance here.

This is the tester error log:

inputs:

KI 0 10:07:44.145 Core 1   Model=our_model.net

OM 0 10:07:44.145 Core 1   BarsToPattern=3

PJ 0 10:07:44.145 Core 1   Common=true

NK 0 10:07:44.145 Core 1   TimeFrame=5

DP 0 10:07:44.145 Core 1   TradeLevel=0.9

KD 0 10:07:44.145 Core 1   Lot=0.01

FK 0 10:07:44.145 Core 1   MaxTP=500

IR 0 10:07:44.145 Core 1   ProfitMultiply=0.8

IS 0 10:07:44.145 Core 1   MinTarget=100

CF 0 10:07:44.145 Core 1   StopLoss=300

KL 0 10:07:44.145 Core 1   UseOpenCL=true

IP 0 10:07:44.145 Core 1 2023.12.01 00:00:00   Error of load mode our_model.net: 5008

PR 2 10:07:44.145 Core 1 tester stopped because OnInit returns non-zero code 1

LG 2 10:07:44.216 Core 1 disconnected

KP 0 10:07:44.216 Core 1 connection closed

 

i have error please update 



Error of load mode our_model.net: 5008


 
This error because "our_model.net" file is not given as input.  without input file it cannot read and throws error.
 
Error of load mode our_model.net: 5008
 
Yuanchang Wu #:
Error loading our_model.net mode: 5008

ERR_WRONG_FILEHANDLE

5008

Wrong file handle

Check file path

 

I spent several days not being able to reproduce the test results in the book, and I was a bit disappointed when I was exhausted.

Maybe the authors think they have described the whole process in detail, but in terms of practical application, on the one hand, because it is too specialised to understand, on the other hand, there is no clear step-by-step procedure, so we all made a mistake on the final test file, there is no " our_model.net". I went back and forth looking in the book and couldn't find which module generated this file in the end. If the author can see everyone's comments, I hope to make a specific operation guide, including each step to execute that script, output what process file, for example:

1, data preparation, execute the script create_initial_data.mq5, will get study_data.csv and test_data.csv;

2、Training of neural network, ......

3、Test the effectiveness of the neural network with EA, ......

 

Даже если явно указать путь к файлу модели, бот его все равно не видит))))