i just want to code a rectangle which should be moveable, when dragged.
Unfortunately, i get no CHARTEVENT_OBJECT_DRAG called.
Is there any setting in MetaTrader 5 or a "ChartSetInteger" to be called in order to get it work?
I played around with zorder, from 0 to 2, but no help.
The property selectable is set to true.
A small expert demontrating this is attached.
(There is also a delay before the rectangle spawns and i don't know why.)
Any help appreciated.
Sorry yes, was a mistake, wrong forum. On MT4 this code works, on MT5 not.
2. Sorry, i do not understand the purpose of this link.
4. Yes, not required.
Can you move this to MT5 forum and do you have a solution ?
The rectangle is dragable when you grap the the small quaret in the upper left. For poeple with bad eyes like me, not really funny.