Cursor programming

 
Hi,
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.
 

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