Why is EA taking multiple OrderSend on one signal?

 
Can anyone help explain to an amateur why my EA takes several positions each signal as soon as the fist trade stops. I want it just take one trade.
 

 you need to include a check statement to check the number of trades took by the ea by using the magic number of the ea before checking the signal trigger

 
Jonathan Mojatau:

 you need to include a check statement to check the number of trades took by the ea by using the magic number of the ea before checking the signal trigger

Okey makes sense, so were can i find that statement tho?