Cursor function?

 
I would like to know if it is possible to link the bar position of the crosshairs to a function. I am trying to write a function that will display the converted time of the bar in the upper right hand postion as I move the cursor to each bar.

Thanks,
 
I wish someone would answer this because I would like to use that function too.
Reason: