Matteo Ceccarelli: , I don't know what to do.
ObjectSetInteger(ChartID(),"Label_Name",OBJPROP_XDISTANCE,100); //-- X coordinate ObjectSetInteger(ChartID(),"Label_Name",OBJPROP_YDISTANCE,65); //-- Y coordinate
You hard coded the location. Of course, all labels created by that function will overlap.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all guys, I have a problem in mql4.
I create objects (labels and buttons) to display on a graph by specifying anchoring and coordinates in pixels.
Unfortunately, however, in some MT4s the position of the object is not correct, it overlaps with other objects, while in other MT4s you see everything regularly. this doesn't seem to be affected by the coordinate scale of the graphs or the screen resolution, I don't know what to do. I leave a portion of code to show how I create and impose the positioning coordinates.
Thanks in advance to anyone who will answer. 🙏🙏🙏