Download MetaTrader 5

MT5: OBJ_HLINE dragging event

To add comments, please log in or register
Sell your applications via the Market. It is secure!
Alex
55
Alex 2016.10.21 21:36 

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
4708
Marco vd Heijden 2016.10.22 09:04  
yes read the values live in OnTimer() Function.
To add comments, please log in or register