Mouse position

 

Hello everybody!


I wonder if there's a way to check the mouse position (expecially on time axis) with MQL4... It might be useful to code a floating "data panel" into a "fullscreen" (F11) chart.


Regards,

obi.

 

use windows API

MQL4 allows programs to interface to this or any other dll/api

play around and maybe you get info you need.

.

also search forum for ideas on using windows api

 
owkenobi wrote >>

Hello everybody!

I wonder if there's a way to check the mouse position (expecially on time axis) with MQL4... It might be useful to code a floating "data panel" into a "fullscreen" (F11) chart.

Regards,

obi.

You can use these fuctions: They return the price and time co-ordinates of a Mouse click, see documentation.

WindowPriceOnDropped();
WindowTimeOnDropped();

HTH

Keith

Reason: