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
 
William Roeder:
  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.
 
Manshir:
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.

Your question is quite similar to another one recently - take a look at https://www.mql5.com/en/forum/320561#comment_12932866.

How can I get Candle information By click on it
How can I get Candle information By click on it
  • 2019.08.21
  • www.mql5.com
Hi friend , Is it possible to get High and Low of a candle by click on it? I need ti get information of a candle by click on it...
 
Seng Joo Thio:

Your question is quite similar to another one recently - take a look at https://www.mql5.com/en/forum/320561#comment_12932866.

Thank you very much.
 
Seng Joo Thio: Your question is quite similar to another one recently - take a look at  https://www.mql5.com/en/forum/320561#comment_12932866. Manshir: Thank you very much.
I already gave you that link in #1.