I would like to display data on the chart in several lines. How could I do it without defining a new object for every line? I tried the following:
ObjectSetString(0,"InfoTable",OBJPROP_TEXT,"First line\r\nSecond line\r\nThird line");
...but it displays the string in one line. I've tried both OBJ_LABEL and OBJ_TEXT, but no difference. Any ideas?
i can only for MQL 4
look here Fxgenerator block Add Comment Line
Anyone who knows how to do that ?
Of course I know Comment() can be used, but I am searching a (simple) way to format (color, font) a label/text with multiline data.
I'm interested in multiline text box alsoWe really need a multiline text box
For example, I have too many things to display with comment(), but no formatting, no color, no font
It would probably be super nice to have a text box, multiline, which will know HTML too (few tags for formatting, font changing, etc, like in Qt framework)
I thought Rectangle Label is what I needed, but it seems that Rectangle Label is more like Rectangle Panel, useful for grouping other objectsam i right? im not sure
I sent a feature request to service desk,requesting multiline textbox
Also, I wrote the idea to have the multiline textbox aware of minimal HTML (for formatting purposes mostly), like in Qt framework
Unfortunatelly, we'll not implement requeste features.
(this was the answer)
i use two textbox to do this job
time/price and onchartevent