* World shares firm on views Fed will delay paring stimulus
* European shares close at 5-year highs; Wall St slips a tad
* Dollar index steady near 8-month low; dollar gains on yen
The dollar gained and global equity markets traded at five-year highs on Monday, buoyed by a benign outlook for stocks as investors awaited a backlog of U.S. economic data that may yield clues on when the Federal Reserve will begin to cut its stimulus program.
Wall Street retreated a tad after earlier gains on the realization that last week's deal over the U.S. fiscal impasse did not resolve the issue and will likely keep the Fed's bond-buying in place well into 2014, which would be good for stocks.
U.S. stocks trended lower on a less-than-stellar outlook for corporate earnings. Of the 104 companies in the S&P 500 that have sor far reported third-quarter results, 61.5 percent have beaten estimates, slightly lower that a 20-year average.
"It's too early to tell if results are strong, and so far they're not enough to get excited or nervous about," said David Carter, chief investment officer at Lenox Wealth Advisors in New York.
Carter added that early results have suggested that "revenue growth looks mediocre, but valuations remain attractive, so we remain optimistic about equities." he said.
The United States is enjoying moderate growth with tame inflation, a Goldilocks economic climate that is neither too hot nor too cold but has been distorted by the Fed's intervention.
"I wouldn't bet against the market in the short term. Investors as a group seem to have decided that the Fed is on board for the foreseeable future," said Brad McMillan, chief investment officer at Commonwealth Financial in Waltham, Massachusetts. "It's Goldilocks's evil twin."
MSCI's world equity index, which tracks shares in 45 countries, fell 0.03 percent, but the FTSEurofirst 300 index of leading European shares rose 0.27 percent to close at 1,281.09.
Solid corporate earnings from the likes of Philips, whose shares jumped 6.5 percent after the Dutch maker of healthcare equipment and energy-efficient lighting reported a near tripling of its third-quarter net profit, lifted European shares.
The S&P 500 hit a record high early in the session, boosted by gains in Apple after a bullish research note, but lackluster results from McDonald's Corp. weighed on the Dow and S&P, which reversed gains to trade slightly lower. The Nasdaq later retreated as well.
The Dow Jones industrial average was down 27.91 points, or 0.18 percent, at 15,371.74. The Standard & Poor's 500 Index was down 3.12 points, or 0.18 percent, at 1,741.38. The Nasdaq Composite Index was down 2.02 points, or 0.05 percent, at 3,912.26.
The day's U.S. economic data supported views of modest growth and combined with the prospect of renewed political gridlock at the beginning of 2014, the Fed's stimulus program may stay intact for months, if not more.
"This is a weird case, I acknowledge, but as long as things don't get too good, it's actually better. We want to grow a little bit but not fast enough to pull the stimulus back," McMillan said.
U.S. home resales fell in September and prices rose at their slowest pace in five months, the latest signs higher mortgage rates were taking some edge off the housing market recovery.
The National Association of Realtors said on Monday that home sales fell 1.9 percent in September to an annual rate of 5.29 million units. August's sales pace was revised down to 5.39 million units from the previously reported 5.48 million units.
U.S. Treasuries prices dipped ahead of Tuesday's release of employment data for September, after the partial U.S. government shutdown for more than two weeks delayed economic releases and increased concerns that the closures will weigh on growth.
"The (data) expectations are probably that it has a better chance of being stronger because it was pre-government shutdown," said Charles Comiskey, head of Treasuries trading at Bank of Nova Scotia in New York.
The benchmark 10-year U.S. Treasury note fell 5/32 in price to yield 2.6068 percent.
Bund futures dipped 14 ticks to settle at 139.91, having risen more than a point since the U.S. debt deal late on Wednesday. Cash 10-year German yields were 1 basis point higher at 1.85 percent.
The dollar climbed against the yen and the Swiss franc as a few investors positioned for an expected strong U.S. jobs data reading on Tuesday, which will provide new fodder for the debate over when the Fed will begin to scale back monetary stimulus.
Economists polled by Reuters expect jobs growth of around 180,000 and an unemployment rate steady at 7.3 percent.
"For now, all eyes will turn to U.S. nonfarm payrolls data tomorrow, with markets anticipating a print near the 180K level," said Boris Schlossberg, managing director of FX strategy at BK Asset Management in New York. "If the numbers are close to expectations, the greenback could see a relief rebound as the week proceeds."
The dollar rose 0.48 percent against the yen to 98.17 yen , inching toward a near three-week high of 99.00 yen set last Thursday. Against the Swiss franc, the dollar was up 0.03 percent at 0.9020 franc.
The dollar index was up 0.06 percent at 79.700.
U.S. crude slipped below $100 per barrel on pressure from strong supply, but losses were limited by hopes the Fed will delay curbing its money-printing program until next year.
Stocks of U.S. crude oil gained 4.0 million barrels, almost double the forecast for a build of 2.2 million barrels, according to the Energy Information Administration.
Brent crude futures for December delivery slipped 30 cents to settle at $109.64 a barrel.
U.S. crude oil futures for November delivery settled down $1.59 at $99.22 a barrel.