Hello guys,
I was wondering if it is possible to get the price of the respective chart place on click.
Like I click anywhere on the chart and It fills a variable with the price.
Thanks.
I think this post will help you, please check it.

How to get Price data and Time data of mouse position by clicking the mouse?
- www.mql5.com
We can use "CHARTEVENT_CLICK" to get X coordinate value and Y coordinate value of mouse position , But How to get Price data and Time data of mouse...
Pablo Jaguanharo Carvalho Pinheiro:
Hello guys,
Hello guys,
I was wondering if it is possible to get the price of the respective chart place on click.
Like I click anywhere on the chart and It fills a variable with the price.
Thanks.
Yes, it is very possible,
Chartxytotimeprice()
// Check your reference

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