Trading Nation

The last time the market was this overbought stocks rallied nearly another 130%, says technician

Why an historically overbought market condition is bullish for the rally

The stock market is its most overbought since Bill Clinton was president, but that may actually be a good thing.

The 's 14-month relative strength index (RSI) surpassed the 87 level for the first time in nearly 22 years, Ari Wald, head of technical analysis at Oppenheimer, told CNBC's "Trading Nation" on Monday. That's a level it has reached only 1 percent of the time since 1930 – the other periods in which the measure moved that high were in 1996, 1986 and 1955, three of the strongest bull markets in history.

"There's really two key takeaways," said Wald. "One, even when you got to those high RSI readings, it was still followed by above-average returns. Two, that RSI indicator peaked at least a year ahead of the market on all those occasions."

The RSI is a momentum indicator technicians use to measure whether a stock or asset is overbought or oversold during a specific period of time.

Wald dusted off the history books. In 1996, the RSI hit 87 in June – from there to the market peak, the S&P 500 rose 128 percent. A decade earlier, the RSI reached similar levels and the S&P 500 proceeded to gain roughly 50 percent through to the bull market's high.

Going further back, in 1955, the RSI peaked at 88 in July and gained around 15 percent through to the top of its bullish stretch.

The current bull market has run for nearly nine years and most analysts do not see an end in sight. It is the second-longest bull market in history, beaten only by the stretch from 1990 to 2000. Since a bottom in 2009, the S&P 500 has climbed roughly 320 percent. The 1990-2000 bull market rose 417 percent.

"Add it up using history as a guide, how we see it is these overbought conditions are arguing against the top and instead for a continuation of the bull market," said Wald. He credits "broad-based internal breadth, cyclical leadership, and strong credit" as the main contributors to the markets' strength.

Bill Baruch, president of Blue Line Futures, is also bullish on the S&P 500 even as the equities market trades at its highest level in history.

"The market is not correcting. The question is, where's the next 1 percent to 2 percent? I believe the next 1 percent to 2 percent is higher," Baruch told "Trading Nation" on Monday. "I don't imagine getting any sort of correction until after March."

Baruch targets 2,847 for the S&P 500 for 2018, roughly flat with Tuesday's trading levels. Counting from the beginning of the year, Baruch's target suggests a more than 6 percent gain for the S&P 500 in 2018.

Wall Street has already had a remarkable run to begin the year. The S&P 500 is up 6 percent, the Dow also 6 percent and the Nasdaq nearly 9 percent for the year to date. The consumer discretionary sector is the best performer of the S&P 500 so far this year, led by a more than 30 percent gain in Netflix shares, while the telecom and utilities sectors are the worst performers.