Stocks gained ahead of a week packed with central-bank meetings, company results and economic releases. Investors are positioning for several events that could shift market expectations.