Stocks closed mostly higher on Wall Street Tuesday, nudging the S&P 500 and Nasdaq to all-time highs for the second straight day. Health care companies, retailers and banks rose. Technology stocks fell after federal regulators said they are ramping up a probe into Microsoft and other tech giants. On Tuesday: The S&P 500 index rose