TradeTactician

RSI Divergence Smoothed

RSI Divergence Smoothed

This indicator is based on the RSI Divergence indicator by @InvestitoreComune.

The "RSI Divergence Smoothed" is a custom technical indicator designed to highlight divergence between two RSI (Relative Strength Index) lines: a fast RSI and a slow RSI. The divergence is then visualized on the chart, assisting traders in recognizing potential market reversals and trend continuation.

Here's a breakdown of its smoothing options added:

1. **WMA Difference**: The indicator first computes a weighted moving average (WMA) difference, which takes the difference between the WMA of half the input length and the WMA of the full length.

2. **Hull Moving Average (HMA)**: The indicator can use the HMA as a filter. HMA combines the benefits of a simple moving average and a linear weighted moving average, aiming to be faster in response to price changes.

3. **Sine Weighted Moving Average (SWMA)**: Another filter option, SWMA, weighs the data points by the sine of their position in the data set, giving more weight to the central data points.

4. **Kaufman's Adaptive Moving Average (KAMA)**: KAMA adapts to price volatility and can also be used as a filter. It's especially useful in choppy markets, adjusting the smoothing constant based on the relative volatility of the price series.

5. **Gaussian Moving Average (GMA)**: This filter uses a Gaussian kernel to weigh the data points, emphasizing the more recent data while giving lesser importance to older data. It helps smooth out the price data, potentially eliminating some of the noise.

I've personally found the KAMA smoothing to be most helpful but keen to hear of anyone's personal experiences and recommendations.

RSI divergence computations are based on the filtered price (or raw price if no filter is chosen) - the indicator calculates two RSIs:
- Fast RSI: With a default length of 5 periods.
- Slow RSI: With a default length of 14 periods.
The core functionality of this indicator is to compute the divergence between the Fast and Slow RSI. The divergence is plotted on the chart, with the color indicating its direction: white for positive divergence and red for negative.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?