For Loop problems with counting. Please help!

Back to topics list To post a new topic, please log in or register
avatar
4
JBeats 2015.11.18 23:01
 

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 

avatar
Moderator
3418
GumRai 2015.11.18 23:14 #
 

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

avatar
4
JBeats 2015.11.18 23:22 #
 

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

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

 

Thanks again! 

avatar
13001
WHRoeder 2015.11.19 13:00 #
 
GumRai: You have to open the experts log and you will see that it did print everything
Right click on an entry -> Open

Back to topics list  

To add comments, please log in or register