NEW YORK (TheStreet) -- Just as it did a day earlier, the S&P 500 barely went anywhere. That was not for lack of trying, though, with wild swings in the red seen throughout the day, moves closely correlated with fluctuations in oil prices. 

The S&P 500 closed down 0.1%, while the Dow Jones Industrial Average slipped 0.25%. Both indexes were dragged on by a mixed quarter from world's largest retailer Wal-Mart (WMT) - Get Report . The company earned $1.61 a share, 8 cents higher than expected, but total revenue of $131.56 billion missed forecasts by $800 million. Shares were down 3.2%.

By day's end, only the Nasdaq had made any progress, closing its seventh straight day with gains. The tech-heavy index added 0.37%, propelled forward by better-than-expected earnings out from Priceline (PCLN) and Discovery Communications(DISCA) - Get Report

Priceline jumped 8.5% after recording a 22% increase in net income over the quarter. The online travel company said total gross bookings increased 17% to $10.7 billion. Discovery Communications added 1.5% after profit surged in its fourth quarter, beating estimates, on strength in U.S. advertising. Though international networks revenue jumped 17%, top-line growth was hurt somewhat by foreign exchange headwinds.

U.S. crude inventories increased 7.7 million barrels over the week ended Feb. 3, above 4.9 million barrels a week earlier, according to the Energy Information Administration. The reading was far less than an estimate from the American Petroleum Institute on Wednesday that weekly inventories had increased 14.3 million barrels.

"Someone has got to flinch, whether it be a country or a company," said Cornerstone Financial Partners' Jeff Carbone. "We don't think it's going to continue to stay down because we do think someone is going to pull back production at some point, but we still don't think we've seen the bottom as of yet."

West Texas Intermediate crude recovered from a 5% drop earlier Thursday, but remained 1.5% lower at $51.35 a barrel. Oil prices are at half their mid-summer high as a drop in U.S. rig counts and a number of oilers cutting future investments isn't seen as enough to remedy global oversupply and tepid demand.

Oil companies including Chevron(CVX) - Get Report , Royal Dutch Shell (RDS.A) and BP(BP) - Get Report all traded lower. Exxon Mobil(XOM) - Get Report was already down 1.7% after California ordered the shutdown of its Torrance refinery following a major fire on Wednesday. The refinery could be closed for as much as six months while an investigation is ongoing.

Some of the largest public utility companies such as Duke Energy(DUK) - Get Report , NextEra Energy(NEE) - Get Report , Dominion Resources(D) - Get Report and Southern Co.(SO) - Get Report slid. The Utilities SPDR ETF (XLE) - Get Report dropped 1%.

T-Mobile(TMUS) - Get Report was up 2.7% after reporting a surge in fourth-quarter revenue. The telecom earned 12 cents a share over the quarter, 7 cents better than expected.

U.S. jobless claims fell 21,000 to 283,000 for the week ended Feb. 13. Economists had expected 290,000 new claims for unemployment benefits over the week.

The Philadelphia Fed Survey reported general business conditions falling to 5.2 in February from 6.3 a month earlier. Economists had expected a reading of 8.2. The survey is used as a case study for manufacturing conditions to forecast growth across the Fed districts.

"Whether this is in part a reflection of a stronger dollar over the past several months remains to be seen, but it does go hand-in-hand with a dip in new orders," said Andrew Wilkinson, chief market analyst for Interactive Brokers. "For now, the indicator can possibly be overlooked, but it is a modest red flag to keep an eye on going forward."

After the bell, Noodles & Co.(NDLS) - Get Report plummeted more than 13% after missing analysts' estimates on its top- and bottom-line. Comparable-restaurant sales increased 1.3% over the quarter. 

Nordstrom(JWN) - Get Report slipped 2.7% after reporting fourth-quarter profits of $1.32 a share, 3 cents short of estimates. 

-- Written by Keris Alison Lahiff in New York.