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

What do TSI and the Awesome Oscillator smooth out?

Intermediate 15 min read

Short answerBoth smooth away bar-to-bar noise so momentum's direction is easier to see, but they smooth different things. The true strength index (TSI) smooths the one-bar change in the close twice with exponential moving averages (25 bars, then 13) and divides it by the same smoothing of the change's size. It runs from −100 to +100 and measures how consistently price has moved one way, not how far: in this lesson's designed example, a quiet 6.4% climb scores 76 and a volatile 19.8% rally only 29. The Awesome Oscillator (AO) ignores the close: it subtracts the 34-bar average of each bar's midpoint, (high + low) ÷ 2, from the 5-bar average. It is in price units, so a reading only makes sense for that asset. Both react after price has turned.

So read a high TSI as steady movement rather than a big move, and compare an AO reading only with the same asset's history. The signal rules traders attach to both, as to MACD, fail regularly, and each indicator's section shows a failure.

Valmy noteValmy's v1 strategy language includes the simple moving average and no other indicator, so TSI and the Awesome Oscillator are taught here for reading charts (as of 26 November 2026).

True strength index (TSI): double-smoothed momentum#

The true strength index (TSI) measures how consistently the close has been moving in one direction. Its input is the close. Its scale runs from −100, when every recent change was a fall, to +100, when every change was a rise, with zero meaning gains and losses have balanced out. William Blau introduced it in Technical Analysis of Stocks & Commodities in November 1991 and expanded on it in his 1995 book Momentum, Direction, and Divergence. The usual settings are 25 and 13 bars:

TSI = 100 × EMA13(EMA25(change)) ÷ EMA13(EMA25(|change|))

where change is today's close minus yesterday's close and |change| is its size without the sign. The 25-bar smoothing comes first. TA-Lib's documentation notes that swapping the order gives different values, so check which order a platform uses.

Many charts add a signal line, an exponential moving average of TSI itself, and its length is not standardized. TradingView's help page says 7 to 12 bars is usual, StockCharts' examples use 7 and 10, and TA-Lib outputs no signal line at all. This lesson uses 7.

An exponential moving average (EMA) of n bars gives the newest value a weight α = 2 ÷ (n + 1) and keeps the rest from the previous average. What does a moving average actually measure? explains it in detail.

Calculating TSI step by step#

To calculate TSI, find each bar's change in the close, smooth the changes twice, smooth their absolute sizes twice in the same way, and divide. Each EMA here starts from the simple average of its first n inputs, as TA-Lib does. To keep the arithmetic short, the example uses 3 bars for both smoothings, so α = 0.5 throughout; the default 25 and 13 bars need 37 bars of history before the first value.

Bar Close Change Smooth 1 Smooth 1, size Smooth 2 Smooth 2, size TSI
1 50.0
2 50.6 +0.6
3 50.3 −0.3
4 51.2 +0.9 0.4000 0.6000
5 51.0 −0.2 0.1000 0.4000
6 51.8 +0.8 0.4500 0.6000 0.3167 0.5333 59.4
7 52.4 +0.6 0.5250 0.6000 0.4208 0.5667 74.3
8 52.0 −0.4 0.0625 0.5000 0.2417 0.5333 45.3
9 52.8 +0.8 0.4313 0.6500 0.3365 0.5917 56.9
  1. First smoothing, bar 4. The average of the first three changes is (0.6 − 0.3 + 0.9) ÷ 3 = 0.4000. The average of their sizes is (0.6 + 0.3 + 0.9) ÷ 3 = 0.6000.
  2. Bar 5. Change: 0.4000 + 0.5 × (−0.2 − 0.4000) = 0.1000. Size: 0.6000 + 0.5 × (0.2 − 0.6000) = 0.4000.
  3. Second smoothing, bar 6. The average of the first three smoothed changes is (0.4000 + 0.1000 + 0.4500) ÷ 3 = 0.3167, and of the smoothed sizes (0.6000 + 0.4000 + 0.6000) ÷ 3 = 0.5333.
  4. TSI, bar 6 = 100 × 0.3167 ÷ 0.5333 = 59.4.

On bar 8 the close fell 0.76%, and TSI dropped from 74.3 to 45.3 but stayed positive. If every change had been a rise, the smoothed change and the smoothed size would be equal and TSI would read exactly +100. The denominator is what makes TSI independent of price level and volatility: a coin at 0.50 and a stock at 500 can be read on the same −100 to +100 scale.

Reading TSI on a chart#

Read TSI by its side of zero and its direction: above zero, the smoothed changes are mostly gains; a falling TSI means gains are becoming less consistent. Figure 1 shows TSI(25,13) and a 7-bar signal line on synthetic daily closes. The chart starts after 40 bars of history, so the averages are warmed up.

