All posts
PublishedUpdatedByRVIindicatorsparametersspreadUSDJPY

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.

050010001500−2k−1k0+1k+2k+3k46810141824304055RVI period
trades per year (left)2025 net pips (right)2024 net pips (right)
The period ranges over fourteen-fold and the bars barely move. The lines move a lot — in different directions each year.

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

PlatformHow to add it
MT4 / MT5Built in — Navigator, Oscillators, Relative Vigor Index
TradingViewIn the indicator list as "Relative Vigor Index"
Browser (Formiq)In the indicator list, with an adjustable period

How this was measured

ItemValue
PairUSD/JPY
Period2025-01-01 to 2025-12-31 (2024 run identically for comparison)
Timeframes15-minute / 1-hour / 4-hour
Bars tested6,226 hourly bars in 2025; 24,903 on 15-minute, 1,610 on 4-hour
BuyRVI crosses above its signal line, filled at that bar's close
SellRVI crosses below it
ExitThe opposite crossover only — no stop, no target, no time exit
Costs0.3 pip spread, zero slippage, 0.1 lot
Periods tested4 / 6 / 8 / 10 / 14 / 18 / 24 / 30 / 40 / 55, per timeframe and per year
MethodExecuted 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.

PeriodYearTradesAnnual net
420251,336+511.0 pips
420241,325+944.8 pips
620251,110+38.6 pips
620241,155−1,250.0 pips
820251,048+272.4 pips
820241,153−1,545.5 pips
1020251,094+2,233.9 pips
1020241,144+184.6 pips
1420251,075+1,853.1 pips
1420241,126+1,910.1 pips
1820251,043−183.8 pips
1820241,114−831.9 pips
2420251,081+2,810.0 pips
2420241,099−991.4 pips
3020251,081+1,489.3 pips
3020241,086−430.2 pips
4020251,094+2,764.9 pips
4020241,089+289.0 pips
5520251,078+3,071.8 pips
5520241,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:

TimeframeYearProfitable periodsMedian annual netMedian annual trades
15-minute20252 / 10−683 pips~4,400
15-minute20240 / 10−1,510 pips
1-hour20259 / 10+1,671 pips~1,080
1-hour20245 / 10−123 pips
4-hour20255 / 10+15 pips~275
4-hour202410 / 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:

SpreadTimeframePeriodTradesAnnual net
0.0 pips1-hour101,094+2,562.1 pips
0.3 pips1-hour101,094+2,233.9 pips
0.6 pips1-hour101,094+1,905.7 pips
1.0 pips1-hour101,094+1,468.1 pips
1.5 pips1-hour101,094+921.1 pips
2.0 pips1-hour101,094+374.1 pips
0.0 pips15-minute104,375+396.5 pips
0.3 pips15-minute104,375−916.0 pips
0.6 pips15-minute104,375−2,228.5 pips
1.0 pips15-minute104,375−3,978.5 pips
1.5 pips15-minute104,375−6,166.0 pips
2.0 pips15-minute104,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.

050010001500200003006009001200trades per year →pips lost to the spread
Supertrend 10/3Aroon 25 crossoverQQE 17/3/4.236RVI 10dashed line = trades × 2.0 pips
Four different indicators on the same pair and year. Every one of them sits on the line: the spread costs exactly what it is, times the number of trades.

Same pair, same year, same timeframe, only the indicator differs.

IndicatorTrades a yearPips lost, 0 → 2.0 spread
Supertrend 10/3152304 pips
Aroon 25 crossover228456 pips
QQE 17/3/4.236465930 pips
RVI 101,0942,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:

ConditionYearTradesWin rateAnnual net
RVI alone20251,09442.23%+2,233.9 pips
RVI alone20241,14442.05%+184.6 pips
ADX ≥ 20202570143.08%+1,431.2 pips
ADX ≥ 20202471343.34%−385.6 pips
ADX ≥ 25202548844.06%+1,691.3 pips
ADX ≥ 25202450041.80%−449.7 pips
ADX ≥ 30202531344.41%+915.3 pips
ADX ≥ 30202432441.98%+125.5 pips
Tokyo hours only202536941.46%+315.0 pips
Tokyo hours only202438940.87%+640.1 pips
London/NY hours only202563642.45%+1,876.6 pips
London/NY hours only202464343.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 ruleYearTradesAnnual net
Opposite crossover only20251,094+2,233.9 pips
Opposite crossover only20241,144+184.6 pips
Stop 30 / target 602025980+1,371.0 pips
Stop 30 / target 6020241,044−1,188.5 pips
Stop 50 / target 10020251,031+1,144.0 pips
Stop 50 / target 10020241,080−972.7 pips
Stop 100 / target 20020251,082+2,618.3 pips
Stop 100 / target 20020241,131−332.6 pips
Stop 50 / target 5020251,027+901.5 pips
Stop 50 / target 5020241,076−1,658.6 pips
Time exit after 24 bars20251,094+2,222.0 pips
Time exit after 24 bars20241,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.