Investing is a lot like fantasy football, Jim Cramer told his Mad Money viewers Tuesday. To pick a winning team, you need to stay diversified and make sure your roster is full of the best of the best. Every year around this time, Cramer picks his fantasy stock portfolio, and this year was no different.

In the position of wide receivers, Cramer chose Nvidia (NVDA) - Get Report , an Action Alerts PLUS holding, along with Adobe (ADBE) - Get Report and (CRM) - Get Report . In the coveted quarterback slot was Apple (AAPL) - Get Report , another Action Alerts name and a solid performer with a cheap multiple. Runners-up included Visa (V) - Get Report and McDonalds (MCD) - Get Report .

For running backs, Cramer went with DuPont (DD) - Get Report and Clorox (CLX) - Get Report  ; while at tight end, he said, Pepsico (PEP) - Get Report , JPMorgan Chase (JPM) - Get Report , United Technologies (UTX) - Get Report topped his list.

Defense contractors Lockheed Martin (LMT) - Get Report , General Dynamics (GD) - Get Report and Raytheon (RTN) - Get Report made Cramer's draft for, you guessed it, his defensive line, while UnitedHealth Group (UNH) - Get Report topped his list for kickers.

Who didn't make the cut? Cramer said his team doesn't include any retailers, with the exception of Amazon (AMZN) - Get Report , nor any oil stocks, which have been unable to perform this season.

On Real Money, Cramer says a great defensive play is easier than you think. Get his insights with a free trial subscription to Real Money.

Off the Charts: Chip Stocks

In the "Off The Charts" segment, Cramer checked in with colleague Carolyn Boroden to review the charts of the semiconductor makers, which sold off hard last week, only to rebound this week.

Boroden first looked at Nvidia, the high growth chipmaker, noting that the stock has powerful floors of support between $148 and $152 a share, which explains the sell-off last week from $172 to those levels. She also noted the timing from low to low, which typically ranges between 28 and 32 days, putting last week's plunge right on schedule. Boroden felt that $176 to $180 a share was likely for Nvidia.

Next up was Micron Technology (MU) - Get Report , a commodity chipmaker. Micron has a floor between $25 and $27 a share, but a ceiling of $34 to $36 a share, meaning there's a lot more upside than downside potential.

Finally, Boroden considered Applied Materials (AMAT) - Get Report , the capital equipment maker. This stock had a floor between $41 and $42 a share, with a rally possible to $49 if the stock can hold these levels.

Read more about Boroden's analysis of these chip stocks.

Tech Partnerships

While this year's hot tech IPOs, like Snap (SNAP) - Get Report and Blue Apron (APRN) - Get Report , have plummeted, the hot tech IPOs of years past (think GrubHub (GRUB) - Get Report and Yelp (YELP) - Get Report  ) have been on fire thanks to a recently announced partnership.

GrubHub provides online ordering for over 55,000 restaurants in more than 1,000 cities. The company has nine million active users. Yelp has over 135 million user-generated reviews of local businesses. Cramer called the long-term partnership a "match made in heaven" and the market agreed, sending shares of Yelp up 27% and GrubHub up 9% after the deal was announced two weeks ago.

Both companies were already growing, Cramer noted, and this tie-up will only help both companies accelerate that growth.

Cramer and the AAP team say that after TJX's (TJX) - Get Report strong quarter, they are encouraged by the outlook and management's approach to customer loyalty. Find out what they're telling their investment club members now and get in on the conversation with a free trial subscription to Action Alerts PLUS.

Executive Decision: CyberArk

For his "Executive Decision" segment, Cramer spoke with Udi Mokady, chairman and CEO of CyberArk Software (CYBR) - Get Report , a stock that plunged 16% after the company pre-announced weaker-than-expected earnings.

Mokady explained that this quarter's shortfall was a combination of new and existing business that didn't close on time, but he noted that those deals are still out there. After 11 consecutive quarters of beating expectations, Mokady said it was very disappointing to miss expectations. He said the problem was purely poor execution on their part and is not a change in the competitive landscape.

CyberArk has "overcorrected" for this problem in a good way by globalizing their salesforce and appointing new leadership. Mokady said there's still high demand for CyberArk's services, which complement investments companies have already made in cybersecurity.

Cramer said CyberArk has a good business and will have growth for a long time.

Lightning Round

In the Lightning Round, Cramer was bullish on International Paper (IP) - Get Report and Inogen (INGN) - Get Report .

Cramer was bearish on Teva Pharmaceuticals (TEVA) - Get Report .

No-Huddle Offense

In his "No-Huddle Offense" segment, Cramer said he's never seen anything like it. Never in his career has a single company been able to obliterate an entire sector of the economy like Amazon has been able to obliterate the entire retail cohort.

Even Cramer favorite Home Depot (HD) - Get Report was not immune, as the company reported its best quarter ever, but still saw shares fall 2.6% as analysts grilled management on its conference call about the state of ecommerce. Home Depot's CEO has said that Amazon's Alexa could be a real problem for retailers, as customers no longer even know if they're getting a good deal. They just ask a question and an order is placed.

How should investors play Home Depot? Cramer said to wait for shares to get so cheap that the company can buy back all the shares it wants and boost its dividend. Otherwise, this fabulous do-it-yourself retailer may be too vulnerable to own.

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 TJX, NVDA, AAPL, PEP.