OPEN-SOURCE SCRIPT
RVGI with Editable Signal + EMA Filter

Relative Vigor Index (RVGI) with Editable Signal + EMA Filter
This script enhances the standard RVGI by letting you set both the RVGI Length (green line) and the Signal Length (red line), which is not adjustable in TradingView’s default version. It also adds an optional EMA trend filter (1/14 by default) to highlight when the market is in a bullish trend.
Features:
Adjustable RVGI length (main green line).
Adjustable signal line smoothing (red line).
Optional EMA fast/slow filter (default 1/14).
Automatic BUY/SELL markers on RVGI crossovers when EMA filter is positive.
Alert conditions for long entries and exits.
This setup was optimized through backtesting for assets like Solana and AVAX, but inputs are fully configurable for use on any market and timeframe. Backtests conducted on daily timeframe.
Strategy tested
Entry rule: RVGI green line crosses above red line AND EMA 1 is above EMA 14.
Exit Rule: RVGI red line crosses above green
A simple strategy with remarkable back test results, tested on SOLUSDT (1D)
Strategy also tested on AVAXUSDT found RVGI settings length 44 signal 5 to be favourable for maximum return on investment.
All back testing on daily timeframe.
This script enhances the standard RVGI by letting you set both the RVGI Length (green line) and the Signal Length (red line), which is not adjustable in TradingView’s default version. It also adds an optional EMA trend filter (1/14 by default) to highlight when the market is in a bullish trend.
Features:
Adjustable RVGI length (main green line).
Adjustable signal line smoothing (red line).
Optional EMA fast/slow filter (default 1/14).
Automatic BUY/SELL markers on RVGI crossovers when EMA filter is positive.
Alert conditions for long entries and exits.
This setup was optimized through backtesting for assets like Solana and AVAX, but inputs are fully configurable for use on any market and timeframe. Backtests conducted on daily timeframe.
Strategy tested
Entry rule: RVGI green line crosses above red line AND EMA 1 is above EMA 14.
Exit Rule: RVGI red line crosses above green
A simple strategy with remarkable back test results, tested on SOLUSDT (1D)
Strategy also tested on AVAXUSDT found RVGI settings length 44 signal 5 to be favourable for maximum return on investment.
All back testing on daily timeframe.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.