how to loop multiple quantities once in mt4?
Posted: Sun Jun 03, 2018 1:16 am
For some reason I cannot loop over multiple quantities in a single loop.
for example the code line
works fine but if I try for two variables
or
it gives a error on looping b. How to solve this issue?
Regards
for example the code line
Code: Select all
for(int i=limit;i>=0;i--)a[i]=Volume[i];
works fine but if I try for two variables
Code: Select all
for(int i=limit;i>=0;i--)a[i]=Volume[i], b[i]=Volume[i];
Code: Select all
for(int i=limit;i>=0;i--)a[i]=Volume[i]; b[i]=Volume[i];
it gives a error on looping b. How to solve this issue?
Regards