I assumed to see beginning and end date of history but I received this alert:
End=1970.01.01 00:00, Zero=1970.01.01 00:00, 0
I have history data in my History center from 2006.01.09 09:37 to 2006.07.26 21:13
for EUR/GBP pair and no data for other pairs. But in neither cases I receive reasonable
data.
Hi,
because arrays are 0-based, the index: ArraySize(Time1m) does not exist.
You probably needed: ArraySize(Time1m) - 1
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 stringo
Can you please tell me what I’ve done wrong with this piece of code?
I assumed to see beginning and end date of history but I received this alert:
End=1970.01.01 00:00, Zero=1970.01.01 00:00, 0
I have history data in my History center from 2006.01.09 09:37 to 2006.07.26 21:13 for EUR/GBP pair and no data for other pairs. But in neither cases I receive reasonable data.
Hi,
because arrays are 0-based, the index: ArraySize(Time1m) does not exist.
You probably needed: ArraySize(Time1m) - 1
But that solves only one part of the puzzle.
Cheers!
Max