The markets were in a good mood. Being cautious about moves to the upside is important. Here’s a breakdown on how to stay nimble.