Topic: "Array out of range" error.

Hello,

can someone kindly help me to solve this error with an EA created with expert studio?
I attach photos of the error, thank you.

Post's attachments

photo 1.jpg 53.7 kb, 1 downloads since 2020-11-11 

photo 2.jpg 81.55 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

2 (edited by burrup.lambert 2020-11-11 20:10:47)

Re: "Array out of range" error.

See Roughey's post below!

Co-founder - Blue Capital Trading (https://www.bluecapitaltrading.com/)
Need help managing a portfolio of hundreds of trading strategies? Check out Strategy Samurai

3 (edited by Roughey 2020-11-11 20:09:29)

Re: "Array out of range" error.

sometimes it causes this error when you start date on mt4 is a saturday or sunday where no data are in...change the start date maybe it will help-.

you start backtest data from 1970.. did you have so much data?

when yes try 5.1.1970 when not check when your data begins

Re: "Array out of range" error.

Ok. thank you.