1. Valmy
  2. Learn
  3. Indicator catalog
  4. T31

What do the McClellan Oscillator and the Arms Index (TRIN) show?

Advanced 15 min read

Short answerBoth turn a market's daily breadth into one number, for different purposes. The McClellan Oscillator shows whether breadth is improving or fading: it is the gap between a fast and a slow exponential average of daily net advances (advancing minus declining issues). Its running total, the Summation Index, shows the longer breadth trend. The Arms Index, or TRIN, divides the day's advancing-to-declining issue ratio by its advancing-to-declining volume ratio; below 1.0, the average rising issue traded more shares than the average falling one. That can mislead: on day 113 of this lesson's synthetic market, 75 of 100 stocks fell, yet TRIN read 0.47.

Both need daily counts, and TRIN also volumes, for a named universe, usually all New York Stock Exchange (NYSE) issues. The oscillator is built the way MACD is built from prices, and a TRIN above 1.0 means the average falling issue traded more shares. Both are noisy. A positive oscillator can sit inside a long breadth decline, and a few heavily traded stocks can push TRIN to a "bullish" reading on a day when most stocks fell, as on day 113. They describe participation and volume flow; they do not forecast prices.

Valmy noteValmy's v1 strategy language includes the simple moving average and no other indicator, so the McClellan Oscillator and the Arms Index (TRIN) are taught here for reading charts (as of 26 November 2026). The strategy language evaluates one instrument at a time, so it cannot compute breadth across many instruments.

Scope note: Valmy v1 does not offer company shares. This lesson helps you read, and question, the breadth indicators published for stock markets.

The inputs: daily breadth for a named universe#

Both indicators start from four daily numbers for one universe: advances (members that closed above their previous close), declines (members that closed below), up volume (shares traded in the advancing members) and down volume (shares traded in the declining ones). The McClellan Oscillator uses the counts only; TRIN uses counts and volumes. The universe is part of the indicator: StockCharts, for example, publishes separate McClellan Oscillators for NYSE and Nasdaq issues. Exchange-wide NYSE counts include closed-end funds and preferred shares as well as operating companies, and index universes change as members are added and removed. How many stocks are joining the rally? explains these universe choices.

Crypto has no official breadth universe or daily close. A crypto version needs a chosen list of tokens (which changes and suffers survivorship), a chosen venue and quote currency, and a daily cutoff time. TRIN also needs volumes in one common unit, such as the quote currency, because adding up base-unit volumes across different tokens is meaningless. These inputs are often unavailable or non-standard, so a crypto McClellan or TRIN is one analyst's construction.

The examples in this lesson use one synthetic universe of 100 invented stocks and a cap-weighted index of them (synthetic data). It was designed to show a narrow rally: after day 52 the five largest members, 58% of the index's value, keep rising on heavy volume while most of the others fall.

McClellan Oscillator: is breadth improving or fading?#

The McClellan Oscillator is the difference between two exponential moving averages (EMAs) of daily net advances: one with a 10% smoothing constant and one with a 5% constant. McClellan Financial calls these the 10% Trend and the 5% Trend. Because an EMA's constant is often written as 2 ÷ (n + 1), they are also described as 19-day and 39-day EMAs. Its only inputs are daily advances and declines for one universe. Its unit is issues per day in the traditional version, or a ratio scaled to a 1,000-issue market in the ratio-adjusted version. It has no fixed range: positive readings mean recent breadth is stronger than its longer average, negative readings weaker. Sherman and Marian McClellan developed it in 1969 and published it, with the Summation Index, in their 1970 book Patterns for Profit, according to McClellan Financial Publications. The structure is the same as MACD, which subtracts a slow EMA from a fast EMA of prices.

Calculating the McClellan Oscillator step by step#

