* Global stocks hit all-time high; Asia ex-Japan, Nikkei rise
* European stock markets seen opening flat to slightly higher
* Moderate Fed, earnings optimism propelling risk appetite
* Oil flat as high fuel inventories offset rise in Chinese imports
* Dollar creeps higher after positive economic data
By Nichola Saminather
SINGAPORE, July 14 (Reuters) - Global stocks scaled record highs on Friday, with Asian equities rising for the fifth straight session, as signs the Federal Reserve will pursue a gradual rate tightening path and hopes of a strong earnings season lifted appetite for risk assets.
European stocks are set for a flat to higher open, with spreadbetter CMC Markets expecting Germany's DAX to open little changed, Britain's FTSE 100 to start the day up 0.1 percent and France's CAC 40 to rise 0.2 percent.
The MSCI World Index was almost 0.1 percent higher on Friday, just a whisker below an all-time intraday high hit earlier. It is on track to end the week 1.6 percent higher.
MSCI's broadest index of Asia-Pacific shares outside Japan advanced 0.2 percent to its highest level in two years. It's set for a 3.1 percent gain for the week, its biggest since mid-March.
Japan's Nikkei added 0.2 percent, poised for a weekly rise of 1.05 percent.
Chinese shares reversed earlier losses, with the CSI 300 index rising 0.2 percent and the Shanghai Composite flat. Hong Kong's Hang Seng rose almost 0.1 percent.
Wall Street edged higher on Thursday, with the major indexes up between 0.1 and 0.2 percent, as stocks basked in comments by Federal Reserve Chair Janet Yellen that the central bank's rate hikes could be gradual, given persistently low inflation despite an improving economy.
Expectations that S&P 500 companies will report second-quarter earnings growth of 7.8 percent also supported stocks. Major banks, including JPMorgan Chase, Citigroup and Wells Fargo, will report results on Friday.
"The U.S. profit reporting season looks likely to be a key market driver over the next couple of weeks," Ric Spooner, chief market analyst at CMC Markets in Sydney, wrote in a note.
"Full valuations suggest that the market is yet again going into this reporting season anticipating results to outperform consensus analyst expectations."
In Asia, markets are also expecting strong earnings, particularly for many of the export-reliant firms benefiting from an upturn in global demand.
The dollar pulled up 0.2 percent to 113.42 yen on Friday, narrowing losses for the week to 0.4 percent.
The dollar index, which tracks the greenback against a basket of trade-weighted peers, was steady at 95.715, on track for a 0.3 percent weekly decline.
The dollar was supported by data showing the number of Americans filing for unemployment benefits fell last week for the first time in a month and producer prices unexpectedly rose in June.
Investors are awaiting a host of U.S. economic indicators, including core inflation, retail sales and industrial production for June later in the session for more insight into how the Fed might proceed with monetary policy tightening this year.
"After their June rate hike, the Fed is seen watching inflation trends carefully before tightening policy again. So market interest towards inflation data is very high and the dollar is likely to move widely in either direction," said Masafumi Yamamoto, chief currency strategist at Mizuho Securities.
For now, markets appear to be shrugging off the revelation by U.S. President Donald Trump's son this week that he'd met with a Russian lawyer during the 2016 presidential campaign after being told she might have damaging information about Democratic candidate Hillary Clinton.
But political concerns in the U.S. may once again vex investors, as a revised Senate plan to dismantle Obamacare drew criticism from both Republican and Democratic senators.
Senate Majority Leader Mitch McConnell, who was forced two weeks ago to scrap a planned vote on an earlier version, has planned for a vote on the retooled bill next week.
The euro was up 0.1 percent at $1.1407 on Friday, after inching down 0.1 percent overnight, and is set to end the week flat.
The European Central Bank is likely to signal in September that its bond-buying scheme will be gradually wound down next year and ECB chief Mario Draghi could give the next clue on the plans in late August, the Wall Street Journal said on Thursday.
The Canadian dollar remained near its strongest in over a year after the Bank of Canada this week raised interest rates for the first time since 2010, with further tightening expected this year.
The loonie was marginally weaker on Friday at C$1.2731 to the dollar but is up 1.1 percent this week.
In commodities, oil was mostly steady as high fuel inventories despite supply cuts by the Organization of Petroleum Exporting Countries tussled with data that showed a jump in China's oil imports in the first half of 2017.
U.S. crude was unchanged at $46.08 a barrel, after rising 1.3 percent on Thursday. It is poised for a 4.2 percent gain this week.
Global benchmark Brent was also little changed at $48.43 following Thursday's 1.4 percent jump, and is headed for a 3.7 percent gain this week.
Gold was steady at $1,217.47 an ounce, heading for a 0.4 percent gain for the week.
Reporting by Nichola Saminather; Additional reporting by Shinichi Saoshiro; Editing by Shri Navaratnam and Sam Holmes