MT5 Backtesting error: OnTick Critical Error & array out of range in 'StdChanel.mq5' (469,18)

 

Backtesting error: OnTick Critical Error & array out of range in 'StdChanel.mq5' (469,18)


Hi i get a backtesting error when i try to run my EA in the MT5 strat tester.. the EA complies fine though with no errors etc.


I have also checked other EAs and they work ok.


please help.


thanks

 

So ?

Fix your code.

 
Alain Verleyen:

So ?

Fix your code.

the compiler returns no errors...
 
Myles Crouch-Anderson:
the compiler returns no errors...

Of course that's a run time error. Fix your code, you are using an index for an array which is out of range.

Nobody can't guess and help as you didn't post any code.

 
Alain Verleyen:

Of course that's a run time error. Fix your code, you are using an index for an array which is out of range.

Nobody can't guess and help as you didn't post any code.

sorry i dont actually code, it was an EA done that i paid for months ago but have just realised it doesnt work.. here is the code.
 

Myles Crouch-Anderson:
sorry i dont actually code, it was an EA done that i paid for months ago but have just realised it doesnt work.. here is the code.

It is mq4, so can not work with MT5
 

The error is caused not by your EA but by StdChannel.ex5. This must be a different EA than yours one!

Reason: