Download MetaTrader 5

How to make My panel top of other object.

To add comments, please log in or register
Capilta Business Solutions
28
Capilta Business Solutions  

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
55807
Vladimir Karputov  

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