![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
Which is the maximal size of an array used in metatrader?
Which is the maximal size of an array used in metatrader?
They specified only that the array can be maximum 4 dimensional. Other limitations were not specified
They specified only that the array can be maximum 4 dimensional. Other limitations were not specified
OK. Thanks ,
Hello, Trend catcher expert need to time filter.Actually developer has coded this function in to the ea.But I can't working.I was deleted '' \\ '' characters for active to time filter.But it's not work help please.
Please help me for add an EA option.
Hi
I want to add an option in this EA, I m uploading EA, please anyone can help me for add Opposite trade option?
Thanks.
It should be converted to to EA or better yet to indicator (that way it would allow an EA ro be attached to the chart where the period converted is working and would allow multiple instances to be attached to the same chart)
Many thanks my friend, & sorry for the delay in replying. I had a curry that evening, & have been in trouble ever since! Next question - Could you, & would you, convert it to an indicator....?!
Me again : what is the maximal size for static arrays?
Me again : what is the maximal size for static arrays?
According to documentation total number of elements of an array can not exceed 2147483647. But that is true for global (and static) arrays.
If you try to is local arrays, they can not exceed 512kb, so it does not apply to local arrays.
Since static variables are a kind of global variables then, that limitation does not apply to it, but you risk memory problems if you use maximal size for those arrays
______________________
PS: working with arrays can get you one of the most funny errors : ERR_SOME_ARRAY_ERROR. What does that mean - no idea![](https://c.mql5.com/forextsd/smiles/smile.png)
According to documentation total number of elements of an array can not exceed 2147483647. But that is true for global (and static) arrays.
If you try to is local arrays, they can not exceed 512kb, so it does not apply to local arrays.
Since static variables are a kind of global variables then, that limitation does not apply to it, but you risk memory problems if you use maximal size for those arrays
______________________
PS: working with arrays can get you one of the most funny errors : ERR_SOME_ARRAY_ERROR. What does that mean - no ideaOK. Thank you for additional information
Please decompile this indicator file at your earliest. Thanks in advance.