Crude oil has been gaining of late on increasing tensions in the Middle East. In fact, it's outperformed the Dow Industrials, only falling 5% since its recent peak, versus 9% for the Dow.

But not every oil company is benefiting equally from crude's strength. That's why, in his Mad Money episode Tuesday night, Jim Cramer did his "Off the Charts" segment with Bob Lang, founder of and a member of the three-man team behind TheStreet's Trifecta Stocks newsletter.

Higher oil prices haven't helped large integrated oil companies such as Exxon Mobil (XOM - Get Report) and Chevron (CVX - Get Report) much, though they did see gains Tuesday with the rest o the market and after a positive note from Bank of America Merrill on Exxon.

But one layer down, oil companies have been performing better, notably Anadarko (APC) and Conoco Phillips (COP - Get Report) .

Cramer and Lang began by looking at a daily chart of Anadarko. Lang likes the pattern of higher highs and higher lows it's been making since it bottomed in February.

Anadarko also has strong volume trends, meaning when the stock goes up it tends to do so on higher volume. For technicians, the volume is like a polygraph: It lets you know when a move is telling the truth. To Lang, this is a clue that big institutional money managers are buying Anadarko -- always a positive sign.

The Moving Average Convergence Divergence or MACD line, which is a momentum indicator, is about to make a bullish crossover, where the black line goes above the red one, which tends to be a pretty bullish signal. If that happens, he thinks Anadarko can break out above its ceiling at $63 and run all the way to the $70 area before encountering much resistance.

Lang's other favorite is Conoco Phillips, which recently made a classic W-shaped bottom. The stock made a low in February, then successfully tested that low in March. Around the time of the retest, Lang points out that the MACD indicator flashed a buy signal. Since then the stock has moved up nicely.

The Chaikin Money Flow oscillator, which measures the level of buying and selling pressure in a stock, also turned positive a couple of weeks ago in a sign of institutional buying. After the stock's move over the past couple of weeks, Lang says it may stall for a bit. However, after a bit of sideways action or a modest pullback, Lang expects Conoco to head higher, back to the $70s.

Strong oil has been good for renewable energy, too. American solar producers have been hurt by cheap, government subsidized Chinese solar panels. Before President Trump imposed his steel tariffs, he slapped a 30% import duty on solar panels from China, making American solar manufacturers pretty big winners from Trump's aggressive trade policy.

There are a couple of renewable charts Lang likes: First Solar (FSLR - Get Report) held up in March, and SolarEdge (SEDG - Get Report) made a new all-time high last week.

The daily chart of First Solar shows this stock has been consolidating after a very strong move in March. However, Lang points out that the recent sideways action took place on low volume, which implies that the big institutional money managers are sticking around.

The fact that First Solar put up this kind of trajectory during a difficult month makes it stand out to chartists like Lang. The stock is currently in a wedge pattern, but eventually it's going to either break out to the upside or break down. After First Solar spends some more time trading sideways, Lang expects it to rally past this ceiling of resistance. The stock's currently at $71, he sees it going to the $80s before too long.

Then there's the daily chart of SolarEdge Technologies, a stock that's doubled in the past seven months. The latest leg of this move started in February when the company reported a blowout quarter thanks in part to those Chinese solar tariffs. In recent weeks it's been consolidating, but as with First Solar, Lang points out that this sideways action has come on relatively low volume. The Chaikin Money Flow oscillator shows SolarEdge experienced a surge in money flow in late February and March. In Lang's view, SolarEdge may need to take a breather for the moment, but he thinks it's likely just digesting its gains before resuming its long march higher.

Over on Real Money, Cramer talks about how to trade the highly unlikely deal between Sprint (S - Get Report) and T-Mobile (TMUS - Get Report) . Get more of his insights with a free trial subscription to Real Money.

In today's Daily Rundown, Cramer provides his thoughts on China President Xi Jinping's speech, Facebook (FB - Get Report) CEO Mark Zuckerberg's testimony, Nvidia (NVDA - Get Report) and more on the market. Find out what Cramer and the AAP team are telling their investment club members and get in on the conversation with a free trial subscription to Action Alerts PLUS.

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

To read a full recap of this episode of "Mad Money," click here.

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 FB, NVDA.