* Yuan drops most since October 2011 after PBOC moves
* Wall St edges lower, with record high elusive
* Mixed U.S data boosts gold prices
By Chuck Mikolajczak
NEW YORK, Feb 25 (Reuters) - Stocks on major world markets were flat on Tuesday, holding near six-year highs as investors discounted mixed U.S. economic data, while the U.S. dollar rose against the yuan on suspicion China's central bank intervened in the currency market.
Wall Street's benchmark S&P 500 edged lower as it struggled to break a record closing high for a second straight day. MSCI's all world index, which tracks stocks in 45 countries, inched up for the 13th session in 15 to close at its highest level of the year after earlier touching its highest intraday level since December 2007.
Recent data has raised questions about the strength of the U.S. economy, though equities investors seem inclined to overlook recent soft data due to severe winter weather across the nation. A closely watched housing survey showed home prices rose slightly more than expected in December, though February consumer confidence fell short of expectations.
"We're not being aggressive, since valuations aren't spectacular here, but this certainly isn't a time to run to cash," said Rex Macey, chief investment officer at Wilmington Trust in Atlanta, Georgia. "We expect we'll take two steps forward and one step back for a while."
Uncertainty over China has stoked worries about a faster-than-projected slowdown in its massive economy, dovetailing with political worries in other big emerging markets like Ukraine, Thailand, Nigeria and Turkey.
A hefty $38 billion has been pulled out of emerging markets over the last 17 weeks and $44.2 billion has flowed into developed market equity funds since the start of the year.
The yuan continued several weeks of weakness, guided by a series of moves by the central bank aimed at instilling caution in those who for years have been betting on its rise versus other major currencies.
Tuesday brought a significant acceleration in the move. The yuan's sharpest drop since October 2011 extended its fall in the past week to slightly over 1 percent, amid talk the People's Bank of China had been discreetly intervening in the spot market.
China allows the yuan to move 1 percent above or below a midpoint set daily, but experts believe the recent depreciation is intended to set the stage for a widening of that band to 2 percent or more this year to make it more free moving.
In Europe, the pan-regional FTSEurofirst 300 was off 0.02 percent as weakness in mining shares undercut a late attempt to pull the index into positive territory.
The euro and benchmark German government bonds kept to tight recent ranges, with little impact from new European Commission forecasts that slightly increased its growth estimate for the euro zone to 1.2 percent in 2014, with a further 1.8 percent expansion next year.
Inflation was seen at 1 percent this year and 1.3 percent in 2015, still well short of the European Central Bank's target of just below 2 percent. The ECB meets early next month and will be armed with its own in-house forecasts.
Goldman Sachs pushed back its prediction of a rate cut until April, although it did not rule out a move by the ECB to keep money market liquidity topped up by ending its weekly 'sterilization' of past government bond purchases.
The Dow Jones industrial average fell 27.48 points, or 0.17 percent, to 16,179.66, the S&P 500 lost 2.49 points, or 0.13 percent, to 1,845.12 and the Nasdaq Composite dropped 5.38 points, or 0.13 percent, to 4,287.587.
Home Depot Inc, up 4 percent to $80.98, was a bright spot, as the largest home improvement chain reported quarterly earnings and gave an upbeat outlook for the spring season. The S&P retail index jumped 1.9 percent.
U.S. Treasuries, the benchmark for global borrowing costs, rose 13/32 in price on the benchmark 10-year note to yield 2.701 percent.
Gold prices have pushed to their highest level in four months. Spot gold hit its highest since Oct. 30 at $1,343.40 an ounce and U.S. COMEX gold futures for April delivery settled up $4.70 at $1,342.70 an ounce.
Brent crude fell $1.13 to settle at $109.51 a barrel and U.S. oil settled down 99 cents at $101.83, weighed down by forecasts of rising U.S. crude inventories as icy weather eases.