Download MetaTrader 5

MT5: OBJ_HLINE dragging event

To add comments, please log in or register
Alex
76
Alex  

Hi,

is it possible to capture the dragging process of a horizontal line somehow?
I can get the CHARTEVENT_OBJECT_DRAG event but this event only fires when dragging is finished. I want to capture the dragging itself, like mouse-move that is updating x and y position of the mouse continuosly.

Why this? I want to do some calculation and showing the result to the user, while he is moving a HLINE with the mouse. 

Best regards,
Alex 

Marco vd Heijden
Moderator
4964
Marco vd Heijden  
yes read the values live in OnTimer() Function.
To add comments, please log in or register