You can then place a limit-sell order a few pips below that resistance level so that your short order will be filled when the market moves up to that specified price or higher.
The best way to protect yourself is to use limit orders when placing an order to buy or sell a stock or an exchange-traded fund. (See How Your Buy and Sell Orders Get Filled for more.) Look at the bid-ask spread and set your price limit at the bid for selling a stock and at the ask for buying a stock.