

Thirty stocks make up the Dow Jones Industrial Average. If the Dow moves up 20 points, there's no way to tell from that number if the increase is the result of only one stock going way up or many stocks each going up a small amount. The advance/decline data for the Dow can answer this question. If five stocks advance and 10 stocks decline (while 15 remain unchanged), then only a few stocks are responsible for carrying the market higher. Therefore, the rally is not broadbased.
In this section, we examine the many ways market technicians use advance/decline data to interpret the breadth of the market. The advance/decline numbers for the NYSE and the Nasdaq are reported each day, and some of the related charts are the most popular internal indicators.
Advance/Decline Line
The advance/decline line is the most popular of all internal indicators by far. It is a very simple measure of how many stocks are taking part in a rally or selloff. This is the very meaning of market breadth, which answers the question, "how broad is the rally?" The formula for the advance/decline line looks like this:
A/D Line = (# of Advancing Stocks  # of Declining Stocks) + Yesterday\'s A/D Line Value 
The most popular data used for the A/D line is from the NYSE or Nasdaq markets. It is cumulative and normally plots a line similar to the price chart of the given index. The A/D line can be used alone or together with the price chart to look for divergences. A divergence suggests that a move in the price chart is unsupported by the broad market, and it should, therefore, be taken as a warning of an impending turning point in the index or market.
A traditional technical indicator, such as a moving average or a stochastic oscillator, can be applied to the chart or used to smooth the signals it gives.
Advance/Decline Spread
A variation on the A/D line is the A/D spread. Just as its name implies, the A/D spread charts the difference between the number of advancing stocks and declining stocks in a given market on a given day. Unlike the A/D line, the spread is not a cumulative chart, so each day is calculated separately. The formula for the A/D spread looks like this:
A/D Spread = # of Advancing Stocks  # of Declining Stocks 
The chart of the A/D spread is an oscillator that revolves around a zero line. The A/D spread is interpreted much like any oscillator with overbought and oversold levels near the extremes of the chart. When the A/D spread crosses above its zero line, this means more stocks are advancing than declining, and vice versa.
This oscillator is extremely fast, so a moving average is usually applied to slow the chart's movements and signals. The technician can fine tune the number of days set for the moving average to the market data.
Advance/Decline Ratio
Another variation on the A/D line is the advance/decline ratio, which divides the advancers by the decliners. Here is the formula:
A/D Ratio = # of Advancing Stocks / # of Declining Stocks 
This formula creates values that cannot be less than zero because it is a fraction (or ratio). A value of 3 means that three times as many stocks advanced as declined. Any value less than 1 means more stocks declined than advanced. Because of the nature of fractions, the chart is more legible using a logarithmic scale. Like the A/D spread, this chart moves quickly, so it's usually smoothed with a moving average.
Absolute Breadth Index
The absolute breadth index is a measure of internal volatility. It calculates the absolute value of the difference between the number of advancing and declining stocks, making it a slight variation on the A/D spread. The formula for ABI looks like this:
ABI =  (# of Advancing Stocks  # of Declining Stocks)  
Because the ABI is an absolute, its value will always be positive. The chart is a representation of the volatility in the spread between advancers and decliners. The ABI can be smoothed using a moving average to facilitate drawing longerterm trend lines. A fastpaced, choppy chart of the ABI can indicate a choppy, rangebound market.
Breadth Thrust
Breadth thrust is an internal indicator that is somewhat more complicated and harder to find. It is a ratio of moving averages that creates an excellent judge of market momentum. The formula looks like this:
Thrust = xDay Moving Average of Advancing Stocks / xDay Moving Average of (Advancing Stocks + Declining Stocks) 
Since this formula creates a ratio whose denominator is a sum of both advancers and decliners, the value cannot be greater than 1 or less than zero. The breadth thrust indicator, therefore, creates a percentage value that moves just like a traditional oscillator from 1 to 100 (or .01 to 1.00).
Breadth thrust can be read just like a stochastic or RSI, where overbought and oversold levels are at the extremes. Divergence with the underlying price chart points to weakening momentum. The number of days to set for the moving averages should be determined by the timeperiod being evaluated.
Arms Index (TRIN)
Developed by Richard Arms, TRIN is a doubleratio that divides the A/D ratio by the A/D volume ratio. The formula is somewhat long but, fortunately, the TRIN charts for the NYSE and Nasdaq are some of the easier internal indicators to find on the internet. For those who are curious, here's the formula:
TRIN = (# of Advancing Stocks / # of Declining Stocks) / (Volume of Advancing Stocks / Volume of Declining Stocks) 
For reasons that should now be obvious, the value of TRIN cannot be less than zero. The Arms Index is read somewhat counter intuitively. A value of less than 1 means advancing stocks are getting more than their share of volume, which is bullish for the market. When the value of TRIN is more than 1, declining shares are taking an outsized amount of volume, which is bearish for the market.
TRIN is usually smoothed using a moving average, which should be tuned to the timeperiod being evaluated. Trend lines drawn from the moving average reveal the direction of market momentum. (Remember that the value for TRIN moves down as advancing volume goes up).
McClellan Oscillator
Searching for an even more refined internal indicator, Sherman McClellan designed his own oscillator. Though the calculations for McClellan's Oscillator are far too complicated to compute by hand, they help demonstrate how the indicator works, so here they are:
McClellan Oscillator = [ 19Day Exp. Moving Average of (# of Advancing Stocks  # of Declining Stocks) ] / [ 39Day Exp. Moving Average of (# of Advancing Stocks  # of Declining Stocks)] 
This formula creates a ratio comparing the 19day and 39day EMA of the A/D spread. The chart is an oscillator that ranges from +100 to –100 with overbought and oversold levels usually found at +70 and –70 respectively. The McClellan Oscillator can be read just like any other oscillator and is usually not smoothed, but it can be charted with a moving average as an indicator line.
Market Breadth: Point & Figure Internal Indicators

Trading
Exploring Oscillators and Indicators: Market Indicators
By Chad Langager and Casey Murphy, senior analyst of ChartAdvisor.com The technical indicators that are generally aimed at specific stocks, which were discussed in previous sections, can also ... 
Trading
Use The McClellan Oscillator To Measure Market "Breadth"
How broad is the market? And, once we answer that question, how can we use that answer to our advantage? 
Trading
Is A Reversal On The Way? Consult Traders' Index
Use this indicator to gauge the end of a price trend. 
Trading
Calculating the Arms Index (TRIN)
The Arms Index is a technical analysis indicator that’s used to predict price movements in the market on an intraday basis. 
Trading
Introduction To The Arms Index
Developed in 1967 by Richard Arms, this volumebased breadth indicator can be applied over various time periods. 
Trading
Accumulative Swing Index And The McClellan Oscillator
These indicators serve as confirmation for those of us who need to double check our findings on a regular basis. 
Investing
3 Key Signs Of A Market Top
When stocks rise or fall, the financial fate of investors change, as well. There are certain signs that can reveal a stock’s course, and investors don’t need to be experts to spot them. 
Trading
3 Key Signs Of A Market Top
Learn the best ways to foresee market corrections and how to profit from them. 
Trading
TrendSpotting With The Accumulation/Distribution Line
The A/D line highlights buying and selling pressure to confirm existing trends. 
Trading
Confirming Price Movements With Volume Oscillators
Use this indicator to validate a change in price direction and moving averages.