RSI Signal with filters by S.Kodirov📌 English
RSI Signal with Multi-Timeframe Filters
This TradingView indicator generates RSI-based buy and sell signals on the 15-minute timeframe with additional filtering from other timeframes (5M, 30M, 1M).
🔹 Signal Types:
✅ 15/5B & 15/5S – RSI 15M filtered by 5M
✅ 15/30/1B & 15/30/1S – RSI 15M filtered by 30M & 1M
✅ 15B & 15S – RSI 15M without filters
🔹 How It Works:
Signals are displayed as colored triangles on the chart.
Labels indicate the type of signal (e.g., 15/5B, 15S).
Alerts notify users when a signal appears.
🚀 Best for short-term trading with RSI confirmation from multiple timeframes!
📌 Русский
Индикатор RSI с мульти-таймфрейм фильтрами
Этот индикатор для TradingView генерирует сигналы покупки и продажи на 15-минутном таймфрейме, используя фильтрацию с других таймфреймов (5M, 30M, 1M).
🔹 Типы сигналов:
✅ 15/5B & 15/5S – RSI 15M с фильтром 5M
✅ 15/30/1B & 15/30/1S – RSI 15M с фильтрами 30M и 1M
✅ 15B & 15S – RSI 15M без фильтров
🔹 Как это работает:
Сигналы отображаются как цветные треугольники на графике.
Подписи показывают тип сигнала (например, 15/5B, 15S).
Алерты уведомляют трейдера о появлении сигнала.
🚀 Идеально для краткосрочной торговли с подтверждением RSI на нескольких таймфреймах!
📌 O'zbekcha
Ko'p vaqt oralig‘idagi RSI signallari
Ushbu TradingView indikatori 15 daqiqalik vaqt oralig‘ida RSI asosida sotib olish va sotish signallarini yaratadi. Bundan tashqari, boshqa vaqt oralig‘idagi (5M, 30M, 1M) RSI filtrlarini ham hisobga oladi.
🔹 Signal turlari:
✅ 15/5B & 15/5S – 5M bilan filtrlangan RSI 15M
✅ 15/30/1B & 15/30/1S – 30M va 1M bilan filtrlangan RSI 15M
✅ 15B & 15S – Filtrsiz RSI 15M
🔹 Qanday ishlaydi?
Signallar rangli uchburchaklar shaklida ko‘rsatiladi.
Yozuvlar signal turini ko‘rsatadi (masalan, 15/5B, 15S).
Xabarnomalar yangi signal paydo bo‘lganda treyderni ogohlantiradi.
🚀 Ko‘p vaqt oralig‘ida RSI tasdig‘i bilan qisqa muddatli savdo uchun ideal!
Cerca negli script per "rsi"
RSI Trend Bias█ OVERVIEW
The RSI Trend Bias indicator is a custom technical analysis tool that utilizes the Relative Strength Index (RSI) to gauge market momentum and identify potential trend shifts. By monitoring RSI crossovers and crossunders relative to customizable threshold levels, the indicator provides clear visual cues that distinguish between bullish and bearish market conditions. This flexible approach makes it suitable for both short-term scalping and longer-term trend analysis.
█ KEY FEATURES
Dynamic RSI Trend Detection
The indicator dynamically determines market bias by monitoring the RSI for crossovers above the upper threshold and crossunders below the lower threshold. This method ensures that only significant momentum shifts trigger a change in trend, reducing false signals in volatile markets.
Adaptive Visualizations
The RSI Trend Bias indicator enhances clarity by plotting the RSI with colors that reflect current market conditions. Additionally, it offers an optional background color change to further emphasize bullish or bearish states, providing immediate visual feedback to traders.
Clear Threshold Indicators
Upper and lower threshold levels are plotted as constant reference lines, clearly delineating overbought and oversold regions. These markers help traders quickly assess market conditions at a glance.
Customizable Settings
Users have full control over key parameters including the RSI length, threshold levels, and visual settings. This customization allows the indicator to be tailored for different markets and trading styles, ensuring optimal performance across various timeframes.
█ UNDERLYING METHODOLOGY & CALCULATIONS
RSI Calculation
The indicator computes the Relative Strength Index over a user-defined period (default is 14), providing a measure of market momentum that reflects price changes over time.
Trend Determination Logic
By detecting when the RSI crosses above the upper threshold, the indicator signals a shift towards bullish momentum. Conversely, a crossunder below the lower threshold indicates bearish conditions. This straightforward binary approach filters out minor fluctuations, ensuring clarity in trend analysis.
Visual Signal Integration
Based on the detected trend, the RSI line is dynamically colored—green for bullish conditions and red for bearish conditions. An optional background color change further reinforces these signals, offering an immediate visual cue of prevailing market sentiment.
█ HOW TO USE THE INDICATOR
1 — Apply the Indicator
• Add the RSI Trend Bias indicator to a separate pane in your trading platform.
2 — Adjust Settings for Your Market
• RSI Length – Define the period for RSI calculation (default is 14).
• Threshold Levels – Set the upper (default 70) and lower (default 30) thresholds to identify overbought and oversold conditions.
• Visual Customization – Choose the bullish (green) and bearish (red) colors, and enable background color changes to enhance visual trend recognition.
3 — Interpret the Signals
• RSI Line – Observe the dynamically colored RSI line; a shift to green signals bullish momentum, while red indicates bearish conditions.
• Threshold Levels – Use the constant upper and lower lines as reference points for overbought and oversold states.
• Signal Timing – A crossover above the upper threshold or a crossunder below the lower threshold suggests potential entry or exit points.
4 — Integrate with Your Trading Strategy
• Combine RSI Trend Bias signals with other technical analysis tools to confirm market direction.
• Utilize the visual cues for fine-tuning your entry and exit decisions, ensuring robust risk management and optimized trade timing.
█ CONCLUSION
The RSI Trend Bias indicator offers a streamlined yet effective approach to monitoring market momentum. By leveraging the established principles of RSI analysis alongside dynamic visual cues, it enables traders to quickly identify bullish and bearish trends. Its customizable features and clear threshold indicators make it a valuable tool for enhancing technical analysis and making informed trading decisions.
RSI Divergence[UgurTash] – Real-Time📈 RSI Divergence – Real-Time, Adaptive, and Intelligent RSI Divergence Detection
🚀 What Does This Indicator Do?
RSI Divergence is a real-time divergence detection tool that helps traders identify bullish and bearish divergences between price and the Relative Strength Index (RSI). Unlike traditional RSI-based indicators, this script offers:
✅ Real-time detection – No need to wait for bar closes or repainting.
✅ Dynamic time-frame adaptation – The script automatically adjusts RSI settings based on the selected chart time frame.
✅ Multi-layered divergence analysis – Supports short-term, medium-term, and long-term divergence detection with an optional all-term mode that dynamically selects the best configuration.
🛠 How Does It Work?
Pivot-Based Divergence Detection:
The script analyzes pivot points on both price and RSI to determine valid divergences.
Bullish divergence occurs when price forms a lower low but RSI trends higher, indicating potential upward momentum.
Bearish divergence occurs when price forms a higher high but RSI trends lower, signaling possible weakness.
Adaptive RSI Calculation:
The RSI length is dynamically adjusted based on the chosen time frame:
Short-Term: RSI (7) for 1-5 min charts.
Medium-Term: RSI (14) for 15-60 min charts.
Long-Term: RSI (28) for 4H+ charts.
In All-Term Mode, the script automatically determines the best RSI length based on the active chart timeframe.
Smart Visualization & Alerts:
Bullish divergences are marked with green lines & labels.
Bearish divergences are highlighted in red.
Users can customize symbol size, divergence labels, and colors.
Instant alerts notify traders as soon as a divergence is detected.
🎯 How to Use This Indicator?
📌 For Trend Reversals: Look for bullish divergences at key support levels and bearish divergences at resistance zones.
📌 For Trend Continuation: Combine divergence signals with moving averages, volume analysis, or price action strategies to confirm trades.
📌 For Scalping & Swing Trading: Adjust the time-frame settings to match your trading style.
🏆 What Makes This Indicator Original?
🔹 Unlike standard RSI divergence indicators, this script features real-time analysis with no repainting, allowing for instant trading decisions.
🔹 The time-frame adaptive RSI makes it dynamic and suitable for any market condition.
🔹 The multi-term divergence detection offers flexibility, giving traders a precise view of both short-term & long-term market structure.
⚠ Note: No indicator guarantees 100% accuracy. Always use additional confirmations and sound risk management strategies.
If you find this tool useful, don’t forget to support & share! 🚀
RSI Wave Function Ultimate OscillatorEnglish Explanation of the "RSI Wave Function Ultimate Oscillator" Pine Script Code
Understanding the Code
Purpose:
This Pine Script code creates a custom indicator that combines the Relative Strength Index (RSI) with a wave function to potentially provide more nuanced insights into market dynamics.
Key Components:
* Wave Function: This is a custom calculation that introduces a sinusoidal wave component to the price data. The frequency parameter controls the speed of the oscillation, and the decay factor determines how quickly the influence of past prices diminishes.
* Smoothed Signal: The wave function is applied to the closing price to create a smoothed signal, which is essentially a price series modulated by a sine wave.
* RSI: The traditional RSI is then calculated on this smoothed signal, providing a measure of the speed and change of price movements relative to recent price changes.
Calculation Steps:
* Wave Function Calculation:
* A sinusoidal wave is generated based on the bar index and the frequency parameter.
* The wave is combined with the closing price using a weighted average, where the decay factor determines the weight given to previous values.
* RSI Calculation:
* The RSI is calculated on the smoothed signal using a standard RSI formula.
* Plotting:
* The RSI values are plotted on a chart, along with horizontal lines at 70 and 30 to indicate overbought and oversold conditions.
* The area between the RSI line and the overbought/oversold lines is filled with color to visually represent the market condition.
Interpretation and Usage
* Wave Function: The wave function introduces cyclical patterns into the price data, which can help identify potential turning points or momentum shifts.
* RSI: The RSI provides a measure of the speed and change of price movements relative to recent price changes. When applied to the smoothed signal, it can help identify overbought and oversold conditions, as well as potential divergences between price and momentum.
* Combined Indicator: The combination of the wave function and RSI aims to provide a more sensitive and potentially earlier indication of market reversals.
* Signals:
* Crossovers: Crossovers of the RSI line above or below the overbought/oversold lines can be used to generate buy or sell signals.
* Divergences: Divergences between the price and the RSI can indicate a weakening trend.
* Oscillations: The amplitude and frequency of the oscillations in the RSI can provide insights into the strength and duration of market trends.
How it Reflects Market Volatility
* Amplified Volatility: The wave function can amplify the volatility of the price data, making it easier to identify potential turning points.
* Smoothing: The decay factor helps to smooth out short-term fluctuations, allowing the indicator to focus on longer-term trends.
* Sensitivity: The combination of the wave function and RSI can make the indicator more sensitive to changes in market momentum.
In essence, this custom indicator attempts to enhance traditional RSI analysis by incorporating a cyclical component that can potentially provide earlier signals of market reversals.
Note: The effectiveness of this indicator will depend on various factors, including the specific market, time frame, and the chosen values for the frequency and decay parameters. It is recommended to conduct thorough backtesting and optimize the parameters to suit your specific trading strategy.
RSI Weighted Trend System I [InvestorUnknown]The RSI Weighted Trend System I is an experimental indicator designed to combine both slow-moving trend indicators for stable trend identification and fast-moving indicators to capture potential major turning points in the market. The novelty of this system lies in the dynamic weighting mechanism, where fast indicators receive weight based on the current Relative Strength Index (RSI) value, thus providing a flexible tool for traders seeking to adapt their strategies to varying market conditions.
Dynamic RSI-Based Weighting System
The core of the indicator is the dynamic weighting of fast indicators based on the value of the RSI. In essence, the higher the absolute value of the RSI (whether positive or negative), the higher the weight assigned to the fast indicators. This enables the system to capture rapid price movements around potential turning points.
Users can choose between a threshold-based or continuous weight system:
Threshold-Based Weighting: Fast indicators are activated only when the absolute RSI value exceeds a user-defined threshold. Below this threshold, fast indicators receive no weight.
Continuous Weighting: By setting the weight threshold to zero, the fast indicators always receive some weight, although this can result in more false signals in ranging markets.
// Calculate weight for Fast Indicators based on RSI (Slow Indicator weight is kept to 1 for simplicity)
f_RSI_Weight_System(series float rsi, simple float weight_thre) =>
float fast_weight = na
float slow_weight = na
if weight_thre > 0
if math.abs(rsi) <= weight_thre
fast_weight := 0
slow_weight := 1
else
fast_weight := 0 + math.sqrt(math.abs(rsi))
slow_weight := 1
else
fast_weight := 0 + math.sqrt(math.abs(rsi))
slow_weight := 1
Slow and Fast Indicators
Slow Indicators are designed to identify stable trends, remaining constant in weight. These include:
DMI (Directional Movement Index) For Loop
CCI (Commodity Channel Index) For Loop
Aroon For Loop
Fast Indicators are more responsive and designed to spot rapid trend shifts:
ZLEMA (Zero-Lag Exponential Moving Average) For Loop
IIRF (Infinite Impulse Response Filter) For Loop
Each of these indicators is calculated using a for-loop method to generate a moving average, which captures the trend of a given length range.
RSI Normalization
To facilitate the weighting system, the RSI is normalized from its usual 0-100 range to a -1 to 1 range. This allows for easy scaling when calculating weights and helps the system adjust to rapidly changing market conditions.
// Normalize RSI (1 to -1)
f_RSI(series float rsi_src, simple int rsi_len, simple string rsi_wb, simple string ma_type, simple int ma_len) =>
output = switch rsi_wb
"RAW RSI" => ta.rsi(rsi_src, rsi_len)
"RSI MA" => ma_type == "EMA" ? (ta.ema(ta.rsi(rsi_src, rsi_len), ma_len)) : (ta.sma(ta.rsi(rsi_src, rsi_len), ma_len))
Signal Calculation
The final trading signal is a weighted average of both the slow and fast indicators, depending on the calculated weights from the RSI. This ensures a balanced approach, where slow indicators maintain overall trend guidance, while fast indicators provide timely entries and exits.
// Calculate Signal (as weighted average)
sig = math.round(((DMI*slow_w) + (CCI*slow_w) + (Aroon*slow_w) + (ZLEMA*fast_w) + (IIRF*fast_w)) / (3*slow_w + 2*fast_w), 2)
Backtest Mode and Performance Metrics
This version of the RSI Weighted Trend System includes a comprehensive backtesting mode, allowing users to evaluate the performance of their selected settings against a Buy & Hold strategy. The backtesting includes:
Equity calculation based on the signals generated by the indicator.
Performance metrics table comparing Buy & Hold strategy metrics with the system’s signals, including: Mean, positive, and negative return percentages, Standard deviations (of all, positive and negative returns), Sharpe Ratio, Sortino Ratio, and Omega Ratio
f_PerformanceMetrics(series float base, int Lookback, simple float startDate, bool Annualize = true) =>
// Initialize variables for positive and negative returns
pos_sum = 0.0
neg_sum = 0.0
pos_count = 0
neg_count = 0
returns_sum = 0.0
returns_squared_sum = 0.0
pos_returns_squared_sum = 0.0
neg_returns_squared_sum = 0.0
// Loop through the past 'Lookback' bars to calculate sums and counts
if (time >= startDate)
for i = 0 to Lookback - 1
r = (base - base ) / base
returns_sum += r
returns_squared_sum += r * r
if r > 0
pos_sum += r
pos_count += 1
pos_returns_squared_sum += r * r
if r < 0
neg_sum += r
neg_count += 1
neg_returns_squared_sum += r * r
float export_array = array.new_float(12)
// Calculate means
mean_all = math.round((returns_sum / Lookback) * 100, 2)
mean_pos = math.round((pos_count != 0 ? pos_sum / pos_count : na) * 100, 2)
mean_neg = math.round((neg_count != 0 ? neg_sum / neg_count : na) * 100, 2)
// Calculate standard deviations
stddev_all = math.round((math.sqrt((returns_squared_sum - (returns_sum * returns_sum) / Lookback) / Lookback)) * 100, 2)
stddev_pos = math.round((pos_count != 0 ? math.sqrt((pos_returns_squared_sum - (pos_sum * pos_sum) / pos_count) / pos_count) : na) * 100, 2)
stddev_neg = math.round((neg_count != 0 ? math.sqrt((neg_returns_squared_sum - (neg_sum * neg_sum) / neg_count) / neg_count) : na) * 100, 2)
// Calculate probabilities
prob_pos = math.round((pos_count / Lookback) * 100, 2)
prob_neg = math.round((neg_count / Lookback) * 100, 2)
prob_neu = math.round(((Lookback - pos_count - neg_count) / Lookback) * 100, 2)
// Calculate ratios
sharpe_ratio = math.round(mean_all / stddev_all * (Annualize ? math.sqrt(Lookback) : 1), 2)
sortino_ratio = math.round(mean_all / stddev_neg * (Annualize ? math.sqrt(Lookback) : 1), 2)
omega_ratio = math.round(pos_sum / math.abs(neg_sum), 2)
// Set values in the array
array.set(export_array, 0, mean_all), array.set(export_array, 1, mean_pos), array.set(export_array, 2, mean_neg),
array.set(export_array, 3, stddev_all), array.set(export_array, 4, stddev_pos), array.set(export_array, 5, stddev_neg),
array.set(export_array, 6, prob_pos), array.set(export_array, 7, prob_neu), array.set(export_array, 8, prob_neg),
array.set(export_array, 9, sharpe_ratio), array.set(export_array, 10, sortino_ratio), array.set(export_array, 11, omega_ratio)
// Export the array
export_array
The metrics help traders assess the effectiveness of their strategy over time and can be used to optimize their settings.
Calibration Mode
A calibration mode is included to assist users in tuning the indicator to their specific needs. In this mode, traders can focus on a specific indicator (e.g., DMI, CCI, Aroon, ZLEMA, IIRF, or RSI) and fine-tune it without interference from other signals.
The calibration plot visualizes the chosen indicator's performance against a zero line, making it easy to see how changes in the indicator’s settings affect its trend detection.
Customization and Default Settings
Important Note: The default settings provided are not optimized for any particular market or asset. They serve as a starting point for experimentation. Traders are encouraged to calibrate the system to suit their own trading strategies and preferences.
The indicator allows deep customization, from selecting which indicators to use, adjusting the lengths of each indicator, smoothing parameters, and the RSI weight system.
Alerts
Traders can set alerts for both long and short signals when the indicator flips, allowing for automated monitoring of potential trading opportunities.
RSI with Dynamic ColorsThe "RSI with Dynamic Colors" is a custom indicator built on top of the traditional Relative Strength Index (RSI), which helps traders identify overbought or oversold market conditions. This enhanced version includes added functionality like dynamic colors, highlighting specific conditions, and more customization options. Here's a breakdown of how this indicator works:
Indicator Components:
Relative Strength Index (RSI) Calculation:
The RSI is a momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100, helping traders determine if an asset is overbought or oversold.
In this version, the RSI is calculated with a configurable lookback period (default is 14) and applies smoothing to both upward and downward price changes using the Relative Moving Average (RMA).
Dynamic Coloring:
The indicator dynamically changes the color of the RSI line based on its value. Specific thresholds include:
Blue: When the RSI is at or above an extreme overbought level (≥ 85).
Red: When the RSI is in the overbought zone (≥ 70 but < 85).
Yellow: When the RSI is at or below the extreme oversold level (≤ 15).
Green: When the RSI is in the oversold zone (≤ 30 but > 15).
White: When the RSI is between the oversold and overbought zones.
Moving Average Options (MA):
The indicator allows the user to plot an optional moving average of the RSI for additional trend confirmation. Users can select from various types of moving averages, including Simple Moving Average (SMA), Exponential Moving Average (EMA), and others.
Bollinger Bands can be optionally applied around the RSI to visualize volatility.
Overbought and Oversold Highlights:
It provides visual highlights (green for overbought and red for oversold) in the background of the RSI plot, making it easier to identify potential reversal zones.
Divergence Detection (Optional):
The indicator can optionally display regular bullish or bearish divergence, which can signal potential trend reversals. Divergence occurs when price moves in the opposite direction of the RSI.
Bullish divergence is indicated when the price makes lower lows while the RSI makes higher lows.
Bearish divergence is shown when the price makes higher highs while the RSI makes lower highs.
Alerts:
Users can set up alerts for bullish or bearish divergence, making it easier to get notified when key conditions occur in the market.
Use Case:
This custom RSI indicator is designed for traders who want to combine the classic RSI functionality with enhanced visual aids, such as color coding for different RSI zones, customizable moving averages, and Bollinger Bands. It is particularly useful for identifying potential market tops and bottoms by highlighting overbought/oversold conditions and divergence signals.
In summary, this indicator not only retains the traditional RSI's power but also adds new layers of insight through color, moving averages, and divergence detection, helping traders make better-informed decisions.
RSI Bars with Higher Timeframe - homburgresearchThe "RSI Bars with Higher Timeframe - homburgresearch" indicator is an advanced tool designed to provide traders with visual cues about overbought, oversold, and trend-related market conditions based on the Relative Strength Index (RSI). This version also includes an analysis of higher timeframes to enhance decision-making and provide a more comprehensive view of market trends.
Indicator Features:
The indicator colors the bars according to the RSI value and considers conditions on both the current and higher timeframes. A bullish trend is represented by gray bars when the RSI is above the 50 level, while a bearish trend is represented by black bars when the RSI is below the 50 level.
The indicator also offers coloring to highlight extreme overbought or oversold conditions. Extremely overbought areas (e.g., RSI > 80) are marked in red and may indicate particularly risky market conditions. Extremely oversold areas (e.g., RSI < 20) are marked in green and indicate potentially very attractive buying opportunities.
In addition to bar coloring, the indicator allows for background coloring based on the RSI values of a higher timeframe chosen by the user. This background helps identify larger trends, with red and green shading representing bearish and bullish conditions, respectively. Additionally, extreme overbought and oversold conditions can also be represented as background, providing traders with even clearer signals for risky or attractive market conditions. This feature allows traders to better align their trading decisions with the broader market trend and adds another layer of analysis.
All parameters are individually adjustable, including the RSI length, thresholds for overbought/oversold conditions, colors for different market states, and the choice of a higher timeframe for background analysis.
The indicator provides alerts that notify you when the RSI reaches certain thresholds, ensuring that you do not miss important trading opportunities. Alerts can be set for entering the overbought zone, the oversold zone, or extreme overbought or oversold conditions.
Using the RSI Bars with Higher Timeframe Indicator:
RSI-based signals can be easily identified through the color-coded bars, helping you recognize when the market might be overbought or oversold. This information can be used for potential counter-movements in the market.
Gray bars indicate that the RSI is above the 50 level, suggesting a bullish trend. Black bars indicate that the RSI is below the 50 level, suggesting a bearish trend. This information helps you better assess the current market direction.
The highlighting of extreme overbought or oversold conditions helps identify overheated markets, which may indicate short-term reversals or a possible continuation. The background color provides context from a higher timeframe and helps traders understand the larger market trend and make more informed decisions.
The alerts keep you updated when the market reaches specific RSI conditions, allowing you to react without constantly monitoring the chart.
Examples of Use:
If the bars are marked in gray, this indicates a bullish trend. It may be advisable to look for long positions or hold existing positions.
If the bars are marked in black, this indicates a bearish trend. It may be advisable to consider short positions or reduce existing long positions.
If the bars are marked in red (overbought), it could be an opportunity to take profits or consider short positions.
If the bars are marked in green (oversold), it could be a good opportunity to look for long positions.
If the background is shaded in green, it indicates a broader bullish trend on the higher timeframe, suggesting that it may be better to align trades in that direction.
If the background is shaded in red, it indicates a broader bearish trend on the higher timeframe, signaling caution for long trades and favoring short trades.
The RSI Bars with Higher Timeframe indicator is particularly useful for traders who base their decisions on RSI signals and want to integrate a multi-timeframe approach into their trading strategy for more comprehensive market analysis.
Note: This indicator is for informational purposes only and does not constitute a buy or sell decision. Any trading decision should be based on your own analysis and consideration of your individual risk profile.
RSI (Kernel Optimized) | Flux Charts💎 GENERAL OVERVIEW
Introducing our new KDE Optimized RSI Indicator! This indicator adds a new aspect to the well-known RSI indicator, with the help of the KDE (Kernel Density Estimation) algorithm, estimates the probability of a candlestick will be a pivot or not. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Features of the new KDE Optimized RSI Indicator :
A New Approach To Pivot Detection
Customizable KDE Algorithm
Realtime RSI & KDE Dashboard
Alerts For Possible Pivots
Customizable Visuals
❓ HOW TO INTERPRET THE KDE %
The KDE % is a critical metric that reflects how closely the current RSI aligns with the KDE (Kernel Density Estimation) array. In simple terms, it represents the likelihood that the current candlestick is forming a pivot point based on historical data patterns. a low percentage suggests a lower probability of the current candlestick being a pivot point. In these cases, price action is less likely to reverse, and existing trends may continue. At moderate levels, the possibility of a pivot increases, indicating potential trend shifts or consolidations.Traders should start monitoring closely for confirmation signals. An even higher KDE % suggests a strong likelihood that the current candlestick could form a pivot point, which could lead to a reversal or significant price movement. These points often align with overbought or oversold conditions in traditional RSI analysis, making them key moments for potential trade entry or exit.
📌 HOW DOES IT WORK ?
The RSI (Relative Strength Index) is a widely used oscillator among traders. It outputs a value between 0 - 100 and gives a glimpse about the current momentum of the price action. This indicator then calculates the RSI for each candlesticks, and saves them into an array if the candlestick is a pivot. The low & high pivot RSIs' are inserted into two different arrays. Then the a KDE array is calculated for both of the low & high pivot RSI arrays. Explaining the KDE might be too much for this write-up, but for a brief explanation, here are the steps :
1. Define the necessary options for the KDE function. These are : Bandwidth & Nº Steps, Array Range (Array Max - Array Min)
2. After that, create a density range array. The array has (steps * 2 - 1) elements and they are calculated by (arrMin + i * stepCount), i being the index.
3. Then, define a kernel function. This indicator has 3 different kernel distribution modes : Uniform, Gaussian and Sigmoid
4. Then, define a temporary value for the current element of KDE array.
5. For each element E in the pivot RSI array, add "kernel(densityRange.get(i) - E, 1.0 / bandwidth)" to the temporary value.
6. Add 1.0 / arrSize * to the KDE array.
Then the prefix sum array of the KDE array is calculated. For each candlestick, the index closest to it's RSI value in the KDE array is found using binary search. Then for the low pivot KDE calculation, the sum of KDE values from found index to max index is calculated. For the high pivot KDE, the sum of 0 to found index is used. Then if high or low KDE value is greater than the activation threshold determined in the settings, a bearish or bullish arrow is plotted after bar confirmation respectively. The arrows are drawn as long as the KDE value of current candlestick is greater than the threshold. When the KDE value is out of the threshold, a less transparent arrow is drawn, indicating a possible pivot point.
🚩 UNIQUENESS
This indicator combines RSI & KDE Algorithm to get a foresight of possible pivot points. Pivot points are important entry, confirmation and exit points for traders. But to their nature, they can be only detected after more candlesticks are rendered after them. The purpose of this indicator is to alert the traders of possible pivot points using KDE algorithm right away when they are confirmed. The indicator also has a dashboard for realtime view of the current RSI & Bullish or Bearish KDE value. You can fully customize the KDE algorithm and set up alerts for pivot detection.
⚙️ SETTINGS
1. RSI Settings
RSI Length -> The amount of bars taken into account for RSI calculation.
Source -> The source value for RSI calculation.
2. Pivots
Pivot Lengths -> Pivot lengths for both high & low pivots. For example, if this value is set to 21; 21 bars before AND 21 bars after a candlestick must be higher for a candlestick to be a low pivot.
3. KDE
Activation Threshold -> This setting determines the amount of arrows shown. Higher options will result in more arrows being rendered.
Kernel -> The kernel function as explained in the upper section.
Bandwidth -> The bandwidth variable as explained in the upper section. The smoothness of the KDE function is tied to this setting.
Nº Bins -> The Nº Steps variable as explained in the upper section. It determines the precision of the KDE algorithm.
RSI Multi-Timeframe PINESCRIPTLABS📈 Use the Relative Strength Index (RSI) calculated across multiple time frames to generate signals
🔹 Intraday: Displays a table with real-time RSI values for the time frames of 5 minutes, 15 minutes, 30 minutes, 1 hour, 4 hours, and 1 day.
🔹 Standard: Displays a table with real-time RSI values for the time frames of 30 minutes, 1 hour, 4 hours, 1 day, 1 week, and 1 month.
The indicator allows you to customize overbought and oversold thresholds, as well as choose between viewing RSI values for intraday or standard time frames, tailoring the analysis to your specific needs. 🔧📊
🔔 Signals are generated when in 4 of the 6 time frames we define below:
Overbought Signal (When RSI indicates overbought conditions):
• Intraday: Activated when the RSI in the time frames of 5 minutes, 15 minutes, 30 minutes, and 1 hour is above the 70 threshold. 📈
• Standard: Activated when the RSI in the time frames of 30 minutes, 1 hour, 4 hours, and 1 day is above the 70 threshold. 📈
Oversold Signal (When RSI indicates oversold conditions):
• Intraday: Activated when the RSI in the time frames of 5 minutes, 15 minutes, 30 minutes, and 1 hour is below the 30 threshold. 📉
• Standard: Activated when the RSI in the time frames of 30 minutes, 1 hour, 4 hours, and 1 day is below the 30 threshold. 📉
Español:
📈 Utiliza el Índice de Fuerza Relativa (RSI) calculado en varios marcos de tiempo para generar señales
🔹 Intraday: Muestra una tabla con los valores del RSI en tiempo real para los marcos de tiempo de 5 minutos, 15 minutos, 30 minutos, 1 hora, 4 horas y 1 día.
🔹 Standard: Muestra una tabla con los valores del RSI en tiempo real para los marcos de tiempo de 30 minutos, 1 hora, 4 horas, 1 día, 1 semana y 1 mes.
El indicador te permite personalizar los umbrales de sobrecompra y sobreventa, así como elegir entre ver los valores RSI para marcos de tiempo intradía o estándar, adaptando el análisis a tus necesidades específicas. 🔧📊
🔔 Las señales se generan cuando en 4 de los 6 marcos de tiempo que definimos a continuación:
Señal de Sobrecompra (Cuando el RSI indica sobrecompra):
• Intraday: Se activa cuando el RSI en los marcos de tiempo de 5 minutos, 15 minutos, 30 minutos y 1 hora está por encima del umbral de 70. 📈
• Standard: Se activa cuando el RSI en los marcos de tiempo de 30 minutos, 1 hora, 4 horas y 1 día están por encima del umbral de 70. 📈
Señal de Sobreventa (Cuando el RSI indica sobreventa):
• Intraday: Se activa cuando el RSI en los marcos de tiempo de 5 minutos, 15 minutos, 30 minutos y 1 hora está por debajo del umbral de 30. 📉
• Standard: Se activa cuando el RSI en los marcos de tiempo de 30 minutos, 1 hora, 4 horas y 1 día están por debajo del umbral de 30. 📉
RSI ATR Range [SS]Hey everyone,
Over the course of the last year I had a bunch of requests to do something with RSI. I did do an RSI expected move plotter, but the requests were to overhaul RSI and make it better I guess.
So here is my attempt!
This is the RSI ATR plotter. Its similar to my RSI expected move plotter, however, it gives you the ATR ranges associated with the current RSI value. This allows you to conceptualize RSI in a different way. Instead of looking for "oversold" over "overbought", you can actually just see the expected high to open range and the expected open to low range based on the current RSI.
This will allow you to determine such things as:
a) Is it likely to be bullish?
b) Is it likely to be bearish?
c) The average move, in a dollar amount, associated with this RSI.
In addition to presenting RSI in terms of ranges as opposed to the actual RSI value, the indicator will also signal likely reversal areas. Whenever there is a huge spike in RSI and range, whether it be up or down, this generally corresponds to an imminent reversal. The indicator is programmed to recognize this and plot little grey circles to notify you of an impending reversal.
Let's take a look at some reversal examples using NVDA:
In the chart above, we can see that the RSI signaled a reversal. As it was part of a downtrend, the reversal was bullish.
Let's look at a top reversal:
The chart above shows a likely downside reversal.
And some little bounce reversals here and there:
In addition to showing you the ATR range and reversals, the indicator will show you the RSI in a bar graph format:
You won't be able to look for RSI divergences, if you are a believer of those. However, you can definitely visualize them in the ATR ranges which are directly affected by the RSI readings.
Aspects of the indicator:
Bull ranges are displayed in green.
Bear ranges are displayed in red.
When green is present we know its entering or currently in a bullish RSI range:
Inversely, when it starts to shift red, we know we are entering a bearish RSI range:
There is a border that circles the range. It will be green when we are in a bullish range and red when we are in a bearish range. In addition to these 2 signals, the RSI bar chart itself will turn green in bullish ranges, and red in bearish ranges.
Here is bullish:
Here is bearish:
Customizability
You can customize the Source input for the RSI (default is close). As well as the length (default is 14).
The ATR length is defaulted to 500. My suggestion is to leave this be. You can increase it but I would not suggest decreasing it as it may omit some of the RSI ranges from its history.
And that is the indicator my friends! Hope you enjoy!
As always, safe trades!
RSI, STOCHASTIC RSI AND MFI COMBOCombining the Relative Strength Index (RSI), Stochastic RSI (StochRSI), and Money Flow Index (MFI) can provide traders with a comprehensive approach to analyze market momentum, overbought/oversold conditions, and money flow. Each indicator offers unique insights, and their combination can help confirm trading signals and filter out false signals. Let's delve into each indicator and then discuss how they can be used together:
Relative Strength Index (RSI) 14: DA BLUE LINE
The RSI is a momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100 and is typically used to identify overbought (>70) and oversold (<30) conditions. A reading above 70 may indicate that an asset is overbought and could be due for a pullback, while a reading below 30 may suggest that an asset is oversold and could be due for a bounce.
Stochastic RSI (StochRSI) 14: DA RED LINE
The StochRSI is an oscillator that combines the features of both the Stochastic Oscillator and RSI. It measures the relative position of the RSI within its range over a specific period (e.g., 14 periods). Like the RSI, the StochRSI oscillates between 0 and 100 and is used to identify overbought and oversold conditions. Typically:
A StochRSI above 0.8 may suggest overbought conditions.
A StochRSI below 0.2 may indicate oversold conditions.
Money Flow Index (MFI) 14: DA PURPLE LINE
The MFI is a momentum oscillator that measures the inflow and outflow of money into an asset over a specific period (e.g., 14 periods). It oscillates between 0 and 100 and is used to identify overbought and oversold conditions based on both price and volume. Generally:
An MFI above 80 may indicate overbought conditions.
An MFI below 20 may suggest oversold conditions.
Combining RSI, StochRSI, and MFI:
When combining RSI, StochRSI, and MFI, traders can use the following approach to analyze the market:
Identify Overbought/Oversold Conditions:
Look for confluence between RSI, StochRSI, and MFI readings to identify overbought and oversold conditions.
For example, if RSI > 70, StochRSI > 0.8, and MFI > 80, it may suggest a strong overbought condition, potentially indicating a reversal or pullback.
Confirm Trend Strength:
Use the RSI, StochRSI, and MFI to confirm the strength of a trend.
A rising trend with RSI, StochRSI, and MFI above 50 may suggest strong bullish momentum, while a falling trend with readings below 50 may indicate strong bearish momentum.
Divergence Analysis:
Look for divergences between price and RSI, StochRSI, or MFI to identify potential trend reversals.
For example, if the price makes a higher high, but RSI, StochRSI, or MFI makes a lower high (bearish divergence), it may suggest weakening bullish momentum and potential downside.
Combining RSI, StochRSI, and MFI can offer traders a more holistic view of market momentum, overbought/oversold conditions, and money flow. Backtest it let me know your success.
RSI-Instant-TA 3.69 by SimpsTAHow can this indicator benefit you?
Are you familiar with the RSI (Relative Strength Index), which is a commonly used indicator? Let me explain how it works in simpler terms. When the RSI is below 30 (considered oversold), it may be a signal to buy, and when it's above 70 (considered overbought), it may be a signal to sell. To confirm these signals, you can look for the RSI line crossing a moving average line while forming a higher high or lower low. I usually use a 1-hour timeframe (TF) for analysis but also glance at lower timeframes for better market understanding.
This indicator combines different averages of the RSI line, including the most important one, which is the RSI line averaged from 7 different timeframes. This averaging helps you gain a clearer understanding of what's happening across those timeframes.
To ensure you don't miss important market moments, you can set up predefined alerts using this indicator. However, it's always important to visually verify these alerts before taking any action.
What is what?
What do the different parts of the indicator represent and where does the data for plotting the lines come from?
1) THICK RED/GREEN OSCILLATING RSI LINE:
This line is a visual representation of the RSI (Relative Strength Index) calculated by averaging the RSI values from 7 different timeframes. It moves between the oversold and overbought regions while intersecting other simplified averaged RSI lines. The data used for plotting these line is derived from the RSI values calculated based on price movements across different timeframes.
2) THICK WHITE RSI LINE:
The thick white line is a slightly smoothed average of the regular RSI line (thin white line). It helps reduce the noise and volatility of the RSI line, making it easier to interpret.
3) TWO OSCILLATING RED/GREEN LINES WITH RED/GREEN BACKGROUND FILL:
These lines are further averages of the normal RSI line, providing a smoother oscillating baseline. When the thick white line or thick red/green line crosses this baseline, it typically indicates a change in direction.
4) BIG TRIANGLE WITH RED/GREEN VERTICAL BG LINE:
This element is used to create an alert. It serves as a visual signal when the market is likely to change direction. Many users find this feature particularly useful. (I pretty much use just this one)
5) SMALL TRIANGLE AND SMALL CIRCLE WITH RED/GREEN VERTICAL BG LINE:
These elements, although visually distinct, serve a similar purpose. They are used when a good entry opportunity has been missed, but there is still a desire to enter the position. They can also be helpful for re-entries into a position.
6) YELLOW HORIZONTAL LINE:
The yellow horizontal line represents the middle RSI line with a value of 50. It acts as a reference point for determining whether the RSI is in the overbought or oversold region.
7) TWO WHITE HORIZONTAL LINES:
These white horizontal lines represent the top and bottom RSI lines with values of 30 and 70, respectively. They serve as thresholds for identifying oversold (below 30) and overbought (above 70) conditions.
How to use this indicator effectively:
SETTING ALARMS:
To begin, familiarize yourself with setting alerts in TradingView. Here's how I usually set mine:
a) Choose the indicator name from the dropdown menu.
b) Select either a BUY or SELL TRIANGLE as the alert marker.
c) Set a value greater than 0 (this is necessary for the alert to trigger).
d) Opt for the alert to occur once per bar.
e) Write a description that you will recognize.
f) Choose the type of notification you prefer.
g) You're all set!
HOW TO READ THE LINES:
a) The baseline consists of two oscillating red/green lines (3) with a background fill.
b) When the thick red/green line (1) or the thick white line (2) is above the baseline, it indicates a BUY signal. If they are below the baseline, it signifies a SELL signal.
c) Confirm the signal by observing whether the thick red/green line (1) or the thick white line (2) form a Lower High (LH) as a SELL signal or a Higher Low (HL) as a BUY signal. It can occur before crossing baseline (3), so consider having ALERTS that support this.
d) Additionally, consider the vertical background colors from alerts as supplementary confirmation.
e) When the lines appear messy and there is no clear indication due to excessive zig-zagging through the baseline, it typically suggests that the market will continue its previous movement without any significant changes.
MY PREFERRED WORKFRAME:
I recommend using a 5-frame window, which includes the following timeframes:
3-minute TF (fine tuned entry)
13-minute TF (to understand 3minTF better)
30-minute TF (to understand 1h TF better)
1-hour TF (the most important one - looking for HL/LH on (1) or (2) and/or their crossings the baseline (3))
1-day TF (for a broader perspective on the market - you certainly wont do LONGS if market broke certain support)
Buy/Sell examples
To provide you with a better understanding, let's consider some examples of BUY and SELL signals using this indicator.
1st TRADING EXAMPLE:
This example is for those who want to take advantage of every market turn to maximize their gains. Please remember to rest and sleep; this approach may not be suitable for everyone.
Initially, the data might seem overwhelming, but as you become familiar with the meaning behind specific situations, it becomes less daunting. Let me guide you through what you see in the picture:
The UPPER WINDOW shows a BTC chart with marked positions and the gains you would have achieved by following the indicator's signals.
The LOWER WINDOW displays this indicator with my comments, explaining what is happening in the marked areas (circles).
You can view the example here:
To implement this approach, you need to set alerts on the 1-hour timeframe (TF) using the following options: BUY/SELL TRIANGLE, BUY/SELL triangle, and BUY/SELL circle. These alerts will send you notifications every few hours. When you receive a notification, visually assess the situation (consider going long, short, or exiting) based on the detailed criteria explained earlier.
2nd TRADING EXAMPLE:
This example is for those who prefer to have more free time and only react when there is an obvious market change, with more than a day or two between actions (going long, short, or exiting).
Here's what you see in the picture:
The UPPER WINDOW displays a BTC chart with marked positions and the gains you would have achieved by following the indicator's signals. As you can see, these positions are open for several days leaving you lots of time to rest.
The LOWER WINDOW shows this indicator with circles, highlighting the situations that prompted the actions. By now, you should be familiar with the rules.
You can view the example here:
To implement this approach, set alerts on the 1-hour timeframe (TF) for when the RSI AVG crosses the Slowest Line (select it from the dropdown menu). When you receive a notification, don't take immediate action; instead, turn on another alert (BUY/SELL triangle ALERT). If the RSI AVG is below the Slowest Line, choose the SELL triangle; if it's above, select the BUY triangle. Wait for the RSI AVG to return close to the Slowest Line for confirmation.
This approach will result in two to three notifications per day, allowing you to relax in the meantime.
******
PRO TIP!
Try not to constantly stare at the charts and this indicator. Instead, look and react only when the alerts are triggered. Remember, the market won't change direction without triggering those alerts (provided they are set correctly). This will save you a significant amount of time and stress.
RSI-CCI Fusion + AlertsThe "RSI-CCI Fusion" indicator combines the Relative Strength Index (RSI) and Commodity Channel Index (CCI) from TradingView.
RSI-CCI Fusion: Unlocking Synergies in Technical Analysis
Technical analysis plays a crucial role in understanding market dynamics and making informed trading decisions. I often rely on a combination of indicators to gain insights into price movements and identify potential trade opportunities. In the lines below, I will explore the "RSI-CCI Fusion" indicator, a powerful tool that combines the strengths of the Relative Strength Index (RSI) and the Commodity Channel Index (CCI) to provide enhanced trading insights.
1. Understanding the RSI and CCI Indicators
Before delving into the fusion of these indicators, let's briefly review their individual characteristics. The RSI is a widely used momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100, with readings above 70 indicating overbought conditions and readings below 30 indicating oversold conditions.
On the other hand, the CCI is a versatile indicator designed to identify cyclical trends in prices. It measures the distance between the price and its statistical average, thereby providing valuable insights into overbought and oversold levels.
2. The Concept of RSI-CCI Fusion
The RSI-CCI Fusion indicator is born out of my desire to harness the collective power of the RSI and CCI. By combining these indicators, I can benefit from a more comprehensive trading signal that captures both momentum and cyclical trend dynamics.
The fusion process involves assigning weights to the RSI and CCI, creating a blended indicator that reflects their relative importance. The weighted combination ensures that both indicators contribute meaningfully to the final result.
To maintain consistency, the RSI and CCI values are standardized using the z-score technique. This normalization process brings the values to a common scale, making them directly comparable. Rescaling is then applied to bring the combined indicator back to its original scale, facilitating intuitive interpretation.
3. Interpreting the RSI-CCI Fusion Indicator
When plotting the RSI-CCI Fusion indicator on a chart, I gain valuable insights into market dynamics and potential trading opportunities. The indicator's plot typically includes dynamic upper and lower bands, which are calculated based on the indicator's standard deviation. These bands provide boundaries for evaluating overbought and oversold conditions.
When the RSI-CCI Fusion indicator crosses above the lower band, it suggests oversold conditions and potential buying opportunities. Conversely, when the indicator crosses below the upper band, it indicates overbought conditions and potential selling opportunities. I also pay attention to the baseline, which represents the neutral level and may signal potential trend reversals.
4. Utilizing Alerts for Trading Decisions
The RSI-CCI Fusion indicator can be further enhanced by incorporating alerts. These alerts notify me when the indicator generates buy or sell signals, enabling me to take prompt action. I can customize the alerts based on my preferred thresholds and timeframes.
However, it is crucial to remember that the RSI-CCI Fusion indicator should not be relied upon in isolation. To increase the robustness of my trading decisions, it is recommended to combine the indicator with other analysis techniques such as trend lines, support and resistance levels, or additional indicators. This convergence of analysis methodologies enhances the overall accuracy of my trade signals.
Conclusion: The RSI-CCI Fusion indicator represents a compelling approach to technical analysis by synergizing the strengths of the RSI and CCI. By combining momentum and cyclical trend dynamics, I gain a more comprehensive view of market conditions. The fusion of these indicators, accompanied by timely alerts, equips me with valuable insights and facilitates well-informed trading decisions.
As with any technical analysis tool, it is essential for me to backtest the RSI-CCI Fusion indicator to evaluate its performance across different market conditions and timeframes. Additionally, applying proper risk management strategies is crucial to ensure consistent and disciplined trading practices.
RSI Exponential Smoothing (Expo)█ Background information
The Relative Strength Index (RSI) and the Exponential Moving Average (EMA) are two popular indicators. Traders use these indicators to understand market trends and predict future price changes. However, traders often wonder which indicator is better: RSI or EMA.
What if these indicators give similar results? To find out, we wanted to study the relationship between RSI and EMA. We focused on a hypothesis: when the RSI goes above 50, it might be similar to the price crossing above a certain length of EMA. Similarly, when the RSI goes below 50, it might be similar to the price crossing below a certain length of EMA.
Our goal was simple: to figure out if there is any connection between RSI and EMA.
Conclusion: Yes, it seems that there is a correlation between RSI and EMA, and this indicator clearly displays that relationship. Read more about the study here:
█ Overview of the indicator
The RSI Exponential Smoothing indicator displays RSI levels with clear overbought and oversold zones, shown as easy-to-understand moving averages, and the RSI 50 line as an EMA. Another excellent feature is the added FIB levels. To activate, open the settings and click on "FIB Bands." These levels act as short-term support and resistance levels which can be used for scalping.
█ Benefits of using this indicator instead of regular RSI
The findings about the Relative Strength Index (RSI) and the Exponential Moving Average (EMA) highlight that both indicators are equally accurate (when it comes to crossings), meaning traders can choose either one without compromising accuracy. This empowers traders to pick the indicator that suits their personal preferences and trading style.
█ How it works
Crossings over/under the value of 50
The EMA line in the indicator acts as the corresponding 50 line in the RSI. When the RSI crosses the value 50 equals when Close crosses the EMA line.
Bouncess from the value 50
In this example, we can see that the EMA line on the chart acts as support/resistance equals when RSI rejects the 50 level.
Overbought and Oversold
The indicator comes with overbought and oversold bands equal when RSI becomes overbought or oversold.
█ How to use
This visual representation helps traders to apply RSI strategies directly on the price chart, potentially making RSI trading easier for traders.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
RSI RibbonThe Relative Strength Index (RSI) is a popular indicator used to assess the momentum of an asset. It measures the speed and magnitude of price changes to determine whether an asset is overbought or oversold.
Description
— The RSI Ribbon script is based on the traditional RSI indicator and can be used to assess the momentum of any asset.
— Traditional RSI is very prone to noises due to smaller price spikes. Additionally, the traditional RSI line has a constant width and does not provide any visual edge. This is where this script comes into the picture.
— The sole purpose of this script is to smoothen the data various times in order to reduce the noise in the source data as well as other calculated data and then plot RSI as a ribbon.
— The Ribbon RSI is presented using a colour-filled ribbon representation, which provides better visualization of the RSI. This feature makes it easier to assess the real signal, even with a good amount of noise left in the data.
— The width of the ribbon is indicative of the strength of the momentum. This means that the width of the trend is directly proportional to the strength of the momentum. Stronger the momentum, the more the width of the ribbon (and vice-versa).
Calculations
— The underlying source data for all the different RSI periods is smoothened using EMA or SMA.
— The smoothening method for the source data can either be EMA or SMA, depending on the trading style of the user.
— An EMA smoothening for the source data provides faster signals with more noise whereas the SMA smoothening will provide slower signals with less noise.
— This smoothened data is then used for the calculation of different RSIs.
— The derived RSI values are again smoothened using the EMA or SMA.
— The zone between RSI 45-55 is colour filled by default and acts as an important reference for the trend.
— A volume-weighted moving average and an additional EMA (which can also be smoothened) are used to determine the trend based on specific ratio value.
— Once we combine and plot all the RSI of different periods, along with trend conditions, we are able to plot a coloured ribbon which is less prone to noise and more visually appealing as compared to the traditional line plot.
Settings
— The RSI periods can be adjusted as per the preference of the user. The default values are set to 9, 14, and 20.
— By default, the source data smoothening length is set to 3 and the smoothening method is set to EMA. These values can be changed as per the preference of the user.
— The default smoothening length for RSI is set to 2 and the smoothening method is set to EMA.
— The value of the RSI-based EMA is set to 50.
— Users can toggle on/off the RSI lines, EMA, and all the levels as well as all the smoothening options based on their preference.
— The script also allows users to customize all values and colours to match their preferences.
How to use the script?
— This indicator can be used just like the traditional RSI indicator.
— It can also be used to spot divergences.
— The width of the RSI Ribbon is a great tool to assess the strength of the momentum.
— If the momentum is strong, the ribbon width will be more.
— If the momentum is weak, the ribbon width will be less.
— The increasing or decreasing widths of the ribbon can also be used to assess how the momentum is shifting with the trend.
Examples
Special Thanks
I would like to extend my special thanks to all the experts whose lectures and blogs I have studied to gain a limited yet significant knowledge of the Pine language.
Best regards,
Rajat Kumar Singh (@johntradingwick)
Community Manager (India), TradingView.
RSI Shadow by TartigradiaHave you ever wondered how much the RSI can vary during an open session? How much wicks can make the RSI overshoots before it retraces for the close?
This indicator plots the RSI shadow, which is the area between the highest and lowest RSI values attained during each open session, from the high/low wick price candle (ie, not the open value).
Technically, we calculate the RSI as usual for all past bars, except for current bar for which we use the high and low values to calculate the RSI Shadow bounds. The invisible PineScript loop then repeats this process for each bar.
In practice, the RSI Shadow provides 2 different informations:
1. This allows to visually represent the variability that historically happened for each bar, which help in better understanding the context at the time and may help predict future similar patterns.
2. The closer the RSI is to one bound, high or low, the more bullish or bearish respectively the price action is. Intuitively, when RSI is close to the high shadow bound, it means that price action is so bullish it often closes in proximity to the highest value attained during the open session, hence very bullish sentiment. And inversely for low and bearish sentiment. To ease visualization of these sentiments, a background highlighting is provided.
The indicator works under all timeframes, but it appears to provide a very reliable information with longer timeframe. The background highlighting showing the bullish/bearish sentiment based on the RSI Shadow appears to indicate crypto market cycles relatively reliably, with 2-3 consecutive bars with the same background color indicating a strong trend.
False positives can be reduced by looking at both the background color and the RSI direction, if both are congruent (ie, both bullish), then the trend indication is good, otherwise the trend indicated by the background color should be disregarded. An option was added to uncolor background if incongruent with RSI's direction.
There is also a "shadow margin" setting that allows to further reduce the number of false positives, at the expense of reduced sensitivity (a margin of 3 seems to eliminate most false positives).
Note: if you need a more complete RSI indicator with overbought/oversold signals, check out RSI+ (alt), which includes all RSI related indicators I make (such as RSI Shadow):
RSI PRO+ [APIDEVS]TRADITIONAL RSI
The RSI (Relative Strength Index) is an oscillator-type indicator used by traders who perform technical analysis to estimate the status of overbought or oversold of an asset on the stock market.
This tool gives the trader the advantage of comparing supply and demand (buying and selling), therefore, we must take into account the following interpretation for its use.
If the buy and sell index are equal, the indicator takes a percentage value of 50, which indicates that the relative forces are in equity.
As its value is over 50%, it indicates that the buyer interest is higher than the seller.
When it is less than 50%, then we must know that the selling force is greater.
It also indicates that when the RSI is above 70 on the oscillator, the price is oversold, therefore, it should exit the market.
Similarly, when the RSI is below 30, the asset is oversold, so it is considered convenient to buy.
NEW RSI PRO +
The main improvement lies in the incorporation of a script that allows to visually observe the force of the movement and that this reinforces the perception of the RSI trajectory. It is for this reason that we incorporate the Average Directional Index (ADX) in this indicator so that through its logic it can provide other visual elements to help traders.
In this merger we try to maintain the original design of the RSI in order to make a clean integration that does not confuse traders with another indicator.
Improvements made:
• The coloration resulting from the crossing of the DI + and DI- of the ADX was incorporated into the line that marks point 50 of this indicator.
o When the Di + is above the DI- the trend is bullish therefore the middle line of the RSI will be painted green.
o When the Di- is above the DI + the trend is bearish therefore the middle line of the RSI will be painted green.
• Se incorporó un background de color verde para la tendencia alcista y rojo para la tendencia bajista, que se activa exclusivamente cuando el precio adquiere una fuerte tendencia. Esta característica altamente importante para la interpretación de esta nueva versión del indicador fue absorbida del ADX.
• Se añadió una función que permite evidenciar la debilidad del RSI cambiando su coloración de verde a rojo según sea el caso.
• Pensando en los usuarios más tradicionales, se incorporó una función que permite pintar el RSI de un solo color.
• Se incorporó un selector de colores que permite pintar las velas en función al ADX ó al RSI.
• Se añadió un panel lateral que indica el valor numérico que posee el ADX y el RSI.
• Como una mejora visual, se creó una banda superior e inferior que evidencian de forma mas clara el estado de sobre venta y sobre compra del oscilador.
---------------------------------- SPANISH -----------------------------------
Lógica basada en la versión original del indicador:
El RSI (Relative Strength Index), Es un indicador de tipo oscilador utilizado por los traders que realizan análisis técnicos, para estimar el estado de sobre compra o sobre venta de un activo del mercado bursátil.
Esta herramienta da al trader la ventaja de cotejar la oferta y demanda (compra y venta), por tanto, debemos tomar en cuenta la siguiente interpretación para su uso.
Si el índice de compra y venta son iguales, el indicador toma un valor porcentual de 50, lo que nos indica que las fuerzas relativas se encuentran en equidad.
Al estar su valor sobre 50%, señala que el interés comprador es mayor al vendedor.
Cuando es inferior a 50%, entonces debemos saber que la fuerza vendedora es mayor.
También indica que cuando el RSI está por encima de 70 en el oscilador, el precio esta en sobre venta, por lo tanto, se debería salir del mercado.
DE igual forma, cuando el RSI esta por debajo de 30 el activo esta sobre vendido, por lo que se estima conveniente comprar.
FOTO DEL NUEVO RSI PRO+
La mejora principal radica en la incorporación de un script que permita observar visualmente la fuerza del movimiento y que esta refuerce la percepción de la trayectoria del RSI. Es por esta razón por la que incorporamos en este indicador al Average Directional Index (ADX) para que a través de su lógica pueda proporcionar otros elementos visuales para ayudar a los traders.
En esta fusión procuramos mantener el diseño original del RSI a los fines de hacer una integración limpia que no confundiera a los traders con otro indicador.
Mejoras realizadas:
• Se incorporó en la línea que marca el punto 50 de este indicador la coloración resultante del cruce del DI+ y el DI- del ADX.
o Cuando el Di+ está por encima del DI- la tendencia es alcista por lo tanto la línea media del RSI se pintará de color verde.
o Cuando el Di- está por encima del DI+ la tendencia es bajista por lo tanto la línea media del RSI se pintará de color verde.
• Se incorporó un background de color verde para la tendencia alcista y rojo para la tendencia bajista, que se activa exclusivamente cuando el precio adquiere una fuerte tendencia. Esta característica altamente importante para la interpretación de esta nueva versión del indicador fue absorbida del ADX.
• Se añadió una función que permite evidenciar la debilidad del RSI cambiando su coloración de verde a rojo según sea el caso.
• Pensando en los usuarios más tradicionales, se incorporó una función que permite pintar el RSI de un solo color.
• Se incorporó un selector de colores que permite pintar las velas en función al ADX ó al RSI.
• Se añadió un panel lateral que indica el valor numérico que posee el ADX y el RSI.
• Como una mejora visual, se creó una banda superior e inferior que evidencian de forma mas clara el estado de sobre venta y sobre compra del oscilador.
RSI 30 CROSSScript will give the RSI 30 40 and 70 level for present price of the stock , when the price cross the green line RSI value will be 70 , blue line RSI value will be 40 and red line RSI value will be 30 . Helps to put entry and exit based on RSI strategy.
RED line give price for RSI 30
BLUE line give price for RSI 40
GREEN line give price for RSI 70
BLACK line give SMA 200
Strategy
Stock price should above 200 MA
price should touch RSI 30 RED line and bounce back.
Entry will be the high of candle lies on RSI 40 BLUE line.
Stop loss will be the RSI 30 price(RED line ) during entry.
Target will be the RSI 70 price ( GREEEN line) during entry.
You can take half profit at RSI 70 and trail stop loss on RSI 70 till it cross.
This will help you to find the Price for stock, when it cross RSI value 30 , 40 and 70 to place entry exit and target based on the trade strategy will follow RSI.
If you want to entry, when stock cross RSI 30 or 40 from below . You can place a stop loss limit buy order at price range .
If you want to exit, When stock cross RSI 70 . you place stock loss at green line price.
RSI Fibonacci LevelsThank for
Kadir Türok Özdamar - @kadirturokozdmr
Formula Purpose of Use
This formula combines the traditional RSI indicator with Fibonacci levels to create a special technical indicator that aims to identify potential support and resistance points:
Determines the historical RSI range of 144 periods (PEAK and DIP)
Calculates Fibonacci retracement levels within this range, and shows the direction of momentum by calculating the moving average of the RSI
This indicator can be used to identify potential reversal points, especially when the RSI is not in overbought (70+) or oversold (30-) areas.
Practical Use
Investors can use this indicator as follows:
1⃣When the RSI approaches one of the determined Fibonacci levels, it is considered a potential support/resistance area.
2⃣When the RSI approaches the DIP level, it can be interpreted as oversold, and when it approaches the PEAK level, it can be interpreted as overbought.
3⃣When the RSI crosses the SM (moving average) line upwards or downwards, it can be evaluated as a momentum change signal.
4⃣Fibonacci levels (especially M386, M500 and M618) can be monitored as important transition zones for the RSI.
With this indicator, we aim to develop the traditional RSI usage and produce more nuanced buy-sell signals.
Turkish :
Formula Purpose of Use
This formula combines the traditional RSI indicator with Fibonacci levels to create a special technical indicator that aims to identify potential support and resistance points:
Determines the historical RSI range of 144 periods (PEAK and DIP)
Calculates Fibonacci retracement levels within this range, and shows the direction of momentum by calculating the moving average of the RSI
This indicator can be used to identify potential reversal points, especially when the RSI is not in overbought (70+) or oversold (30-) areas.
Practical Use
Investors can use this indicator as follows:
1⃣When the RSI approaches one of the determined Fibonacci levels, it is considered a potential support/resistance area.
2⃣When the RSI approaches the DIP level, it can be interpreted as oversold, and when it approaches the PEAK level, it can be interpreted as overbought.
3⃣When the RSI crosses the SM (moving average) line upwards or downwards, it can be evaluated as a momentum change signal.
4⃣Fibonacci levels (especially M386, M500 and M618) can be monitored as important transition zones for the RSI.
With this indicator, we aim to develop the traditional RSI usage and produce more nuanced buy-sell signals.
RSI HeartHere's an introduction you can use for your RSI Heart indicator:
---
### RSI Heart Indicator
The **RSI Heart Indicator** provides a visually engaging way to monitor and track the **Relative Strength Index (RSI)** across multiple timeframes (10m, 15m, 30m, and 1H). It not only shows the RSI value but also uses heart-shaped symbols to reflect the current market condition based on RSI levels, making it easier to understand the strength and momentum of a given asset at a glance.
### Key Features:
- **Multi-Timeframe Support**: The indicator pulls the RSI values from multiple timeframes (10 minutes, 15 minutes, 30 minutes, and 1 hour) so you can analyze market strength at different intervals in one view.
- **Heart Symbols**: RSI values are displayed alongside heart emojis (❤️, 💛, 💚) that provide a visual cue for the market condition:
- **❤️ (Overbought or Oversold)**: When RSI is below 27 or above 73.
- **💛 (Near Oversold/Overbought)**: When RSI is between 27-30 or 70-73.
- **💚 (Neutral)**: When RSI is between 30 and 70.
- **Customizable Visibility**: Toggle visibility for each timeframe's RSI using simple on/off settings, giving you control over which timeframes are displayed in your chart.
### How it Can Help:
- **Quick Market Sentiment Analysis**: The heart symbols and RSI values allow you to quickly assess whether an asset is in an overbought or oversold condition.
- **Multi-Timeframe RSI**: By viewing RSI across multiple timeframes, you can gain a more comprehensive understanding of market momentum and strength.
- **Personalized to Your Preferences**: Adjust the settings to only show the timeframes that matter most to you, creating a customized and clean chart view.
This indicator helps traders make more informed decisions by providing a clear, easy-to-read representation of market conditions across various timeframes, all within one indicator.
---
This introduction explains what the indicator does, its features, and how it can benefit traders in a concise and easy-to-understand way.
RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
RSI VWAP POC [Uncle Sam Trading]Category: Oscillators, Volume, Market Profile
Timeframe: Suitable for all timeframes
Markets: Crypto, Forex, Stocks, Commodities
Overview
The RSI VWAP POC indicator is a powerful and innovative oscillator that combines the Relative Strength Index (RSI), Volume-Weighted Average Price (VWAP), and Point of Control (POC) from market profile analysis. Designed to provide traders with clear, high-probability trading signals, this indicator helps you identify key market levels, spot overbought/oversold conditions, and time your entries and exits with precision. Whether you’re a day trader, swing trader, or scalper, this free tool adds significant value to your trading strategy by offering a unique blend of momentum, volume, and market profile insights.
How It Works
This indicator integrates three core components to deliver actionable insights:
RSI (Relative Strength Index): Measures momentum to identify overbought (above 70) and oversold (below 30) conditions, helping you anticipate potential reversals.
VWAP (Volume-Weighted Average Price): Calculates a volume-weighted price benchmark, which is used to compute a more accurate, volume-sensitive RSI. This ensures the indicator reflects true market dynamics.
POC (Point of Control): Derived from market profile analysis, the POC represents the price level with the highest traded volume in a session, acting as a critical support or resistance level.
The indicator plots a smoothed RSI based on VWAP, overlaid with market profile data on a user-defined higher timeframe (default: 4H). The POC is displayed as a red line, with aqua bars indicating the value area where the majority of trading volume occurred. When the RSI crosses the POC, the indicator generates clear buy and sell signals:
Strong Buy (SBU): RSI crosses above the POC in an oversold zone.
Strong Sell (SBD): RSI crosses below the POC in an overbought zone.
Additional features include:
Background colors to highlight bullish (green) or bearish (red) trends.
Shaded zones for overbought (70/60) and oversold (30/40) levels.
Customizable settings to fit your trading style and timeframe.
How This Indicator Adds Value
The RSI VWAP POC indicator offers several key benefits that enhance your trading performance:
High-Probability Signals: By combining RSI, VWAP, and POC, this indicator identifies trades at key market levels where price is likely to react, increasing your win rate.
Improved Timing: Clear buy and sell signals, such as ‘SBU’ and ‘SBD’, help you enter and exit trades at optimal points, maximizing profitability.
Risk Management: Overbought/oversold zones and trend confirmation via background colors help you avoid false signals, protecting your capital.
Versatility: Suitable for all markets (crypto, forex, stocks) and timeframes, making it a valuable tool for traders of all experience levels.
Time Efficiency: The indicator does the heavy lifting by analyzing momentum, volume, and market profile data, allowing you to focus on executing trades.
Real-World Performance Example: On a 1-hour Bitcoin chart with a 4-hour higher timeframe, this indicator identified a strong sell signal on April 6th at 12:00 ($82,000), leading to a 9% drop to $74,600. A subsequent strong buy signal on April 7th at 04:00 ($76,200) captured a 6% rise to $81,200 – a potential 25% profit with 5x leverage if exited at 5%.
How to Use
Add the Indicator: Search for “RSI VWAP POC ” in TradingView’s indicator library and add it to your chart.
Set Your Timeframe: The indicator works on any timeframe but is optimized for a 1-hour chart with a 4-hour higher timeframe (set in the settings).
Interpret Signals:
Look for ‘SBU’ (strong buy) labels when the RSI crosses above the POC in an oversold zone, indicating a potential buying opportunity.
Look for ‘SBD’ (strong sell) labels when the RSI crosses below the POC in an overbought zone, signaling a potential selling opportunity.
Use the background colors (green for bullish, red for bearish) to confirm the trend.
Combine with Your Strategy: Use the indicator alongside your existing analysis (e.g., support/resistance, candlestick patterns) for best results.
Settings and Customization
The indicator is highly customizable to suit your trading needs:
RSI Length (Default: 14): Adjust the sensitivity of the RSI. Use a shorter length (e.g., 10) for scalping, or a longer length (e.g., 20) for smoother signals.
EMA Smoothing Length (Default: 3): Smooths the RSI line. Increase to 5 or 7 for less choppy signals in volatile markets.
Higher Timeframe (Default: 240 minutes): Set to 240 (4 hours) for a 1-hour chart. Adjust based on your chart’s timeframe (e.g., 60 minutes for a 15-minute chart).
Value Area Percentage (Default: 100%): Defines the size of the value area around the POC. Lower to 70% for a tighter focus on key levels.
Overbought/Oversold Thresholds (Defaults: 70/30): Adjust these levels to match market conditions (e.g., 80/20 for trending markets).
Show POC Line (Default: True): Toggle the red POC line on or off.
Show Buy/Sell Signals: Enable ‘Show Strong Breakup Signals’ and ‘Show Strong Breakdown Signals’ to focus on high-probability trades.
Why Choose This Indicator?
The RSI VWAP POC indicator stands out by offering a unique combination of momentum, volume, and market profile analysis in a single, easy-to-use tool. It’s designed to help traders of all levels make informed decisions, reduce risk, and increase profitability. Whether you’re trading Bitcoin, forex pairs, or stocks, this indicator provides the clarity and precision you need to succeed.
RSI and CCICombined RSI and CCI Indicator for MetaTrader
The Combined RSI and CCI Indicator is a powerful hybrid momentum oscillator designed to merge the strengths of two popular indicators—the Relative Strength Index (RSI) and the Commodity Channel Index (CCI)—into a single, visually intuitive chart window. This tool enhances traders’ ability to identify overbought and oversold conditions, divergences, trend strength, and potential reversal zones with improved precision.
Purpose
By integrating RSI and CCI, this indicator helps filter out false signals that often occur when using each tool independently. It is especially useful for swing trading, trend confirmation, and spotting high-probability entry/exit zones. This dual-oscillator approach combines RSI’s relative momentum insights with CCI’s deviation-based analysis to produce a more reliable signal structure.
Key Features
Dual Oscillator Display: Plots both RSI and CCI on the same subwindow for easy comparison and correlation analysis.
Customizable Parameters:
RSI Period and Level (default: 14)
CCI Period and Typical Price Type (default: 20, TP)
Overbought/Oversold Levels for both indicators
Color-Coded Zones:
Background highlights when both RSI and CCI enter overbought/oversold territory, signaling high potential reversal zones.
Combined Signal Logic (Optional Feature):
Buy Signal: RSI < 30 and CCI < -100
Sell Signal: RSI > 70 and CCI > 100
These can be visualized as arrows or plotted as signal markers.
Trend Filter Overlay (Optional):
Can be combined with a moving average or price action filter to confirm trend direction before accepting signals.
Divergence Detection (Advanced Option):
Optional plotting of bullish or bearish divergence where both indicators diverge from price action.
Multi-Timeframe Compatibility:
Allows the use of higher timeframe RSI/CCI values to confirm signals on lower timeframes.
Benefits
Improved Signal Accuracy: Using both RSI and CCI together helps avoid false breakouts and whipsaws.
More Informed Decision-Making: Correlating momentum (RSI) with deviation (CCI) provides a well-rounded picture of market behavior.
Efficient Charting: Saves screen space and cognitive load by combining two indicators into one clean panel.
Scalable Strategy Integration: Can be used in discretionary trading or coded into automated strategies/alerts.
Use Case Example
In a ranging market, the indicator highlights zones where both RSI and CCI are oversold, alerting traders to potential bounce opportunities.
In trending markets, it confirms trend strength when RSI and CCI are both aligned with trend direction.
When RSI is diverging from price but CCI isn’t, it can be a clue of weakening momentum, helping traders scale out or avoid traps.
This combined indicator offers a versatile, high-performance toolset for traders looking to elevate their technical analysis by leveraging multiple momentum perspectives simultaneously.