Trend indicators

Relative Vigor Index (RVI): Formula, Signal Line and a Cross Test Against the RSI

The Relative Vigor Index compares the close with the open of each bar, scaled by the bar's range, and smooths it into a line and a signal. Here is John Ehlers' idea, the exact calculation, and what trading its crosses did on daily Bitcoin and the S&P 500 ETF next to a simple RSI rule.

· Founder of PatternsWizard
Checked 7 min read
RVI(10) on Bitcoin, daily, August 30, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
On this page
  1. How the Relative Vigor Index is calculated
  2. How traders read the RVI
  3. RVI crosses against RSI on daily Bitcoin and the S&P 500 ETF
  4. Settings
  5. Does it work?
  6. Frequently asked questions

The Relative Vigor Index (RVI) measures where each bar closes relative to where it opened, scaled by the bar's range. John Ehlers presented it in Technical Analysis of Stocks & Commodities in January 2002, from the observation that prices tend to close higher than they open in up markets and lower than they open in down markets. The result is an oscillator around zero with a signal line, read mostly by crossings.

Relative Vigor Index on daily Bitcoin

RVI(10) on Bitcoin, daily, July 1, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • RVI(10) (solid line)
  • Signal, 1-2-2-1 weighted average of RVI (solid line, second color)
RVI(10) on Bitcoin, daily, July 1, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

The name is shared: “RVI” also stands for the Relative Volatility Index, Donald Dorsey's volatility indicator, which is a different calculation. Check which one a platform means before copying settings.

How the Relative Vigor Index is calculated

Ehlers' starting point is the ratio (Close − Open) / (High − Low) for each bar. The usual version, documented by MetaTrader 5, smooths the top and the bottom of that ratio separately over four bars with weights 1, 2, 2, 1, averages each over 10 bars, then divides. The signal line is the same four-bar weighting applied to the RVI itself.

Because the averages of the top and the bottom are divided, not the bar ratios themselves, a wide bar weighs more than a narrow one. On daily Bitcoin since April 2025, the line ran between −0.529 and 0.554.

How the Relative Vigor Index weights the last four bars

How the Relative Vigor Index weights the last four bars: four candles labeled t minus 3, t minus 2, t minus 1 and t, weighted times 1, times 2, times 2 and times 1. On the last candle a bracket marks the body, close minus open, and a measure marks the range, high minus low. Below, the steps: the numerator is the weighted sum of the four close minus open divided by 6, the denominator the weighted sum of the four high minus low divided by 6, the RVI is the 10-bar average of the numerator divided by the 10-bar average of the denominator, and the signal line is the same 1, 2, 2, 1 weighting of the RVI.
Schematic, not market data.

How traders read the RVI

  • Signal line crosses: the RVI crossing above its signal line is read as bullish, below as bearish.
  • Zero line: above zero, closes have been above opens on average over the period, below zero the reverse.
  • Divergence: price making a new high while the RVI makes a lower high, or the reverse at lows (see divergence).

RVI crosses against RSI on daily Bitcoin and the S&P 500 ETF

We traded every cross of the RVI(10) over its signal line, long on a cross up, short on a cross down, at the next day's open and always in the market after the first signal (stop and reverse), with no costs. As a comparison, we ran the same rule on the 14-day RSI crossing 50. Both start after the warm-up of the slower one: the daily series begin on March 8, 2025 for Bitcoin and June 7, 2024 for the ETF, and signals count from the 44th bar (April 20, 2025 and August 9, 2024); each run begins with its own first signal, so buy and hold, in the chart below the table, is measured from that date.

RVI cross, BitcoinRSI 50, BitcoinRVI cross, S&P 500 ETFRSI 50, S&P 500 ETF
First entryApril 30, 2025June 6, 2025August 27, 2024August 14, 2024
Signals975110859
Closed trades965010758
Winning trades37104117

Every cross traded, against buy and hold from the same date