Synthetic daily closes rise to a peak of 117.95 on day 57, pull back, make a lower high of 111.71 on day 94 and fall to 87.20 by day 143. TSI(25,13) below them peaks at 43.9 on day 57 (A), crosses below zero on day 68 (B), returns above zero on day 94 and crosses below zero again on day 111 (C), falling to minus 67.4. A dashed 7-bar signal line follows TSI.
Figure 1. Synthetic data. TSI peaked with price and crossed zero after each turn; its one move back above zero came on the day of the lower second high.
  • A, day 57. Price peaks at 117.95 and TSI peaks at +43.9 on the same day. In a steady rally the double-smoothed gains outweigh the losses, but a reading of +44 means the advance still had plenty of down days.
  • B, day 68. TSI crosses below zero with the close at 109.32, 7.3% below the peak. The smoothing filtered the noise but also delayed the warning by 11 days.
  • Day 94. TSI climbs back above zero on the very day of the second, lower high at 111.71. Read as a buy signal, that crossing would have bought the top of the bounce.
  • C, day 111. TSI crosses below zero again with the close at 108.44, and it keeps falling to −67.4 by day 143 as price slides to 87.20.

The signal line crossed TSI nine times in 143 days, more often than the zero line, and two of those crossings reversed within two days. Crossings of a smoothed line are slower than crossings of price but are still not free of whipsaws.

TSI compared with MACD#

TSI and MACD both measure the slope of a smoothed price. Smoothing the one-bar changes, as TSI's numerator does, gives the same result as taking the one-bar change of a smoothed close, once the start-up effects fade, so TSI's numerator rises and falls with the slope of a double-smoothed price, much as MACD does with the gap between two EMAs. The difference is the denominator. MACD stays in price units, so it cannot be compared across assets. TSI divides by the smoothed size of the moves, so its readings are bounded and comparable. On Figure 1's data, MACD and TSI crossed zero on exactly the same days (68, 94 and 111), as Figure 5 below shows.

When TSI misleads: consistency is not size#

Because TSI divides by the average size of the moves, it rewards steadiness rather than distance. A slow, quiet climb can score higher than a much larger rally with big daily swings. Figure 2 was designed to show this.

Synthetic daily closes climb quietly from 105.59 to 112.35 over days 1 to 41, trade sideways, then rally from 114.12 to 136.71 between days 66 and 106 with large swings. TSI reaches 76 at the end of the quiet climb but only 29 at the end of the larger rally, peaking at 41 during it.
Figure 2. Synthetic data, designed for this lesson. The 6.4% quiet climb scores TSI 76; the 19.8% volatile rally scores 29.
Quiet climb, days 1–41 Volatile rally, days 66–106
Price change +6.4% (105.59 to 112.35) +19.8% (114.12 to 136.71)
Average daily move, either direction 0.18% 1.7%
Down days 6 of 39 16 of 39
TSI at the end 76 29 (highest 41)

A trader who read TSI as "how strong is the move" would rank the quiet climb as the stronger trend, though the rally gained three times as much. Both readings are correct about what TSI measures: the climb was more consistent. The rate of change from How fast is price moving, and is it beating the market? answers the size question; TSI answers the consistency question.

The same property makes "overbought" levels unreliable. A quiet, steady trend can hold TSI at high readings for weeks while price keeps rising, and fixed thresholds such as ±25 suit some markets and settings but not others. TradingView's help page also warns that signal-line crossovers are frequent and need filtering.

TSI on stock and crypto charts#

TSI uses only closes, so it works on any series with a close, including indexes published without highs and lows. On daily bars, 25 and 13 bars are about five and two-and-a-half weeks of US stock trading, or 25 and 13 calendar days of a crypto pair. A stock's overnight gap enters TSI as one large close-to-close change, which moves both the numerator and the denominator; a continuously traded crypto pair spreads the same move over several bars. Different platforms seed the EMAs differently, so the first few dozen values can disagree even when the formula is the same; TA-Lib's documentation notes that such differences fade as history accumulates.

Awesome Oscillator: 5-bar versus 34-bar midpoint averages#

The Awesome Oscillator (AO) measures whether the last 5 bars traded above or below the last 34 bars, using each bar's midpoint: AO = SMA5(midpoint) − SMA34(midpoint), where midpoint = (high + low) ÷ 2 and SMA is a simple moving average. Its inputs are the high and the low; it never uses the open or the close. Its unit is price, so a reading of +2.5 means the 5-bar average midpoint is 2.5 above the 34-bar one, in that asset's currency. It is usually drawn as a histogram: a bar higher than the previous one is shown in green and a lower one in red. Bill Williams created it; his 1998 book New Trading Dimensions has a chapter titled "The Awesome Oscillator".

