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.
Hi, everyone!! I wish your all success in FX market!!
This is my test code in Expert Adviser.
I expected the results like this.
.....................
2007.02.15 00:00,4996
2007.02.15 04:00,4997
2007.02.15 08:00,4998
2007.02.15 12:00,4999
2007.02.15 16:00,5000
But, I couldn't get this.. otherwise,
2007.02.14 16:00,0
2007.02.14 20:00,0
2007.02.15 00:00,0
2007.02.15 04:00,0
2007.02.15 08:00,0
2007.02.15 12:00,0
2007.02.15 16:00,0
All my array valuable "aa1[]" is 0 ...
I can't find why this has been happened...
plz, help me... I'm novice in programming....
this is code....
int start()
{
//----
int handle;
int i;
int j;
int err;
double aa1[];
for(i=5000; i>=0; i--)
{
aa1[i]= 5000 - i ;
}
return(0);
}