Download MetaTrader 5
To add comments, please log in or register
Searching on MQL5.community is performed in all sections. Try it!
Capilta Business Solutions
18
Capilta Business Solutions 2015.03.09 09:27 

Dear GUY

I create a EA. EA create a panel and line. but line show top of my panel. Below see the image. Line always show in top of my panel.



here the code : in the code you will see i create line first then panel. then why my line show top. How can i make my panel TOP.  Please help me out.

   drawLine(GlobalObj+"lineAvBuy",  Ave_Price_Buy,  Average_Buy, "",0);

   MyPanel.BringToTop();
Vladimir Karputov
Moderator
42309
Vladimir Karputov 2015.03.09 11:32  

Graphical objects are superimposed in the order of creation. The oldest - at the bottom. If you know the name of the line, you can do this:

ObjectSetInteger(0,name,OBJPROP_BACK,true);
/
To add comments, please log in or register