In this lesson's figures, rising bars are hollow with a blue outline and falling bars are filled red, so they can be told apart without color.

Calculating the Awesome Oscillator step by step#

To calculate AO, average each bar's high and low, take a short and a long simple average of those midpoints, and subtract the long from the short. To keep the arithmetic short, the example uses 3 and 6 bars instead of 5 and 34; the steps are the same. With the default settings the first value needs 34 bars.

Bar High Low Midpoint SMA(3) SMA(6) AO Bar color
1 10.2 9.8 10.0
2 10.5 9.9 10.2
3 10.6 10.2 10.4 10.200
4 10.5 10.1 10.3 10.300
5 10.9 10.3 10.6 10.433
6 11.1 10.7 10.9 10.600 10.400 +0.200 first value
7 10.7 10.3 10.5 10.667 10.483 +0.183 lower: red
8 11.5 10.9 11.2 10.867 10.650 +0.217 higher: green
  1. Midpoint. Bar 6: (11.1 + 10.7) ÷ 2 = 10.9.
  2. Short average, bar 6. (10.3 + 10.6 + 10.9) ÷ 3 = 10.600.
  3. Long average, bar 6. (10.0 + 10.2 + 10.4 + 10.3 + 10.6 + 10.9) ÷ 6 = 10.400.
  4. AO, bar 6 = 10.600 − 10.400 = +0.200.

On bar 7 the AO is still positive at +0.183 but lower than on bar 6, so the bar is red. On bar 8 it rises to +0.217, a green bar. The color describes the change in AO, not its sign, which is why a red bar can sit above zero.

Reading the Awesome Oscillator on a chart#

Read the AO by its sign, which says whether recent trading is above the longer average, and by its bar colors, which say whether that gap is widening or narrowing. Three trading signals are associated with Williams' use of the AO. The definitions below follow the MetaTrader 5 and TradingView documentation, because Williams' own book could not be consulted for this lesson.

  • Zero-line cross. AO moves from below zero to above zero (bullish) or the reverse (bearish).
  • Saucer. A bullish saucer forms above zero: two consecutive red bars, the second lower than the first, followed by a green bar. The bearish version forms below zero with two green bars followed by a red one.
  • Twin peaks. A bullish twin peaks forms below zero: two troughs, the second higher than the first, with AO staying below zero between them, followed by a green bar. The bearish version mirrors it above zero.

Each signal is complete when its last bar closes. A trader acting on it can be filled no earlier than the next bar's open.

Synthetic daily candles fall from about 104 to a low of 87.64 on day 46, bounce, make a lower low of 86.04 on day 71 and rally to 110.00 by day 117. The Awesome Oscillator below has a first trough of minus 9.2 on day 47 and a higher second trough of minus 3.0 on day 73, followed by a rising bar on day 74 marked T. It crosses above zero on day 78, marked Z, and forms a saucer above zero on day 102, marked S.
Figure 3. Synthetic data. Price made a lower low while the AO made a higher trough; in this example all three signals were followed by higher prices.
  • T, twin peaks, day 74. The AO's first trough was −9.2 on day 47 and its second −3.0 on day 73, although price made a lower low (86.04 on day 71 against 87.64 on day 46). The decline was losing momentum. The rising bar on day 74 completed the signal; the earliest fill was the day-75 open at 89.12.
  • Z, zero-line cross, day 78. The AO turned positive with the close at 92.54.
  • S, saucer, day 102. In the uptrend the AO fell for two bars (3.85, then 3.84) and rose to 4.01. The earliest fill was the day-103 open at 100.83, and price closed at 110.00 on day 117.

This chart was designed so that the signals worked. The next section shows the same rule failing.

When the Awesome Oscillator misleads: a saucer that fails#

A saucer needs only three bars of AO movement, so a brief bounce inside a turning market can complete one. In Figure 4, designed for this lesson, price rose to 116.00 on day 41, dipped for three days to 112.50 and bounced to 117.00 on day 47. The AO fell on days 45, 46 and 47 (3.67, 3.18, 3.14) and rose on day 48 (3.40), completing a bullish saucer above zero.

Synthetic daily candles rise to 116.00 on day 41, dip for three days, bounce and then fall steadily to 97.00 by day 76. The Awesome Oscillator completes a bullish saucer on day 48, marked S. A buy at the day-49 open of 116.34 is followed by the AO crossing below zero on day 54, marked Z, and a sell at the day-55 open of 109.24.
Figure 4. Synthetic data, designed for this lesson. The saucer completed just as a steady decline began; the trade lost 6.1% before the zero-line exit.

