How Get index Candel Whit Click Mouse(CHARTEVENT)

 
Hello dear friends.
I want to give me the candlestick index when I click on the chart with the mouse. But I do not know how to do it.
Thank you for your guidance.
 
You will need to use ChartXYtoTimePrice and iBarShift within OnEvent.

 
Dominik Egert:
You will need to use ChartXYtoTimePrice and iBarShift within OnEvent.

Hello    dear  Dominik Egert .
Thank You .
But I need more help.

If I do not take your time, thank you for giving me a code so I can better understand.

Dominik Egert
Dominik Egert
  • www.mql5.com
Trader's profile
 
Dominik Egert:
You will need to use ChartXYtoTimePrice and iBarShift within OnEvent.

Thank you very much, I did not notice the link in your clue.

You solved my problem.

A world of you thank you.

thanks a lot .