Nested "for" operator

 

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. 

 

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 

Reason: