Download MetaTrader 5

How to set text at lower right corner ?

To add comments, please log in or register
Do you keep a blog? Place a link to MQL5.community there and make money!
sorasit
359
sorasit 2013.12.07 16:23 

I want create 3 OBJ_TEXT on 3 lines from lower right corner of sub window.

Without text overlap,when zoom in sub window.

(not use OBJ_LEBEL)


Thank you

whroeder1
14514
whroeder1 2013.12.07 16:39  
sorasit46: I want create 3 OBJ_TEXT on 3 lines (not use OBJ_LEBEL)

No you don't. RTFM.

ObjectCreate(OBJ_TEXT) are connect with time and price and move left when new bars form. If you want 3 lines how do you know how high in price to place other lines when price auto scales on the window? Do you really want to move the objects every time a new bar forms?

ObjectCreate(OBJECT_LABEL) "ignore the coordinates. Use the function of ObjectSet() to set up the OBJPROP_XDISTANCE and OBJPROP_YDISTANCE properties."

sorasit
359
sorasit 2013.12.07 16:44  
Can use function OBJPROP_XDISTANCE and OBJPROP_YDISTANCE with OBJ_TEXT ?
Alain Verleyen
Moderator
30739
Alain Verleyen 2013.12.07 16:57  
sorasit46:
Can use function OBJPROP_XDISTANCE and OBJPROP_YDISTANCE with OBJ_TEXT ?
No you can't. WHRoeder already answered.
sorasit
359
sorasit 2013.12.07 23:39  
Thank you
anaelisa
7
anaelisa 2013.12.21 19:22  
Thanks for sharing your knowledgement :)
whroeder1
14514
To add comments, please log in or register