Download MetaTrader 5

Rear texts can't be displayed

To add comments, please log in or register
moonsboy
891
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?

 

ObjectCreate(ctlName,OBJ_LABEL,0,0,0);
Stuart Browne
6091
Stuart Browne  
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