Relative Vigor Index (RVI)
By Chad Smith, Director of Research & Analysis · Updated
On this page
The relative vigor index (RVI) is a momentum oscillator developed by John Ehlers. It measures the conviction behind price moves by comparing how far each bar closes from its open with the bar's full range. The idea is that in a vigorous uptrend, closes tend to be above opens, and in a downtrend, closes tend to be below opens. RVI plots two lines, the RVI and a signal line, around zero.
What it measures
RVI measures the internal strength of bars over a period. For each bar, it looks at close minus open, which shows who won the bar, and high minus low, which shows how much ground was covered. Dividing the first by the second shows how decisive the bar was.
If closes are consistently well above opens, relative to the range, RVI is positive and rising. If closes are consistently below opens, RVI is negative. A reading near zero means bars have closed near their opens, showing indecision.
Ehlers smoothed both the numerator and the denominator with a short symmetrical weighting before summing them over the period. This reduces noise while keeping the indicator responsive. Note that this RVI is different from the relative volatility index, which shares the abbreviation.
The formula
For each bar:
Numerator = ((Close − Open)
+ 2 × (Close[1] − Open[1])
+ 2 × (Close[2] − Open[2])
+ (Close[3] − Open[3])) / 6
Denominator = ((High − Low)
+ 2 × (High[1] − Low[1])
+ 2 × (High[2] − Low[2])
+ (High[3] − Low[3])) / 6
RVI = SMA(Numerator, N) / SMA(Denominator, N)
Signal = (RVI + 2 × RVI[1] + 2 × RVI[2] + RVI[3]) / 6
where
[1], [2], [3] = one, two and three bars ago
N = the lookback period (10 by default)
Worked example (illustrative numbers). Suppose, after the weighting step, the 10-bar average numerator is 0.30 and the 10-bar average denominator is 1.20. RVI = 0.30 / 1.20 = 0.25. On average, closes have been above opens by about a quarter of the bar's range, which suggests moderate bullish vigor. If the last three RVI values were 0.20, 0.22 and 0.18, the signal line is (0.25 + 2 × 0.20 + 2 × 0.22 + 0.18) / 6 = (0.25 + 0.40 + 0.44 + 0.18) / 6 = 1.27 / 6 ≈ 0.21. RVI is above its signal line.
Default settings
| Setting | Conventional value |
|---|---|
| Period | 10 |
| Signal | 4-bar symmetrical weighted average |
| Source | Open, high, low, close |
The relative vigor index is built into MetaTrader and TradingView.
How to read it
Above or below zero. RVI above zero means closes have been above opens on balance, suggesting bullish vigor. Below zero suggests bearish vigor.
Signal line crosses. RVI crossing above its signal line is a bullish signal, and crossing below is bearish. These are the main signals Ehlers described.
Divergence. If price makes a higher high while RVI makes a lower high, the bars making the new high are less decisive. That divergence can warn of a weakening trend.
Magnitude. Readings far from zero show strong conviction. Because RVI is a ratio of close-open to range, it is naturally limited, though not to a fixed scale like RSI.
RVI vs RSI and the stochastic
RSI compares closing gains with closing losses from one bar to the next. It does not use the open at all. RVI looks inside each bar, comparing close with open. A market can gap up and close below its open; RSI sees a gain, while RVI sees weakness within the bar.
The stochastic oscillator compares the close with the high-low range over several bars. RVI is closer in spirit to the stochastic, since both relate the close to a range, but RVI uses the open as its reference point and smooths with a symmetrical weighting.
The Elder-Ray index also separates bullish and bearish strength, but it uses the high and low against an EMA rather than close versus open.
Common strategies
Signal line crossovers
Buy when RVI crosses above its signal line and sell when it crosses below. Many traders only take crosses in the direction of the larger trend, defined by a moving average.
Zero-line filter
Take bullish signal crosses only when RVI is above zero and bearish ones only when it is below. This reduces counter-trend signals.
Divergence near levels
Look for RVI divergence near support or resistance, or alongside a reversal pattern such as a shooting star. Wait for a signal line cross as confirmation.
Combining with a range oscillator
Some traders pair RVI with the stochastic: RVI for direction and conviction, and the stochastic for overbought or oversold timing.
Weaknesses
RVI whipsaws in choppy markets. When bars close near their opens, RVI hovers around zero and its signal line crosses often.
It lags. The smoothing and the signal line delay turns, so crosses come after price has changed direction.
It depends on meaningful opens. In markets that trade around the clock, the open of each bar is just the price at an arbitrary time, which can make close-versus-open less informative on some timeframes.
There are no fixed overbought or oversold levels, so judging extremes is relative.
Indicators it pairs with
- Moving averages or ADX, to filter RVI signals by trend.
- The stochastic oscillator, for overbought and oversold timing.
- RSI, to compare close-to-close momentum with bar-internal vigor.
- ATR, for stops that match volatility.
- Volume tools like OBV, to check participation behind vigorous bars.
For more on momentum oscillators, see the technical analysis course.
Brokers with strong charting to practice on
Put this into practice on a demo account first, with no money at risk.
- Featured broker
Pepperstone4.7 / 5Visit
IC Markets4.9 / 5Visit
GO Markets4.8 / 5Visit
Frequently asked questions
What does the relative vigor index measure?
RVI measures the conviction behind price moves by comparing how far the close is from the open with the bar's full range. In uptrends, closes tend to be above opens, and in downtrends, below.
Who created the relative vigor index?
John Ehlers developed it. He is known for applying signal processing ideas to trading indicators.
What is the usual RVI setting?
A 10-period setting is common, with a signal line built from a weighted average of recent RVI values.
How is RVI different from RSI?
RSI compares the size of closing gains with closing losses. RVI compares close minus open with high minus low, focusing on each bar's internal strength.
Is the relative vigor index the same as the relative volatility index?
No. They share the abbreviation RVI but are different indicators. The relative volatility index, by Donald Dorsey, applies an RSI-style calculation to standard deviation.