Download MetaTrader 5

Comments not clearing

To add comments, please log in or register
jt27
46
jt27  

I am having an interesting issue where I call the Comment() function each time I get a new tick and instead of clearing the existing comment prior to writing the new comment it will simply write the new comment below the old comments.  Sooner or later the comments have filled the entire screen and run off the bottom.

 Any thoughts? 

Keith Watford
Moderator
9983
Keith Watford  

You are probably adding to a static or globalscope string that you use in the Comment function().

Not possible to guess any more without seeing the code.

jt27
46
jt27  
GumRai:

You are probably adding to a static or globalscope string that you use in the Comment function().

Not possible to guess any more without seeing the code.

That was exactly it, thanks!
To add comments, please log in or register