The stock market had strong weekly gains after huge earnings, the latest Federal Reserve move and a Trump-Xi meeting.