Download MetaTrader 5
To add comments, please log in or register
Do you want to order an application? Find out how to obtain the desired result
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
5605
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