Please can someone code the following EA

 

Hello! Could someone please make an EA which will close all the open orders regardless of them being on + or - pips, when one position hits its Stop Loss?