Runtime error

 

2024.01.13 16:53:55.990 Core 1 genetic pass (0, 205) tested with error "critical runtime error 502 in OnTester function (array out of range, module Experts\Ak14_V2.ex5, file Ak14_V2.mq5, line 214, col 19)" in 0:00:00.138

What kind of error is this?

Does it affect my results?
 
 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Mustafa Seyyid Sahin:

2024.01.13 16:53:55.990 Core 1 genetic pass (0, 205) tested with error "critical runtime error 502 in OnTester function (array out of range, module Experts\Ak14_V2.ex5, file Ak14_V2.mq5, line 214, col 19)" in 0:00:00.138

What kind of error is this?

Does it affect my results?
There is a bug in the code and it needs to be fixed. When indexing an array it needs to be within its bounds.