OPEN-SOURCE SCRIPT
Normalize RSI | TR

📊 Normalize RSI | TR – Smart RSI Oscillator with Adaptive Normalization & Trend Signals
This indicator transforms the classic RSI into a dynamic, normalized oscillator that adapts to market conditions. It applies a multi-stage smoothing and normalization process to filter out noise, highlight true momentum shifts, and generate clear trend signals.
🔧 Key Features:
RSI Normalization – Centers RSI around 50 and normalizes it over a user-defined lookback period, creating a clean, bounded oscillator.
Dual Smoothing – Applies an exponential smoothing factor twice, allowing you to control responsiveness and reduce false signals.
Trend Detection – Automatically identifies bullish and bearish trends based on crossing customizable overbought/oversold levels.
Dynamic Color Palette – Choose from 9 color themes (Classic, Modern, Heat, Robust, Accented, Monochrome, Moderate, Aqua, Cosmic) to match your chart aesthetic.
Visual Signals – Displays colored candlesticks, background zones, entry shapes (triangles), and a real-time table with the current trend direction.
Momentum-Based Fill Transparency – The fill area between the zero line and the oscillator adapts to momentum strength, giving you visual cues on volatility.
Multi-Plot Display – Plots the normalized RSI, zero line, overbought/oversold levels, and includes a floating label with the latest value.
⚙️ Customizable Inputs:
RSI Length & Smoothing MA Type (EMA, SMA, RMA, WMA, VWMA, HMA, DEMA, TEMA, TRIMA, FRAMA, SWMA)
Normalization Length & Smoothing Factor
Clipping Factor to preserve extreme moves
Overbought / Oversold Levels (adjustable from -50 to +50)
🚨 Alerts Built-In:
Bullish / Bearish crossover of zero
Entry into Overbought / Oversold zones
📈 Ideal For:
Swing traders and scalpers looking for a refined RSI-based edge
Traders who prefer visual clarity and customizable color schemes
Those who want to combine momentum, trend, and volatility into one indicator
This indicator transforms the classic RSI into a dynamic, normalized oscillator that adapts to market conditions. It applies a multi-stage smoothing and normalization process to filter out noise, highlight true momentum shifts, and generate clear trend signals.
🔧 Key Features:
RSI Normalization – Centers RSI around 50 and normalizes it over a user-defined lookback period, creating a clean, bounded oscillator.
Dual Smoothing – Applies an exponential smoothing factor twice, allowing you to control responsiveness and reduce false signals.
Trend Detection – Automatically identifies bullish and bearish trends based on crossing customizable overbought/oversold levels.
Dynamic Color Palette – Choose from 9 color themes (Classic, Modern, Heat, Robust, Accented, Monochrome, Moderate, Aqua, Cosmic) to match your chart aesthetic.
Visual Signals – Displays colored candlesticks, background zones, entry shapes (triangles), and a real-time table with the current trend direction.
Momentum-Based Fill Transparency – The fill area between the zero line and the oscillator adapts to momentum strength, giving you visual cues on volatility.
Multi-Plot Display – Plots the normalized RSI, zero line, overbought/oversold levels, and includes a floating label with the latest value.
⚙️ Customizable Inputs:
RSI Length & Smoothing MA Type (EMA, SMA, RMA, WMA, VWMA, HMA, DEMA, TEMA, TRIMA, FRAMA, SWMA)
Normalization Length & Smoothing Factor
Clipping Factor to preserve extreme moves
Overbought / Oversold Levels (adjustable from -50 to +50)
🚨 Alerts Built-In:
Bullish / Bearish crossover of zero
Entry into Overbought / Oversold zones
📈 Ideal For:
Swing traders and scalpers looking for a refined RSI-based edge
Traders who prefer visual clarity and customizable color schemes
Those who want to combine momentum, trend, and volatility into one indicator
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.