Volatility indicators

Relative Volatility Index (RVI): Dorsey’s Formula, the 50 Line, and How It Compares With RSI

Donald Dorsey’s Relative Volatility Index runs the RSI’s arithmetic on the standard deviation of prices instead of their changes, to say whether volatility sits on up days or down days; here is the formula, the 50-line rule, and how much it added to a simple trend signal on the S&P 500 ETF.

· Founder of PatternsWizard
Checked 7 min read
RVI(10, 14)
On this page
  1. How the Relative Volatility Index is calculated
  2. How to read the RVI: the 50 line
  3. RVI on a real chart
  4. Does it work?
  5. Frequently asked questions

The Relative Volatility Index (RVI) is an oscillator from 0 to 100 that tells whether recent volatility came mostly on up days or on down days. Donald Dorsey introduced it in Technical Analysis of Stocks & Commodities in June 1993, as a confirming indicator: TradingView reports that Dorsey saw it as supplying information that the Relative Strength Index lacks. Dorsey is also the author of the Mass Index. The RSI averages the size of up and down closes; the RVI averages the standard deviation of prices on up and down closes. Two indicators share the RVI acronym: this one, and the Relative Vigor Index, a momentum oscillator built on the close relative to the open.

How the Relative Volatility Index is calculated

LuxAlgo describes the original steps. Compute a rolling standard deviation of closes, 10 periods in Dorsey’s article. On a bar where the close rose, assign that deviation to the up bucket and 0 to the down bucket; on a bar where it fell, the reverse. Smooth both buckets over 14 periods with RSI-style averaging, and plot the up share times 100. LuxAlgo writes the averaging as an exponential average; TA-Lib, the open-source library behind many platforms, uses Wilder's smoothing instead, with the same 10 and 14. TA-Lib, under the name RVIR, and LuxAlgo describe Dorsey’s 1995 revision as the average of the index computed on highs and the index computed on lows; we could not read the 1995 article itself. TradingView describes its RVI as using the standard deviation of highs and lows.

How the RVI sorts volatility into up and down days

Closeup or downStd. deviationof the closesUp bucketDown bucketRVI = smoothed up / (smoothed up + smoothed down)
Schematic, not market data.

The deviation itself has no sign: a calm rise and a calm fall both give a small value. The direction comes only from which bucket receives it, so a large deviation on a down close pulls the index down as hard as the same deviation on an up close pushes it up.

How to read the RVI: the 50 line

Dorsey used the RVI as a gate rather than a signal. The summary of his 1993 article describes it as a confirmation for a crossover of two moving averages, and LuxAlgo writes that his rules only allowed trades in the direction the RVI endorsed. His September 1995 article, “Refining the Relative Volatility Index”, adds a long-term trend filter. TradingView gives the plain version: above 50, volatility is to the upside and a potential buy signal is confirmed; below 50, to the downside, confirming a potential sell signal. TradingView adds that, like the RSI, the RVI can be used to spot overbought and oversold conditions, and LuxAlgo reads RVI lower highs while price makes higher highs as a bearish divergence in the volatility backing the move.

RVIReading
Above 50Volatility mostly on up closes: confirms long signals
Below 50Volatility mostly on down closes: confirms short signals
Price higher high, RVI lower highBearish divergence, less volatility behind the advance

RVI on a real chart

Relative Volatility Index (10, 14) on the daily S&P 500 ETF

781.6703.9626.150Mar 26, 2026Jul 14, 2026Oct 28, 2026
  • Price, daily candles (hollow up, filled down)
  • Relative Volatility Index(10, 14) (solid line)
RVI(10, 14) on S&P 500 ETF, dividend-adjusted prices, daily, March 26, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

The chart shows RVI(10, 14) on the daily S&P 500 ETF from March 26 to October 28, 2026, with dividend-adjusted prices. It made its low of the window, 23.5, on March 30, the day the ETF made its low close, 628.78. It crossed above 50 on April 2, at 652.52, and reached its high, 85.3, on April 17, at 706.56. It stayed above 50 until June 10, at 721.77, while the ETF gained 10.6%.

