2 lost per day
-
how can I do that if the EA loses an operation for example on Tuesday, that day do not put more operations and that Wednesday again look for operations
-
I would say that you need some project branches to get what you are looking for.
bool StopTrade (variable to be modified depending on the conditions)
Branch - 1 -> Conditions to trade will be checked out if StopTrade == false

Branch - 2 -> If a closed trade is a lose, then StopTrade == true

"For each closed trade" with n = 1 (newest to oldest) will load only the last trade closed. If the profit of that last trade is < 0 (lose), then StopTrade == true. With that, the conditions to trade will not be checked out anymore until the variable StopTrade become false.
Branch - 3 -> Reset StopTrade for each new day

That could be an approach. NOT TESTED
-
@josecortesllobat thanks