How to erease the text written by Comment()?

 
I created an indicator which uses Comment to write something on the main chart. But when I deattach the indicator, the text remains there. How can I erease it? Thanks.
 

a simple script will do it:

int start()
{
  Comment("");
  return(0);
}
 
fbj wrote >>

a simple script will do it:

Not tried it but would expect this Comment("");

to work in the deinit() function of the indicator?

-BB-

 
BarrowBoy:

Not tried it but would expect this Comment("");

to work in the deinit() function of the indicator?

-BB-

Your method works, thanks a lot!

Reason: