Download MetaTrader 5

long description on the chart

To add comments, please log in or register
Tadeusz Kiesner
6567
Tadeusz Kiesner  

How to show a long description on the chart (more then 256 chars)?

gbulle
127
gbulle  
bobolanin:

How to show a long description on the chart (more then 256 chars)?

Hello,

it this a good solution for you?

use \n to split the large string into several rows:

Comment(" abcd"+"\n"+"fghi...");

Alain Verleyen
Moderator
31183
Alain Verleyen  
bobolanin:

How to show a long description on the chart (more then 256 chars)?

Comment()

Any values, separated by commas. To delimit output information into several lines, a line break symbol "\n" or "\r\n" is used. Number of parameters cannot exceed 64. Total length of the input comment (including invisible symbols) cannot exceed 2045 characters (excess symbols will be cut out during output).

Tadeusz Kiesner
6567
Tadeusz Kiesner  

i think it is not enough, we need new object

like label and text but with possibility use longer messages ;)

To add comments, please log in or register