ZZY: MQL4 and MQL5 metaquotes are as close as possible to each other (I think the difference is 10-15 functions between the languages), someone from the developers wrote that MQL5 / MQL4 compilers are now completely the same
Функция получает в массив time_array исторические данные времени открытия баров для указанной пары символ-период в указанном количестве. Необходимо отметить, что отсчет элементов от стартовой позиции ведется от настоящего к прошлому, то есть стартовая позиция, равная 0, означает текущий бар. При копировании заранее неизвестного количества...
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.
It is strange. I don't remember these functions in mt4 before. Have they been added to fives as well?
https://docs.mql4.com/ru/series/copytime
ZZY: MQL4 and MQL5 metaquotes are as close as possible to each other (I think the difference is 10-15 functions between the languages), someone from the developers wrote that MQL5 / MQL4 compilers are now completely the same
That's odd... I don't remember there being these features in mt4 before. Were they added to fives too?
With the arrival. How's that?
Happy arrival. How's it going?
Hello!
Can you please tell me where to find documentation on plugin development?
Checked it, fixed it, it's working.
Please tell me where the mistake was?
The one I suggested you fix
how do I find the last digit of a whole number?
101 --> 1
267 --> 7
?
PS: Spun around in my head for 20 minutes, no solution ((((
how do I find the last digit of a whole number?
101 --> 1
267 --> 7
?
PS: Spun around in my head for 20 minutes, no solution ((((
- convert to string and take the extreme digit
- divide by 10, take the remainder - %
- divide by 10, take the remainder - %.
Yes, that's it, forgot about the % thank you!
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 2183 , y = 3
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 937 , y = 7
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 4429 , y = 9
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 10711 , y = 1
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 277 , y = 7
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 599 , y = 9
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 30829 , y = 9
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 31826 , y = 6
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 24988 , y = 8
2019.06.19 23:09:28.616 tst EURUSD,H1: x = 27340 , y = 0
how do I find the last digit of a whole number?
101 --> 1
267 --> 7
?
PS: Spent 20 minutes thinking about it, no solution ((((
the problem got more complicated... it didn't add up in my head overnight... I guess I'm not Mendeleev, so I can't do complex problems in my sleep )))
how to find the penultimate digit in the whole number!
101 --> 0
267 --> 6
?
Will it work or am I missing something?