The S&P 500 was up 9.6% for April, led by a gain of nearly 18% for the information technology sector.