This article covers general principles of development of graphical controls. We are going to prepare tools for a quick and convenient work with graphical objects, analyze an example of creation of a simple control for entering text or numeric data as well as the ways of using it.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello To the group
I just started studying MQL5 and I found myself having to solve a simple question for those who are more advanced.
I have a period during the day definable by inputs.
I check if I'm on period or if period has passed but I'm still on the day.
I add the data of the candles in an array with CopyRates and look for the highest value.
The strange thing is that when I open the graph from Debug it shows me in the Print first the values of H1 and moving to M1 they vary even if
the Candles that I am going to memorize are all at M1.
I add the code
What I would like to get is to know the maximum value of the period and which candle has generated it.
Thanks to anyone who can give me a suggestion