How many cycle imbricated can be supported in mql4 ?

 
I want to know how many cycle imbricated can be supported in mql4 ? I use more than 10 cycles imbricated in my EA and I want to make sure that no bug is diverted from it. I want to know it like Excel that support less than 7 cycles.
 
How many do you need? Why not test it?
 
When I test use 10 cycles using "for" instruction and some condition using "if" instruction, I see a bug. Using the "print" instruction after each cycle imbricated, the print display is out of order: the last test were displayed before the first and after the first is displayed the second and etc.
 
Davidafx:
When I test use 10 cycles using "for" instruction and some condition using "if" instruction, I see a bug. Using the "print" instruction after each cycle imbricated, the print display is out of order: the last test were displayed before the first and after the first is displayed the second and etc.
The most likely solution is to fix your code . . .
 
Davidafx: I see a bug. Using the "print" instruction after each cycle imbricated, the print display is out of order: the last test were displayed before the first and after the first is displayed the second and 
  1. But we don't - no mind readers here - post your code (SRC)
  2. "imbricated" is not an English word. I have no idea what you mean.
  3. The journal ALWAYS displays the last print at the top.
 
 
Davidafx:
When I test use 10 cycles using "for" instruction and some condition using "if" instruction, I see a bug. Using the "print" instruction after each cycle imbricated, the print display is out of order: the last test were displayed before the first and after the first is displayed the second and etc.

Until you post your code and show us the error, I don't believe there is a bug.  For example:

for (int i = 1; i <= 20; i++)
   Print ("Pass #", i);
   
int count = 0;
for (int j = 1; j <= 12; j++)
   for (int k = 1; k <= 3; k++) {
      count++;
      Print ("Count = ", count);
   }

produces the following output to the log:

10:17:38 TestingEA EURUSD,H1: Pass #1

10:17:38 TestingEA EURUSD,H1: Pass #2

10:17:38 TestingEA EURUSD,H1: Pass #3

10:17:38 TestingEA EURUSD,H1: Pass #4

10:17:38 TestingEA EURUSD,H1: Pass #5

10:17:38 TestingEA EURUSD,H1: Pass #6

10:17:38 TestingEA EURUSD,H1: Pass #7

10:17:38 TestingEA EURUSD,H1: Pass #8

10:17:38 TestingEA EURUSD,H1: Pass #9

10:17:38 TestingEA EURUSD,H1: Pass #10

10:17:38 TestingEA EURUSD,H1: Pass #11

10:17:38 TestingEA EURUSD,H1: Pass #12

10:17:38 TestingEA EURUSD,H1: Pass #13

10:17:38 TestingEA EURUSD,H1: Pass #14

10:17:38 TestingEA EURUSD,H1: Pass #15

10:17:38 TestingEA EURUSD,H1: Pass #16

10:17:38 TestingEA EURUSD,H1: Pass #17

10:17:38 TestingEA EURUSD,H1: Pass #18

10:17:38 TestingEA EURUSD,H1: Pass #19

10:17:38 TestingEA EURUSD,H1: Pass #20

10:17:38 TestingEA EURUSD,H1: Count = 1

10:17:38 TestingEA EURUSD,H1: Count = 2

10:17:38 TestingEA EURUSD,H1: Count = 3

10:17:38 TestingEA EURUSD,H1: Count = 4

10:17:38 TestingEA EURUSD,H1: Count = 5

10:17:38 TestingEA EURUSD,H1: Count = 6

10:17:38 TestingEA EURUSD,H1: Count = 7

10:17:38 TestingEA EURUSD,H1: Count = 8

10:17:38 TestingEA EURUSD,H1: Count = 9

10:17:38 TestingEA EURUSD,H1: Count = 10

10:17:38 TestingEA EURUSD,H1: Count = 11

10:17:38 TestingEA EURUSD,H1: Count = 12

10:17:38 TestingEA EURUSD,H1: Count = 13

10:17:38 TestingEA EURUSD,H1: Count = 14

10:17:38 TestingEA EURUSD,H1: Count = 15

10:17:38 TestingEA EURUSD,H1: Count = 16

10:17:38 TestingEA EURUSD,H1: Count = 17

10:17:38 TestingEA EURUSD,H1: Count = 18

10:17:38 TestingEA EURUSD,H1: Count = 19

10:17:38 TestingEA EURUSD,H1: Count = 20

10:17:38 TestingEA EURUSD,H1: Count = 21

10:17:38 TestingEA EURUSD,H1: Count = 22

10:17:38 TestingEA EURUSD,H1: Count = 23

10:17:38 TestingEA EURUSD,H1: Count = 24

10:17:38 TestingEA EURUSD,H1: Count = 25

10:17:38 TestingEA EURUSD,H1: Count = 26

10:17:38 TestingEA EURUSD,H1: Count = 27

10:17:38 TestingEA EURUSD,H1: Count = 28

10:17:38 TestingEA EURUSD,H1: Count = 29

10:17:38 TestingEA EURUSD,H1: Count = 30

10:17:38 TestingEA EURUSD,H1: Count = 31

10:17:38 TestingEA EURUSD,H1: Count = 32

10:17:38 TestingEA EURUSD,H1: Count = 33

10:17:38 TestingEA EURUSD,H1: Count = 34

10:17:38 TestingEA EURUSD,H1: Count = 35

10:17:38 TestingEA EURUSD,H1: Count = 36

Reason: