how to say if we have more than two sl don't trade
-
Hi I want to make this condition but I can't.
how to say if we have more than two sl don't trade. -
There is a block called For Each Closed Position, combined with Check Loss Block might be a starting point. You will have to define what you mean buh "have more than 2 SL"; 2 SL in a row ? 2 SL of the last 10 trades etc.
-
@doeveR
I want the robot to not trade for an hour if there are two consecutive losses. -
That seems possible. Loop through your Closed positions and check for each loss-trade how long ago it was closed (use block check age). With this you should be able to achieve what you describe.