![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
Hi,
I've got trouble concatenating For Loops, this is the nearest previous step that doesn't give me trouble:
The Print gives a nice progression of h: 1,2,3,4,5.. and the expected result for ar1[h]:1,1,1,1,1,1,1,1,1,1,2,2,2,2.. ...20,20,20. But, if I try to do this:
The Print of ar1[h] just give 1,1,1,1,1,1,1... ...1,1,1 until it gets out of range (the print of h goes from 1,2,3,4... to ..998,999).
Isn't it possible to concatenate 3 For Loops? What am I doing wrong?