Investors should avoid making decisions based on fear or greed.