Pedestrians walk in front of the New York Stock Exchange (NYSE) in New York. Michael Nagle | Bloomberg | Getty Images

Stocks may be trading close to record highs, but the market looks far more fragile under the surface. Among the signals: More stocks declining than rising, a greater number of 52-week lows than highs, and a drop in small-cap stocks. Last week, the Dow Jones Industrial Average briefly hit an all-time high while the traded near a record set on Sept. 21. The broader market ended the week posting its worst performance since September, and exposed a troubling trend: The recent run-up is being led by just a few stocks. "The healthiest markets occur when the uptrend is broad-based, which is not the situation in the present example," said Bruce Bittles, chief investment strategist at Baird.

While the major indexes are trading at or near record highs, the number of stocks listed at the New York Stock Exchange at 52-week lows was around three times higher last week than those at 52-week highs, according to data from SentimenTrader. This is the first time since Dec. 28, 1999, that such a disparity took place and the second since 1965, the data show. Tweet Investors look at the number of 52-week highs and lows made by stocks as a sign of market participation. In other words, more stocks making 52-week highs signals broad participation in an uptrend. Meanwhile, fewer 52-week highs during an uptrend suggest limited participation.

Average stock fell in September

The overall S&P 500 gained 0.4 percent in September, but the average stock in the index actually fell 0.06 percent last month, according to data from Bespoke Investment Group. The main index is market-cap weighted, so bigger stocks have a bigger influence on the index. "This is a result of the largest stocks in the S&P performing better than the smaller stocks in the index in September," Bespoke said in a note. Microsoft and Exxon Mobil, two of the largest stocks in the S&P 500, rose last month by 1.8 percent and 6.1 percent, respectively. Meanwhile, Stericycle — which is the smallest stock in the index — fell 4.9 percent last month. At the same time, the 10-day average of stocks making new 52-week highs at the New York Stock Exchange is below 100, said Andrew Thrasher, portfolio manager at The Financial Enhancement Group and founder of Thrasher Analytics. The technical analyst noted this has happened just three other times: at the lows of the financial crisis in 2009, in 2013 and in 2014.

The recent rally in stocks has also been limited to the large-cap indexes, leaving small-cap stocks behind. The Russell 2000, which is made up of small-cap stocks, has not hit a record since Aug. 31. Since then, the index has fallen about 4 percent, while the Dow and S&P 500 are up 3.7 percent and 1.2 percent, respectively. Small caps initially left their large-cap counterparts in the dust earlier this year, as investors poured money into companies with lower overseas exposure amid growing fears of a global trade war. These fears have dissipated recently, however, as the U.S. agreed to trade deals with Mexico and Canada.

But strong earnings and economy