Download MetaTrader 5
To add comments, please log in or register
Launch your trading signal and add account monitoring!
Wemerson Guimaraes
535
Wemerson Guimaraes 2015.06.15 16: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 

honest_knave
954
honest_knave 2015.06.15 16:39  
Wemerson Guimaraes
535
Wemerson Guimaraes 2015.06.16 01:17  
honest_knave:

OBJ_LABEL

 

 Thanks my friend... works fine!

Wemerson Guimaraes
535
Wemerson Guimaraes 2015.06.16 01: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... 

Keith Watford
Moderator
7887
Keith Watford 2015.06.16 02:37  
ObjectSetInteger and OBJPROP_SELECTED or OBJPROP_SELECTABLE if you don't want the user to be able to move the labels
Wemerson Guimaraes
535
Wemerson Guimaraes 2015.06.16 03: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

Wemerson Guimaraes
535
Wemerson Guimaraes 2015.06.17 12: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 

honest_knave
954
honest_knave 2015.06.17 15:03  

Control over z-order is somewhat inadequate in MT4.

Make sure your vertical lines are drawn in the background.

 

Wemerson Guimaraes
535
Wemerson Guimaraes 2015.06.17 15:17  
honest_knave:

Control over z-order is somewhat inadequate in MT4.

Make sure your vertical lines are drawn in the background.

 

Ok, thanks!
/
To add comments, please log in or register