Florin Ionesko:
Testing ArrayInsert() in the code example on ArrayInsert() gives:
ERR_ARRAY_RESIZE_ERROR |
4007 |
Not enough memory for the relocation of an array, or an attempt to change the size of a static array |
So I suspect that MetaQuotes has changed the way ArrayInsert() works for static arrays and hasn't updated the documentation to suit.
Modify
int array_dest[10];
to this
int array_dest[]; ArrayResize(array_dest,10);

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
Also, documentation doesn't fit with the test:
And this shows an overwriting, not a "come off":
Anyway, if arrays are dynamic, they work fine.