Stock indexes in the U.S. closed up Tuesday with the S&P 500 Index gaining 0.58%. Meanwhile, the Dow gained 0.49%, and the NASDAQ Composite Index increased 0.45%.