PROTECTED SOURCE SCRIPT
Zaktualizowano (JS) RSI Divergence Volume Weighted (v1.1)

Okay so I added all kinds of stuff - not sure you've ever been able to customize RSI like this before. The goal here was to allow the user to be able to play around and find the RSI formula that suits them the best.
There's still the obvious features from version 1.0 which are RSI Length and Relative Volume Length, but I really expanded upon the first one. Here's the list of new features:
- RSI Input: 0-6 are the options and they allow you to use - Close, Open, High, Low, HL2, HLC3, and OHLC4. Now you can plug any of these choices into the RSI formula.
- RV x Divergence?: This is how I calculated the original formula, but you can leave this unchecked to turn Relative Volume off, or apply elsewhere.
- RV x RS?: Another way to calculate the function. There's two sides, Divergence RS and Standard RS - these check marks allow you to select which part you prefer to be multiplied by Relative Volume. Check neither to turn off RV multiplication, check both to add it on both sides of the equation.
* Relative Volume Note - when looking at longer term charts, be aware that if a candle JUST began, it's obviously going to have really low RV and will throw off the current candle (which is why I added the option to turn off/on). Best usage is at candle close (or ignore the current candle).
-Divergence Weight: So as it stands, the Standard RS and Divergence RS are both equal weight ([1+1]/2). This allows you to change the weight at increments of 0.1 on a scale of 0-2. Making 2 purely Divergence, and 0 purely Standard RSI. With RV left off on both options, and a weight setting of 0, this becomes a regular RSI again.
-SMA Divergence?: This is the option to leave the Divergence equation unsmooth, or to smooth it over. SMA is an unsmoothed average, whereas leaving it unchecked runs it through an RMA smoothing the same way standard RSI is calculated.
-Fractal Divergence Lines: I added fractal lines to spot divergence in the indicator vs. the price. This was meant to help you spot divergence easier.
-Show Fractal Labels?: This adds "Bull" and "Bear" labels on said divergence.
-Show Fractal Channel?: This allows you to see the whole fractal channel.
-Added Horizontals: I added horizontal lines at 40 and 60, to make viewing the RSI values a bit easier.
-Added Trend BG: I also added a feature where the BG color will change with the ongoing trend. I removed the previous colors I had in the BG.
Enjoy!
There's still the obvious features from version 1.0 which are RSI Length and Relative Volume Length, but I really expanded upon the first one. Here's the list of new features:
- RSI Input: 0-6 are the options and they allow you to use - Close, Open, High, Low, HL2, HLC3, and OHLC4. Now you can plug any of these choices into the RSI formula.
- RV x Divergence?: This is how I calculated the original formula, but you can leave this unchecked to turn Relative Volume off, or apply elsewhere.
- RV x RS?: Another way to calculate the function. There's two sides, Divergence RS and Standard RS - these check marks allow you to select which part you prefer to be multiplied by Relative Volume. Check neither to turn off RV multiplication, check both to add it on both sides of the equation.
* Relative Volume Note - when looking at longer term charts, be aware that if a candle JUST began, it's obviously going to have really low RV and will throw off the current candle (which is why I added the option to turn off/on). Best usage is at candle close (or ignore the current candle).
-Divergence Weight: So as it stands, the Standard RS and Divergence RS are both equal weight ([1+1]/2). This allows you to change the weight at increments of 0.1 on a scale of 0-2. Making 2 purely Divergence, and 0 purely Standard RSI. With RV left off on both options, and a weight setting of 0, this becomes a regular RSI again.
-SMA Divergence?: This is the option to leave the Divergence equation unsmooth, or to smooth it over. SMA is an unsmoothed average, whereas leaving it unchecked runs it through an RMA smoothing the same way standard RSI is calculated.
-Fractal Divergence Lines: I added fractal lines to spot divergence in the indicator vs. the price. This was meant to help you spot divergence easier.
-Show Fractal Labels?: This adds "Bull" and "Bear" labels on said divergence.
-Show Fractal Channel?: This allows you to see the whole fractal channel.
-Added Horizontals: I added horizontal lines at 40 and 60, to make viewing the RSI values a bit easier.
-Added Trend BG: I also added a feature where the BG color will change with the ongoing trend. I removed the previous colors I had in the BG.
Enjoy!
Informacje o Wersji
Update: Source Input FixedInformacje o Wersji
Updated the Trend BGInformacje o Wersji
Added a new color schemeInformacje o Wersji
Added Color SchemeSkrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
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 chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
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.