Hello
I am getting false in the alert output of this code where I am expecting true.
Can some body please tell me if I am wrong?
thx
I am getting false in the alert output of this code where I am expecting true.
Can some body please tell me if I am wrong?
thx
MQL5:
MqlRates myRates[] int copied=CopyRates(_symbol, _period, 0, bar_count, myRates); ArraySetAsSeries(myRates, true); if(copied<=0) Print("Error copying price data ",GetLastError()); else { Alert("Copied ",ArraySize(myRates)," bars"); Alert(PeriodSeconds() + " " + ArrayIsSeries(myRates));
Last edited by a moderator: