Download MetaTrader 5

Mouse Clicks capturing price and time?

To add comments, please log in or register
1000 paid orders are executed in Freelance service. Sign up!
YYZ
321
YYZ 2013.03.10 10:10 
Hi:  Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)?    Thanks for the input. 
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2013.03.10 10:54  
YYZ:
Hi:  Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)?    Thanks for the input. 
Have a look at CHART_EVENT_MOUSE_MOVE
phi nuts
2184
phi nuts 2013.03.10 10:55  
YYZ:
Hi:  Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)?    Thanks for the input. 
Use OnChartEvent's CHARTEVENT_CLICK and then convert the X, Y pixels coordinates into time price coordinates using ChartXYToTimePrice function.
YYZ
321
YYZ 2013.03.10 17:13  
Thanks to both of you for that information!
To add comments, please log in or register