OPEN-SOURCE SCRIPT

RSI Candle Trend

383
🎯 Purpose:
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.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
OSZAR »