Download MetaTrader 5
To add comments, please log in or register
Add our Twitter channel to friends and follow the news!
wiptheman
378
wiptheman 2013.02.23 11:57 

Hi Guys,

Very basic question but I can't seem to be able to get around it:

How do I write an on chart comment with multiple lines ?

 

Comment("Comment Ligne One","Comment Ligne Two");

 

Thanks  

phi nuts
2184
phi nuts 2013.02.23 16:39  
wiptheman:

Hi Guys,

Very basic question but I can't seem to be able to get around it:

How do I write an on chart comment with multiple lines ?

 

 

Thanks  

I forget what its called, use "\n". 

Comment("Comment Ligne One \n Comment Ligne Two");

 

Simon Gniadkowski
Moderator
17994
Simon Gniadkowski 2013.02.23 17:12  
phi.nuts:

I forget what its called, use "\n". 

From here:  Comment()    "To delimit output information into several lines, a line break symbol "\n" or "\r\n" is used."  ;-)
wiptheman
378
wiptheman 2013.02.23 18:03  

Thanks guys !! It's all about the little things !

 W. 

/
To add comments, please log in or register