How to delete comments from the chart when EA is removed?
-
Hi. On the Deinit tab (MT5) i could remove all the buttons from the chart when the EA is removed using the block "delete object". But I don´t know how to delete the comments displayed on the chart? Is there kinda "delete comment" or like that?

-
@ProteinX if the comments are actual comments (done with Comment() function) you need to replace them by placing this to custom mql block:
Comment("");
For all objects, you can do this in custom mql block:
ObjectsDeleteAll(0);
-
@roar
Thank you very much, a very useful tip, I also had this problem occasionally. -
@roar Thank you! A clear answer, exactly what i needed to know.
-
@roar sir can you please share an example of an fxdreema project with this function deleting comments?
-