There is an other way to eliminate spread. Instead of opening buy/sell stop orders, ea can track bid price and when price touches one of your levels, ea open a market order.
So this prevents unwanted entries caused by high spread.
So this prevents unwanted entries caused by high spread.