i have been searching endlessly to find a way to get my bot to stop trading after 3 consecutive losses, every time I've tried to add pause functions to block 4 or even within "this block runs every tick" it still doesn't respect the codes inserted, I am at a total lost. Could you please code add these features?
Conditions are :
IF 4 CONSECUTIVE LOSSES, THEN PAUSE FOR 5 MINS , THEN START TRADE AGAIN.
IF LOSS IS MORE THAN MAX ACCEPTABLE LOSS , THEN PAUSE TRADING FOR 40 MINS, THEN START TRADE AGAIN.
I've attached a screenshot of my current blocks and xml file, please let me know

Bot XML Google Drive- https://drive.google.com/file/d/1mXdtvpsAgy0NPzzYhy91i8WGNWZsZkyW/view?usp=share_link
Thanks in advance