object on chart and resolution
-
hi all , i have been meaning to ask this for a while, the thing with objects on chart (no matter buttons or any other) is that, i am trying to place these objects at the right most corner of the chart but for that i am using the x and y coordinates, but the problem i am facing is that the object is being placed at a bit towards the left of the chart (on the higher resolution displays) and not at the right most corner
for example :
this is what i get on lower (average) resolution display screen

but on the higher resolution display the same ea places the object like this:

i know this is because of the fact that it will place on the pixels that i define in fxdreema , but what i wanna know is there any way to make the ea place the object at the right most corner regardless of the screen resolution ?
-
Interesting question. I'm also eager to know.
-
Maybe with a custom mql block. See refference: https://docs.mql4.com/constants/objectconstants/enum_basecorner
-
@cpxiom thanks a lot bro
-
There is nothing that a good custom block can't fix.
