CNBC's Jim Cramer knows that buying stocks on weakness in a market this strong is no easy task.
"Even in this market, this beast of a market, you do get the occasional buying opportunity. It does exist, but the window closes so fast that if you blink you'll miss it," the "Mad Money" host said. "Still, if you're ready to pounce, you can pick up some high-quality stocks at discounted prices."
Exhibit A? The government shutdown, which started at midnight on Saturday and ended with a deal struck on Monday afternoon.
The major averages slid from their highs at Monday's opening bell as investors processed what the shutdown meant for equities. But Cramer struggled to link it to any tangible effects.
"Historically, if we have a delay in tax refund checks from the IRS, it would cause weak year-over-year comparisons for the dollar store chains, the auto parts retailers, anything where consumers will have to postpone their spending. That's been the pattern," Cramer said. "But if you had a chance to pick those stocks up into weakness today because it was the pattern, you had to take it."
Many of the dollar store and auto parts stocks held strong, resuming their marches higher shortly after the market opened; shares of Dollar General even hit a 52-week high.
"In other words, the shutdown gave you that brief window, that brief chance to buy the stocks of companies that could be hurt only temporarily," the "Mad Money" host said.
Exhibit B was the stock of Schlumberger, the world's biggest oilfield services company. When oil prices recently broke through the $60 benchmark, shares of Schlumberger surged with them.
Cramer has long lauded Schlumberger CEO Paal Kibsgaard for running a good business and accurately calling the most recent top and bottom for oil prices.
But some investors soured on Schlumberger after it reported earnings without any meaningful upside surprise and Kibsgaard forecast that the next quarter would be difficult for the company.
Then, seemingly out of nowhere, Kibsgaard predicted that the second and third quarters would be very strong thanks to various international drivers like increased drilling outside the country.
"Today, Halliburton, a major oil service competitor, crushes the number and Schlumberger's stock tacks on another 3 [basis points]," Cramer said. "You blink, you miss the whole darned thing."
Exhibit C was Goldman Sachs, an investment bank that just reported earnings. Cramer was surprised at how well it did despite the 50 percent drop in bond trading revenue, a major driver for the business.
Still, Cramer knows Goldman to be a company that reinvents itself, so he remained bullish on its trajectory.
"The rest of Goldman's businesses are on fire, so it's not like they even need to do that much reinventing. Yet the stock sells for less than 11 times earnings — it's the cheapest I've ever seen it on a price-to-earnings basis," he said. "My advice last week was that you should wait two days after the quarter was announced as the insiders always depress the stock with their traditional selling as the window opens, and then you had to buy. Now the window's closed, boom, it's off to the races."
Cramer hoped that Goldman would explore the advantages of the cryptocurrency market, predicting that if the bank did, its stock could rally 10 percent.
"But even without any catalysts, Goldman Sachs' stock is just too cheap to ignore," he said.
So as investors search for good buys in a market where buying opportunities are scant, Cramer strongly recommended they focus on doing their homework and staying calm when high-quality stocks drop for low-quality reasons.
"Finding bargains in this beast of a bull market is a real and rigorous high wire act where the wire's thin, there's no net and you only have a few seconds to think," the "Mad Money" host said. "But if you're prepared ahead of time, you can profit from these intraday pullbacks and you can rack up some terrific wins."