How can i put fixed text on a specific area on the graphic ?

Back to topics list To post a new topic, please log in or register
avatar
127
wemersonrv 2015.06.15 18:22
 

Hello all.

I'm newbye on mql4 programing and there are some basic stuff that i don't know... 

How can i put fixed text on a specific area on the graphic ? 

Text area 

 

 

avatar
735
honest_knave 2015.06.15 18:39 #
 
avatar
127
wemersonrv 2015.06.16 03:17 #
 
honest_knave:

OBJ_LABEL

 

 Thanks my friend... works fine!

avatar
127
wemersonrv 2015.06.16 03:52 #
 

Works fine, but when the labels are added to the Graphic; all of them are selected, as you can see on the print below:

 

Selected 

 

Hi can i di to unselect them ?


I try a search here on forum and found nothing about it... 

avatar
Moderator
3406
GumRai 2015.06.16 04:37 #
 
ObjectSetInteger and OBJPROP_SELECTED or OBJPROP_SELECTABLE if you don't want the user to be able to move the labels
avatar
127
wemersonrv 2015.06.16 05:33 #
 
GumRai:
ObjectSetInteger and OBJPROP_SELECTED or OBJPROP_SELECTABLE if you don't want the user to be able to move the labels

Great... Thank you my friend. Here the final result... Thanks.

 

 Simulator

avatar
127
wemersonrv 2015.06.17 14:02 #
 

Is working fine, but there is an issue that i need to fix.

When i put lines on the graphic, need them to be placed behind the box "SIMULA ORDENS", not ahead... how can i do this ?

behind 

avatar
735
honest_knave 2015.06.17 17:03 #
 

Control over z-order is somewhat inadequate in MT4.

Make sure your vertical lines are drawn in the background.

 

avatar
127
wemersonrv 2015.06.17 17:17 #
 
honest_knave:

Control over z-order is somewhat inadequate in MT4.

Make sure your vertical lines are drawn in the background.

 

Ok, thanks!
Back to topics list  

To add comments, please log in or register