U.S. stocks are closing higher after three straight weeks of losses. Health care and utilities stocks had the biggest gains on Monday.

On Monday:

The Dow Jones industrial average rose 228.11 points, or 1.3 percent, to 17,977.42.

The Standard & Poor's 500 index gained 27.79 points, or 1.4 percent, to 2,081.19.

The Nasdaq composite climbed 57.75 points, or 1.2 percent, to 4,929.51

For the year:

The Dow is up 154.35 points, or 0.9 percent.

The S&P 500 index is up 22.29 points, or 1.1 percent.

The Nasdaq is up 193.45 points, or 4.1 percent.