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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?