The stock market is back in business, Jim Cramer told his Mad Money viewers Tuesday, only this time with a Hurricane Harvey twist.

Cramer said today's surprising comeback in the market hinges on two key trends. First, it's becoming clear that America is no longer the world's policeman, which means countries like Japan and South Korea will need to buy more missile defense systems from the likes of Raytheon (RTN) - Get Report and Kratos Defense (KTOS) - Get Report . "Do not sell these stocks," Cramer pleaded.

But it's the second trend that had Cramer more excited: the weaker U.S. dollar along with a continued rally in the euro. Companies like Johnson & Johnson (JNJ) - Get Report , 3M (MMM) - Get Report and Procter & Gamble (PG) - Get Report all have tons of overseas business that just got more profitable. Investors should also look toward apparel-maker PVH (PVH) - Get Report .

Cramer remained bullish on Apple (AAPL) - Get Report , an Action Alerts PLUS holding, citing the stock's cheap valuation when compared to other consumer tech companies.

As for what to avoid, Cramer said oil is still too dicey and is the wrong place to be, as is athletic apparel after the collapse of Finish Line (FINL) , which fell 18% on disappointing sales. The right place to be is technology, mainly in the semiconductor makers, Cramer said, along with the insurance companies, United Rentals (URI) - Get Report and Martin Marietta Materials (MLM) - Get Report , all of which should benefit from the rebuilding of Texas.

Over on Real Money, Cramer says the bulls took this one. They made the bears eat some real crow. Get Cramer's insights with a free trial subscription to Real Money.

Off the Charts: Oil and Copper

In the "Off The Charts" segment, Cramer checked in with colleague Carley Garner about the the direction of oil in the face of refinery shutdowns in storm-damaged Houston.

Garner first looked at a weekly chart of WTI crude oil along with the Commitment of Traders (COT) report, noting that the large speculators have been extreme optimists with over 400,000 contracts outstanding. This fact, coupled with the fall is a seasonally weak period for oil, had Garner concerned. If oil fell below its floor of support at $40 a barrel, the next leg lower could be $35 a barrel oil.

Oil wasn't the oil commodity potentially in trouble. Garner noted that copper also has a significant number of net-long contracts and that rally also appears to be running out of steam.

Cramer said that Garner's case was solid and he agrees that both commodities could be headed lower.

Cramer and the AAP team say the markets are recovering but oil positions are still struggling. Find out what they're telling their investment club members and get in on the conversation with a free trial subscription to Action Alerts PLUS.

Retail Bright Spots

It's been another really tough quarter for retail, Cramer told viewers, but there are a few retailers that have turned out to be real winners.

Just about every retailer fell into one of five categories this quarter, Cramer explained. There were those with bad results, like L Brands (LB) - Get Report and Finish Line (FINL) ; those with OK results, like Walmart (WMT) - Get Report ; and those with strong earnings that didn't matter to the stock -- think Ulta Beauty (ULTA) - Get Report and today's Best Buy (BBY) - Get Report results.

The fourth group had excellent results and included Target (TGT) - Get Report , Ross Stores (ROST) - Get Report and Action Alerts PLUS holding, TJX Companies (TJX) - Get Report .

But it was the fifth group that most intrigued Cramer. He called them the BTF group, for "better than feared." They included American Eagle Outfitters (AEO) - Get Report , Abercrombie & Fitch (ANF) - Get Report , Express (EXPR) - Get Report and Signet Jewelers (SIG) - Get Report . All of these companies had disappointed for years, making expectations so low that any good news turned out to be great news.

TST Recommends

In the case of the teen apparel companies, just stemming the losses was cheered by shareholders.

Then there's Signet, Cramer's favorite among this group. He said the company's new CEO could be turning this ship around, making it an intriguing opportunity.

It's Taco Tuesday!

For his "Executive Decision" segment, Cramer sat down with John Cappasola, president and CEO of Del Taco (TACO) - Get Report , the nation's second largest Mexican restaurant chain, with over 550 locations and shares that are up just 2% in 2017, despite posting a 7.1% increase in same-store sales last quarter.

Cappasola said that Del Taco is raising the bar for quality and value, combining speed and convenience for a unique position in the market.

When asked about expansion plans, Cappasola said that Del Taco is taking a slow approach and is not spreading itself too thin. The company is working to keep food costs low by doing much of the food preparation in house, and since many locations are open 24 hours, they can use those overnight hours to make sure food prep is done right.

Cappasola ended by saying that Del Taco also is testing delivery service in two markets.

Lightning Round

In the Lightning Round, Cramer was bullish on Schlumberger (SLB) - Get Report , Visa (V) - Get Report , Cognizant Technology (CTSH) - Get Report , Advanced Micro Devices (AMD) - Get Report , Cerner (CERN) - Get Report and UnitedHealth Group (UNH) - Get Report .

Cramer was bearish on Masonite International (DOOR) - Get Report , Moneygram (MGI) - Get Report and Applied Optoelectronics (AAOI) - Get Report .

No-Huddle Offense: Don't Panic 

In his "No-Huddle Offense" segment, Cramer said investors never seem to learn this lesson: "No one ever made a dime panicking."

That's why is was so hard to watch those taking an "intellectual vacation" by selling the likes of Alibaba (BABA) - Get Report , Nvidia (NVDA) - Get Report and Apple after North Korea's latest missile launch over Japan.

Cramer reminded viewers that Alibaba is a Chinese company and China is North Korea's greatest ally. Nvidia is profiting from the Internet of things and artificial intelligence, neither of which have any ties to Korea. And finally, Apple is on the eve of the next iPhone launch, an event that certainly won't be delayed or affected by North Korea playing nuclear chicken.

"Take a deep breath, chill out and for heaven's sake, learn from your mistakes," Cramer concluded.

Search Jim Cramer's "Mad Money" trading recommendations using our exclusive "Mad Money" Stock Screener.

To watch replays of Cramer's video segments, visit the Mad Money page on CNBC.

To sign up for Jim Cramer's free Booyah! newsletter with all of his latest articles and videos please click here.

At the time of publication, Cramer's Action Alerts PLUS had a position in AAPL, TJX.