- Probability, how do you turn it into a pattern ...?
- Error 4806 CopyBuffer() With Multi Timeframes
- [Archive!] I'll write an advisor for FREE
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.
- But we don't - no mind readers here - post your code (SRC)
- "imbricated" is not an English word. I have no idea what you mean.
- The journal ALWAYS displays the last print at the top.
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

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use