Suppose a trader buys on the saucer and decides in advance to sell if the AO closes below zero. The saucer completed at the close of day 48, so the buy fills at the day-49 open, 116.34; this synthetic market trades around the clock, so each day opens at the previous close. The AO closed below zero on day 54, and the sell fills at the day-55 open, 109.24. The result is 109.24 ÷ 116.34 − 1 = −6.1%, before fees and slippage. Price kept falling to 97.00, so the exit rule limited the damage, but the signal itself had pointed the wrong way.

Two features of the AO contributed. First, it compares averages of past midpoints, so a few higher bars can turn it up even when the larger move is ending. Second, it is in price units: whether a reading of 3.40 is large depends on the asset's price and volatility, so the size of the AO says little about how much trend is left. Like MACD, it cannot be compared across assets without converting it to a percentage, which is not part of Williams' definition.

The Awesome Oscillator on stock and crypto charts#

The AO needs highs and lows. A series published with closing values only, such as some index histories, or a chart drawn as a line of closes, cannot produce it; TSI, MACD and rate of change can still be computed from the closes. On daily bars, 34 bars cover about seven weeks of US stock trading and 34 calendar days of a crypto pair. Because it averages midpoints, the AO does not register an overnight gap directly: a stock that gaps up and trades flat moves the AO only through the higher midpoints of the bars that follow. Its price units also mean that a long stock history with a large price rise shows growing AO swings, just as MACD does.

Comparing TSI, the Awesome Oscillator and MACD#

All three are trend-following momentum measures built from moving averages, and on the same data they mostly agree on direction. They differ in inputs, smoothing and scale. Figure 5 draws them on the closes and candles from Figure 1.

Synthetic closes with three indicators below: MACD with its dashed signal line, TSI(25,13), and the Awesome Oscillator histogram. MACD and TSI cross zero on days 68, 94 and 111; the Awesome Oscillator on days 66, 93 and 112. MACD ranges from minus 4.5 to plus 2.4, TSI from minus 67.4 to plus 43.9 and the Awesome Oscillator from minus 11.3 to plus 6.0.
Figure 5. Synthetic data. The three lines changed sign within two days of one another; what differs is the scale each one uses.

On these prices, MACD and TSI crossed zero on the same days (68, 94 and 111) and the AO within two days of them (66, 93 and 112). None of them anticipated the turns; each confirmed them after the fact. The differences show up elsewhere:

MACD TSI Awesome Oscillator
Input Close Close High and low (midpoint)
What is smoothed Close, by EMA12 and EMA26 One-bar change and its size, by EMA25 then EMA13 Midpoint, by SMA5 and SMA34
Scale Price units, unbounded −100 to +100 Price units, unbounded
Comparable across assets No Yes No
Signal line EMA9 of MACD EMA of TSI, length varies (7 here) None; bar color shows the change
Ranges on Figure 5's data −4.5 to +2.4 −67.4 to +43.9 −11.3 to +6.0

A trader who already reads MACD can read the AO the same way, as a faster, midpoint-based cousin without a signal line, and TSI as a scaled version whose readings mean the same thing on any chart. None of the three adds information that is not already in the price; they present it differently.

Check your understanding: TSI and the Awesome Oscillator#

Part 1, TSI. On one chart, the double-smoothed price change is 0.84 and the double-smoothed size of the change is 1.20. A week later, after a quiet stretch of small, mostly upward moves, the two values are 0.30 and 0.32.

  1. What is TSI on each date?
  2. Does the higher reading mean price rose more?
Show the answers

Answer.

  1. First date: 100 × 0.84 ÷ 1.20 = 70.0. Later date: 100 × 0.30 ÷ 0.32 = 93.8.
  2. No. The later reading is higher because the moves were more one-directional, not larger: the smoothed size of the moves fell from 1.20 to 0.32. As in Figure 2, TSI measures how consistent the moves were. To judge how far price traveled, look at the price change or its rate of change.

Part 2, Awesome Oscillator. On a daily chart, the 5-bar average midpoint is 101.2 and the 34-bar average midpoint is 99.8. The AO's previous three values were 2.1, 1.7 and 1.4, ending today, and tomorrow it reads 1.6.

  1. What is today's AO, and what color are the last bars?
  2. Does tomorrow complete a signal, and when could a trader act on it?

Answer.

  1. AO = 101.2 − 99.8 = 1.4. It fell from 2.1 to 1.7 (red) and from 1.7 to 1.4 (red), so the last two bars are red even though the AO is positive.
  2. Tomorrow's 1.6 is higher than 1.4, a green bar. Two red bars followed by a green bar, all above zero, complete a bullish saucer at tomorrow's close. The earliest fill is the following bar's open. Figure 4 showed that the same pattern can appear just before a decline, so a trader who acts on it would decide the exit, for example a close below zero, and the position size before entering.