WindowXOnDropped() and WndowYOnDropped() do it. but only as a script or expert is "dropped" onto the chart.
You could write a script which puts a label on the chart where you drop it...
WindowTimeOnDropped() and WindowPriceOnDropped() are two companion functions, to
access the chart at
the time or price you drop the script
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I wanted to do some programming based where the cursor position is on chart. for e.g I want to display the RSI as a label on chart where I place the cursor ( I do know that it can be shown on Data window but i wanted to do some different thing) . I can display the label actually but I have no idea how to get the position of cursor on the chart.