ARRAY OUT OF RANGE AND ERROR 4754 <<<SOLVED>>>
-
Hello, can anyone have a solution to these errors, I attach a screenshot of the file

The line 10125 is empty:


@fxdreema can you analyze?
-
Usually this error indicates that no pending orders were found. Do you work with pending orders?
-
@miki thanks for your answer. No pending orders at all in the project
-
@ambrogio I'm sorry,I can't help you.
-
@fxdreema are you here?
-
@ambrogio I'm afraid the admin is never in the forums. In my last email from him a few days ago he confirmed he's virtaully absent from all of them, sadly? The only way to get an answer is contacting him via the support page.
-
@l-andorrà yes .....:( thanks, I sent the email the same day
-
@ambrogio
Again I'm not a coder but :
1.'10125-2976.mq5' seems to be the name of the EA file, rather than a position identifier.
2.If the value of the handler for "i" = 0 is out of range, it should mean that there is no value for the current candle. Maybe try to replace i=0 by i=1(line 11064), or to replace "i" by "i-1"(line 11067).
I don't now the whole thing tho -
@seb-0 Yes!! You're right, I didn't notice. But I don't know what this file is, it's not the name of my expert.
-
@seb-0 I'll try
-
-
@ambrogio as you can see from the example in the comment, the project works with pending orders, as I had already mentioned. Your project does not. Without seeing it, it is difficult to give answers.
-
This error happens in part of the code that is responsible for detecting the Trade events. I recently rewrote that code and I'm more confident with the new one. I will update it very soon

-
@fxdreema thank you, please make as soon as you can. Please make a notification when the new code is ready.
-
@miki @l-andorrà @seb-0 @miro1360 SOLVED since this update https://fxdreema.com/forum/topic/11549/january-2021
