- alighasemi1993: How to resize a static array in mql5 language?
Perhaps you should read the manual.
The function can be applied only to dynamic arrays.
ArrayResize - Array Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
ArrayResize - Array Functions - MQL4 ReferenceHow To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. - alighasemi1993: This script works in mql4 language and returns the correct output,
It doesn't “return the correct output,” as the MT4 documentation says the same thing. The fact it works is a bug.
-
Perhaps you should read the manual.
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. -
It doesn't “return the correct output,” as the MT4 documentation says the same thing. The fact it works is a bug.
So what we should do in case like this?
How we could resize arrays like this?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
This script works in mql4 language and returns the correct output,
but in mql5 language it returns "array out of range" error.;
How to resize a static array in mql5 language?