which function I should use to get all parameters of a bar which is pointed by mouse?
davidxiao:
Hello,,
I am learning MQL5 to try to write a customer indicator. in this indictor, I need to get all parameters(prices, volume, time and date) of a bar which is pointed by my mouse, then I use the parameters of the bar to calculate. Which function or functions I should use.
Thanks!!!
David Xiao
Hi davidxiao,
Please take a look at the MqlRates struct at the Docs.
Malacarne:
Hi davidxiao,
Please take a look at the MqlRates struct at the Docs.
I think the question is how to know programmatically which bar is pointed by the mouse.
Hello,,
I am learning MQL5 to try to write a customer indicator. in this indictor, I need to get all parameters(prices, volume, time and date) of a bar which is pointed by my mouse, then I use the parameters of the bar to calculate. Which function or functions I should use.
Thanks!!!
David Xiao