The S&P 500 climbed closer to a record high on Tuesday, lifted by energy stocks and a solid quarterly report from Johnson & Johnson.
After dipping into negative territory and then recovering, the S&P 500 ended less than 2 percent short of last May's record high close, with investors laser-focused on a growing flow of first-quarter earnings scorecards.
Following two months of steady gains, the S&P 500 is trading at about 17.8 times expected earnings, the highest level since 2004, according to Thomson Reuters Datastream.
Chevron and other energy stocks got a lift from a rally in crude after a strike by oil workers in Kuwait dented the OPEC country's output.
A recent rebound in oil and signs that the U.S. economy is slowly improving have helped stocks rally from a steep selloff earlier this year that had pushed the S&P 500 down as much as 10.5 percent.
Earnings of S&P 500 companies are seen falling 7.6 percent on average and revenues are seen dipping 1.3 percent, with the energy sector weighing heavily, according to Thomson Reuters I/B/E/S.
"Investors are very focussed on revenue," said Chuck Self, Chief Investment Officer of iSectors in Appleton, Wisconsin. "After all the cost cutting over the past five years, now we need to start seeing revenue growth."
The Nasdaq Composite .IXIC dropped 0.4 percent to 4,940.33, hobbled by a 23.16-percent slide in Illumina (ILMN.O) after its preliminary results fell short of expectations.
Also hitting tech sentiment, IBM (IBM.N) fell 5.59 percent after it reported its worst quarterly revenue in 14 years, and was the biggest drag on the Dow and S&P 500.
Netflix (NFLX.O) shares fell 12.97 percent after the video streaming service's subscriber forecast missed estimates.
After the bell, Yahoo (YHOO.O) posted its first-quarter results and shares moved up 1 percent. Intel (INTC.O) shares fell 2.4 percent after it announced plans to reduce its global workforce by 11 percent.
During the session, eight of the 10 major S&P sectors rose, led by a 2.13-percent rise in the materials sector .SPLRCM. Energy .SPNY was up 1.88 percent.
Johnson & Johnson (JNJ.N) rose 1.57 percent after it reported marginal growth in quarterly sales. The stock was the biggest positive influence on the S&P 500.
Goldman Sachs (GS.N) shares added 2.28 percent after better-than-expected quarterly profit.
Advancing issues outnumbered decliners on the NYSE by 2,119 to 904. On the Nasdaq, 1,529 issues rose and 1,297 fell.
The S&P 500 index showed 44 new 52-week highs and no new lows, while the Nasdaq recorded 63 new highs and 20 lows.
About 7.1 billion shares changed hands on U.S. exchanges, above the 6.7 billion daily average for the past 20 trading days, according to Thomson Reuters data.
(Additional reporting by Abhiram Nandakumar in Bengaluru; Editing by Nick Zieminski)
This story has not been edited by Firstpost staff and is generated by auto-feed.