# For Loop problems with counting. Please help!

To add comments, please log in or register
13

Hello,

First of all: please excuse my English skills, it's not my native language.

I'm new here and since I started learning MQL this question might be dumb but I really don't know what else to do to solve  this problem.

I try to make a For Loop which counts from 0 to 3999. The problem is that it starts from 3750 not from 0. Is 250 a limit for the "for loop"?

If there is a solution for this, how can I solve it?

```for(EMAvg=0;EMAvg<=3999;EMAvg++)
Print(EMAvg);
```

Thanks in advance

JBeats

Moderator
10561

It doesn't start from 3750.

When there are a lot of prints, the Experts tab doesn't record all of them.

You have to open the experts log and you will see that it did print everything

13

Oh... sorry I didn't knew that. Thank you so much!

I was trying to solve this for 3-4 days lol.

Thanks again!

15554

 GumRai: You have to open the experts log and you will see that it did print everything Right click on an entry -> Open
To add comments, please log in or register