Skip to content
72lab

Relative Vigor Index (RVI) EA: no-code builder for MT4 / MT5

OscillatorsThe Relative Vigor Index (RVI) compares where the close sits relative to the open with the candle's full range, to see whether a rise has real “vigor”. Above zero is bullish.

Rules you can build with it

Works as an entry rule or an exit rule. Short rules are mirrored automatically.

  • LongRVI rises
    ShortRVI falls
  • LongRVI falls
    ShortRVI rises
  • LongRVI is above 0(adjustable level)
    ShortRVI is below 0
  • LongRVI is below 0(adjustable level)
    ShortRVI is above 0
  • LongRVI crosses above 0(adjustable level)
    ShortRVI crosses below 0
  • LongRVI crosses below 0(adjustable level)
    ShortRVI crosses above 0
  • LongRVI turns up
    ShortRVI turns down
  • LongRVI turns down
    ShortRVI turns up

Settings

SettingsDefaultRange
Period102 – 50
Level0-1 – 1

How the backtest and the EA calculate it

Same as MT5's Relative Vigor Index (weighted sums, one divided by the other); for short rules the level is mirrored around 0.

Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.

Example strategies

Example 1
  • Entry · Relative Vigor Index (RVI) (10): RVI rises
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop
Example 2
  • Entry · Relative Vigor Index (RVI) (10): RVI rises
  • Entry · Moving Average (50, EMA, Close): MA rises
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop

Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.