Dow closes up triple digits as 3M climbs, oil bounces

U.S. stocks closed higher Tuesday, helped by a bounce in oil and some earnings beats, ahead of the release of the Fed meeting statement Wednesday. ( Tweet This )

"Again it comes back to our high correlation to oil," said JJ Kinahan, chief strategist at TD Ameritrade.

"I would say there's some short-covering to this rally and there's a little bit of expectation that Apple can help things with earnings tonight," he said.

Read MoreThis chart is sending a scary message

The major averages closed off session highs but held more than 1 percent higher as oil topped $31 a barrel. The Dow Jones industrial average outperformed, closing nearly 1.8 percent higher for its best day since December 4 as 3M surged on its earnings report.

"I think this is a lot of noise, a lot of volatility before we hear from the Fed," said John Caruso, senior market strategist at RJO Futures.

Despite Tuesday's gains, the major averages were still lower by almost 7 percent or more for the year so far and more than 10 percent below their 52-week intraday highs, in correction territory.

Gold futures hit their highest since early November. The rally in the safe-haven asset surprised some analysts.

"I think there's still — bigger picture outside today — concerns about growth and where we're headed. ... Still people are concerned they don't know where energy prices are heading, they don't know what the Fed is going to be saying," said Robert Pavlik, chief market strategist at Boston Private Wealth.

The Dow closed about 280 points higher after earlier adding 300 points. 3M contributed the most to gains, followed by Goldman Sachs, which closed up 2.2 percent.

3M closed up 5.2 percent after posting quarterly results that beat on both the top and bottom line. The conglomerate said recent restructuring moves have made its operation more efficient and positioned it for long-term success.

Energy closed up nearly 3.8 percent to lead all S&P 500 sectors higher and push the index above the psychologically key 1,900 level in the close.

U.S. crude oil settled up $1.11, or 3.66 percent, at $31.45 a barrel, well off session highs of over $32 a barrel. Earlier, Brent briefly climbed 7 percent to top $32.50 a barrel. The gains came amid news OPEC is making renewed calls for rival producers to cut supply alongside its members.

The Nasdaq composite closed up nearly 1.1 percent as Apple reversed earlier losses to close about half a percent higher, while the iShares Nasdaq Biotechnology ETF (IBB) pared an intraday 2 percent decline to close 0.4 percent lower. Earlier, declines in both Apple and IBB briefly dragged the Nasdaq composite into negative territory.

Apple is scheduled to report after the closing bell, while DuPont, Procter & Gamble and Sprint were among those announcing results ahead of the open.

"I think it will be all about earnings and maybe this time earnings can trump oil if it's moving higher," said Peter Cardillo, chief market economist at First Standard Financial.

Read MoreCould Apple turn the tide for stocks?

The Federal Open Market Committee kicked off its two-day meeting Tuesday and is scheduled to release its statement Wednesday afternoon. No change in rates is expected but investors will be scrutinizing the statement for insight into policymakers' views on the economic environment and the future path of tightening.

"I think markets are maybe betting and hoping there will be dovish commentary from the Fed tomorrow. .. If they acknowledge the tightening of the financial conditions and softening in growth people will take them as acknowledging four hikes are off the table," said Peter Boockvar, chief market analyst at The Lindsey Group.

Boockvar and other analysts also attributed some of the gains in stocks to stabilization in commodities, with copper rising to its highest in two weeks.

China's General Administration of Customs said Tuesday that refined copper imports in December rose 34 percent year-over-year, for the fourth consecutive month of strong imports, Dow Jones reported.

"This is an encouraging sign for the copper market but it's likely a peak in the near term," said Dane Davis, commodities research analyst at Barclays.

In economic news, the flash Markit Services PMI for January came in at 53.7, versus the final 54.3 December print.

Consumer confidence was 98.1, up from a slightly downwardly revised December read of 96.3.

The January Richmond Fed Manufacturing Index was 2, versus 6 in December.

Earlier, the S&P/Case-Shiller 20-City Composite rose 5.8 percent year-over-year in November, topping expectations and faster than the 5.5-percent increase in October.

The November FHFA House Price Index rose 0.5 percent from the previous month, or 5.9 percent year-over-year.

Treasury yields held lower, with the 2-year yield near 0.84 percent and the 10-year yield at 2.00 percent.

"I think bonds are rallying too much," said Lawrence McDonald, head of the U.S. Macro Strategies group at Société Générale. He said the Fed statement will likely be more hawkish than markets expect since Fed Chair Janet Yellen is scheduled to testify before Congress in about two weeks — the first of her semi-annual testimonies since the central bank raised rates in December.

The Treasury auctioned 2-year notes at a high yield of 0.86 percent. The bid-to-cover ratio was 2.90 versus the average 3.23, according to StreetAccount.

The U.S. dollar held about 0.3 percent lower against major world currencies, with the euro above $1.08 and the yen at 118.46 yen against the greenback.

In Europe, stocks closed higher as oil bounced. Asian stocks closed sharply lower, with the Shanghai Composite plunging 6.4 percent to its lowest since late 2014. The Nikkei 225 lost 2.35 percent.

The Shanghai index had its worst day since the suspension of the circuit breaker rule in early January. Traders noted a variety of factors behind the sharp decline in Chinese equities, including renewed concerns about capital outflows and disappointment with central bank action thus far.

Symbol
Name
Price
 
Change
%Change
DJIA
---
S&P 500
---
NASDAQ
---

DuPont reported earnings that beat by 1 cent, but revenue came in a touch below estimates due partly to the impact of a strong dollar. The chemical giant is in the process of merging with Dow Chemical, a deal the companies expect to complete in the second half of this year. Shares of DuPont closed about 0.9 percent higher.

Procter & Gamble closed 2.55 percent higher after posting earnings that beat, on revenue that was essentially in line.The consumer products giant also gave 2016 revenue guidance that exceeded forecasts.

American International Group gained nearly 1 percent after the firm announced a restructuring plan that included spinning off its mortgage insurance unit and selling its broker-dealer network, but said a full breakup of the firm would detract from shareholder value. Activist investor Carl Icahn had called for a breakup when he took a stake in AIG late last year.

Freeport-McMoRan said it would look to reduce its hefty debt load and reported a lower-than-expected adjusted loss in the fourth quarter, squeezed by plunging commodity prices, oversupply and flagging Chinese demand. The stock closed 6.6 percent higher.

Sprint, the No. 4 U.S. wireless carrier, reported a smaller quarterly loss, helped by cost cuts and higher number of subscriber additions. Shares closed up 18.65 percent after plunging 12.2 percent Monday on news the firm is cutting at least 2,500 jobs as part of a $2.5 billion cost savings plan.

Read MoreCommerce in chaos: Can anyone take on Amazon?

The Dow Jones industrial average closed up 282.01 points, or 1.78 percent, at 16,167.23, with 3M leading advancers and Coca-Cola the only decliner.

The Dow transports closed up 2.47 percent with Avis Budget surging 8.56 percent to lead all constituents higher.

The Russell 2000 ended about 2 percent higher.

The S&P 500 closed up 26.55 points, or 1.41 percent, at 1,903.63, with energy leading all 10 sectors higher.

The Nasdaq composite closed up 49.18 points, or 1.09 percent, at 4,567.67.

The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, held near 22.5.

About five stocks advanced for every decliner on the New York Stock Exchange, with an exchange volume of about 1.0 billion and a composite volume of 4.3 billion.

Gold futures for February delivery settled up $14.90 at $1,120.20 an ounce.

—CNBC's Peter Schacknow and Reuters contributed to this report.

On tap this week:

Tuesday — First day of FOMC meeting

Earnings: Apple, AT&T, CA, Capital One, Stryker, VMWare, Ethan Allen, U.S. Steel

Wednesday

Earnings: Biogen, Boeing, EMC, Fiat Chrysler, Novartis, United Tech., Anthem (was WellPoint Health), Norfolk Southern, St. Jude Medical, State Street, eBay, Facebook, Paypal, Qualcomm, Citrix, Discover Fincl., Juniper Networks, Lam Research, SanDisk, Texas Instruments

7 a.m.: Mortgage applications

10 a.m.: New home sales

10:30 a.m: Oil inventories

1 p.m.: Five-year note auction

2 p.m.: FOMC statement

Thursday

Earnings: Abbott Labs, Alibaba, Altria, Bristol-Myers Squibb, Caterpillar, Deutsche Bank (prelim), Eli Lilly, Ford, AutoNation, Baker Hughes, Harley-Davidson, Hershey, Time Warner Cable, Under Armour, Amazon.com, Amgen, Microsoft, Visa, Electronic Arts, KLA-Tencor, Western Digital

8:30 a.m. Initial claims

8:30 a.m. Durable goods

10 a.m. Pending home sales; housing vacancies

10:30 a.m.: Natural gas inventories

11 a.m.: Kansas City Fed manufacturing index

1 p.m. Seven-year note auction

Friday

Earnings: AbbVie, Chevron, Colgate-Palmolive, Honda Motor, Honeywell, MasterCard

8:30 a.m. Real GDP Q4; international trade; employment cost index

9:45 a.m. Chicago PMI

10 a.m. Consumer sentiment

3:30 p.m. San Francisco Fed President John Williams on panel

*Planner subject to change.

More From CNBC.com: