Profit and loss label in Amibroker

Dear All,

I'm a newbie , i want to code on ambroker as picture below:

  • Price is showed near arrow.
  • When i click any candle it will be auto Calculatte my profit or loss.

I don't know how to do about code.
Please kindly everyone help me.

Thanks so much!
Untitled