Hi all. I am doing an EA and I have good results with it.
but I have noticed that all the bigger losses are concentrated in group of 3-4 in a time interval of 30 minutes.

So I'm trying to code that.. if I have a loss bigger than x pips the trading should be suspended for Y minutes.

how can i do that?

thank you very much