EA stops trading in middle of the testing
-
I created an EA but it's a bit complicated . it has almost 200 blocks . its working right but after some trades its stop trading . do any one know what is the problem (its on MT5)
-
There can be hundreds of reasons for that to happen, but in 99% of cases the reason is a problem with the logic used. Could you please be more specific?
-
Yes I think you are right , I had change the logic in some blocks and problem solved , thank you
-
how ever I have a little problem too , I set some blocks and they work as well as I want but some time that block who was exist don't work , what is the problem what can I do?
-
What do you exactly mean?
-
I set some conditions for EA that when they are true EA must send order (I see that conditions with comment block on the chart), EA work right and send order truly but some times although that conditions are true but EA don't send order
-
You can you use variables to do that. For example, when the condition is right, a boolean variable is changed from false to true. Then on a separate blot tree you can connect as many conditions blocks requesting for all relevant variables to be true at the same time to trigger a trade. But you will need to change the variable to flase again when necessary, of course.