U.S. stocks closed higher Friday, continuing several days of alternating gains and losses as investors weighed a weaker dollar amid options expirations. The dollar traded below recent highs, while the euro held near $1.08. Light sweet crude oil for April delivery rose $1.76 to $45.72 a barrel on the New York Mercantile Exchange, while gold futures gained $15.60 to $1,184.60 an ounce. The Dow Jones industrial average added 168.62, or 0.94 percent, to 18,127.65. The broader Standard & Poor's 500 index climbed 18.82, or 0.90 percent, to 2,108.09. The technology-heavy Nasdaq composite index moved up 34.04, or 0.68 percent, to 5,026.42.