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?
Files:
CFC3C347-A1DB-4B1E-B106-B9DD6AA8968C.jpeg
1193 kb
Chris959:
On of my EA’s won’t work of which it comes up with this message
Ask the vendor of the product - I guess it was bought.
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
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](https://c.mql5.com/36/57/documentation-on-mql5-integration__5.png)
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
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register