The real mistake was the use of a very tight stop loss. If you're investing and you want to stay in the trade for a few weeks to months then you have to use stop-loss that is wide enough that a small blip in the market does not hit it. This means, put your stop loss below a major swing low.