NEW YORK (AP) — Stocks reversed course and moved mostly higher Tuesday, breaking a four-day losing streak.
The gainers included retailers and media companies. Strong quarterly results from D.R. Horton boosted shares of homebuilders.
Health care stocks including drug companies also made gains, while Apple dragged down the technology sector. Analysts at Credit Suisse said a slowdown in the company’s orders for components suggests demand for the new iPhone 6 is weak.
The Dow Jones industrial average rose 27.73 points, or 0.2 percent, to 17,758.21. The Standard & Poor’s 500 index added 3.14 points, or 0.2 percent, to 2,081.72. The tech-heavy Nasdaq composite gave up 12.06 points, or 0.2 percent, to 5,083.24.
Stocks spent most of Tuesday in the red, then turned positive in the last hour and a half of trading. The S&P 500 had fallen 1.5 over the previous four trading days. Most of that loss came on Monday, when the index took its biggest dive in six weeks.
Botox maker Allergan was one of the biggest gainers in health care. The Irish company, which has held talks with competitor Pfizer about a potential sale, rose $9.88, or 3.3 percent, to $306.70. Drugmakers Perrigo, Endo and Mallinckrodt all traded higher.
Apple lost $3.80, or 3.2 percent, to $116.77. The world’s most valuable company reported record earnings just two weeks ago, boosted by surging sales in China. Apple gets more than two-thirds of its revenue from iPhone sales, and some investors are worried that Apple won’t be able to maintain its growth as worldwide smartphone sales slow down.
Apple’s loss weighed down tech stocks. Tech stocks have had a strong year, rising more than 6 percent, the second-best industry gain in the S&P 500.
While tech and health care stocks have performed well this year, some companies could have a rougher road ahead. With the Federal Reserve poised to raise interest rates, the dollar could get stronger. That would be a source of pain for semiconductor makers and drug companies, said Jack Ablin of BMO Private Bank.
“The types of companies that could get hurt are the ones that rely on exports for their growth and profits,” he said.
Chipotle Mexican Grill’s restaurants in Washington state and Oregon could reopen in a few days after. A total of 43 locations were closed because of an E. coli outbreak, and tests for the bacteria at Chipotle restaurants came back negative. Shares of Chipotle rose $19.59, or 3.2 percent, to $628.88.
Homebuilder D.R. Horton rose $2.38, or 8.3 percent, to $31.35 after its fiscal fourth-quarter results surpassed analyst estimates. That lifted shares of its competitors: PulteGroup rose 63 cents, or 3.6 percent, $18.19 and Lennar added $1.60, or 3.4 percent, to $49.40,
Gap lost 40 cents, or 1.4 percent, to $27.29 after the retailer posted disappointing results for October, including lower overall sales. Earlier in the day its stock fell as much as 6 percent.
Industrial equipment and software maker Rockwell Automation fell $3.61, or 3.4 percent, to $104.18 after its earnings came up short of what analysts were looking for.
Bond prices didn’t move much. The yield on the 10-year Treasury note dipped to 2.33 percent from 2.34 percent a day earlier.
Benchmark U.S. crude rose 34 cents, or 0.8 percent, to close at $44.21 a barrel in New York. Brent crude, a benchmark for international oils, picked up 25 cents, or 0.5 percent, to close at $47.44 a barrel in London. Heating oil rose 0.9 cents to $1.487 and wholesale gasoline slipped 0.9 cents to $1.362 a gallon. Natural gas rose two cents to $2.32 per 1,000 cubic feet.
The dollar rose to 123.19 yen from 123.11 yen on Monday. The euro slipped to $1.0721 from $1.0758.
Gold inched up 40 cents to $1,088.50 an ounce. Silver fell 5.7 cents to $14.36 an ounce. Copper fell 1.25 cents to $2.2175 a pound.