Spread widening EA protector?

 
Hello i just lost a long trade due to spread widening and volatility right at the broker break time (4PM my time zone). Two minutes before the break time the spread starting to wide, and then it spiked down a lot, way down bellow my stop. I was wondering if there is a expert advisor or something that close my trades (still with profit) if those market conditions start happening.
 
logart89:
Hello i just lost a long trade due to spread widening and volatility right at the broker break time (4PM my time zone). Two minutes before the break time the spread starting to wide, and then it spiked down a lot, way down bellow my stop. I was wondering if there is a expert advisor or something that close my trades (still with profit) if those market conditions start happening.
Use a dynamic stoploss that also widens when spread widens.