NEW YORK — Uneven corporate earnings news left the stock market mixed on Tuesday.

Most major indexes closed slightly lower, except for the Dow Jones industrial average. Yet even there the gain was due to the increase in one stock, United Technologies.

Better earnings from big banks, health insurers and other companies have helped drive the stock market higher this month. On Tuesday, however, the encouraging and the discouraging seemed evenly matched. Wendy's and United Technologies surged after posting stronger results than financial analysts expected. Netflix and the Altria Group, maker of Marlboro cigarettes, sank after their results fell short.

"In the absence of major economic news, the focus is on earnings this week," said David Joy, chief market strategist at Ameriprise Financial. "And there's nothing today to drive the market dramatically one way or another."

The Dow rose 22.19 points, or 0.1 percent, to 15,567.74. If not for a 3 percent gain in United Technologies, the Dow would have closed down a point.

United Technologies rose $3.01 to $105.12 after the conglomerate said strong orders for commercial airline parts and elevators helped lift its profit.

It was a busy day for earnings as 35 companies in the S&P 500 were scheduled to turn in results. The second-quarter scorecard looks good so far. More than six out of every 10 companies have posted earnings that surpassed Wall Street's expectations, according to S&P Capital IQ.

Analysts forecast that second-quarter earnings for companies in the S&P 500 increased 3.8 percent over the same period last year.

"The bar has been set pretty low," said Joel Huffman, senior portfolio manager at U.S. Bank Wealth Management. So, it's hardly a surprise that many companies are able to jump over it, he said.

Sales are another story. Analysts expect revenue to shrink 0.7 percent in the second quarter. Huffman said he's encouraged that many banks and makers of consumer-discretionary goods have reported stronger U.S. sales. "It's an indication of the underlying growth in the U.S. economy versus other parts of the world," he said.

Apple rose $21, or 5 percent, to $439.99 in after-hours trading, when the company reported earnings and revenue that beat Wall Street's forecasts.

Among other stocks making big moves:

— Wendy's jumped 55 cents, or 8.2 percent, to $7.23. The fast-food company's net income came in above Wall Street's expectations. Wendy's also announced plans to sell 425 restaurants as franchises and raised its quarterly dividend by a penny to 5 cents.

— Netflix dropped $11.70, or 4.5 percent, to $250.26. The company said late Monday that it signed up fewer subscribers than financial analysts had projected. Big expectations have propelled Netflix's stock up 170 percent since the start of the year, adding more pressure on the company to deliver amazing numbers.

In the market for U.S. government bonds, the yield on the 10-year Treasury note rose to 2.50 percent from 2.48 percent late Monday. Long-term interest rates have swung in a wide range since May, a result of traders speculating over when the Federal Reserve will begin pulling back on its bond-buying program.

The rate on the 10-year note, a benchmark for most loans, was trading at 1.61 percent on May 1. It rose as high as 2.75 percent by the second week of July.