A recent rally flipped the stock from a loss to a hard-fought gain in an overbought market.