PROTECTED SOURCE SCRIPT

RSI de Loquy H4 (HMA + ALMA + Régression)

71
📌 Indicator Name: RSI de Loquy H4 (HMA + ALMA + Regression)
🧠 Description:
This custom indicator is designed for H4 (4-hour) timeframes and combines advanced smoothing techniques to refine RSI analysis:

✅ HMA (Hull Moving Average) is applied to the price before computing the RSI. This helps reduce noise and respond faster to price action compared to traditional moving averages.

✅ The resulting RSI is recalibrated to a symmetrical range from -100 to +100, making trend bias more visually intuitive.

✅ A second smoothing using ALMA (Arnaud Legoux Moving Average) is applied to the recalibrated RSI for enhanced signal clarity.

✅ A linear regression line is plotted on the recalibrated RSI to help detect directional momentum and trend shifts.

📈 Visual Features:
Cyan line: RSI mapped from -100 to +100

Orange line: ALMA smoothed RSI

White line: Linear regression of RSI

Reference zones:

+70: Potential oversold (buy watch)

0: Neutral line

–70: Potential overbought (sell watch)

⚙️ Optimized for H4 timeframe, but adaptable for other timeframes with parameter tuning.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.