Chart Event on Mouse Click

Hi,

Can I have the ATR number of a particular candle on my chart when I click on the candle.

Thanks

  1. For you, no need to click, put ATR on the chart, open Data Window (Control-D), hover over a candle.
  2. In code capture the click (or double click)
    How can I get Candle information By click on it - Algorithmic Trading Strategies MQL4 programming forum 2019.08.21
    how to detect a Double Click event on a Chart ? - MQL4 programming forum #4 2016.06.08

I do have the ATR number in the Data Window.

But I need the number for calculation. Actually, I would like to have 2 horizontal lines drawn on the chart for TP and SL, based on ATR number, upon mouse click on a candle.