For his "Off the Charts" segment of Tuesday's episode of Mad Money (the 12th anniversary of this CNBC show), Jim Cramer talked with Carolyn Boroden, a technician who runs the website and also writes for

Boroden recently charted Facebook (FB) , Apple (AAPL) and Tesla (TSLA) using some of her favorite metrics. Those tools would have told you to get into Apple in December, Facebook at the beginning of January, and to get out of Tesla last month.

For Cramer, a fundamentalist who prefers to judge stocks based on what's happening at the companies and in the economy, technical analysis is still a useful tool. He likes it especially in times of confusion such as now, when markets have run far ahead, and as the Fed is preparing to raise interest rates.

Boroden likes to look at crossovers, when shorter-term moving averages move above or below longer-term averages, signaling buying or selling opportunities.

Specifically, she likes to watch the 5-day and 13-day exponential moving averages, which give extra weight to the most recent price action. The technique isn't perfect, but Boroden argues it can keep you on the right side of the market.

In one example, Boroden looked at Facebook, a stock which has been on fire since early January. On Jan. 5, the 5-day exponential moving average for Facebook moved above the 13-day, signaling the stock was in buy mode. It's remained there ever since.

If you liked this article you might like

AI Pioneer Andrew Ng: There's Room for Multiple Winners in the AI Race

Why Amazon's Reported Smart Glasses Might Be Just a Niche Product -- For Now

Why Apple Pay Cash Won't Be a Venmo Killer: PayPal CEO

Dow, S&P 500 Set New Records as Fed Moves to Unwind Balance Sheet

PayPal Has Billions in Cash and Is On the Prowl for Acquisitions