After that, the rule gave little guidance. From June 10 to the end of the window, RVI crossed 50 another 25 times, often for a day or two, while the ETF rose 7.0%, from 721.77 to 772.31. It ended the window at 59.3.

Does it work?

Our bench tests chart patterns detected by rule against random entries, not indicators (see our methodology). We measured two things on the daily S&P 500 ETF from 1993 to 2026 and on Bitcoin from 2017 to 2026, without costs. First, how close the RVI is to the RSI: the correlation of their daily values was 0.729 on the ETF and 0.676 on Bitcoin. Second, whether Dorsey’s gate improved a simple long signal, the first close above the 20-day simple average.

Close above SMA(20)SignalsMean change over the next 10 daysShare of rises
ETF, all signals500+0.37%58.2%
ETF, RVI above 50379+0.30%57.5%
ETF, RVI at or below 50120+0.62%60.0%
Bitcoin, all signals183+0.44%47.0%
Bitcoin, RVI above 50128+0.42%46.9%
Bitcoin, RVI at or below 5055+0.50%47.3%

One ETF signal, on March 2, 1993, came the day before the RVI’s first reading; it counts only in the first row. Neither market rewarded the gate: signals the RVI confirmed did no better than those it rejected. These are descriptive averages, not a trading test.

The smoothing matters at the margin. With Wilder's smoothing in place of the exponential average, the two versions of the RVI had a correlation of 0.946 on the ETF and 0.943 on Bitcoin, but sat on different sides of 50 on 10.0% and 10.9% of the days, and that is enough to move signals from one row to the other:

Mean 10-day change after a close above SMA(20), by RVI smoothing

ETF, RVI above 50+0.30%, 379 signals+0.36%, 373 signalsETF, RVI at or below 50+0.62%, 120 signals+0.41%, 126 signalsBitcoin, RVI above 50+0.42%, 128 signals+0.12%, 114 signalsBitcoin, RVI at or below 50+0.50%, 55 signals+0.97%, 69 signals
  • Exponential average
  • Wilder's smoothing
Our computation; the inputs and the method are in the text.RVI(10, 14) on closes. Daily S&P 500 ETF from 1993 and Bitcoin from 2017, to October 28, 2026, dividend-adjusted, before costs.

With either smoothing, the rejected signals did at least as well as the confirmed ones on average; on Bitcoin, with Wilder's smoothing, the rejected ones did clearly better. A gate that changes its verdict with the averaging method is not one to rely on without testing it on your own market.

The Average True Range measures the size of volatility without a direction, Bollinger Bands draw the standard deviation around the price, and the Choppiness Index says whether the market trends. See all volatility indicators.

Frequently asked questions

What is relative volatility?

Here it means Dorsey's Relative Volatility Index: the share of recent volatility, measured by the standard deviation of prices, that came on up closes rather than down closes, from 0 to 100. Above 50, more of the volatility came on rising days. It says nothing about how large the volatility is; for that, use the ATR or the width of Bollinger Bands.

What is the formula for calculating the relative volatility index?

Take a 10-bar standard deviation of closes, assign it to up closes or down closes, smooth each over 14 bars, and divide the up average by the sum of both, times 100.

What is the difference between RVI and RSI?

The RSI averages the size of up and down price changes; the RVI averages the standard deviation on up and down closes. On the S&P 500 ETF their daily values had a correlation of 0.729.

Is the Relative Volatility Index the same as the Relative Vigor Index?

No. Both are called RVI, but the Relative Vigor Index compares the close with the open, while the Relative Volatility Index measures the direction of volatility.

How do you use the RVI with other indicators?

Dorsey used it as a confirmation gate: take long signals only above 50 and short signals only below 50. On the ETF and on Bitcoin, that gate did not improve a simple moving average signal in our measurements.

Sources

  1. Donald Dorsey, The Relative Volatility Index, Stocks & Commodities, June 1993
  2. Donald Dorsey, Refining the Relative Volatility Index, Stocks & Commodities, September 1995
  3. TradingView, Relative Volatility Index
  4. LuxAlgo Library, Relative Volatility Index
  5. TA-Lib, RVI function
  6. TA-Lib, Relative Volatility Index, revised (RVIR)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All volatility indicators articles