The Dow Jones industrial average picked up 61.07 points, 0.39 percent, to close at 15,570.28.
The Nasdaq closed at 3,943.36 points, up 14.40, or 0.37 percent.
The Standard & Poors 500 picked up 7.70 points, 0.44 percent, to finish trading at 1,759.77.
Microsoft rallied after the software giant reported better-than-expected quarterly results.
Amazon climbed after the online retailer reported a third-quarter loss that was narrower than expected and revenue that was higher than forecast.
Orders for durable goods rose 3.7 percent in September from August, bettering economists' forecasts, the U.S. Commerce Department reported.
The Nikkei 225 index in Tokyo lost 398.22 points, 2.75 percent, to close at 14,088.19.
The Shanghai composite index in China was off 31.37 points, 1.45 percent, to 2,132.96.
In London, the FTSE 100 added 8.16 points, or 0.12 percent, to finish trading at 6,721.34.
Germany's DAX index added 5.11 points, 0.06 percent, to 8,985.74.
The CAC 40 in France closed at 4,272.31, off 3.38 points, 0.08 percent.
On the New York Stock Exchange, 1.9 billion issues advanced while 1.2 billion declined on volume of 3.16 billion shares traded.
On currency markets, the euro traded at $1.38 and the dollar rose to 97.41 yen.
On the Comex division of the New York Mercantile Exchange, gold gained $2.20 to $1,352.50 per troy ounce.
Silver lost 18 cents to $22.64 per ounce.
Ten-year benchmark treasuries yielded 2.506 percent.