Paul Anscombe #: So now you have been helped. You should state the solution and if you think there is a bug you should provide the information for that as well
Otherwise why should people help you or anyone else in the future
I've already provided information about the bug, haven't you seen the error???
The issue happens when this line executes: ObjectsDeleteAll(0,"Buy");
and my solution was changing it to: ObjectsDeleteAll(0,"Buy",0,OBJ_HLINE);
Of course, it works if you want to remove only HLines, however, in my EA it was enough. Hope MQL5 will debug this issue.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
So now you have been helped. You should state the solution and if you think there is a bug you should provide the information for that as well
I've already provided information about the bug, haven't you seen the error???
The issue happens when this line executes:
ObjectsDeleteAll(0,"Buy");
and my solution was changing it to:
ObjectsDeleteAll(0,"Buy",0,OBJ_HLINE);
Of course, it works if you want to remove only HLines, however, in my EA it was enough.
Hope MQL5 will debug this issue.
I've already provided information about the bug, haven't you seen the error???
The issue happens when this line executes:
ObjectsDeleteAll(0,"Buy");
and my solution was changing it to:
ObjectsDeleteAll(0,"Buy",0,OBJ_HLINE);
Of course, it works if you want to remove only HLines, however, in my EA it was enough.
Hope MQL5 will debug this issue.