Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 633
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
right?
You can do this, you can open a folder and select the right tester file - it depends on the task.
you can open the folder
Alpari Limited MT4\tester\logs
right?
Good afternoon!
Guys, I've got a loop. It seems to be simple as pie.
int r=10;
for(int i=r; i<300; i++)
{
Print(i);
}
So, i starts printing from 250 instead of 10.
Why and how can I fight it?
Good afternoon!
Guys, I've got a loop. It seems to be simple as pie.
int r=10;
for(int i=r; i<300; i++)
{
Print(i);
}
So, i starts printing from 250 instead of 10.
Why and how can I fight it?
What it says about skips doesn't tell me anything.
But if we put a condition in this loop, e.g.
if(i==20) Print(i);
it is not satisfied.
What it says about skips doesn't tell me anything.
But if you put a condition in this loop, e.g.
if(i==20) Print(i);
it is not satisfied.
What is this panic? An experienced coder gave you a hint but it "does not tell you anything". Then you will have to learn how to ask questions correctly.
Good afternoon!
Guys, I've got a loop. It seems to be simple as pie.
int r=10;
for(int i=r; i<300; i++)
{
Print(i);
}
So, i starts printing from 250 instead of 10.
Why and how can I fight it?
This is how I check in the debugger and in the tester.
It comes out like this, as I wrote above.
Print is not printed from 10, but from 250...
This is how I check in the debugger and in the tester.
It comes out like this, as I wrote above.
Print is not printed from 10, but from 250...
This is how I check in the debugger and in the tester.
It comes out like this, as I wrote above.
Print is not printed from 10, but from 250...
In the tester and in the debugger step by step are two big differences...