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.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.