The main problems with this pattern are:
- Trading the initial breakout which often turns into a fake breakout
- Trading a bounce off the range levels and running into a real breakout
The safest method trading the sideways range is it to wait for a confirmed breakout and then enter on the retest. The retest often has the goal to shakeout all the early breakout traders who have moved their stops too soon to break even.