Convert Price to Coordinate vice versa

 
Does someone know a good way to convert price<>coordinate on chart somehow please? I have found very good code here capturing coordinates of mouse but nothing yet to convert x,y mouse to price. Any help is appreciated
 
fx1.net:
Does someone know a good way to convert price<>coordinate on chart somehow please? I have found very good code here capturing coordinates of mouse but nothing yet to convert x,y mouse to price. Any help is appreciated
I think there's one in here https://www.mql5.com/en/forum/139008
Reason: