Strategy tester
bmhassene: , works normal then stops suddenly.
| Look in the experts tab. Most likely you'll see a divide by zero. |
| Look in the experts tab. Most likely you'll see a divide by zero. |
In the journal I'm not getting any error
| Look in the experts tab. Most likely you'll see a divide by zero. |
What do you mean by stop? Does the test end or does it stop responding?
If it stops responding then you may be stuck in a loop.
We can only guess without you showing the code.
Then check your for and while loops as you may be getting stuck in an enless loop.
I learned from you that before here :) ... and I don't use anymore loops neither while or for
![]()
The point is not to avoid using loop but to use them properly.
By the way you can have an endless loop without even coding a loop ![]()
Show your code if you need help !
I learned from you that before here :) ... and I don't use anymore loops neither while or for
You didn't learn to not use loops from me.
I doubt that I write any indicator or EA that doesn't use loops. At least I can't think of any.
Hello evrybody,
I'm trying to test my EA with the strategy tester, I download a history of one pair (AUDUSD, EURGBP...) and it starts normal , works normal then stops suddenly. When I try with sample that it came with MT4 (MACDSample) it works properly?
Some advises please. Thanks in advance.