Cramer: As long as the Fed doesn't keep pushing rate hikes, stocks can keep rallying

  • CNBC's Jim Cramer explains what led the market to soar on Tuesday after days of selling.
  • The strength can last as long as the Fed doesn't get too hawkish, the "Mad Money" host warns.

As better-than-expected earnings results drove the Dow Jones Industrial Average more than 500 points higher on Tuesday, paring last week's losses, CNBC's Jim Cramer became cautiously optimistic about the fate of the rally.

"When the Fed bears are away, the stock bulls will play," the "Mad Money" host said. "As long as the Fed doesn't mandate a slowdown, you get what we had today and what I bet we could have tomorrow."

While several technical indicators had signaled to Cramer that the sell-off could be short-lived, some key fundamental factors paved the way for the Dow to see its best trading day since March, he said.

Among them was an "absence of negatives" emerging from the White House, namely the lack of President Donald Trump's hawkish rhetoric around tariffs on Chinese goods, Cramer said.

The president did escalate his attack on the Federal Reserve, however, calling it his "biggest threat" because of how quickly the central bank is raising interest rates.

Also conveniently absent on Tuesday were more comments from the Fed on hiking rates, which some, including Cramer, believe can cause an economic slowdown in 2019.

"I'm not saying that the Fed has learned its lesson, but at least today investors felt safe ignoring our misguided central bankers," he said.

Then, five positive earnings reports from flagship Dow stocks compounded the positivity: UnitedHealth Group, Johnson & Johnson, Walmart, Morgan Stanley and Goldman Sachs all reported notably strong quarterly results.

All of these factors combined sent "the bearish arguments ... into hibernation" in Tuesday's trading session, Cramer said. But whether that means the bulls have effectively regained control remains to be seen, he warned.

Still, the rally gave investors who can't handle some continued volatility a way out, the "Mad Money" host said.

"If you want out, bye. Go ahead. Take it," he said. "If you hate this market, if you want out, you're getting a much better chance to sell than you would've gotten when things were falling apart last week."

WATCH: Cramer on what drove Tuesday's monster rally

Disclosure: Cramer's charitable trust owns shares of UnitedHealth Group, Johnson & Johnson and Goldman Sachs.

Questions for Cramer?
Call Cramer: 1-800-743-CNBC

Want to take a deep dive into Cramer's world? Hit him up!
Mad Money Twitter - Jim Cramer Twitter - Facebook - Instagram - Vine

Questions, comments, suggestions for the "Mad Money" website? madcap@cnbc.com