Higher earnings from several U.S. companies including Expedia also brought buyers to the market.
The back-to-back increases Thursday and Friday were enough to erase a steep loss from Monday.
The Dow Jones industrial average rose 165 points, or 1.1 per cent, to 15,794.
The Standard & Poor's 500 rose 23 points, or 1.3 per cent, to 1,797. Health care and industrial stocks rose the most.
The Nasdaq composite increased 68 points, or 1.7 per cent, to 4,125.
Expedia led the gains in the S&P 500 index. Expedia surged 14 per cent after reporting that its profit and revenue jumped as hotel bookings increased.