Invariably, the hottest stocks or funds in one period are the worst performers in the next. And just as herding induces investors to take greater and greater risks during periods of euphoria, so the same behavior often leads many investors simultaneously to throw in the towel when pessimism is rampant.