@meshii
@TipsyWisdom meant that brokers dont like to get that much orders within short period of time, so they slow your order execution by some seconds which gives you slippages on open and close (or lets say the brokers lp).
the solution should work, just check that the min distance of pending orders isnt bigger, otherwise you can open market orders if the price is matched...