Array out of range in “EAname.mql4 (1273,31)

 
On of my EA’s won’t work of which it comes up with this message 

Array out of range in “EAname.mql4 (1273,31)

Anyone had any experience with this before? 
 
Chris959:
On of my EA’s won’t work of which it comes up with this message 

Array out of range in “EAname.mql4 (1273,31)

Anyone had any experience with this before? 
Ask the vendor of the product - I guess it was bought.
 
Chris959:
On of my EA’s won’t work of which it comes up with this message 

Array out of range in “EAname.mql4 (1273,31)

Anyone had any experience with this before? 

Hello!

This means that you have most likely a part in your mq4 file where you try to loop through an array using an index, and you try to check a non available value.

Try checking at line 1273, column 31.

Without the code however, it is complicated for me to give you any kind of fixes.

Check on the following link if you would like to fix it by yourself: https://www.mql5.com/en/articles/2555#out_of_range

Documentation on MQL5: Integration / MetaTrader for Python / order_calc_margin
Documentation on MQL5: Integration / MetaTrader for Python / order_calc_margin
  • www.mql5.com
order_calc_margin - MetaTrader for Python - Integration - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: