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. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