Download MetaTrader 5

Rear texts can't be displayed

To add comments, please log in or register
Register as a seller and start offering your signals!
moonsboy
889
moonsboy 2015.04.02 05:13 

 ctlName below is a tring to show text on terminal screen chart.

However, it seems MQ4 limit the text length to display and there are some words in the rear of the text can't be seen.

How to improve it?

 

ObjectCreate(ctlName,OBJ_LABEL,0,0,0);
Stuart Browne
5801
Stuart Browne 2015.04.02 11:13  
moonsboy:

 ctlName below is a tring to show text on terminal screen chart.

However, it seems MQ4 limit the text length to display and there are some words in the rear of the text can't be seen.

How to improve it?

 

 

The code you show will only create the label. You should then move it into place with ObjectSet . If the text is too long and goes off the screen, you need to account for that in your code. 

To add comments, please log in or register