Why does my ea work in the strategy tester but not in the live account?
-
Why does my ea work in the strategy tester but not in the live account?
It means that at first it starts working in the live account and the initial positions are also opened, but then it does not react in any way, while in the tester strategy it continues to work properly...

-
Is hard to say with out looking, add a shared link to look at.
-
-
-
When you have such a vast amount of blocks it is nearly impossible to work out what could be causing the problem. Strip this back until the problem is in a few blocks.
-
@jstap I've gone through almost every step. From scheduling filters to different parameters like slippage and so on. But I couldn't find the problem. I used to have more complex robots with more blocks that are working correctly, and the strange thing is that in the strategy tester it works correctly, but in the live account only the initial positions are made and the next positions that are based on the terms are not executed.
Please help because this robot is made by the customer's order and is upset because of the cost it has cost and expects to solve the problem as soon as possible. -
@ehsanbakhtiyar I tested your file, just out of curiosity. I have no idea what the code you put in the pink "check loss" block means, but it seems like this block is causing problems
-
The amount of blocks isn't the problem it's just finding it. I find problems by process of elimination, so turn everything of that is extra. This way you can work out if it is one particular tree/block that's causing the issue.
-
@jstap The problem is almost solved... I put the same amount of check loss block into the variable and then set the exceeding value to open a new position... In fact، it didn't make any difference in terms of mathematical logic، but it works in live mode as well.
-
puedes compartirlo ya resuelto el hilo ara verlo trabajar por favor?
-
@DragonZueloTrends said in Why does my ea work in the strategy tester but not in the live account?:
Can you share it already solved the thread to see it work please?
people
shared/mEQMt1QDb