If you own stocks, you need to be optimistic, Jim Cramer told his Mad Money viewers Tuesday. That means ignoring the negativity coming out of Washington and focusing instead on the fantastic earnings being delivered by American companies.

Cramer said he's seeing the same pattern playing out day after day. Those in Washington have a total inability to accomplish anything and the negativity works its way up to Wall Street. Investors, in turn, buy the only thing they see working, FANG, Cramer's acronym for Facebook (FB) - Get Report , Amazon.com (AMZN) - Get Report , Netflix (NFLX) - Get Report and Alphabet (GOOGL) - Get Report .

But that doesn't mean that there aren't other great stocks out there. Cramer said the banks are doing great without Washington's help, and JPMorgan Chase (JPM) - Get Report , Citigroup (C) - Get Report , Bank of America (BAC) - Get Report and Goldman Sachs (GS) - Get Report are all buys.

UnitedHealth Group (UNH) - Get Report hit on every cylinder this quarter, Cramer said, and remains the best play in healthcare. Defense stocks like Lockheed Martin (LMT) - Get Report are also winners, as is Johnson & Johnson (JNJ) - Get Report , which saw shares fall on its great quarter.

If you insist on tech, Cramer said he also likes Nvidia (NVDA) - Get Report , Priceline (PCLN) and Broadcom (AVGO) - Get Report .

Off the Charts

In the "Off The Charts" segment, Cramer checked in with colleague Bob Moreno to try and put the tech rally into perspective. Turns out, tech is not the only sector that has been rallying.

Moreno looked at a daily chart of Exxon-Mobil (XOM) - Get Report as a proxy for the oil patch, noting that while the stock has been trading sideways for six months, it's also moving in predictable six-week patterns, meaning a short-term bounce is likely. A similar pattern was seen in Potash (POT) , the fertilizer maker that was also going nowhere before a recent breakout above $17.25 a share.

How about healthcare? Moreno liked Cramer fav Abbvie (ABBV) - Get Report , which had a positive relative strength indicator and Chaikin money flow. He was also bullish on Priceline (PCLN) , which has seen shares rise 50% so far in 2017 as consumer discretionary stocks come back into vogue. Priceline also has a positive RSI.

Need still more convincing? Moreno looked into asset manager Blackstone Group (BX) - Get Report and saw a bullish MACD and a 50-day moving average that just crossed above its 200-day moving average. Finally, he noted strength in Honeywell (HON) - Get Report , which has been moving steadily higher for months.

Netflix Numbers

It is still not too late to buy Netflix (NFLX) - Get Report , Cramer announced to his viewers. Yes, even at new all-time highs and after a 13.5% run after yesterday's stellar earnings, Cramer said shares of Netflix are indeed, undervalued.

Cramer explained that Netflix has not only learned that content is king, but also that people around the globe love a bargain. More importantly, Netflix has discovered that even though it's an entertainment company, Wall Street treats it like a tech company, meaning it can spend whatever it wants to grow.

Netflix has indeed created a virtuous cycle. The company produces original content, then monitors the viewing of that content, applies artificial intelligence to predict what consumers want next, then produce more original content.

With its uninhibited ability to grow, Cramer said competitors simply cannot compete with Netflix' low prices. And that's why the company's stock continues to be undervalued.

Executive Decision: Prologis

For his "Executive Decision" segment, Cramer spoke with Hamid Moghadam, chairman and CEO of Prologis (PLD) - Get Report , the logistics REIT with shares that rose 2.7% today after the company reported a four-cent-a-share earnings beat with bullish guidance for the rest of 2017.

Moghadam said this is the best market of his career, as demand remains strong for e-commerce logistics while the supply of new construction remains disciplined.

When asked why the supply remains constrained, Moghadam explained that today's warehouses cover 70 acres and up to one million square feet. That makes it very hard to find land near big cities, get the permits, build and staff these locations. As a result, Prologis is building more and more multi-story warehouses to make sure its customers stay in close proximity to their customers.

Moghadam added that Prologis also has scale. With over 72 million square feet of space, the next five publicly traded competitors add up to only 20% of that total.

Lightning Round

In the Lightning Round, Cramer was bullish on Chegg (CHGG) - Get Report , Supernus Pharmaceuticals (SUPN) - Get Report , Apollo Global Management (APO) - Get Report , United Parcel Service (UPS) - Get Report and McKesson (MCK) - Get Report

No Huddle Offense: Straight Path

In his "No Huddle Offense" segment, Cramer opined on the efficient market hypothesis, a theory that says it's impossible to beat the market because information is processed in realtime, leading to perfectly priced stocks that leave average investors with no real edge.

Cramer said that while he remains a fan of index funds, in reality, there are no efficient markets. Case in point, Straight Path Communications (STRP) , a stock that was trading at $20 a year ago, but was snapped up by Verizon (VZ) - Get Report for $184 a share.

How did the market get Straight Path so wrong? Cramer said it dismissed the 868 licenses the company bought for 5G wireless spectrum and instead saw the company for its seven employees and paltry $426,000 in annual revenues. But in fact, these licenses were a goldmine to the likes of Verizon, which will deploy them for their upcoming 5G wireless rollout.

On Real Money, Cramer explains why Netflix (NFLX) - Get Report is a better long-term play than Tesla Motors (TSLA) - Get Report . Get his insights with a free trial subscription to Real Money.

Cramer and the AAP team say they are keeping a close eye on oil and Schlumberger's (SLB) - Get Report earnings report. Get in on the conversation with a free trial subscription to Action Alerts PLUS.

This article is being updated. Please refresh for the latest version.

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,

Action Alerts PLUS

, which Cramer co-manages as a charitable trust, was long C, GOOGL, FB and SLB.