A rally in crude oil lifted shares of energy firms and saved stocks from a tech-driven slump. Oil rose $2.40 to $77.55 a barrel, boosting the likes of Chevron and Exxon. Google and IBM both saw losses as traders bet against the firms ahead of their third-quarter earnings reports. The Dow rose 47 points to close at 10,063. The Nasdaq added 1 point, settling at 2,173, and the S&P 500 gained 4 points to 1,096, reports the Wall Street Journal.