Overnight wide spread

 
Hello. What is your automated solution to avoid overnight widened spread ?
 
Yashar Seyyedin: Hello. What is your automated solution to avoid overnight widened spread ?

One possibility is to close the trade before end-of-day, and then only place it again if conditions are valid.