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