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.
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.