Close all trades if one SL is hit

Hi,

Do you know of any EA that closes all open trades and pending orders if a SL of one of the opened trades is hit ? This should happen at any time in one symbol only.

Thanks.

Yes, I do know…

Can you tell me the name or give me the link for it ?

No, i code it severals years ago and dont know where it is. But this wasnt your question

Amando, do you think you can code it again ?