Each day, update both trends with the same rule an EMA uses, then subtract:

  • New 10% Trend = previous 10% Trend + 0.10 × (today's net advances − previous 10% Trend)
  • New 5% Trend = previous 5% Trend + 0.05 × (today's net advances − previous 5% Trend)
  • Oscillator = 10% Trend − 5% Trend

The table continues the synthetic universe from day 60, when the 10% Trend was −3.99 and the 5% Trend 0.89, using the traditional version (raw net advances). Each trend is rounded to two decimals before the next day, as you would on paper.

Day Advances Declines Net advances 10% Trend 5% Trend Oscillator
60 −3.99 0.89 −4.88
61 35 65 −30 −6.59 −0.65 −5.94
62 55 43 +12 −4.73 −0.02 −4.71
63 19 81 −62 −10.46 −3.12 −7.34
64 37 61 −24 −11.81 −4.16 −7.65
65 49 51 −2 −10.83 −4.05 −6.78
66 39 61 −22 −11.95 −4.95 −7.00

Day 61 worked out: the 10% Trend becomes −3.99 + 0.10 × (−30 − (−3.99)) = −3.99 − 2.601 = −6.591, or −6.59. The 5% Trend becomes 0.89 + 0.05 × (−30 − 0.89) = 0.89 − 1.5445 = −0.6545, or −0.65. The oscillator is −6.59 − (−0.65) = −5.94. On day 62, a modestly positive day (+12) lifts the fast trend more than the slow one, so the oscillator rises to −4.71. A run of negative days then pushes it lower again.

Two things to notice. First, the oscillator responds to changes in breadth: a single positive day moved it up even though breadth was still weak overall. Second, these values are small because the universe has only 100 members, so net advances can never exceed ±100. NYSE data, with thousands of issues, produces values many times larger. That is the reason for the ratio-adjusted version.

Ratio-adjusted net advances: comparing universes of different sizes#

Ratio-adjusted net advances divide net advances by the number of issues that moved, then multiply by 1,000: (advances − declines) ÷ (advances + declines) × 1,000. This scales any universe to a notional 1,000 issues, so readings can be compared across years and exchanges even as the number of listed issues changes. On day 61, (35 − 65) ÷ 100 × 1,000 = −300.0; on day 62, (55 − 43) ÷ 98 × 1,000 = 122.4. A day with 1,800 advances and 1,200 declines on a 3,000-issue exchange and a day with 60 advances and 40 declines in a 100-stock index both give 200. In this universe the ratio-adjusted oscillator is about ten times the traditional one: −70.1 on day 66.

The McClellan Summation Index: a running total of the oscillator#

The McClellan Summation Index adds each day's oscillator reading to the previous day's total. Because the oscillator measures how breadth is changing, its running total tracks the level of breadth over a longer horizon: it rises while the oscillator is positive, that is, while recent net advances run above their longer average, and falls while the oscillator is negative. A running total has no natural starting point, so conventions differ. McClellan Financial describes the classic Summation Index as calibrated so that its neutral level is +1,000, a convention that dates from hand calculation, and uses zero as the neutral level for its ratio-adjusted version. StockCharts' ChartSchool starts the total at the first oscillator value. Read the starting convention of any Summation Index before comparing its level with someone else's.

One level deeper, the start can be chosen so that the level means something. From the two update rules, each day's oscillator equals 19 × (change in the 5% Trend) − 9 × (change in the 10% Trend). So a running total started at 19 × (5% Trend) − 9 × (10% Trend) always equals that expression, whatever the start date. With that start, a market whose ratio-adjusted net advances held steady at 110 a day would settle at a Summation Index of 1,100, ten times the daily level, and zero marks a market where advances and declines balance over time. Figure 1 uses that start. Starting instead at the first oscillator value, as ChartSchool does, puts every value for this synthetic universe 2,162 lower; the shape is identical.

Reading the McClellan Oscillator on a chart#

Read the oscillator for the direction and force of breadth changes, and the Summation Index for the trend those changes add up to. A surge from deeply negative to strongly positive is often called a breadth thrust; ChartSchool describes a move from below −50 to above +50 in the ratio-adjusted version. Readings far below zero show broad selling. Divergences from the index matter more on the Summation Index than on the noisy daily oscillator. Figure 1 shows the synthetic universe with the ratio-adjusted oscillator and its Summation Index.

Three aligned panels of synthetic data over 168 trading days. Top: a cap-weighted index of 100 stocks rises to 1,206.7 on day 138 and falls afterward. Middle: the ratio-adjusted McClellan Oscillator as bars, reaching +55.5 on day 5, falling to -107.8 on day 76 and reading +36.7 on day 138. Bottom: the Summation Index rises from 507.2 to a peak of 1,050.1 on day 21, turns negative on day 69, and is -1,103.8 on day 138 and -1,416.7 on day 168.
Figure 1. Synthetic data. The oscillator reads positive at the index high (C), while the Summation Index shows breadth has been weak for months.
  • A, day 5: a thrust. Broad buying lifted the oscillator to +55.5, and the Summation Index climbed to its peak of 1,050.1 on day 21.
  • B, day 76: broad selling. The oscillator fell to −107.8 while the index, at 1,053.3, was only slightly below its earlier level. Most members were falling; the largest were not.
  • C, day 138: a misleading positive. As the index made its high of 1,206.7, the oscillator was +36.7, a reading that looks healthy in isolation. The Summation Index, at −1,103.8, had been below zero since day 69. The oscillator was positive only because breadth was a little less bad than in the preceding weeks.

Between day 53 and day 138, the oscillator was positive on 25 of 86 days, and it crossed zero 19 times over the 168 days. A trader reading each zero crossing as a signal would have traded often and mostly in the noise. The Summation Index gave the clearer picture of a narrowing rally.

When the McClellan Oscillator misleads#

Seeding changes the early values. An EMA needs a starting value. The calculation used for the charts here, like ChartSchool's, seeds each trend with a simple average of its first 19 or 39 days, so the oscillator has no value until day 39. Other software seeds with the first day's value, or with zero. Figure 2 computes the ratio-adjusted oscillator three ways from the same synthetic data, starting on the first day of the data.

One panel showing the ratio-adjusted McClellan Oscillator for the first 150 days of the synthetic data under three seeding choices. With simple-average seeds the line starts on day 39 at -104.6. Seeded with the first day's value it reads -107.1 on day 39, and seeded at zero it reads -40.5. The three lines converge by about day 100 and agree within 0.3 by day 151.
Figure 2. Synthetic data. Three common seeding choices give very different early readings from identical breadth data, then converge.

On day 39, the three versions read −104.6 (simple-average seeds), −107.1 (first-value seeds) and −40.5 (zero seeds). By day 61 the zero-seeded version still read 33.5 against 11.8; by day 101 the readings were −35.8, −36.1 and −33.0, and by day 151 they agreed within 0.3. The slow trend forgets its starting value at 5% a day, so after 100 days about 0.95¹⁰⁰ ≈ 0.6% of an early difference remains. Ignore roughly the first 100 values of any McClellan series you compute yourself, and expect early values to differ between platforms.

Other ways it misleads:

  • A positive oscillator inside a falling trend, as at point C. The oscillator measures change, not level.
  • Summation Index levels differ between sources. Different start conventions shift the whole series, by 2,162 in this example, so compare direction and turning points across sources, not levels.
  • The traditional version drifts with the size of the universe. Raw net advances grow as an exchange lists more issues, so old and new readings are not comparable; the ratio-adjusted version fixes this.
  • The universe itself. Interest-rate-sensitive issues in an exchange-wide count, or a few large members in a cap-weighted index, can separate breadth from the index you trade.

Arms Index (TRIN): where is the trading volume going?#

The Arms Index, also called TRIN, divides the advance/decline ratio by the up/down volume ratio for one universe on one day: TRIN = (advances ÷ declines) ÷ (up volume ÷ down volume). Its inputs are the counts and share volumes of advancing and declining issues. It is a pure ratio with 1.0 as neutral. Rearranged, it equals the average volume per declining issue divided by the average volume per advancing issue, so a value below 1.0 means the rising issues traded more shares each than the falling ones, and a value above 1.0 the reverse. It is usually read daily or as a 10-day average; ChartSchool's example uses a 10-day simple average with bands near 0.80 and 1.20. Richard W. Arms Jr. introduced it in 1967 in Barron's, according to StockCharts, and later described it in his 1989 book The Arms Index (TRIN). Arms also created Ease of Movement, covered in How much volume does it take to move price?.

Calculating TRIN step by step#

Divide advances by declines, divide up volume by down volume, then divide the first ratio by the second. The table uses six consecutive days from the synthetic universe, with volume in millions of shares and ratios rounded to two decimals.

Day Advances Declines Up volume Down volume A/D ratio Volume ratio TRIN
111 69 29 175.2 50.1 2.38 3.50 0.68
112 49 50 173.7 72.9 0.98 2.38 0.41
113 25 75 87.6 122.4 0.33 0.72 0.47
114 32 65 94.3 128.9 0.49 0.73 0.67
115 34 65 115.8 118.6 0.52 0.98 0.54
116 54 44 129.0 92.1 1.23 1.40 0.88

Day 113 worked out: the A/D ratio is 25 ÷ 75 = 0.33 and the volume ratio is 87.6 ÷ 122.4 = 0.72, so TRIN = 0.33 ÷ 0.72 ≈ 0.47. The same answer comes from volume per issue: the 75 decliners traded 122.4 ÷ 75 = 1.63 million shares each on average, and the 25 advancers 87.6 ÷ 25 = 3.50 million each, and 1.63 ÷ 3.50 ≈ 0.47. Three of every four members fell that day, yet TRIN read well below 1.0, a reading usually described as bullish. Four of the six days had more decliners than advancers, and TRIN was below 0.70 on all four.

Reading TRIN on a chart#

Plot TRIN on a logarithmic scale, where 0.5 and 2.0 sit the same distance from 1.0, and read a moving average rather than single days. Low readings that persist suggest volume is flowing into rising issues; high readings, especially spikes on heavy selling, suggest volume is concentrated in falling issues. Extremes are often read the other way, as signs that buying or selling may be exhausted: ChartSchool, for example, treats daily surges above 3.0 as oversold and dips below 0.50 as overbought. Figure 3 shows the synthetic universe.

Two aligned panels of synthetic data over 168 trading days. Top: the cap-weighted index peaking at 1,206.7 on day 138. Bottom: daily TRIN as a thin line and its 10-day average as a thick line on a log scale centered on 1.0. During the narrow rally from day 53 to day 138, the 10-day average is below 1.0 on 72 of 86 days and is 0.79 on day 138. The daily reading is 0.47 on day 113 and peaks at 2.40 on day 153 during the decline.
Figure 3. Synthetic data. TRIN stayed mostly below 1.0 through the narrow rally (A, B) and spiked only once the decline was under way (C).
  • Before day 52, a broad rally. The 10-day average hovered near 1.0 (1.04 on day 52): volume and issues moved roughly together.
  • A, day 113: bullish-looking on a weak day. Daily TRIN was 0.47 although 75 of 100 members fell.
  • B, day 138: the index high. The 10-day average was 0.79, a reading that would usually be taken as volume favoring buyers. During the narrow rally it was below 1.0 on 72 of 86 days, while the McClellan Summation Index in Figure 1 was falling.
  • C, day 153: the spike. Once the leaders stopped rising, daily TRIN jumped to 2.40, and the 10-day average ended at 1.13 on day 168.

In this universe, TRIN was measuring where the volume went, which was into the five heavily traded leaders. It was not measuring how many stocks were participating.

When TRIN misleads#

A few heavy-volume names can dominate it. On day 113, four of the five leaders rose and traded 59.0 million shares, 67% of all up volume. The other 21 rising members averaged 1.36 million shares each. Leave the four leaders out and the remaining 96 members give a TRIN of 1.20 for the day, a bearish reading instead of a bullish one. Because TRIN counts shares, not dollars, a heavily traded low-priced stock can have the same effect.

It is noisy day to day. Over the 168 days, daily TRIN moved by more than 0.3 from one day to the next on 83 of 167 days and crossed 1.0 56 times. Single readings say little; that is why most traders smooth it.

Averages of a ratio are lopsided. On an ordinary scale, readings of 0.5 and 2.0 average 1.25, which looks bearish, although the two days are mirror images; their geometric mean is exactly 1.0. Over the 168 synthetic days, the ordinary average of daily TRIN was 0.99 but the geometric average 0.91. A simple moving average of TRIN therefore leans toward high readings, so compare like with like, or average the logarithms.

Small denominators explode. On a day with very few declines, or very little down volume, the ratio can become extreme or undefined. A small universe makes this more likely.

Check your understanding: the McClellan Oscillator and TRIN#

Question, part 1: McClellan Oscillator. For a large exchange, yesterday's 10% Trend was 40 and the 5% Trend was 25. Today net advances are +200. Tomorrow they are −150.

  1. What are the two trends and the oscillator after today?
  2. What are they after tomorrow, and why is the oscillator still positive after a day when far more issues fell than rose?

Question, part 2: TRIN. On a 3,000-issue exchange, 1,200 issues advance on 900 million shares and 1,800 decline on 600 million shares.

  1. What is TRIN, and what does the volume per issue show?
  2. Would you call this a strong day?
Show the answers

Answer.

  1. 10% Trend = 40 + 0.10 × (200 − 40) = 56. 5% Trend = 25 + 0.05 × (200 − 25) = 33.75. Oscillator = 56 − 33.75 = 22.25.
  2. 10% Trend = 56 + 0.10 × (−150 − 56) = 35.4. 5% Trend = 33.75 + 0.05 × (−150 − 33.75) ≈ 24.56. Oscillator ≈ 35.4 − 24.56 = 10.84. It fell sharply but stayed positive because the fast trend, lifted by the strong day before, is still above the slow trend. The oscillator responds to changes in breadth with a lag, like MACD with prices.
  3. TRIN = (1,200 ÷ 1,800) ÷ (900 ÷ 600) = 0.667 ÷ 1.5 ≈ 0.444. Each advancing issue traded 0.75 million shares on average, each declining issue about 0.333 million.
  4. Not on the evidence of TRIN alone. Most issues fell, three for every two that rose, but the rising ones drew most of the volume. One reading is heavy buying in a few large stocks; another is that a few names with news traded unusually high volume. Check which stocks carried the up volume, and read TRIN as a 10-day average alongside the McClellan Summation Index before drawing a conclusion.