RSI Candle Trend

This TradingView script is designed to visualize trend strength using RSI values as candle data, instead of traditional price candles. It transforms RSI data into custom candles using various smoothing and filtering methods (like Heikin-Ashi, Linear Regression, Rational Quadratic Filter, or McGinley Dynamic). It allows traders to:
📌Track RSI-based momentum using visual candle representation
📌Apply advanced smoothing/filters to the RSI to reduce noise
📌Highlight candle trend strength using dynamic coloring
📌Identify overbought/oversold zones using reference lines (RSI 80 and 20)
🧩 How It Works:
It calculates RSI values for open, high, low, close prices.
These RSI values are then optionally smoothed with user-selected moving averages (EMA, SMA, etc.).
Depending on the selected mode (Normal, Heikin-Ashi, Linear, Rational Quadratic), the RSI values are transformed into synthetic candles.
Candles are colored cyan (uptrend) or red (downtrend) based on RSI movement.
⚙️ Key Inputs:
Method: Type of moving average to smooth the RSI (e.g. EMA, SMA, VWMA, etc.)
Length: Length for RSI and smoothing filters
Candle: Type of candle transformation (Normal, Heikin-Ashi, Linear, Rational Quadratic)
Rational Quadratic: Parameter for the Rational Quadratic smoothing method
📊 Outputs:
Custom candles plotted using RSI-transformed values
Candle colors based on RSI strength:
Cyan for strong bullish RSI movement
Red for strong bearish RSI movement
Horizontal lines at RSI levels 80 and 20 (overbought/oversold)
🧠 Why Use This Indicator?
Unlike traditional RSI indicators that show a line, this tool:
Converts RSI into candle-style visualization
Helps traders visually interpret trend strength, reversals, or continuation patterns
Offers more refined control over RSI behavior and filtering
Provides a unique blend of momentum and candle analysis
❗Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.