Every cross traded, against buy and hold from the same date. RVI cross, Bitcoin: Cross rule, stop and reverse, no costs −32.98%, Buy and hold from the first entry −13.70%; RSI 50, Bitcoin: Cross rule, stop and reverse, no costs +31.15%, Buy and hold from the first entry −19.87%; RVI cross, S&P 500 ETF: Cross rule, stop and reverse, no costs −39.95%, Buy and hold from the first entry +41.66%; RSI 50, S&P 500 ETF: Cross rule, stop and reverse, no costs −0.59%, Buy and hold from the first entry +46.00%. Our computation; the inputs and the method are in the text.
  • Cross rule, stop and reverse, no costs
  • Buy and hold from the first entry
Our computation; the inputs and the method are in the text.Daily bars to October 28, 2026, result including the open position. Two markets and one setting: an illustration, not a test of the indicator.

On both markets the RVI cross lost money, and more than buy and hold: −32.98% on Bitcoin while the coin fell 13.70%, −39.95% on the ETF while it rose 41.66%. It gave about twice as many signals as the RSI rule, and 36 of its 97 Bitcoin signals came 3 days or less after the previous signal. The RSI rule gained on Bitcoin and roughly broke even on the ETF; it won only 10 of its 50 Bitcoin trades, so a few large moves carried it. The best single RVI trade on Bitcoin was the long of August 19, 2026 at 64,725.42, closed on August 26 at 78,539.13 (+21.34%), right after that run in the range.

At the end of the series, the Bitcoin run was short since the open of October 24, 2026, down 0.19%, with a new cross up on October 28 not yet traded. These are two markets with one setting and no costs: an illustration of how often the line crosses, not a test of the indicator.

Settings

MetaTrader 5 says that “10 is considered the best period” for the averages; it gives no test behind it. A longer period smooths the RVI but not the signal line, which stays a four-bar average of it, so the two lines keep crossing. On daily Bitcoin from April 21, 2025 to October 28, 2026, the RVI crossed its signal line 98 times with a length of 10, 98 times with 20 and 107 times with 30. Over the 120 days of the first chart, the RVI(30) below crossed 24 times, against 20 for the RVI(10): a flatter line, and even more crosses.

RVI(30) on daily Bitcoin: smoother line, same four-bar signal

RVI(30) on Bitcoin, daily, July 1, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • RVI(30) (solid line)
  • Signal, 1-2-2-1 weighted average of RVI (solid line, second color)
RVI(30) on Bitcoin, daily, July 1, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

One way to cut the noise is to take only crosses in the direction of a slower trend tool, such as a 50-day moving average (our suggestion, untested).

Does it work?

Nothing published shows an edge, and our two series show the cross rule losing. Our bench measures chart patterns detected by rule against random entries, not indicators (see our methodology). The RVI is closest in spirit to the Balance of Power, which uses the same close minus open over high minus low ratio, and to the stochastic oscillator, which places the close in its recent range. The Fisher Transform, which Ehlers presented ten months after the RVI, also rescales price into an oscillator, from the median price's place in its recent range. For an RSI built on a longer price change, see the Relative Momentum Index. More tools are listed with the trend indicators.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What does RVI mean?

In this page, Relative Vigor Index, John Ehlers' oscillator built on close minus open over high minus low. The same acronym is used for the Relative Volatility Index, a different indicator by Donald Dorsey.

What is the formula for calculating the vigor index?

For each bar, take Close − Open and High − Low, weight the last four bars 1, 2, 2, 1 and divide by 6, average each over 10 bars, then divide the first average by the second. The signal line is the same 1, 2, 2, 1 weighting of the RVI.

What is the best setting for the Relative Vigor Index?

The default is 10, which MetaTrader 5 calls the best period without a published test. Changing it does not slow the signal line, which is always a four-bar average.

Is the RVI better than the RSI?

Not on our two daily series. Trading every cross, the RVI lost on Bitcoin and the S&P 500 ETF; an RSI 50-line rule gained on Bitcoin and broke roughly even on the ETF. Two markets are not enough to rank them.

Sources

  1. John Ehlers, Relative Vigor Index, Technical Analysis of Stocks & Commodities, January 2002
  2. MetaTrader 5 Help, Relative Vigor Index
  3. TradingView Help Center, Relative Vigor Index
, 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 trend indicators articles