Download MetaTrader 5

Nested "for" operator

To add comments, please log in or register
EAlbuquerque
25
EAlbuquerque  

Hi there,

Is there a limitation in MQL4 to write a FOR operator inside another FOR operator, aka nested operators? I'm analyzing 2 variables and to my understanding the "internal" FOR - on each iteration - should keep the external FOR's variable unchanged. However I'm getting erratic results as the external variable seems not to be fixed while the internal one is being tested.

Thank you.

Ed. 

Thaddeus_39
42
Thaddeus_39  

Can you please post your code so we can help you?

Make sure you use the SRC button in the toolbar to attach the code.

Cheers 

To add comments, please log in or register