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
Renat, somehow there was talk of separating the symbol and period change as a reason for deinitialisation/initialisation.
Is it worth waiting for, or does everyone understand what is needed, but don't really want to do it?
There is no solution yet.
error
how is that even possible?Got it, thank you.
Yeah, I'm trying to cram the values in...
if it's like this...
it swears, declaration without type, declaring types
It's totally nuts.
What's the right way - stat. array and fill it with values? the help with examples is a disaster.
As far as I understand you're trying to declare and initialize the array element by element at global level - this is forbidden. At the local level it compiles without errors.
Or try to initialize the array elements with an initialization sequence - https://www.mql5.com/ru/docs/basis/variables/initialization:
As far as I understand, you're trying to declare and initialize an array element by element on a global level - this is forbidden...
Exactly so :)
So, you can't use the array as an input right away?
So you can't use an array as an input straight away?
Yes
Too bad.
Upgr all the same, why is it done that way? Why can't I make a static input array right away and have to duplicate variables?