Download MetaTrader 5
To add comments, please log in or register
Add the thread to Favorites. Track the changes even faster!
jt27
46
jt27 2016.05.02 06:04 

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
8796
Keith Watford 2016.05.02 07:39  

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 2016.05.02 13:57  
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