Download MetaTrader 5

On chart comments multiple lignes ?

To add comments, please log in or register
wiptheman
378
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 ?

 

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

 

Thanks  

phi nuts
2184
phi nuts  
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
18003
Simon Gniadkowski  
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  

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

 W. 

To add comments, please log in or register