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
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- Conversion of Screen Coordinates to Price/Time
- chart event
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
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