[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 57
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
Try it this way:
https://docs.mql4.com/ru/basis/variables/formal"FractalsUP - incompatible types" error when trying to compile in EA.
Functions and declared arrays are stored in include files, if anything.
I read textbook before writing, I saw underline, but in practice I could not implement it - it says about incompatible type.
I saw a working example of passing parameters of array element values by reference (with & prefix).
There are two functions.
When trying to compile in EA, it gives error "FractalsUP - incompatible types".
Functions and declared arrays are stored in include files, if anything.
God willing, this should work. At least it compiles without errors:
God willing, this should work. At least it compiles without errors:
Hello Dear programmers!
Could you please tell me what I am doing wrong?
I have an external variable of int type, in the program it should set how many elements will be in the array of double type,
I am doing it the way i am shown below, but the compiler still generates errors, i have already tried to write an external variable of the double type, but i still get errors.
Please advise.
Hello Dear programmers!
Could you please tell me what I am doing wrong?
I have an external variable of int type, in the program it should set how many elements will be in the array of double type,
I am doing it the way i am shown below, but the compiler still generates errors, i have already tried to write an external variable of the double type, but i still get errors.
Please advise.
Initialize the array with an explicit value of double A[4];
Then resize it using ArrayResize();
Initialize the array with an explicit value of double A[4];
Then resize it using ArrayResize();
Thank you!
I'm thinking, if we initialize an empty arraydouble A[];, then it's possible to put as much as you want by looping into it?
I apologize for nouveau-vous questions, but arrays are a mess for me as a beginner.
Thank you!
I was thinking, if we initialize an empty arraydouble A[]; then it can be used as much as you want?
I apologize for nouveau-vous questions, but arrays are a mess for me as a beginner.
Any array can be filled with as much memory as it needs, as long as you remember to resize it. Especially if the array is empty.
Thanks again! It's a pity you can't give me a +.
Good afternoon!
Dear programmers! You need to write an Expert Advisor.
Description available.
What are the conditions? What are the guarantees?
Regards, Maxim.