Wait until the market pushes above the current resistance and take your position above it when it breaks and retest the resistance making it a support. Take your buy order...
You could also put pending orders for buys and you can take the right trades if the set up plays out.