RVI Periods and Spread Costs: 2 Years Tested
Ten RVI periods backtested on USD/JPY across 2025 and 2024: why a fourteen-fold change in the period barely moves the trade count, and why the spread then decides it.
RVI (the Relative Vigor Index) divides how far the close finished from the open by the bar's high-to-low range. The idea behind it: in a rising market, bars should close near their highs.
So what does changing its period do? I backtested ten periods, from 4 to 55, across the whole of 2025 on USD/JPY, on three timeframes, then ran all of it again on 2024.
The finding that shaped this article: widening the period from 4 to 55 barely changed how often RVI traded. On hourly bars, period 4 produced 1,336 trades a year and period 55 produced 1,078, a reduction of less than 30% despite a fourteen-fold increase in period.
And at more than five hundred trades a year, frequency is not a detail. It decides the result.
What RVI measures
For each bar, two quantities:
- Numerator: close minus open, weighted 1:2:2:1 across the last four bars
- Denominator: high minus low, weighted the same way
Divide one by the other and you have RVI, moving roughly between −1 and +1. Bars that keep closing near their highs push it positive.
That value is then summed over N bars to make the plotted line, and N is the only place the period appears.
There is a second line: the signal. It is RVI itself, weighted 1:2:2:1 over the last four bars. The period does not enter this calculation at all.
Trades come from the two lines crossing. So one line can be smoothed by the period while the other always chases it within four bars. The two can never drift apart for long, which means how often they cross is set by the signal line's construction, not by the period.
The measurements matched the theory.
Adding RVI to a chart
| Platform | How to add it |
|---|---|
| MT4 / MT5 | Built in — Navigator, Oscillators, Relative Vigor Index |
| TradingView | In the indicator list as "Relative Vigor Index" |
| Browser (Formiq) | In the indicator list, with an adjustable period |
How this was measured
| Item | Value |
|---|---|
| Pair | USD/JPY |
| Period | 2025-01-01 to 2025-12-31 (2024 run identically for comparison) |
| Timeframes | 15-minute / 1-hour / 4-hour |
| Bars tested | 6,226 hourly bars in 2025; 24,903 on 15-minute, 1,610 on 4-hour |
| Buy | RVI crosses above its signal line, filled at that bar's close |
| Sell | RVI crosses below it |
| Exit | The opposite crossover only — no stop, no target, no time exit |
| Costs | 0.3 pip spread, zero slippage, 0.1 lot |
| Periods tested | 4 / 6 / 8 / 10 / 14 / 18 / 24 / 30 / 40 / 55, per timeframe and per year |
| Method | Executed in Formiq's backtester; pips recomputed from each trade's fill prices |
Does a longer period trade less?
The figure at the top of this article draws the table below.
| Period | Year | Trades | Annual net |
|---|---|---|---|
| 4 | 2025 | 1,336 | +511.0 pips |
| 4 | 2024 | 1,325 | +944.8 pips |
| 6 | 2025 | 1,110 | +38.6 pips |
| 6 | 2024 | 1,155 | −1,250.0 pips |
| 8 | 2025 | 1,048 | +272.4 pips |
| 8 | 2024 | 1,153 | −1,545.5 pips |
| 10 | 2025 | 1,094 | +2,233.9 pips |
| 10 | 2024 | 1,144 | +184.6 pips |
| 14 | 2025 | 1,075 | +1,853.1 pips |
| 14 | 2024 | 1,126 | +1,910.1 pips |
| 18 | 2025 | 1,043 | −183.8 pips |
| 18 | 2024 | 1,114 | −831.9 pips |
| 24 | 2025 | 1,081 | +2,810.0 pips |
| 24 | 2024 | 1,099 | −991.4 pips |
| 30 | 2025 | 1,081 | +1,489.3 pips |
| 30 | 2024 | 1,086 | −430.2 pips |
| 40 | 2025 | 1,094 | +2,764.9 pips |
| 40 | 2024 | 1,089 | +289.0 pips |
| 55 | 2025 | 1,078 | +3,071.8 pips |
| 55 | 2024 | 1,109 | +606.5 pips |
Read the trade columns downward: everything sits between 1,043 and 1,336. Fourteen times the period, under thirty per cent of the frequency.
The P&L columns span more than 4,600 pips, from −1,546 to +3,072, and the two years disagree about which end is which. Period 18 lost in both. Period 8 made +272 pips in 2025 and lost 1,546 in 2024.
The period therefore left trading frequency nearly unchanged while annual net moved widely. One year's result is a weak basis for selecting it.
Five of the ten were profitable in both years: 4, 10, 14, 40 and 55. Period 14 produced +1,853.1 and +1,910.1 pips. The default period 10 produced +2,233.9 and +184.6 pips.
Can you use RVI on 15-minute bars?
Not on this evidence. Results by timeframe:
| Timeframe | Year | Profitable periods | Median annual net | Median annual trades |
|---|---|---|---|---|
| 15-minute | 2025 | 2 / 10 | −683 pips | ~4,400 |
| 15-minute | 2024 | 0 / 10 | −1,510 pips | — |
| 1-hour | 2025 | 9 / 10 | +1,671 pips | ~1,080 |
| 1-hour | 2024 | 5 / 10 | −123 pips | — |
| 4-hour | 2025 | 5 / 10 | +15 pips | ~275 |
| 4-hour | 2024 | 10 / 10 | +927 pips | — |
Hourly and four-hour swap places between the years. Fifteen-minute is bad in both, and the trade count is why.
Does the spread decide it?
It does. Same year, same settings, changing only the spread:
| Spread | Timeframe | Period | Trades | Annual net |
|---|---|---|---|---|
| 0.0 pips | 1-hour | 10 | 1,094 | +2,562.1 pips |
| 0.3 pips | 1-hour | 10 | 1,094 | +2,233.9 pips |
| 0.6 pips | 1-hour | 10 | 1,094 | +1,905.7 pips |
| 1.0 pips | 1-hour | 10 | 1,094 | +1,468.1 pips |
| 1.5 pips | 1-hour | 10 | 1,094 | +921.1 pips |
| 2.0 pips | 1-hour | 10 | 1,094 | +374.1 pips |
| 0.0 pips | 15-minute | 10 | 4,375 | +396.5 pips |
| 0.3 pips | 15-minute | 10 | 4,375 | −916.0 pips |
| 0.6 pips | 15-minute | 10 | 4,375 | −2,228.5 pips |
| 1.0 pips | 15-minute | 10 | 4,375 | −3,978.5 pips |
| 1.5 pips | 15-minute | 10 | 4,375 | −6,166.0 pips |
| 2.0 pips | 15-minute | 10 | 4,375 | −8,353.5 pips |
The 15-minute version makes +396.5 pips with the spread set to zero. Charging even 0.3 turns it negative; at 2.0 it loses 8,353.5.
The hourly version is not safe either: across the same range it gives up 2,188 pips, taking +2,562.1 down to +374.1.
Those numbers follow a rule.
Same pair, same year, same timeframe, only the indicator differs.
| Indicator | Trades a year | Pips lost, 0 → 2.0 spread |
|---|---|---|
| Supertrend 10/3 | 152 | 304 pips |
| Aroon 25 crossover | 228 | 456 pips |
| QQE 17/3/4.236 | 465 | 930 pips |
| RVI 10 | 1,094 | 2,188 pips |
Every one is exactly trades × 2.0 pips. Trivial arithmetic, which is precisely why it never fails to apply. Choosing an indicator is choosing how much spread you will pay in a year.
RVI trades more often than any of the others here, so it is the most exposed of them.
Can win rate choose the period?
It cannot. Across the ten hourly periods in 2025, win rates ran from 41.61% to 44.94%, while annual net ranged from −183.8 to +3,071.8 pips.
Filters, added to period 10:
| Condition | Year | Trades | Win rate | Annual net |
|---|---|---|---|---|
| RVI alone | 2025 | 1,094 | 42.23% | +2,233.9 pips |
| RVI alone | 2024 | 1,144 | 42.05% | +184.6 pips |
| ADX ≥ 20 | 2025 | 701 | 43.08% | +1,431.2 pips |
| ADX ≥ 20 | 2024 | 713 | 43.34% | −385.6 pips |
| ADX ≥ 25 | 2025 | 488 | 44.06% | +1,691.3 pips |
| ADX ≥ 25 | 2024 | 500 | 41.80% | −449.7 pips |
| ADX ≥ 30 | 2025 | 313 | 44.41% | +915.3 pips |
| ADX ≥ 30 | 2024 | 324 | 41.98% | +125.5 pips |
| Tokyo hours only | 2025 | 369 | 41.46% | +315.0 pips |
| Tokyo hours only | 2024 | 389 | 40.87% | +640.1 pips |
| London/NY hours only | 2025 | 636 | 42.45% | +1,876.6 pips |
| London/NY hours only | 2024 | 643 | 43.86% | +741.4 pips |
None of them beat the unfiltered 2025 result of +2,233.9 pips. ADX at 20 and 25 lifts the win rate a point or two and takes 2024 from +184.6 into the red.
Signs are a different matter. Three conditions stayed positive in both years (ADX ≥ 30 (+915.3 and +125.5), Tokyo hours (+315.0 and +640.1) and London/NY hours (+1,876.6 and +741.4)) each by cutting the trade count to between 30% and 60% of the original. Given that frequency is this indicator's weak point, a filter that removes trades and keeps the sign is worth something.
Stops and targets
| Exit rule | Year | Trades | Annual net |
|---|---|---|---|
| Opposite crossover only | 2025 | 1,094 | +2,233.9 pips |
| Opposite crossover only | 2024 | 1,144 | +184.6 pips |
| Stop 30 / target 60 | 2025 | 980 | +1,371.0 pips |
| Stop 30 / target 60 | 2024 | 1,044 | −1,188.5 pips |
| Stop 50 / target 100 | 2025 | 1,031 | +1,144.0 pips |
| Stop 50 / target 100 | 2024 | 1,080 | −972.7 pips |
| Stop 100 / target 200 | 2025 | 1,082 | +2,618.3 pips |
| Stop 100 / target 200 | 2024 | 1,131 | −332.6 pips |
| Stop 50 / target 50 | 2025 | 1,027 | +901.5 pips |
| Stop 50 / target 50 | 2024 | 1,076 | −1,658.6 pips |
| Time exit after 24 bars | 2025 | 1,094 | +2,222.0 pips |
| Time exit after 24 bars | 2024 | 1,144 | +184.6 pips |
All four stop-and-target variants lost money in 2024. The best of them in 2025 (stop 100, target 200) returned −332.6 the year before.
RVI trades are short, averaging 8.0 bars to the exit. Layering a fixed pip distance on top means the price band decides the trade before the indicator does. The 24-bar time exit changes almost nothing (identical to the baseline in 2024 and 11.9 pips away from it in 2025) for the same reason: a trade that ends in eight bars rarely reaches a twenty-four-bar limit. Holding to the opposite crossover was steadier across both years.
For the same test applied to other indicators, see QQE across 200 combinations, Aroon across 84 and Supertrend across 36. The conclusions differ by indicator, which is the point of running the same method on each.
Notes
- One pair, two years
- RVI varies little between implementations, but signal-line conventions differ. These figures come from Formiq's
- Entries and exits both fill at bar closes
- The spread is modelled as flat for the whole period; real spreads move with the session, and high-frequency settings feel that most
- Four-hour configurations trade about 275 times a year, in a narrow 271–333 band; the period made no difference to frequency there either
Questions people ask
- What is the best RVI period?
- On USD/JPY hourly bars, period 55 took 1,078 trades for +3,071.8 pips in 2025 and 1,109 trades for +606.5 pips in 2024. Five of the ten periods were profitable in both years: 4, 10, 14, 40 and 55. Period 14 produced +1,853.1 pips in 2025 and +1,910.1 pips in 2024.
- Does a longer RVI period mean fewer trades?
- Barely. On hourly bars, period 4 produced 1,336 trades a year and period 55 produced 1,078: a fourteen-fold change in the setting for a 20% change in frequency. The RVI line is smoothed by the period, but the signal line is a fixed four-bar weighted average that tracks it regardless, so how often the two cross is not governed by the period.
- Does RVI work on 15-minute charts?
- Not in this test. Period 10 on 15-minute bars traded 4,375 times a year, returning −916.0 pips at a 0.3 pip spread, −3,978.5 at 1.0 and −8,353.5 at 2.0. Even with the spread set to zero it made only +396.5 pips, so there is almost nothing there before costs are taken out. Every one of the ten periods lost on 15-minute bars in 2024.
- What win rate does RVI produce on its own?
- Across the ten hourly periods in 2025, win rates ran from 41.61% to 44.94%. Positions are held to the opposite crossover with no stop, so wins are less frequent than losses but larger. Annual net ranged from −183.8 to +3,071.8 pips, so win rate alone did not select a period.
- Is RVI built into MetaTrader?
- Yes, both MT4 and MT5 ship it as Relative Vigor Index under Oscillators. TradingView has it in the indicator list under the same name. Formiq's charts include it with an adjustable period.
Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.