Calculating points while dragging Cross Hair

I wanted to have the following functionality implemented when using a cross hair feature

Cross Hair should calculate the number of points when dragged from one location to the other. Say its clicked on a Nifty 7600 level and when I keep it dragging from that point, it should tell me the number of points Nifty has gained or lost including the number of Bars that it has been dragged. Its very similar to a feature in MT4.

MT4 or Amibrokers are charting platforms which can be customizable by coding, you can write an email to [email protected] as suggestion

Sorry I did not mention that I wanted to have this in Pi

In pi as of now not there.