Help to program my robot to stop with a maximum of 3 consecutive losses and reactivate 2 days later
-

-
It is a simple robot for crossing moving averages of 5, 20 and 50, it works well but in countertrends it has many consecutive losses and I think that if I give it a break for two or 3 days it would be much more profitable
-
@josejuan520 You can do something like this:
https://fxdreema.com/shared/YZhRa6MLb
Please notice that I used block number 1 as your 'No trade' block. I'm sure your complete project is bigger than you show in your screen shot, you you will have to adjust the block numbers accordingly. Also notice that block 5 is switched off by default for the structure to work properly.