(Bloomberg) — After lagging behind the broader market for months, the world’s largest technology stocks suddenly perked up this week ahead of earnings. All it took was a reminder from Netflix Inc. that there’s still plenty of opportunity for growth.

The five biggest technology companies posted their best week in nearly three months in a rally sparked on Tuesday by Netflix, which added two million more subscribers than Wall Street was expecting. The megacap gains were led by Alphabet Inc., Apple Inc. and Facebook Inc., whose 9.2% advance was more than it had gained in six months before this week.

After big tech stocks led the market higher for most of 2020, investors recently shunned the group in favor of stocks like cyclicals and small caps that tend to outperform in an economic rebound. Now the megacaps suddenly look more desirable if they can deliver on revenue and profit targets, as many analysts are predicting. The technology exchange traded fund Invesco QQQ Trust is on pace for $1.4 billion in inflows this week, the most in two months, according to data compiled by Bloomberg.

“FANG names are attractive, particularly given the level of appreciation in other parts of the market,” said JPMorgan Chase analyst Douglas Anmuth. “In the early days of 2021, our conversations with investors suggest real FANG fatigue.”

Analysts expect the big five — Facebook, Amazon.com Inc., Apple, Microsoft Corp. and Google parent Alphabet — to beat other companies in the S&P 500 on profit growth for a 12th straight quarter. Their combined earnings are projected to expand 11% during the quarter that ended in December, compared with a decline of a similar size for the rest of the market, analyst estimates compiled by Bloomberg Intelligence show.

While their profits are poised for another record, the stocks have been stuck in a prolonged trading range. Since peaking in early September, their total market value has failed to make a new high for 97 straight sessions, the longest drought in almost two years. Apple and Alphabet are the only ones whose shares have hit new highs, while Facebook is trading about 10% from its peak.

Microsoft will be the first major tech company to report on Jan. 26, followed by Apple and Facebook the next day. The software giant is in good position to gain market share and expand profit margins in an improving operating environment, according to Morgan Stanley. The company is projected to report fiscal second quarter adjusted earnings per share of $1.64, an increase of 8% from the same period a year ago, according to the average of analyst estimates compiled by Bloomberg. Revenue is projected to rise 9% to $40.2 billion.

The Redmond, Washington-based company “represents a rare combination of strong secular positioning and a reasonable valuation,” Morgan Stanley analyst Keith Weiss wrote in a research note this week naming the stock as a top pick.

With most of the megacap tech stocks trading for under 10 times projected sales, risk from overheated valuations is more concentrated in software names like Snowflake, which is priced at more than 80 times, according to Ted Mortonson, a technology strategist with Robert W. Baird & Co.

Positive preliminary results from a wide range of companies like T-Mobile USA Inc. and F5 Networks Inc. set the stage for a strong showing for tech, Mortonson said. He added that there are broad macroeconomic tailwinds supporting a variety of industries, including cybersecurity, cloud computing, semiconductors and 5G.

“I’ve been doing this for 30 years and I’ve never seen so many positive and inter-related macro trends,” he said in an interview.

For more articles like this, please visit us at bloomberg.com

Subscribe now to stay ahead with the most trusted business news source.

©2021 Bloomberg L.P.