MQL5: How To Output Multiple Lines of Comments()?

 

If I am trying to output multiple lines, how do I do this?


Comment("Apples");

Comment("Oranges");

The code above will only output:  Oranges 

As if it is being re-written on the same line again.

 
24101800:

If I am trying to output multiple lines, how do I do this?


The code above will only output:  Oranges 

As if it is being re-written on the same line again.

Comment("Apples"+"\n"+ "Oranges");

 
Emir Revolledo:

Comment("Apples"+"\n"+ "Oranges");


Awesome, ty

 
24101800:

If I am trying to output multiple lines, how do I do this?


The code above will only output:  Oranges 

As if it is being re-written on the same line again.

String what_to_post;
what_to_post="we start here";
what_to_post+= "\nwe come here";
what_to_post+= "\nthird line";
what_to_post+= "\nthe current time is: "+TimeToString(iTime(Null,Period(),i));
what_to_post+= "\nlast line: \nThank You Happy trading";
Comment(what_to_post);
Reason: