Dow Claws Higher, Led by Microsoft

The Dow and Nasdaq clawed higher Tuesday after several positive analyst comments on Microsoft.

But weakness nagged at the market, particularly the retail sector, after weak outlooks from Home Depot and Target. Plus, investors were parsing a slew of Fed comments.

Microsoft was the best performer on the Dow after several analyst upgrades. Morgan Stanley raised its price target on the stock, citing encouraging demand for Windows 7 and the outlook for the holiday season.

UBS analyst Brent Thill on Monday slapped a "buy" rating and $34 price target on Microsoft stock, which is currently just shy of $30.

Thill also has a "buy" on Adobe and Oracle , with price targets of $43 and $27, respectively.

Telecoms were the only advancers among 10 key S&P sectors today, with gains across the smartphone sector: Palm was up 4 percent, while Leap Wireless was up more than 1 percent. Garmin has been higher for much of the week.

Home Depot was the biggest decliner on the Dow in the morning session after the home-improvement chain beat earnings expectations and raised its full-year outlook but said its markets remain under pressure. And, when you break down their forecast, the fourth-quarter outlook was below consensus.

Caterpillar and American Express rounded out the Dow's bottom three.

Target reported its earnings rose 18 percent, snapping eight quarters of decline, but was also cautious on the fourth quarter amid weak sales results for early November, sending its shares lower.

Consumer-discretionary stocks were among the day's worst performers, with the S&P discretionary-sector index down 1.4 percent.

Winterizing Your Portfolio - A CNBC Special Report
Winterizing Your Portfolio - A CNBC Special Report

As for the day's data points: Producer prices rose 0.3 percentin October, with the core rate dropping 0.6 percent. Economists were looking for an increase of 0.5 percent and a drop of 0.1 percent, respectively.

And industrial production climbed 0.1 percentlast month, less than the 0.4-percent gain expected.

The dollar bounced backfrom a 15-month low on Monday after rare comments from Fed Chairman Ben Bernanke on the dollar. Bernanke said the central bank was ""attentive to implications of changes in the value of the dollar," but reaffirmed that the Fed planned to keep rates low for an "extended period."

Speaking in Hong Kong, San Francisco Fed President Janet Yellen said setting interest rates can play a role in averting crises, but whether they should be set in response to asset prices is still an open question. Those remarks echoed similar comments from Bernanke yesterday.

Richmond Fed President Jeffrey Lacker said a recovery is "solidly" underway and he expects the economy to grow at a "reasonable pace" next year. But he also made remarks that may be seen as a signal of Fed tightening, saying pockets of sluggishness in the economy should not prevent the Fed from beginning to unwindits extraordinary level of support.

"If we hope to keep inflation in check, we cannot be paralyzed by patches of lingering weakness, which could persist well into the recovery," Richmond Federal Reserve Bank President Jeffrey Lacker said in a speech to members of the Virginia House of Delegates.

The Dow briefly turned positive after Lacker's remarks before dropping to new lows for the day.

Just a few minutes later, the Fed announced plans to cut the maturity on discount-window loans to 28 days from 90 days amid signs of improvement in financial markets. The Fed had extended the timeframe when the financial crisis first hit in August 2007.

Two prominent billionaires will be influential in our stocks to watch list, as Warren Buffet's Berkshire Hathaway and the Bill and Melinda Gates Foundation have both increased their stakes in a number of companies, according to their latest quarterly filings.

Berkshire has increased its stake in Wal-Mart, while lowering its holdings in ConocoPhillips and NRG Energy .

It's also reported news takes in Nestle, Republic Services, and Travelers.

The Gates Foundation has boosted its holdings in Coca-Cola, McDonald's, and Waste Management .

Still to Come:

WEDNESDAY: Weekly mortgage applications; CPI; housing starts; weekly crude inventories; Earnings from BJ's, Limited
THURSDAY: EU chooses new president; Fed's Plosser, Fisher speak; Ghosn, Rattner speak; weekly jobless claims; leading indicators; Philly Fed; Geithner speaks; Earnings from Sears, Dell, Gap
FRIDAY: Fed's Plosser speaks; state-by-state jobs report

Send comments to cindy.perman@nbcuni.com.