- Questions: to start with MetaTrader and forex
- How to code?
- How to get Price data and Time data of mouse position by clicking the mouse?
I do not know whether I can ask for an advice on MT4 programming. Is it possible to achieve the following ?
1) Get the (x,y) screen coordinate when a mouse button is clicked.
2) Convert the (x,y) screen coordinates to the corresponding Price and Time
1) Get the (x,y) screen coordinate when a mouse button is clicked.
2) Convert the (x,y) screen coordinates to the corresponding Price and Time
- That's the purpose of this forum, help with programming. (No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.)
- There is no built in support for the mouse. You can get where a script or EA was dragged onto the chart (WindowXOnDropped) and you can find out where any object is (EA creates object, user moves object.)
- See also Buttons & Textfields on mt4 chart possible now - MQL4 forum
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register