NEW YORK — U.S. stocks are edging higher in midday trading as the market comes off a massive two-day rally.

The Dow Jones industrial average was up four points, less than 0.1 percent, to 17,782 as of 11:45 a.m. Eastern time Friday.

The Standard & Poor's 500 rose five points, or 0.3 percent, to 2,066. The Nasdaq composite added 11 points, or 0.2 percent, to 4,760.

The S&P 500 is headed for its second-biggest weekly gain this year.

CarMax jumped 10 percent after the used car dealership chain reported a surge in its latest quarterly earnings.

Nike fell 4 percent after a drop in orders from Japan and developing markets in Asia overshadowed a strong quarter.

The price of crude oil rose $1.80 to $56.16 a barrel in New York.