BEIJING—Global stocks gained Wednesday while China was closed for the Lunar New Year holiday. London and Frankfurt opened higher. Tokyo and Sydney gained. The future for Wall Street’s S&P 500 index was higher. In early trading, the FTSE 100 in London rose 0.5 percent to 7,574.35. Frankfurt’s DAX gained 1 percent to 15,619.39 and the CAC 40 in Paris added 1.4 percent to 7,099.49. On Wall Street, the S&P 500 future was up 0.4 percent. That for the Dow Jones Industrial Average was off less than 0.1 percent. On Tuesday, the S&P 500 gained 0.7 percent, boosted by gains for energy and tech stocks in a late burst of buying. The Dow rose 0.8 percent and the Nasdaq composite added 0.7 percent. In Asia, the Nikkei 225 in Tokyo rose 1.8 percent to 27,552.61 and Sydney’s S&P-ASX 200 advanced 1.3 percent to 7,094.80. India’s Sensex advanced 0.9 percent to 59,403.16. …