In an Expert Advisor code, I would like to know on which bar of a chart the user clicked. From the example and documentation of OnChartEvent() function, a left click of mouse can be captured as a position (x, y). Is there a way to get the bar time/number on which the user left clicked?
- Can EA get user input from chart?
- chart event
- Get ticket number by clicking on Position line ?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register