I've blanked out the whole start but the error is still there, so it must be somewhere higher
double vtotale[0]; // Вы не сможете изменить размер массива т.к. он стат. сделайте динамич. vtotale[], изменить размер ArrayResize(vtotale,0);//+------------------------------------------------------------------+//| Custom indicator initialization function |//+------------------------------------------------------------------+int init() { return(0);} // вернет 0 не забываем про {}int deinit(){ return(0);}
attach the code file (below " Attach file: " Overview... ) let's not waste time!
eddy: costy, if you have 1 operator in the body, you don't have to specify brackets, do you?
Not for functions.
int init() { return(0);}
int deinit() return(0); //ошибкаint init() { return(0);}
int deinit(){ return(0);} //все ок
можно и так, если функции выполняются один раз
void init() { }
void deinit(){ }
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Why, it all compiles ;))
in this variant see above.
I've blanked out the whole start but the error is still there, so it must be somewhere higher
costy, if you have 1 operator in the body, you don't have to specify brackets, do you?
Not for functions.
should not variables declared in for() be available outside of for()?
Aren't variables declared in for() supposed to be available outside of for()?
Wrong, the for(() variables will be available in all execute functions. (say start, but not in inite deinite...).
read the HELP :)
Sometimes a person needs to have the root explained to them to further their development by help.
I wonder how it was easy for you Aleksander to learn help from 0?