Download MetaTrader 5

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

To add comments, please log in or register
Wemerson Guimaraes
593
Wemerson Guimaraes  

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
Moderator
2330
honest_knave  
Wemerson Guimaraes
593
Wemerson Guimaraes  
honest_knave:

OBJ_LABEL

 

 Thanks my friend... works fine!

Wemerson Guimaraes
593
Wemerson Guimaraes  

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
10568
Keith Watford  
ObjectSetInteger and OBJPROP_SELECTED or OBJPROP_SELECTABLE if you don't want the user to be able to move the labels
Wemerson Guimaraes
593
Wemerson Guimaraes  
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
593
Wemerson Guimaraes  

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
Moderator
2330
honest_knave  

Control over z-order is somewhat inadequate in MT4.

Make sure your vertical lines are drawn in the background.

 

Wemerson Guimaraes
593
Wemerson Guimaraes  
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