Learn to search (not only to code): https://www.mql5.com/en/search#!keyword=array%20out%20of%20range
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
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Mustafa Seyyid Sahin:
There is a bug in the code and it needs to be fixed. When indexing an array it needs to be within its bounds.
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?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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