How the Dow Jones industrial average fared Friday

Stocks advanced Friday, capping a strong week, helped by a recovery in the price of oil and earnings from Olive Garden owner Darden Restaurants and sportswear giant Nike. The Nasdaq composite index inched closer to its all-time high set at the height of the dot-com bubble.

On Friday:

The Dow rose 168.62 points, or 0.9 percent, to 18,127.65.

The Standard & Poor's 500 index added 18.79 points, or 0.9 percent, to 2,108.06.

The Nasdaq composite rose 34.04 points, or 0.7 percent, to 5,026.42.

For the week:

The Dow is up 378.34 points, or 2.1 percent.

The S&P 500 index is up 54.66 points, or 2.7 percent.

The Nasdaq is up 154.66 points, or 3.2 percent.

For the year:

The Dow is up 304.58 points, or 1.7 percent.

The S&P 500 index is up 49.16 points, or 2.4 percent.

The Nasdaq is up 290.36 points, or 6.1 percent.