Trading Indicator
Relative Vigor Index for Automated Trading
Build momentum-based trading bots using RVI zero-line and signal-line crossovers - no coding required.
Fundamentals
Understanding Relative Vigor Index
The Relative Vigor Index (RVI) indicator measures the strength of a price trend by comparing where price closes relative to its trading range. The core principle: in uptrends, closing prices tend to be higher than opening prices, and in downtrends, the opposite holds.
Here are Relative Vigor Index strategy examples ready for automation in Tradeworks:
RVI normalizes price change against the daily range and smooths the result with a Simple Moving Average (standard period: 10). A 4-period symmetrically weighted signal line accompanies the main RVI line. The interaction between these two lines generates trading signals.Key characteristics for algo trading
- Oscillates around a zero line: Positive = bullish momentum, negative = bearish momentum
- Signal-line crossovers: Provide entry/exit triggers
- Zero-line crossovers: Confirm trend direction changes
- Normalized output: Makes threshold-based automation straightforward
Tradeworks name: Relative Vigor Index
Default period: 10
Strategy 1: RVI Signal-Line Crossover
Trend Entry
The Signal-Line Crossover strategy tests entries when RVI crosses its signal line, indicating a possible shift in momentum direction.
Setup in Tradeworks:
- Add Relative Vigor Index (10) indicator to your strategy
- Configure entry conditions:
- Open Position Buy Signal: RVI value crosses from below to above RVI signal line value
- Open Position Sell Signal: RVI value crosses from above to below RVI signal line value
Trade Management
These exits use Average True Range (ATR) period 14 as a volatility measure to set dynamic stop and target levels.
- Stop Loss Exit Signal:
- For longs: 'Strategy symbol BID price is less than Previous bar low minus (1.5× ATR(14) value)'
- For shorts: 'Strategy symbol ASK price is greater than Previous bar high plus (1.5× ATR(14) value)'
- Take Profit Exit Signal:
- For longs: 'Strategy symbol BID price is greater than Previous bar close plus (2× ATR(14) value)'
- For shorts: 'Strategy symbol ASK price is less than Previous bar close minus (2× ATR(14) value)'
- Testing note: Compare chart intervals and instruments in backtesting before deciding where this setup fits your approach.
Strategy 2: RVI Zero-Line Confirmation with Moving Average Filter
Trend Direction + Filter
This strategy combines RVI zero-line crossovers with a Moving Average trend filter to test whether entries align with broader trend direction.
Setup in Tradeworks:
- Add Relative Vigor Index (10) indicator to your strategy
- Add Moving Average (50) indicator
- Configure entry conditions (use AND logic):
- Open Position Buy Signal:
- Condition 1: RVI value crosses from below to above 0
- Condition 2: Moving Average (50) value is less than Strategy symbol ASK price
- Open Position Sell Signal:
- Condition 1: RVI value crosses from above to below 0
- Condition 2: Moving Average (50) value is greater than Strategy symbol BID price
- Open Position Buy Signal:
Trade Management
These exits use Average True Range (ATR) period 14 as a volatility measure to set dynamic stop and target levels.
- Stop Loss Exit Signal:
- For longs: 'Strategy symbol BID price is less than Moving Average (50) value minus (2× ATR(14) value)'
- For shorts: 'Strategy symbol ASK price is greater than Moving Average (50) value plus (2× ATR(14) value)'
- Take Profit Exit Signal:
- For longs: 'Strategy symbol BID price is greater than Previous bar close plus (3× ATR(14) value)'
- For shorts: 'Strategy symbol ASK price is less than Previous bar close minus (3× ATR(14) value)'
- Testing note: Compare chart intervals and instruments in backtesting before deciding where this setup fits your approach.
Strategy 3: RVI + RSI Momentum Confluence
Multi-Indicator Confirmation
This strategy combines RVI crossovers with RSI oversold/overbought conditions as an additional momentum filter.
Setup in Tradeworks:
- Add Relative Vigor Index (10) indicator to your strategy
- Add Relative Strength Index (14) indicator
- Configure entry conditions (use AND logic):
- Open Position Buy Signal:
- Condition 1: RVI value crosses from below to above RVI signal line value
- Condition 2: RSI (14) value is less than 40
- Open Position Sell Signal:
- Condition 1: RVI value crosses from above to below RVI signal line value
- Condition 2: RSI (14) value is greater than 60
- Open Position Buy Signal:
Trade Management
These exits use Average True Range (ATR) period 14 as a volatility measure to set dynamic stop and target levels.
- Stop Loss Exit Signal:
- For longs: 'Strategy symbol BID price is less than Previous bar low minus (1.5× ATR(14) value)'
- For shorts: 'Strategy symbol ASK price is greater than Previous bar high plus (1.5× ATR(14) value)'
- Take Profit Exit Signal:
- For longs: 'Strategy symbol BID price is greater than Previous bar close plus (2× ATR(14) value)'
- For shorts: 'Strategy symbol ASK price is less than Previous bar close minus (2× ATR(14) value)'
- Testing note: Compare chart intervals and instruments in backtesting before deciding where this setup fits your approach.
For Bot Developers: Implementation Tips
Combining with Other Indicators
RVI works as a momentum confirmation tool. Combine it with trend or volatility indicators for stronger signals:
- Moving Average (MA): Use MA direction as a trend filter - only take RVI long signals when price is above the MA, and short signals when below.
- Average True Range (ATR): Use ATR for dynamic stop placement rather than fixed pip values. This adapts to current volatility.
- Relative Strength Index (RSI): RSI below 40 combined with a bullish RVI crossover identifies oversold momentum shifts. RSI above 60 with bearish RVI crossover identifies overbought reversals.
- Bollinger Bands: When price touches the lower band and RVI crosses its signal line upward, it signals a potential bounce with momentum confirmation.
Important Notes
- RVI is a momentum-based indicator - it works with the assumption that bullish markets close higher than they open. In ranging/sideways markets, expect more false signals.
- The standard period of 10 is widely used. Shorter periods (e.g., 7) increase sensitivity but generate more noise.
- RVI cannot detect divergence patterns automatically in Tradeworks. Traders can visually inspect for RVI/price divergence, but this pattern detection cannot be automated with the available operators.
- Use the signal-line crossover (RVI crosses its signal line) for entries, and the zero-line crossover (RVI crosses zero) for trend direction confirmation.
Manageable Beginner Setup
- Indicator: Relative Vigor Index, period 10
- Entry (Long): RVI value crosses from below to above RVI signal line value
- Entry (Short): RVI value crosses from above to below RVI signal line value
- Stop Loss Exit Signal: Strategy symbol BID price is less than Previous bar low minus (1.5× ATR(14) value) [for longs]
- Take Profit Exit Signal: Strategy symbol BID price is greater than Previous bar close plus (2× ATR(14) value) [for longs]
- Pair: EUR/USD
- Timeframe: H4
- Backtest first: Run a minimum 6-month backtest before live trading
Questions
Frequently Asked Questions
What does the Relative Vigor Index measure?
RVI measures the strength of price movement by comparing closing price to the trading range. Positive values indicate bullish momentum (closing near highs), negative values indicate bearish momentum (closing near lows).
How is RVI different from RSI?
While both measure momentum, RSI compares the magnitude of recent gains versus losses (bounded 0-100), whereas RVI compares closing price position relative to the high-low range (oscillates around zero). RVI focuses specifically on close vs. open dynamics.
Can Tradeworks automate RVI divergence strategies?
No. Tradeworks cannot detect divergence patterns (where price makes a higher high but RVI makes a lower high). Traders can manually inspect charts for divergence, but automated strategies should use crossover-based signals instead.
What is the standard RVI period?
The standard period is 10. This balances responsiveness with noise reduction. The signal line uses a fixed 4-period symmetrically weighted moving average.
Which timeframes work with RVI in Tradeworks?
RVI strategies can be built on any timeframe available in Tradeworks. H1 and H4 are common choices that balance signal frequency with reliability for swing-style bots.
Try it in Tradeworks
Want to try Relative Vigor Index in Tradeworks?
Build and test Relative Vigor Index rules in a no-code strategy builder before deciding whether they fit your trading approach.
Trend Indicators
Trend indicators help traders identify the direction of market movement. They smooth price data to show whether an uptrend, downtrend, or sideways movement is occurring.
Simple Moving Average
Learn more →
Exponential Moving Average
Learn more →
Parabolic SAR
Learn more →
Heikin Ashi
Learn more →
High Low
Learn more →
Linear Regression
Learn more →
Two Pole Butterworth Filter
Learn more →
Ichimoku Kinko Hyo
Learn more →
Alligator
Learn more →
Envelopes
Learn more →
Doji Arrows
Learn more →
Oscillators
Oscillators are bounded indicators that move between set values. They help identify overbought and oversold conditions, momentum, and potential reversal points.
Relative Strength Index
Learn more →
Relative Momentum Index
Learn more →
Stochastic Oscillator
Learn more →
Moving Average Convergence/Divergence
Learn more →
Awesome Oscillator
Learn more →
Accelerator/Decelerator Oscillator
Learn more →
Commodity Channel Index
Learn more →
Relative Vigor Index
Learn more →
Williams' Percent Range
Learn more →
Gator Oscillator
Learn more →
DeMarker
Learn more →
Fisher Transform
Learn more →
Fisher CG
Learn more →
Laguerre RSI
Learn more →
Momentum
Learn more →
Moving Average of Oscillator
Learn more →
Volume Indicators
Volume indicators measure the strength of price movements by analyzing trading volume. They help confirm trends and identify potential reversals.
Volatility Indicators
Volatility indicators measure the rate of price change. They help traders set stop losses, determine risk levels, and identify potential breakouts.
Bill Williams Indicators
A collection of indicators developed by Bill Williams for trend identification, momentum analysis, and fractal pattern recognition.