CNBC's Jim Cramer on Tuesday warned investors that stock prices could be on a downward trend over a short period of time.
"I want to buy these stocks, but only into weakness. However, keep in mind that we've run a great deal, so you have to be prepared for an exogenous event that causes a pullback that will give you opportunities to buy at lower, less-expensive levels," the "Mad Money" host said.
After Wall Street posted blockbuster rallies in 2019, the major U.S. indexes have turned in two up days and two down days of trading this year. The Dow Jones Industrial Average slipped about 120 points, the S&P 500 declined 0.28% and the tech-heavy Nasdaq Composite had a light dip.
"I know many people believe that we're about at the level where you have to be a moron to buy stocks up here," especially with U.S.-Iran tensions rising and December's employment report coming at the end of the week that will affect perceptions.
Still, "the trends driving so much of this tech rally are real and they are long-lasting," he said.
In Las Vegas, thousands of tech leaders and enthusiasts are attending CES 2020. Advanced Micro Devices and Nvidia executives have revealed that demand is strong for their data center, gaming and inference semiconductors. A positive chipmaker environment is a boon for equipment makers like Applied Materials and Lam Research, whose stocks rose more than 2% on Tuesday, Cramer said.
"This is the year when 5G networks should really take off, so any company with a decent amount of 5G exposure is going to win," Cramer said.
Despite the headwinds on the market, "there's hope, [a] hope based on a stronger tech market propelled by great secular growth trends that transcend these worries."
Disclosure: Cramer's charitable trust owns shares of Salesforce.com, Facebook, Lam Research, Marvell Technology and Nvidia.