RSI & VWAP StrategyRSI & VWAP 'Buy the Dip' Strategy with Advanced Trailing Stop
Strategy Overview
This is a long-only, mean-reversion "buy the dip" strategy designed to identify and capitalize on oversold conditions in the market. The core philosophy is to enter positions when an asset is technically oversold (confirmed by RSI) and trading at a "discount" relative to its recent volume (confirmed by VWAP).
The strategy does not just look for weakness; it waits for a single bar of bullish confirmation (a green candle) before triggering an entry. This helps to filter out "falling knives" and improves the quality of the entry signal.
The true power of this script lies in its sophisticated position management, which includes:
Smart Pyramiding: A "scale-in" feature that allows you to add to your position at cheaper prices.
Dual-Mode Exit System: You can choose between a simple, fixed Stop-Loss/Take-Profit or an advanced, multi-stage trailing stop designed to protect profits and let winners run.
1. The Entry Signal: "The Dip"
A buy signal (marked by a green triangle below the bar) is generated only when all three of the following conditions are met simultaneously:
RSI is Oversold: The RSI value drops below the user-defined RSI Oversold Level (default: 30). This identifies technically oversold weakness.
Price is Below VWAP: The closing price is below the Volume-Weighted Average Price. This indicates the price is "cheap" relative to where the majority of volume has traded.
Bullish Confirmation Bar: The bar itself must be green (close > open). This acts as a confirmation signal, showing that buyers are stepping in to defend the oversold/undervalued level.
2. Position Management: Smart Pyramiding
This strategy allows for pyramiding (default: 1 additional entry). However, it doesn't just buy every new signal. It uses a "Smart Pyramiding" feature controlled by the "Percent Decrease" input.
How it works: When a new buy signal appears after you are already in a position, the strategy checks the Percent Decrease value.
Example (Percent Decrease = 5%): The strategy will only add to your position if the new entry price is at least 5% lower than your last entry price. This is an "average down" or "scale-in" feature that ensures you only add to your position at significantly better prices.
If set to 0%: The strategy will add to the position on any new valid buy signal (up to the pyramid limit).
3. The Dual-Mode Exit System
This is the most advanced feature of the script. You can choose your exit logic using the "Enable Trailing Stop" checkbox.
Mode 1: Standard SL/TP (Trailing Stop = OFF)
This is the simple, traditional exit mode.
It uses a fixed percentage-based Stop Loss and Take Profit.
These are calculated from the strategy.position_avg_price (your average entry cost).
Ideal for straightforward backtesting or a "set it and forget it" approach.
Mode 2: Advanced Trailing Stop (Trailing Stop = ON)
This is a dynamic, multi-phase exit logic designed to maximize gains and protect profits. It works in three distinct phases:
Phase 1: Entry (No Stop-Loss)
CRITICAL: When a position is first opened in this mode, no stop-loss is active. This is a deliberate design choice to avoid being stopped out by initial volatility before the trade has a chance to move in your favor. The position is "naked" until it hits the first profit target.
Phase 2: Activation (Breakeven Trigger)
When the price's high reaches your "First Profit Target (%)" (default: 5%), the trailing stop activates.
The script now begins tracking the highestPrice achieved since activation.
Phase 3: Trailing & Profit Protection
Once activated, the script places a dynamic stop-loss at a distance of "Trailing Pullback Stop (%)" (default: 3%) below the highestPrice.
Profit Lock-In: This stop-loss can only move up. It includes a breakeven-plus feature (math.max(trailingStopLevel, entryPrice)). This means that once your stop is activated, it will never move back below your average entry price, effectively guaranteeing that a winning trade cannot turn into a loss.
Example: Your First Profit Target is 5% and Trailing Pullback is 3%. The trade goes to +5% (trail activates, breakeven stop is placed). It then goes to +10% (stop moves up to +7%). If the price then falls to +6.9%, you are stopped out with a +7% gain.
Pyramid-Reset Logic: If you pyramid into a position (add a second entry), the entire Trailing Stop mechanism resets. The strategy.position_avg_price is recalculated, and the logic returns to Phase 1 (No Stop-Loss) until the new First Profit Target is hit based on the new average cost.
Key Inputs & Features
RSI Settings: RSI Period and RSI Oversold Level to fine-tune the entry signal.
ADVANCE SETTINGS:
Use Percentage Decrease?: Enables the "Smart Pyramiding" feature.
Percent Decrease: The percentage discount required for a pyramid entry.
TRAILING STOP (Group):
Enable Trailing Stop: The master switch for the exit logic (Mode 1 vs. Mode 2).
First Profit Target (%): The percentage gain required to activate the trailing stop.
Trailing Pullback Stop (%): How "tight" the trailing stop will be once active.
Standard SL/TP (Group):
Stop Loss %: Used only if the Trailing Stop is OFF.
Take Profit %: Used only if the Trailing Stop is OFF.
Backtesting Date Range: Built-in date filters allow you to easily test the strategy's performance during specific market periods (e.g., bull markets, bear markets, or choppy ranges).
How to Use & Recommendations
Test Both Exit Modes: Run backtests using both the Standard SL/TP mode and the Advanced Trailing Stop mode to see which performs better on your asset and timeframe.
Understand the Risk: Be fully aware that in Advanced Trailing Mode, there is no hard stop-loss between your entry and the "First Profit Target." This requires a higher risk tolerance but can prevent premature stop-outs.
Tune for Your Asset: This is a mean-reversion strategy. It may perform best in markets that are ranging or "choppy." It may perform poorly in very strong, one-directional trending markets. Adjust the RSI and Percent Decrease settings to match the volatility of your chosen asset.
Disclaimer: This script is for educational and informational purposes only. It is not financial advice. All trading involves risk, and past performance is not indicative of future results. Please conduct your own thorough backtesting and research before using this strategy with real funds.
Rsioversold
RSI Reversal + BB RSIReversal Alerts
SELL Reversal (reversalSELL)
Triggers when:
RSI touches or crosses above the upper BB, and
The current candle is bearish (close < open).
→ Plots a small red circle above the candle
→ Fires alert named “reversalSELL”
BUY Reversal (reversalBUY)
Triggers when:
RSI touches or crosses below the lower BB, and
The current candle is bullish (close > open).
→ Plots a small green circle below the candle
→ Fires alert named “reversalBUY”
RSI Divergence Strategy v6 What this does
Detects regular and hidden divergences between price and RSI using confirmed RSI pivots. Adds RSI@pivot entry gates, a normalized strength + volume filter, optional volume gate, delayed entries, and transparent risk management with rigid SL and activatable trailing. Visuals are throttled for clarity and include a gap-free horizontal RSI gradient.
How it works (simple)
🧮 RSI is calculated on your selected source/period.
📌 RSI pivots are confirmed with left/right lookbacks (lbL/lbR). A pivot becomes final only after lbR bars; before that, it can move (expected).
🔎 The latest confirmed pivot is compared against the previous confirmed pivot within your bar window:
• Regular Bullish = price lower low + RSI higher low
• Hidden Bullish = price higher low + RSI lower low
• Regular Bearish = price higher high + RSI lower high
• Hidden Bearish = price lower high + RSI higher high
💪 Each divergence gets a strength score that multiplies price % change, RSI change, and a volume ratio (Volume SMA / Baseline Volume SMA).
• Set Min divergence strength to filter tiny/noisy signals.
• Turn on the volume gate to require volume ratio ≥ your threshold (e.g., 1.0).
🎯 RSI@pivot gating:
• Longs only if RSI at the bullish pivot ≤ 30 (default).
• Shorts only if RSI at the bearish pivot ≥ 70 (default).
⏱ Entry timing:
• Immediate: on divergence confirm (delay = 0).
• Delayed: after N bars if RSI is still valid.
• RSI-only mode: ignore divergences; use RSI thresholds only.
🛡 Risk:
• Rigid SL is placed from average entry.
• Trailing activates only after unrealized gain ≥ threshold; it re-anchors on new highs (long) or new lows (short).
What’s NEW here (vs. the reference) — and why you may care
• Improved pivots + bar window → fewer early/misaligned signals; cleaner drawings.
• RSI@pivot gates → entries aligned with true oversold/overbought at the exact decision bar.
• Normalized strength + volume gate → ignore weak or low-volume divergences.
• Delayed entries → require the signal to persist N bars if you want more confirmation.
• Rigid SL + activatable trailing → trailing engages only after a cushion, so it’s less noisy.
• Clutter control + gradient → readable chart with a smooth RSI band look.
Suggested starting values (clear ranges)
• RSI@pivot thresholds: LONG ≤ 30 (oversold), SHORT ≥ 70 (overbought).
• Min divergence strength:
0.0 = off
3–6 = moderate filter
7–12 = strict filter for noisy LTFs
• Volume gate (ratio):
1.0 = at least baseline volume
1.2–1.5 = strong-volume only (fewer but cleaner signals)
• Pivot lookbacks:
lbL 1–2, lbR 3–4 (raise lbR to confirm later and reduce noise)
• Bar window (between pivots):
Min 5–10, Max 30–60 (increase Min if you see micro-pivots; increase Max for wider structures)
• Risk:
Rigid SL 2–5% on liquid majors; 5–10% on higher-volatility symbols
Trailing activation 1–3%, trailing 0.5–1.5% are common intraday starts
Plain-text examples
• BTCUSDT 1h → RSI 9, lbL 1, lbR 3, Min strength 5.0, Volume gate 1.0, SL 4.5%, Trail on 2.0%, Trail 1.0%.
• SPY 15m → RSI 8, lbL 1, lbR 3, Min strength 7.0, Volume gate 1.2, SL 3.0%, Trail on 1.5%, Trail 0.8%.
• EURUSD 4h → RSI 14, lbL 2, lbR 4, Min strength 4.0, Volume gate 1.0, SL 2.5%, Trail on 1.0%, Trail 0.5%.
Notes & limitations
• Pivot confirmation means the newest candidate pivot can move until lbR confirms it (expected).
• Results vary by timeframe/symbol/settings; always forward-test.
• Educational tool — no performance or profit claims.
Credits
• RSI by J. Welles Wilder Jr. (1978).
• Reference divergence script by eemani123:
• This version by tagstrading 2025 adds: improved pivot engine, RSI@pivot gating, normalized strength + optional volume gate, delayed entries, rigid SL and activatable trailing, and a gap-free RSI gradient.
RSI Value Table – match builtin🧭 Overview
“RSI Value Table – match builtin” displays the exact RSI value (identical to TradingView’s built-in RSI) for any selected timeframe — directly on your chart.
It’s designed for professional traders who need quick RSI confirmation without switching panels or opening multiple indicators.
⚙️ Core Logic
Reads RSI from any timeframe using request.security() with gaps_off and lookahead_off — ensuring a perfect match with the native RSI.
Optional EMA smoothing (non-standard) for visual stability.
Color-coded cell:
🟩 Green → RSI > 50 (bullish momentum)
🟥 Red → RSI < 50 (bearish momentum)
🟨 Yellow → Neutral zone around 50
Adjustable table position: top/bottom, left/right corners.
⚡ Alerts
Built-in alert conditions trigger automatically:
RSI > 50 → bullish momentum confirmation.
RSI < 50 → bearish momentum confirmation.
📈 How to Use
Select your preferred RSI timeframe (e.g., Daily, Weekly, 4H).
Watch the color-coded cell:
Green → trade long bias only.
Red → short bias only.
Ideal as a confirmation module for multi-timeframe systems or smart signal engines.
RSI Divergence Screener [Pineify]RSI Divergence Screener
Key Features
Multi-symbol and multi-timeframe support for advanced market screening.
Real-time detection and visualization of bullish and bearish RSI divergences.
Seamless integration with core technical indicators and custom divergences.
Highly customizable parameters for precise adaptation to personal trading strategies.
Comprehensive screener table for swift asset comparison and analysis.
How It Works
The RSI Divergence Screener leverages the power of Relative Strength Index (RSI) to systematically track momentum shifts across cryptocurrencies and their respective timeframes. By monitoring both fast and slow RSI calculations, the screener isolates divergence signals—key reversal points that often precede major price moves.
The indicator calculates two RSI values for each selected asset: one with a short lookback (Fast RSI) and another with a longer period (Slow RSI).
It runs a comparative algorithm to find divergences—whenever Fast RSI deviates significantly from Slow RSI, it flags the signal as bullish or bearish.
All detected divergences are dynamically presented in a table view, allowing traders to scan symbols and timeframes for optimal trading setups.
Trading Ideas and Insights
Spot early momentum reversals and preempt major price swings via divergence signals.
Combine multiple symbols and timeframes for cross-market trending opportunities.
Identify high-probability scalping and swing trading setups informed by RSI divergence logic.
Quickly compare crypto asset strength and trend exhaustion across short and long-term horizons.
How Multiple Indicators Work Together
This screener’s edge lies in its synergistic use of multi-setting RSI calculations and customizable input groups.
The dual-RSI approach (Fast vs. Slow) isolates subtle trend shifts missed by traditional single-period RSI.
Safe and reliable divergences arise only when the mathematical difference between Fast RSI and Slow RSI meets predefined thresholds, minimizing false positives.
Divergences are contextualized using tailored color codes and backgrounds, rendering insights immediately actionable.
You can expand analysis with additional moving average filters or overlays for further confirmation.
Unique Aspects
First-of-its-kind screener dedicated solely to RSI divergence, designed especially for crypto volatility.
Efficient screening of up to eight assets and multiple timeframes in one compact dashboard.
Intuitive iconography, color logic, and table layouts optimized for rapid decision-making.
Advanced input group design for fine-tuning indicator settings per symbol, timeframe, and source.
How to Use
Select up to eight cryptocurrency symbols to screen for divergence signals.
Assign individual timeframes and source prices for each asset to customize analysis.
Set Fast RSI and Slow RSI lengths according to your preferred strategy (e.g., scalping, swing, or trend following).
Review the screener table: colored cells highlight actionable bullish (green) and bearish (red) divergences.
Confirm trade setups with additional indicators or price action for robust risk management.
Customization
Symbols: Choose any crypto pair or ticker for dynamic divergence tracking.
Timeframes: Scan across 1m, 5m, 10m, 30m, and more for full market coverage.
RSI lengths: Configure Fast and Slow RSI periods based on volatility and trading style.
Visuals: Tailor table colors, fonts, and alert backgrounds per your preference.
Conclusion
The RSI Divergence Screener is a versatile, original TradingView indicator that empowers traders to scan, compare, and act on divergence signals with speed and precision. Its multi-symbol design, robust logic, and extensive customization options set a new standard for market screening tools. Integrate it into your crypto trading process to capture actionable opportunities ahead of the crowd and optimize your technical analysis workflow.
Relative Strength Index Remastered [CHE]Relative Strength Index Remastered — Enhanced RSI with robust divergence detection using price-based pivots and line-of-sight validation to reduce false signals compared to the standard RSI indicator.
Summary
RSI Remastered builds on the classic Relative Strength Index by adding a more reliable divergence detection system that relies on price pivots rather than RSI pivots alone, incorporating a line-of-sight check to ensure the RSI path between points remains clear. This approach filters out many false divergences that occur in the original RSI indicator due to its volatile pivot detection on the RSI line itself. Users benefit from clearer reversal and continuation signals, especially in noisy markets, with optional hidden divergence support for trend confirmation. The core RSI calculation and smoothing options remain familiar, but the divergence logic provides materially fewer alerts while maintaining sensitivity.
Motivation: Why this design?
The standard RSI indicator often generates misleading divergence signals because it detects pivots directly on the RSI values, which can fluctuate erratically in volatile conditions, leading to frequent false positives that confuse traders during ranging or choppy price action. RSI Remastered addresses this by shifting pivot detection to the underlying price highs and lows, which are more stable, and adding a validation step that confirms the RSI line does not cross the direct path between pivot points. This design targets the real problem of over-signaling in the original, promoting more actionable insights without altering the RSI's core momentum measurement.
What’s different vs. standard approaches?
- Reference baseline: The classical TradingView RSI indicator, which uses simple RSI-based pivot detection for divergences.
- Architecture differences:
- Pivot identification on price extremes (highs and lows) instead of RSI values, extracting RSI levels at those points for comparison.
- Addition of a line-of-sight validation that checks the RSI path bar by bar between pivots to prevent signals where the line is interrupted.
- Inclusion of hidden divergence types alongside regular ones, using the same robust framework.
- Configurable drawing of connecting lines between validated pivot RSI points for visual clarity.
- Practical effect: Charts show fewer but higher-quality divergence markers and lines, reducing clutter from the original's frequent RSI pivot triggers; this matters for avoiding whipsaws in intraday trading, where the standard version might flag dozens of invalid setups per session.
Key Comparison Aspects
Aspect: Title/Shorttitle
Original RSI: "Relative Strength Index" / "RSI"
Robust Variant: "Relative Strength Index Remastered " / "RSI RM"
Aspect: Max. Lines/Labels
Original RSI: No specification (Standard: 50/50)
Robust Variant: max_lines_count=200, max_labels_count=200 (for more lines/markers in divergences)
Aspect: RSI Calculation & Plots
Original RSI: Identical: RSI with RMA, Plots (line, bands, gradient fills)
Robust Variant: Identical: RSI with RMA, Plots (line, bands, gradient fills)
Aspect: Smoothing (MA)
Original RSI: Identical: Inputs for MA types (SMA, EMA etc.), Bollinger Bands optional
Robust Variant: Identical: Inputs for MA types (SMA, EMA etc.), Bollinger Bands optional
Aspect: Divergence Activation
Original RSI: input.bool(false, "Calculate Divergence") (disabled by default)
Robust Variant: input.bool(true, "Calculate Divergence") (enabled by default, with tooltip)
Aspect: Pivot Calculation
Original RSI: Pivots on RSI (ta.pivotlow/high on RSI values)
Robust Variant: Pivots on price (ta.pivotlow/high on low/high), RSI values then extracted
Aspect: Lookback Values
Original RSI: Fixed: lookbackLeft=5, lookbackRight=5
Robust Variant: Input: L=5 (Pivot Left), R=5 (Pivot Right), adjustable (min=1, max=50)
Aspect: Range Between Pivots
Original RSI: Fixed: rangeUpper=60, rangeLower=5 (via _inRange function)
Robust Variant: Input: rangeUpper=60 (Max Bars), rangeLower=5 (Min Bars), adjustable (min=1–6, max=100–300)
Aspect: Divergence Types
Original RSI: Only Regular Bullish/Bearish: - Bull: Price LL + RSI HL - Bear: Price HH + RSI LH
Robust Variant: Regular + Hidden (optional via showHidden=true): - Regular Bull: Price LL + RSI HL - Regular Bear: Price HH + RSI LH - Hidden Bull: Price HL + RSI LL - Hidden Bear: Price LH + RSI HH
Aspect: Validation
Original RSI: No additional check (only pivot + range check)
Robust Variant: Line-of-Sight Check: RSI line must not cross the connecting line between pivots (line_clear function with slope calculation and loop for each bar in between)
Aspect: Signals (Plots/Shapes)
Original RSI: - Plot of pivot points (if divergence) - Shapes: "Bull"/"Bear" at RSI value, offset=-5
Robust Variant: - No pivot plots, instead shapes at RSI , offset=-R (adjustable) - Shapes: "Bull"/"Bear" (Regular), "HBull"/"HBear" (Hidden) - Colors: Lime/Red (Regular), Teal/Orange (Hidden)
Aspect: Line Drawing
Original RSI: No lines
Robust Variant: Optional (showLines=true): Lines between RSI pivots (thick for regular, dashed/thin for hidden), extend=none
Aspect: Alerts
Original RSI: Only Regular Bullish/Bearish (with pivot lookback reference)
Robust Variant: Regular Bullish/Bearish + Hidden Bullish/Bearish (specific "at latest pivot low/high")
Aspect: Robustness
Original RSI: Simple, prone to false signals (RSI pivots can be volatile)
Robust Variant: Higher: Price pivots are more stable, line-of-sight filters "broken" divergences, hidden support for trend continuations
Aspect: Code Length/Structure
Original RSI: ~100 lines, simple if-blocks for bull/bear
Robust Variant: ~150 lines, extended helper functions (e.g., inRange, line_clear), var group for inputs
How it works (technical)
The indicator first computes the core RSI value based on recent price changes, separating upward and downward movements over the specified length and smoothing them to derive a momentum reading scaled between zero and one hundred. This value is then plotted in a separate pane with fixed upper and lower reference lines at seventy and thirty, along with optional gradient fills to highlight overbought and oversold zones.
For smoothing, a moving average type is applied to the RSI if enabled, with an option to add bands around it based on the variability of recent RSI values scaled by a multiplier. Divergence detection activates on confirmed price pivots: lows for bullish checks and highs for bearish. At each new pivot, the system retrieves the bar index and values (price and RSI) for the current and prior pivot, ensuring they fall within a configurable bar range to avoid unrelated points.
Comparisons then assess whether the price has made a lower low (or higher high) while the RSI at those points moves in the opposite direction—higher for bullish regular, lower for bearish regular. For hidden types, the directions reverse to capture trend strength. The line-of-sight check calculates the straight path between the two RSI points and verifies that the actual RSI values in between stay entirely above (for bullish) or below (for bearish) that path, breaking the signal if any bar violates it. Valid signals trigger shapes at the RSI level of the new pivot and optional lines connecting the points. Initialization uses built-in functions to track prior occurrences, with states persisting across bars for accurate historical comparisons. No higher timeframe data is used, so confirmation occurs after the right pivot bars close, minimizing live-bar repaints.
Parameter Guide
Length — Controls the period for measuring price momentum changes — Default: 14 — Trade-offs/Tips: Shorter values increase responsiveness but add noise and more false signals; longer smooths trends but delays entries in fast markets.
Source — Selects the price input for RSI calculation — Default: Close — Trade-offs/Tips: Use high or low for volatility focus, but close works best for most assets; mismatches can skew overbought/oversold reads.
Calculate Divergence — Enables the enhanced divergence logic — Default: True — Trade-offs/Tips: Disable for pure RSI view to save computation; essential for signal reliability over the standard method.
Type (Smoothing) — Chooses the moving average applied to RSI — Default: SMA — Trade-offs/Tips: None for raw RSI; EMA for quicker adaptation, but SMA reduces whipsaws; Bollinger Bands option adds volatility context at cost of added lines.
Length (Smoothing) — Period for the smoothing average — Default: 14 — Trade-offs/Tips: Match RSI length for consistency; shorter boosts signal speed but amplifies noise in the smoothed line.
BB StdDev — Multiplier for band width around smoothed RSI — Default: 2.0 — Trade-offs/Tips: Lower narrows bands for tighter signals, risking more touches; higher widens for fewer but stronger breakouts.
Pivot Left — Bars to the left for confirming price pivots — Default: 5 — Trade-offs/Tips: Increase for stricter pivots in noisy data, reducing signals; too high delays confirmation excessively.
Pivot Right — Bars to the right for confirming price pivots — Default: 5 — Trade-offs/Tips: Balances with left for symmetry; longer right ensures maturity but shifts signals backward.
Max Bars Between Pivots — Upper limit on distance for valid pivot pairs — Default: 60 — Trade-offs/Tips: Tighten for short-term trades to focus recent action; widen for swing setups but risks unrelated comparisons.
Min Bars Between Pivots — Lower limit to avoid clustered pivots — Default: 5 — Trade-offs/Tips: Raise to filter micro-moves; too low invites overlapping signals like the original RSI.
Detect Hidden — Includes trend-continuation hidden types — Default: True — Trade-offs/Tips: Enable for full trend analysis; disable simplifies to reversals only, akin to basic RSI.
Draw Lines — Shows connecting lines between valid pivots — Default: True — Trade-offs/Tips: Turn off for cleaner charts; helps visually confirm line-of-sight in backtests.
Reading & Interpretation
The main RSI line oscillates between zero and one hundred, crossing above fifty suggesting building momentum and below indicating weakness; touches near seventy or thirty flag potential extremes. The optional smoothed line and bands provide a filtered view—price above the upper band on the RSI pane hints at overextension. Divergence shapes appear as upward labels for bullish (lime for regular, teal for hidden) and downward for bearish (red regular, orange hidden) at the pivot's RSI level, signaling a mismatch only after validation. Connecting lines, if drawn, slope between points without RSI interference, their color matching the shape type; a dashed style denotes hidden. Fewer shapes overall compared to the standard RSI mean higher conviction, but always confirm with price structure.
Practical Workflows & Combinations
- Trend following: Enter longs on regular bullish shapes near support with higher highs in price; filter hidden bullish for pullback buys in uptrends, pairing with a rising smoothed RSI above fifty.
- Exits/Stops: Use bearish regular as reversal warnings to tighten stops; hidden bearish in downtrends confirms continuation—exit if lines show RSI crossing the path.
- Multi-asset/Multi-TF: Defaults suit forex and stocks on one-hour charts; for crypto volatility, widen pivot ranges to ten; scale min/max bars proportionally on daily for swings, avoiding the original's intraday spam.
Behavior, Constraints & Performance
Signals confirm only after the right pivot bars close, so live bars may show tentative pivots that vanish on close, unlike the standard RSI's immediate RSI-pivot triggers—plan for this delay in automation. No higher timeframe calls, so no security-related repaints. Resources include up to two hundred lines and labels for dense charts, with a loop in validation scanning up to three hundred bars between pivots, which is efficient but could slow on very long histories. Known limits: Slight lag at pivot confirmation in trending markets; volatile RSI might rarely miss fine path violations; not ideal for gap-heavy assets where pivots skip.
Sensible Defaults & Quick Tuning
Start with defaults for balanced momentum and divergence on most timeframes. For too many signals (like the original), raise pivot left/right to eight and min bars to ten to filter noise. If sluggish in trends, shorten RSI length to nine and enable EMA smoothing for faster adaptation. In high-volatility assets, widen max bars to one hundred but disable hidden to focus essentials. For clean reversal hunts, set smoothing to none and lines on.
What this indicator is—and isn’t
RSI Remastered serves as a refined momentum and divergence visualization tool, enhancing the standard RSI for better signal quality in technical analysis setups. It is not a standalone trading system, nor does it predict price moves—pair it with volume, structure breaks, and risk rules for decisions. Use alongside position sizing and broader context, not in isolation.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
15-Min RSI Scalper [SwissAlgo]15-Min RSI Scalper
Tracks RSI Momentum Loss and Gain to Generate Signals
-------------------------------------------------------
WHAT THIS INDICATOR CALCULATES
This indicator attempts to identify RSI directional changes (RSI momentum) using a step-by-step "ladder" method. It reads RSI(14) from the next higher timeframe relative to your chart. On a 15-minute chart, it uses 1-hour RSI. On a 5-minute chart, it uses 15-minute RSI, and so on.
How the ladder logic works:
The indicator doesn't track RSI all the time. It only starts tracking when RSI crosses into potentially extreme territory (these are called "events" in the code):
For sell signals : when RSI crosses above a dynamic upper threshold (typically between 60-80, calculated as the 90th percentile of recent RSI)
For buy signals : when RSI crosses below a dynamic lower threshold (typically between 20-40, calculated as the 10th percentile of recent RSI)
Once tracking begins, RSI movement is divided into 2-point steps (boxes). The indicator counts how many boxes RSI climbs or falls.
A signal generates only when:
RSI reverses direction by at least 2 boxes (4 RSI points) from its extreme
RSI holds that reversal for 3 consecutive confirmed bars
Example: Dynamic threshold is at 68. RSI crosses above 68 → tracking starts. RSI climbs to 76 (4 boxes up). Then it drops back to 72 and stays below that level for 3 bars → sell signal prints. The buy signal works the same way in reverse.
-------------------------------------------------------
SIGNAL GENERATION METHODOLOGY
Sell Signal (Red Triangle)
RSI crosses above a dynamic start level (calculated as the 90th percentile of the last 1000 bars, constrained between 60-80)
Indicator tracks upward progression in 2-point boxes
RSI reverses and drops below a boundary 2 boxes below the highest box reached
RSI remains below that boundary for 3 confirmed bars
Red triangle plots above price
Reset condition: RSI returns below 50
Buy Signal (Green Triangle)
RSI crosses below a dynamic start level (10th percentile of last 1000 bars, constrained between 20-40)
Indicator tracks downward progression in 2-point boxes
RSI reverses and rises above a boundary 2 boxes above the lowest box reached
RSI remains above that boundary for 3 confirmed bars
Green triangle plots below price
Reset condition: RSI returns above 50
-------------------------------------------------------
TECHNICAL PARAMETERS
All parameters are hardcoded:
RSI Period: 14
Box Size: 2 RSI points
Reversal Threshold: 2 boxes (4 RSI points)
Confirmation Period: 3 bars
Reset Level: RSI 50
Sell Start Range: 60-80 (dynamic)
Buy Start Range: 20-40 (dynamic)
Lookback for Percentile: 1000 bars
Note: Since the code is open source, users can modify these hardcoded values directly in the script to adjust sensitivity. For example, increasing the confirmation period from 3 to 5 bars will produce fewer but more conservative signals. Decreasing the box size from 2 to 1 will make the indicator more responsive to smaller RSI movements.
-------------------------------------------------------
KEY FEATURES
Automatic Higher Timeframe RSI
When applied to a 15-minute chart, the indicator automatically reads 1-hour RSI data. This is the next standard timeframe above 15 minutes in the indicator's logic.
Dynamic Adaptive Start Levels
Sell signals use the 90th percentile of RSI over the last 1000 bars, constrained between 60-80. Buy signals use the 10th percentile, constrained between 20-40. These thresholds recalculate on each bar based on recent data.
Ladder Box System
RSI movements are tracked in 2-point boxes. The indicator requires a 2-box reversal followed by 3 consecutive bars maintaining that reversal before generating a signal.
Dual Signal Output
Red down-triangles plot above price when the sell signal conditions are met. Green up-triangles plot below the price when buy signal conditions are met.
-------------------------------------------------------
REPAINTING
This indicator does not repaint. All calculations use "barstate.isconfirmed" to ensure signals appear only on closed bars. The request.security() call uses lookahead=barmerge.lookahead_off to prevent forward-looking bias.
-------------------------------------------------------
INTENDED CHART TIMEFRAME
This indicator is designed for use on 15-minute charts. The visual reminder table at the top of the chart indicates this requirement.
On a 15-minute chart:
RSI data comes from the 1-hour timeframe
Signals reflect 1-hour momentum shifts
3-bar confirmation equals 45 minutes of price action
Using it on other timeframes will change the higher timeframe RSI source and may produce different behavior.
-------------------------------------------------------
WHAT THIS INDICATOR DOES NOT DO
Does not predict future price movements
Does not provide entry or exit advice
Does not guarantee profitable trades
Does not replace comprehensive technical analysis
Does not account for fundamental factors, news events, or market structure
Does not adapt to all market conditions equally
-------------------------------------------------------
EDUCATIONAL USE
This indicator demonstrates one approach to momentum reversal detection using:
Multi-timeframe analysis
Adaptive thresholds via percentile calculation
Step-wise momentum tracking
Multi-bar confirmation logic
It is designed as a technical study, not a trading system. Signals represent calculated conditions based on RSI behavior, not trade recommendations. Always do your own analysis before taking market positions.
-------------------------------------------------------
RISK DISCLOSURE
Trading involves substantial risk of loss. This indicator:
Is for educational and informational purposes only
Does not constitute financial, investment, or trading advice
Should not be used as the sole basis for trading decisions
Has not been tested across all market conditions
May produce false signals, late signals, or no signals in certain conditions
Past performance of any indicator does not predict future results. Users must conduct their own analysis and risk assessment before making trading decisions. Always use proper risk management, including stop losses and position sizing appropriate to your account and risk tolerance.
MIT LICENSE
This code is open source and provided as-is without warranties of any kind. You may use, modify, and distribute it freely under the MIT License.
RSI with Dynamic Overbought/Oversold Levels [SwissAlgo]RSI with Dynamic Overbought/Oversold Levels
RSI indicator with adaptive overbought/oversold levels based on percentile analysis instead of fixed thresholds 30/70.
----------------------------------------------------------------
OVERVIEW
Traditional RSI uses static 30/70 levels that may fail to adapt to changing market conditions. This indicator calculates dynamic overbought/oversold zones based on recent price behavior, providing context-aware signals across dynamic volatility regimes.
----------------------------------------------------------------
KEY FEATURES
Dynamic percentile bands (98th, 95th, 90th, 10th, 5th, 2nd) that automatically adjust to current market volatility
Color-coded RSI line: red when above 98th percentile (extreme overbought), green when below 2nd percentile (extreme oversold), purple otherwise
Highlighted extreme zones with subtle background fills for easy visual identification
Adjustable responsiveness: Fast (50 bars), Medium (100 bars), or Slow (200 bars) for different trading styles and timeframes
Optional smoothing MA with multiple types: SMA, EMA, RMA, WMA, VWMA
Built-in alerts for extreme overbought/oversold conditions
----------------------------------------------------------------
HOW IT WORKS
The indicator tracks RSI values over a rolling window and calculates percentile ranks. When RSI reaches its 98th percentile, it means current momentum is stronger than 98% of recent readings — signaling a potentially extreme overbought condition relative to recent behavior, not just an arbitrary fixed level.
----------------------------------------------------------------
USAGE
Watch for RSI entering colored extreme zones (red/green fills) for potential exhaustion signals
Use the 90th/10th percentile bands as early warning levels
Combine with price action, support/resistance, or other indicators and your own analysis for confirmation
Adjust responsiveness based on your timeframe
----------------------------------------------------------------
SETTINGS
RSI Length: Standard 14-period default, adjustable
RSI Source: Close price default, customizable
Responsiveness: Choose how quickly percentile bands adapt to new data
Smoothing: Optional moving average overlay on RSI
Show Percentile Bands: Toggle visibility of dynamic levels
----------------------------------------------------------------
ALERTS
Two alert conditions are available:
RSI Extreme Overbought (crosses above 98th percentile)
RSI Extreme Oversold (crosses below 2nd percentile)
----------------------------------------------------------------
NOTES
Percentile levels recalculate as new data arrives, providing adaptive context rather than fixed historical values. This is intentional; the indicator shows where RSI stands relative to recent market behavior, not potentially outdated static thresholds.
----------------------------------------------------------------
LIMITATIONS & DISCLAIMER
PERCENTILE RECALCULATION
This indicator uses rolling percentile calculations that update as new price data arrives. Historical percentile levels may shift slightly as the lookback window moves forward . This is by design; the indicator provides context relative to recent market behavior, not static historical thresholds. Users should be aware that backtest results may differ slightly from real-time performance due to this adaptive nature.
NO PREDICTIVE CLAIMS
This indicator identifies when RSI reaches extreme levels relative to recent history. It does NOT predict future price movements, guarantee reversals, or provide trading signals. Extreme overbought/oversold conditions can persist during strong trends, price may continue moving in the same direction even after entering extreme zones.
ALERT TIMING
Alerts trigger when RSI crosses percentile thresholds on bar close. In fast-moving markets, significant price movement may occur between alert generation and user response. Always confirm conditions and DYOR before taking action.
NOT FINANCIAL ADVICE
This tool is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. Past performance of any trading system or methodology is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors.
USER RESPONSIBILITY
Users are solely responsible for their trading decisions. Always conduct your own analysis, implement proper risk management, and never risk more than you can afford to lose. Test thoroughly on paper/demo accounts before live trading.
NO WARRANTIES
This indicator is provided "as is" without warranties of any kind. The author assumes no responsibility for trading losses, technical errors, or any damages resulting from the use of this indicator.
Tomazz.nq – RSI Dynamic DisplayThis script displays the RSI value directly on your chart for quick and efficient market monitoring.
Fully customizable settings : RSI length, overbought/oversold levels, and colors.
Clear color logic : red when RSI is above the overbought threshold, red when below the oversold threshold, green otherwise.
Compact display in the top-right corner keeps your chart clean and focused.
➡️ Perfect for intraday and swing traders who want an at-a-glance RSI reading without opening a separate indicator window.
BayesStack RSI [CHE]BayesStack RSI — Stacked RSI with Bayesian outcome stats and gradient visualization
Summary
BayesStack RSI builds a four-length RSI stack and evaluates it with a simple Bayesian success model over a rolling window. It highlights bull and bear stack regimes, colors price with magnitude-based gradients, and reports per-regime counts, wins, and estimated win rate in a compact table. Signals seek to be more robust through explicit ordering tolerance, optional midline gating, and outcome evaluation that waits for events to mature by a fixed horizon. The design focuses on readable structure, conservative confirmation, and actionable context rather than raw oscillator flips.
Motivation: Why this design?
Classical RSI signals flip frequently in volatile phases and drift in calm regimes. Pure threshold rules often misclassify shallow pullbacks and stacked momentum phases. The core idea here is ordered, spaced RSI layers combined with outcome tracking. By requiring a consistent order with a tolerance and optionally gating by the midline, regime identification becomes clearer. A horizon-based maturation check and smoothed win-rate estimate provide pragmatic feedback about how often a given stack has recently worked.
What’s different vs. standard approaches?
Reference baseline: Traditional single-length RSI with overbought and oversold rules or simple crossovers.
Architecture differences:
Four fixed RSI lengths with strict ordering and a spacing tolerance.
Optional requirement that all RSI values stay above or below the midline for bull or bear regimes.
Outcome evaluation after a fixed horizon, then rolling counts and a prior-smoothed win rate.
Dispersion measurement across the four RSIs with a percent-rank diagnostic.
Gradient coloring of candles and wicks driven by stack magnitude.
A last-bar statistics table with counts, wins, win rate, dispersion, and priors.
Practical effect: Charts emphasize sustained momentum alignment instead of single-length crosses. Users see when regimes start, how strong alignment is, and how that regime has recently performed for the chosen horizon.
How it works (technical)
The script computes RSI on four lengths and forms a “stack” when they are strictly ordered with at least the chosen tolerance between adjacent lengths. A bull stack requires a descending set from long to short with positive spacing. A bear stack requires the opposite. Optional gating further requires all RSI values to sit above or below the midline.
For evaluation, each detected stack is checked again after the horizon has fully elapsed. A bull event is a success if price is higher than it was at event time after the horizon has passed. A bear event succeeds if price is lower under the same rule. Rolling sums over the training window track counts and successes; a pair of priors stabilizes the win-rate estimate when sample sizes are small.
Dispersion across the four RSIs is measured and converted to a percent rank over a configurable window. Gradients for bars and wicks are normalized over a lookback, then shaped by gamma controls to emphasize strong regimes. A statistics table is created once and updated on the last bar to minimize overhead. Overlay markers and wick coloring are rendered to the price chart even though the indicator runs in a separate pane.
Parameter Guide
Source — Input series for RSI. Default: close. Tips: Use typical price or hlc3 for smoother behavior.
Overbought / Oversold — Guide levels for context. Defaults: seventy and thirty. Bounds: fifty to one hundred, zero to fifty. Tips: Narrow the band for faster feedback.
Stacking tolerance (epsilon) — Minimum spacing between adjacent RSIs to qualify as a stack. Default: zero point twenty-five RSI points. Trade-off: Higher values reduce false stacks but delay entries.
Horizon H — Bars ahead for outcome evaluation. Default: three. Trade-off: Longer horizons reduce noise but delay success attribution.
Rolling window — Lookback for counts and wins. Default: five hundred. Trade-off: Longer windows stabilize the win rate but adapt more slowly.
Alpha prior / Beta prior — Priors used to stabilize the win-rate estimate. Defaults: one and one. Trade-off: Larger priors reduce variance with sparse samples.
Show RSI 8/13/21/34 — Toggle raw RSI lines. Default: on.
Show consensus RSI — Weighted combination of the four RSIs. Default: on.
Show OB/OS zones — Draw overbought, oversold, and midline. Default: on.
Background regime — Pane background tint during bull or bear stacks. Default: on.
Overlay regime markers — Entry markers on price when a stack forms. Default: on.
Show statistics table — Last-bar table with counts, wins, win rate, dispersion, priors, and window. Default: on.
Bull requires all above fifty / Bear requires all below fifty — Midline gate. Defaults: both on. Trade-off: Stricter regimes, fewer but cleaner signals.
Enable gradient barcolor / wick coloring — Gradient visuals mapped to stack magnitude. Defaults: on. Trade-off: Clearer regime strength vs. extra rendering cost.
Collection period — Normalization window for gradients. Default: one hundred. Trade-off: Shorter values react faster but fluctuate more.
Gamma bars and shapes / Gamma plots — Curve shaping for gradients. Defaults: zero point seven and zero point eight. Trade-off: Higher values compress weak signals and emphasize strong ones.
Gradient and wick transparency — Visual opacity controls. Defaults: zero.
Up/Down colors (dark and neon) — Gradient endpoints. Defaults: green and red pairs.
Fallback neutral candles — Directional coloring when gradients are off. Default: off.
Show last candles — Limit for gradient squares rendering. Default: three hundred thirty-three.
Dispersion percent-rank length / High and Low thresholds — Window and cutoffs for dispersion diagnostics. Defaults: two hundred fifty, eighty, and twenty.
Table X/Y, Dark theme, Text size — Table anchor, theme, and typography. Defaults: right, top, dark, small.
Reading & Interpretation
RSI stack lines: Alignment and spacing convey regime quality. Wider spacing suggests stronger alignment.
Consensus RSI: A single line that summarizes the four lengths; use as a smoother reference.
Zones: Overbought, oversold, and midline provide context rather than standalone triggers.
Background tint: Indicates active bull or bear stack.
Markers: “Bull Stack Enter” or “Bear Stack Enter” appears when the stack first forms.
Gradients: Brighter tones suggest stronger stack magnitude; dull tones suggest weak alignment.
Table: Count and Wins show sample size and successes over the window. P(win) is a prior-stabilized estimate. Dispersion percent rank near the high threshold flags stretched alignment; near the low threshold flags tight clustering.
Practical Workflows & Combinations
Trend following: Enter only on new stack markers aligned with structure such as higher highs and higher lows for bull, or lower lows and lower highs for bear. Use the consensus RSI to avoid chasing into overbought or oversold extremes.
Exits and stops: Consider reducing exposure when dispersion percent rank reaches the high threshold or when the stack loses ordering. Use the table’s P(win) as a context check rather than a direct signal.
Multi-asset and multi-timeframe: Defaults travel well on liquid assets from intraday to daily. Combine with higher-timeframe structure or moving averages for regime confirmation. The script itself does not fetch higher-timeframe data.
Behavior, Constraints & Performance
Repaint and confirmation: Stack markers evaluate on the live bar and can flip until close. Alert behavior follows TradingView settings. Outcome evaluation uses matured events and does not look into the future.
HTF and security: Not used. Repaint paths from higher-timeframe aggregation are avoided by design.
Resources: max bars back is two thousand. The script uses rolling sums, percent rank, gradient rendering, and a last-bar table update. Shapes and colored wicks add draw overhead.
Known limits: Lag can appear after sharp turns. Very small windows can overfit recent noise. P(win) is sensitive to sample size and priors. Dispersion normalization depends on the collection period.
Sensible Defaults & Quick Tuning
Start with the shipped defaults.
Too many flips: Increase stacking tolerance, enable midline gates, or lengthen the collection period.
Too sluggish: Reduce stacking tolerance, shorten the collection period, or relax midline gates.
Sparse samples: Extend the rolling window or increase priors to stabilize P(win).
Visual overload: Disable gradient squares or wick coloring, or raise transparency.
What this indicator is—and isn’t
This is a visualization and context layer for RSI stack regimes with simple outcome statistics. It is not a complete trading system, not predictive, and not a signal generator on its own. Use it with market structure, risk controls, and position management that fit your process.
Metadata
- Pine version: v6
- Overlay: false (price overlays are drawn via forced overlay where applicable)
- Primary outputs: Four RSI lines, consensus line, OB/OS guides, background tint, entry markers, gradient bars and wicks, statistics table
- Inputs with defaults: See Parameter Guide
- Metrics and functions used: RSI, rolling sums, percent rank, dispersion across RSI set, gradient color mapping, table rendering, alerts
- Special techniques: Ordered RSI stacking with tolerance, optional midline gating, horizon-based outcome maturation, prior-stabilized win rate, gradient normalization with gamma shaping
- Performance and constraints: max bars back two thousand, rendering of shapes and table on last bar, no higher-timeframe data, no security calls
- Recommended use-cases: Regime confirmation, momentum alignment, post-entry management with dispersion and recent outcome context
- Compatibility: Works across assets and timeframes that support RSI
- Limitations and risks: Sensitive to parameter choices and market regime changes; not a standalone strategy
- Diagnostics: Statistics table, dispersion percent rank, gradient intensity
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
icreature RSI Divergence + OB/OSThis script simply showing all divergences and fill in colours when ob or os . Enjoy!
RMA Smoothed RSIRMA Smoothed RSI
Description:
An enhanced RSI built for cleaner intraday and swing reads. It applies RMA smoothing to damp noise.
How It Works
RSI (RMA-Smoothed):
Computes classic RSI from price changes and smooths the result with an additional RMA (user-controlled 3–7, where 5 is the sweet spot). This reduces whipsaw while preserving shifts in momentum.
How to Interpret
50 Midline = Bias Filter: Above 50 favors strength; below 50 favors weakness.
RSI vs RSI-MA Crosses: Cross up can precede thrust or mean-revert toward 50; cross down the opposite.
Inputs
Length: RSI period (default 14).
Source: Price source for RSI (default Close).
Smoothing: RMA smoothing length on RSI (3–7; default 3; 5 sweet spot).
Calculate Divergence: Toggle to compute pivots/divergences and enable alerts.
Moving Average Type: None, SMA, EMA, WMA, VWMA (default EMA).
MA Length: Length of the RSI-based MA (separate from RSI length).
Best For
Traders who want a cleaner RSI read without losing responsiveness.
Scalpers timing momentum shifts around the 50 line and MA crosses.
Swing traders using divergences as early reversal context.
Pro Tips
For fast intraday charts, start with Length 14, Smoothing 3–5, and EMA as the RSI-MA.
Use 50 reclaims/rejections as a simple regime filter.
Combine divergence labels with volume surges, key S/R, or volatility tools (e.g., BBW/TTM squeeze) to time entries.
Divergence alerts fire only if Calculate Divergence is enabled—keep it on if you rely on signals.
ZenAlgo - MarsThis indicator is a momentum-based oscillator built around a modified RSI calculation and subsequent smoothing with moving averages. It introduces a layered structure where divergences, signal crossovers, histogram dynamics, and multi-timeframe tables all combine into a comprehensive framework. The purpose is not to forecast markets with certainty but to provide structured context on momentum shifts, divergences, and trend bias.
Core Calculation
The base source is the closing price.
From it, relative upward and downward movements are measured over a chosen lookback length (by preset or manual input).
These values are normalized into an oscillator bounded between 0–100, equivalent to a traditional RSI structure.
This oscillator is smoothed by a moving average (SMA by default), producing the main line (MA).
A secondary smoothing (EMA by default) of the MA produces a signal line, against which crossovers are monitored.
Why this structure:
RSI captures momentum imbalance between gains and losses. Smoothing removes noise and makes divergences more stable to identify. Adding a signal line allows crossover events to highlight relative strengthening or weakening momentum phases.
Zones and Visual Guides
Static horizontal levels are placed at 70 (upper bound), 50 (mid-line), and 30 (lower bound).
The region between 30–70 is softly filled to emphasize the neutral zone.
Color changes on the MA line occur depending on whether it is above or below the signal line.
Why these levels:
Values above 70 or below 30 are commonly interpreted as overextended regions. A central 50 line separates positive from negative bias. These anchors allow consistent interpretation of oscillator movements.
Crossover Events
Alerts and conditions are defined for when the MA crosses above or below the signal line.
These are not entry signals by themselves but indicate shifts in relative momentum strength.
Divergence Detection
Divergences are calculated on the smoothed MA rather than raw RSI.
Four conditions are tracked:
Regular bullish (price makes a lower low while MA makes a higher low).
Hidden bullish (price higher low with MA lower low).
Regular bearish (price higher high with MA lower high).
Hidden bearish (price lower high with MA higher high).
Each detected divergence is marked with shapes and labeled "R" (regular) or "H" (hidden).
Why divergences are used:
They highlight when oscillator momentum disagrees with price structure. Regular divergences often suggest exhaustion, while hidden divergences may appear during continuation phases.
RSI & MA Multi-Timeframe Table
A table can be displayed showing RSI and MA values across multiple timeframes (1m, 5m, 15m, 1h, 4h, 1D).
For each, the relationship (Rising, Falling, Neutral) is determined by comparing RSI and MA.
Colors are adjusted depending on value ranges (extreme low, oversold, overbought, etc.).
Added value:
Instead of analyzing divergences or crossovers only on one chart, the table provides a compact overview of aligned or conflicting conditions across timeframes.
Strong and Warning Indications
"Strong" mark (Diamond) appear when the MA is firmly biased above or below 50 and hidden divergence supports the trend.
"Warning" mark (Triangle) appear when bias is strong but a regular divergence forms in the opposite direction.
Shapes mark these conditions, and alerts are available.
Why this distinction:
Hidden divergences often accompany continuation phases, while regular divergences may challenge the prevailing bias. Marking them separately allows the user to distinguish between potential trend reinforcement versus warning conditions.
Signal Table
A separate table summarizes:
Overall trend bias (Bull, Full Bull, Bear, Full Bear, Flat).
Time spent in each key zone.
Current MA trend (Rising, Falling, Flat).
Visual icons and color codes provide quick interpretation.
Time in Zones
The indicator measures how many bars (converted into minutes) the MA has spent:
above 70
above 50
below 50
below 30
These values appear in the signal table.
Why this matters:
Extended time in an extreme zone can show persistent momentum. Quick reversals versus sustained positioning give different context for bias strength.
MA vs Signal Histogram
A histogram plots the difference between MA and signal line, shifted around the 50 level.
Rising differences are shown with brighter coloring, falling differences with faded tones.
This emphasizes whether momentum is accelerating or decelerating.
Daily VWAP Integration
When the MA crosses the 50 level, additional conditions check whether the histogram is aligned and whether price is above or below the daily VWAP.
Only when both momentum bias and VWAP alignment agree are triangle markers shown.
Why VWAP is included:
VWAP serves as an intraday mean reference. Requiring alignment between oscillator momentum and price position relative to VWAP reduces random crossover noise.
Added Value Over Free Indicators
Divergences are calculated on smoothed momentum rather than raw RSI, reducing false positives.
Integration of multi-timeframe tables avoids the need to manually switch charts.
Bias measurement in terms of time spent in zones adds a temporal dimension often missing in basic oscillators.
Combining histogram dynamics with VWAP filtering provides context not present in typical RSI or MA overlays.
Limitations and Disclaimers
Divergences are not predictive on their own; price may continue without respecting them.
Extreme readings (e.g., above 70) can remain extended for long periods, especially in strong trends.
Multi-timeframe aggregation may introduce repainting effects when lower timeframes update faster than higher ones.
Signals must be interpreted in broader market context; the indicator does not provide trade entries or exits by itself.
How to Interpret Values
Above 70: momentum is strongly stretched upward.
Below 30: momentum is strongly stretched downward.
Crossing 50: often marks a structural change in directional bias.
MA rising vs. falling: tracks whether momentum pressure is increasing or decreasing.
Divergence labels: "R" = potential reversal, "H" = potential continuation.
Tables: confirm whether bias is consistent across multiple timeframes.
Best Use
Observe divergences in conjunction with bias tables to understand whether short-term moves align with higher-timeframe conditions.
Treat "Strong" and "Warning" markers as contextual alerts, not direct signals.
Use the histogram and VWAP alignment to filter out weaker crossovers.
Combine with price action and risk management rather than using in isolation.
Triple Trend v2 [DLL]Triple Trend v2 is a multi-layer trend detection tool using three customizable Supertrend calculations.
Plots three trend lines (short, medium, long) with independent ATR settings.
Highlights trend flips with labels (1, 2, 3) showing which trend(s) changed.
Integrates RSI reversal detection (fixed or dynamic) with optional reversal lines and labels.
Includes a bar-size filter to ignore insignificant flips.
Displays a multi-timeframe trend table for higher-timeframe confirmation.
Provides built-in alerts for flips, RSI thresholds, and reversals.
RSI SwingRadar🧠 Strategy Overview
This long-only strategy combines RSI/MA crossovers with ATR-based risk management, designed for cleaner entries during potential bounce phases — especially tuned for assets like XMR/USDT.
🔍 Core Logic:
- RSI Crossover: Entry occurs when the 14-period RSI crosses above its 14-period SMA, signaling a potential shift in momentum.
- Oversold Filter: The RSI must have been below a user-defined oversold threshold (default: 35) on the previous candle, filtering for bounce setups after a pullback.
- ATR-Based Stop/Target: Stop-loss is placed below the low by a user-adjustable ATR multiplier (default: 0.5×). Take-profit is calculated with a Risk:Reward multiplier (default: 4×).
These elements work in tandem — RSI crossovers give momentum confirmation, oversold filtering adds context, and ATR-based exits adapt to volatility, creating a compact yet responsive strategy.
📉 Visuals:
- Dynamic Bands: The chart displays the active stop-loss, entry price, and take-profit as colored bands for easy visual tracking.
- Clean Overlay: Designed with simplicity — only confirmed setups are shown, keeping noise low.
✅ Suggested Use:
- Works best on XMR/USDT or similarly trending assets.
- Best suited for pullback entries during broader uptrends.
- Adjustable for different volatility conditions and asset behaviors.
⚠️ Disclaimer
- This strategy is for educational and research purposes only.
- It does not guarantee profitability in any market.
- Always backtest, forward-test, and understand your own risk tolerance before using any
strategy in a live environment.
- Past performance is not indicative of future results.
- This script is not financial advice.
Volume-RSI Colored Bars
The Volume Indicator, used in conjunction with the embedded Relative Strength Index (RSI), is a powerful tool for making informed trading decisions. Let’s break down how this indicator works and how it can assist you in your trading strategy.
Volume Indicator:
The Volume Indicator tracks the volume of trades occurring in a specific timeframe. Volume shows the number of shares or contracts traded, which can reveal the strength of a price move. If price is moving higher with increasing volume, it generally confirms that the move has more strength, indicating the potential for continuation. Conversely, if the price is moving lower with increasing volume, it indicates strong bearish momentum.
Volume Clusters:
In the chart, we can see various volume clusters highlighted in green, red, and grey. The green bars represent high volume, which can signal strong buying pressure. The red bars represent low volume, signaling that selling pressure is low. Grey bars indicate average volume.
High Volume (Green Bars): High buying pressure, indicating that there may be a strong move in the direction of the price.
Low Volume (Red Bars): Potential signal for a weak move, indicating a lack of participation in the current trend.
RSI (Relative Strength Index):
RSI is a momentum oscillator that indicates whether a market is overbought or oversold. The RSI ranges from 0 to 100, with readings above 70 suggesting an overbought market and readings below 30 suggesting an oversold market.
The RSI is also embedded in the indicator to give a better context when combined with volume. It adds an extra layer of analysis to interpret the price action.
How to Use Volume Indicator with RSI:
Confirming Breakouts:
If you see a breakout in price (an upward movement or downward movement) and the volume indicator shows high volume, this confirms the strength of the breakout.
If the RSI also supports the breakout (for example, it is crossing above 50 or above 70 for an uptrend), it further validates the trade.
Identifying Reversals:
When the price is reaching overbought or oversold levels (RSI above 70 or below 30) and there is low volume (red bars), this may indicate a potential reversal.
If the price is oversold and RSI shows values below 30 with increasing volume (green bars), this could signal a potential buying opportunity as a reversal might occur.
Volume Divergence:
If the price is making new highs, but the volume is declining (red bars), it may signal weakness in the trend, despite the RSI indicating strength. This divergence can help traders anticipate a potential reversal or breakout.
Example from the Chart:
Strong Buy Signal: The price is making an upward movement, the volume bars are turning green (indicating strong buying pressure), and RSI is rising above 50.
Bearish Divergence: You may see RSI moving higher, but volume bars are turning red (indicating weak momentum). This could signal that the upward movement lacks strength, suggesting a potential reversal.
By combining these two indicators, the Volume Indicator and the RSI, traders can make more informed decisions on whether the current trend is sustainable, or if a reversal or breakout is likely.
In conclusion, using the Volume Indicator and RSI together allows for:
Identifying high-volume breakouts and reversals
Filtering out weak price movements
Confirming trends with volume and momentum
This combination enhances trading strategies by providing clear signals of market strength or weakness, helping traders optimize their entry and exit points effectively.
RSI Trigger Count (30 Days) - Both SidesRSI Dual Trigger Counter (30 Days)
This indicator tracks both oversold ( crossunder ) and overbought ( crossover ) RSI events on a 30-minute chart, featuring:
Dual-Mode Selector:
Counts either RSI < 30 (oversold) or RSI > 70 (overbought) crossings
Toggle between modes via input menu
30-Day Rolling Count:
Displays total triggers in the last 30 days (e.g., "Times triggered (Oversold) ① 19")
Visual Alerts:
Red triangles ↓ for oversold crossunders
Green triangles ↑ for overbought crossovers
Customizable:
Adjustable RSI length (2-100) and thresholds (1-100)
Works on any timeframe (auto-scales calculations)
Purpose: Identifies frequent reversal signals for both buying dips (oversold) and selling rallies (overbought).
RSI & MACD Exit IndicatorThis indicator is designed to assist traders in identifying potential exit points for long and short trades by combining the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD).
Unlike traditional indicators that provide entry signals, this script is specifically optimized for exit strategies, helping traders manage their positions efficiently.
How It Works
The script identifies potential exit points based on the following conditions:
🔴 Exit Long:
- RSI crosses above the user-defined overbought threshold (default: 65).
- MACD crosses below the signal line (bearish crossover).
🟢 Exit Short:
- RSI crosses below the user-defined oversold threshold (default: 35).
- MACD crosses above the signal line (bullish crossover).
When these conditions align, a label appears on the price chart indicating an exit point.
Key Features
- Customizable RSI & MACD Settings – Adjust lengths and thresholds to suit your strategy.
- ATR-Based Adjustments – The script incorporates an ATR multiplier for dynamic signal adjustments based on market volatility.
- Clear Visual Labels – Exit points are clearly marked on price candles.
- Color-Coded Background – Highlights buy/sell zones for quick identification.
- Alerts for Exit Signals – Receive notifications when exit conditions are met.
- Clean Chart Design – The MACD plots are placed below the main chart to avoid clutter.
How to Use
⚠ This indicator is for exits only and does not generate buy/sell entry signals.
For long trades: When an Exit Long signal appears, traders may consider closing or reducing their long positions.
For short trades: When an Exit Short signal appears, traders may consider closing or reducing their short positions.
ATR Settings: Users can adjust the ATR multiplier to fine-tune the signal frequency based on market conditions.
Important Notes
- This indicator does not guarantee future performance—it should be used alongside other analysis methods.
- No financial advice – Always use proper risk management.
- TradingView users who do not read Pine Script can still fully utilize this script thanks to the detailed signal labels and alerts.
💡 Developed with advice from @CoffeeshopCrypto based on user feedback.
MACD Sniper [trade_lexx]📈 MACD Sniper — Improve your trading strategy with accurate signals!
Introducing the MACD Sniper , an advanced trading indicator designed for a comprehensive analysis of market conditions. This indicator combines MACD (Moving Average Convergence Divergence) with various types of moving averages (SMA, EMA, WMA, VWMA, KAMA, HMA, ZLEMA, TEMA, ALMA, DEMA), providing traders with a powerful tool for generating buy and sell signals. It is ideal for traders who need an advantage in detecting changes in trends and market conditions.
🔍 How the signals work
1. Histogram signals:
— A buy signal is generated when the MACD histogram is below zero and begins to grow after the minimum number of falling histogram columns, which are indicated in the indicator menu. This indicates that selling pressure has decreased, the market is oversold and ready for a rebound. The signals are displayed as green triangles labeled "H" under the histogram graph. On the main chart, buy signals are displayed as green triangles labeled "Buy" under candlesticks.
— A sell signal is generated when the MACD histogram is above zero and begins to fall after the minimum number of growing histogram columns, which are indicated in the indicator menu. This indicates that the buying pressure has decreased, the market is overbought and ready for correction. The signals are displayed as red triangles labeled "H" above the histogram graph. On the main chart, the sell signals are displayed as red triangles with the word "Sell" above the candlesticks.
2. Moving Average Crossing Signals (MA):
— A buy signal is generated when the Fast Moving Average (MACD) crosses the Slow Moving Average (Signal Line) from bottom to top. This indicates a possible upward reversal of the market. The signals are displayed as green triangles labeled "MA" under the MACD chart. On the main chart, buy signals are displayed as green triangles labeled "Buy" under candlesticks.
— A sell signal is generated when the Fast Moving Average (MACD) crosses the slow Moving Average (Signal Line) from top to bottom. This indicates a possible downward reversal of the market. The signals are displayed as red triangles labeled "MA" above the MACD chart. On the main chart, the sell signals are displayed as red triangles with the word "Sell" above the candlesticks.
🔧 Signal filtering
— Minimum number of bars between signals
This filter allows the user to set the minimum number of bars that must pass between the generation of two consecutive signals. This helps to avoid frequent false alarms and improves the quality of the generated signals. Setting this parameter allows you to filter out the noise in the market and make the signals more reliable. For example, if the value is set to 5, then a new signal will be generated only after 5 bars have passed since the previous signal.
— "Wait for the opposite signal" mode
In this mode, Buy and Sell signals are generated only after receiving the opposite signal. This means that a buy signal will be generated only after the previous sell signal, and vice versa. This approach adds an additional level of filtering and helps to avoid false positives. This is especially useful in conditions of high market volatility, when false signals often occur.
— RSI filter
The Relative Strength Index (RSI) is used for additional filtering of buy and sell signals. The RSI helps determine whether a market is overbought or oversold. The user can set overbought and oversold levels, and signals will be generated only when the RSI is in the specified ranges. For example, a buy signal will be generated only if the RSI is in the range between 10 and 30 (oversold), and a sell signal if the RSI is in the range between 70 and 90 (overbought). This helps to avoid false signals in extreme market conditions.
🔌 Connector Histogram, MA, Combined 🔌
These parameters allow you to connect the indicator to trading strategies and test the signals throughout the trading history. This makes the indicator an even more powerful tool for traders who want to test the effectiveness of their strategies on historical data.
Connector Histogram provides the ability to connect signals based on the MACD histogram to trading strategies.
Connector MA allows you to connect signals based on the intersection of moving averages (MA) of the MACD, which can also be used for automatic trading or strategy testing.
The combined connector combines signals based on both a histogram and the intersection of moving averages, making the analysis more comprehensive and reliable, which is especially useful for traders seeking to improve the quality of their trading decisions.
🔔 Alerts
The indicator provides the ability to set up notifications for buy and sell signals, which allows traders to keep abreast of important market events without having to constantly monitor the chart. Users can set up notifications that will alert them when buy or sell signals appear, helping them respond to market changes in a timely manner and make informed decisions. These notifications can be configured for various types of signals, such as signals based on the MACD histogram, moving average crossings, or all at once, which makes the indicator a more convenient and functional tool for active traders.
🎨 Customizable Appearance
Customize the appearance of the MACD Sniper according to your preferences to make the analysis more convenient and visually pleasing. In the indicator settings section, you can change the colors of the buy and sell signals so that they stand out on the chart and are easily visible. For example, buy signals can be green, and sell signals can be red. These settings allow traders to adapt the indicator to their individual needs, making it more flexible and user-friendly.
🔧 How it works
The MACD Sniper indicator starts by calculating the MACD values and moving averages for a specific period in order to assess market conditions. For this, fast and slow moving averages are used, as well as a signal line, which are calculated based on the set parameters. The indicator then analyzes the MACD histogram to determine whether the difference between the fast and slow moving averages is rising or falling. Based on this analysis, buy and sell signals are generated. Additionally, the indicator uses the RSI filter to filter out false signals in overbought or oversold market conditions. The user can set the minimum number of bars between the signals and the "Wait for the opposite signal" mode for additional filtering. The indicator dynamically adjusts to changes in the market, providing relevant signals in real time.
📚 Quick guide to using the MACD Sniper
— Add the indicator to your favorites by clicking on the rocket icon. Adjust the parameters such as the length of periods for fast and slow moving averages, the type of moving average (SMA, EMA, WMA, VWMA, KAMA, HMA, ZLEMA, TEMA, ALMA, DEMA) and the length of the signal line, according to your trading style, or leave all settings as default.
— Adjust the signal filters to improve their quality and avoid false alarms
— Turn on notifications so that you don't miss important trading opportunities and don't constantly sit at the chart. This will allow you to keep abreast of all key market events and respond to them in a timely manner, without being distracted from other business.
— Use signals, they will help you determine the optimal entry and exit points of positions.
— Use the Connector for deeper analysis and verification of the effectiveness of signals, connect them to your trading strategies. This will allow you to test signals throughout your trading history and evaluate their accuracy based on historical data.
— Include the indicator in your trading strategy and run testing to see how buy and sell signals have worked in the past.
— Analyze the test results to determine how reliable the signals are and how they can improve your trading strategy. This will help you make more informed decisions and increase your trading efficiency.
Waldo Momentum Cloud Bollinger Bands (WMCBB)
Title: Waldo Momentum Cloud Bollinger Bands (WMCBB)
Description:
Introducing the "Waldo Momentum Cloud Bollinger Bands (WMCBB)," an innovative trading tool crafted for those who aim to deepen their market analysis by merging two dynamic technical indicators: Dynamic RSI Bollinger Bands and the Waldo Cloud.
What is this Indicator?
WMCBB integrates the volatility-based traditional Bollinger Bands with a momentum-sensitive approach through the Relative Strength Index (RSI). Here’s how it works:
Dynamic RSI Bollinger Bands: These bands dynamically adjust according to the RSI, which tracks the momentum of price movements. By scaling the RSI to align with price levels, we generate bands that not only reflect market volatility but also the underlying momentum, offering a refined view of overbought and oversold conditions.
Waldo Cloud: This feature adds a layer of traditional Bollinger Bands, visualized as a 'cloud' on your chart. It employs standard Bollinger Band methodology but enhances it with additional moving average layers to better define market trends.
The cloud's color changes dynamically based on various market conditions, providing visual signals for trend direction and potential trend reversals.
Why Combine These Indicators?
Combining Dynamic RSI Bollinger Bands with the Waldo Cloud in WMCBB aims to:
Enhance Trend Identification: The Waldo Cloud's color-coded system aids in recognizing the overarching market trend, while the Dynamic RSI Bands give insights into momentum changes within that trend, offering a comprehensive view.
Improve Volatility and Momentum Analysis: While traditional Bollinger Bands measure market volatility, integrating RSI adds a layer of momentum analysis, potentially leading to more accurate trading signals.
Visual Clarity: The unified color scheme for both sets of bands, which changes according to RSI levels, moving average crossovers, and price positioning, simplifies the process of gauging market sentiment at a glance.
Customization: Users have the option to toggle the visibility of moving averages (MA) through the settings, allowing for tailored analysis based on individual trading strategies.
Usage:
Utilize WMCBB to identify potential trend shifts by observing price interactions with the dynamic bands or changes in the Waldo Cloud's color.
Watch for divergences between price movements and RSI to forecast potential market reversals or continuations.
This combination shines in sideways markets where traditional indicators might fall short, as it provides additional context through RSI momentum analysis.
Settings:
Customize parameters for both the Dynamic RSI and Waldo Cloud Bollinger Bands, including the calculation source, standard deviation factors, and moving average lengths.
WMCBB is perfect for traders seeking to enhance their market analysis through the synergy of momentum and volatility, all while maintaining visual simplicity. Trade with greater insight using the Waldo Momentum Cloud Bollinger Bands!
Waldo's RSI Color Trend Candles
TradingView Description for Waldo's RSI Color Trend Candles
Title: Waldo's RSI Color Trend Candles
Short Title: Waldo RSI CTC
Overview:
Waldo's RSI Color Trend Candles is a visually intuitive indicator designed to enhance your trading experience by color-coding candlesticks based on the integration of Relative Strength Index (RSI) momentum and moving average trend analysis. This innovative tool overlays directly on your price chart, providing a clear, color-based representation of market sentiment and trend direction.
What is it?
This indicator combines the power of RSI with the simplicity of moving averages to offer traders a unique way to visualize market conditions:
RSI Integration: The RSI is computed with customizable parameters, allowing traders to adjust how momentum is interpreted. The RSI values influence the primary color of the candles, indicating overbought or oversold market states.
Moving Averages: Utilizing two Simple Moving Averages (SMAs) with user-defined lengths, the indicator helps in identifying trend directions through their crossovers. The fast MA and slow MA can be toggled on/off for visual clarity.
Color Trend Candles: The 'Color Trend Candles' feature uses a dynamic color scheme to reflect different market conditions:
Purple for overbought conditions when RSI exceeds the set threshold (default 70).
Blue for oversold conditions when RSI falls below the set threshold (default 44).
Green indicates a bullish trend, confirmed by both price action and RSI being bullish (fast MA crossing above slow MA, with price above the slow MA).
Red signals a bearish trend, when both price and RSI are bearish (fast MA crossing below slow MA, with price below the slow MA).
Gray for neutral or mixed market sentiment, where signals are less clear or contradictory.
How to Use It:
Waldo's RSI Color Trend Candles is tailored for traders who appreciate visual cues in their trading strategy:
Trend and Momentum Insight: The color of each candle gives an immediate visual representation of both the trend (via MA crossovers) and momentum (via RSI). Green and red candles align with bullish or bearish trends, respectively, providing a quick reference for market direction.
Identifying Extreme Conditions: Purple and blue candles highlight potential reversal zones or areas where the market might be overstretched, offering opportunities for contrarian trades or to anticipate market corrections.
Customization: Users can adjust the RSI length, overbought/oversold levels, and the lengths of the moving averages to align with their trading style or the specific characteristics of the asset they're trading.
This customization ensures the indicator can be tailored to various market conditions.
Simplified Decision Making: Designed for traders who prefer a visual approach, this indicator simplifies the decision-making process by encoding complex market data into an easy-to-understand color system.
However, for a robust trading strategy, it's recommended to use it alongside other analytical tools.
Control Over Display: The option to show or hide moving averages and to enable or disable the color-coding of candles provides users with control over how information is presented, allowing for a cleaner chart or more detailed analysis as preferred.
Conclusion:
Waldo's RSI Color Trend Candles offers a fresh, visually appealing method to interpret market trends and momentum through the color of candlesticks. It's ideal for traders looking for a straightforward way to gauge market sentiment at a glance. While this indicator can significantly enhance your trading setup, remember to incorporate it within a broader strategy, using additional confirmation from other indicators or analysis methods to manage risk and validate trading decisions. Dive into the colorful world of trading with Waldo's RSI Color Trend Candles and let the market's mood guide your trades with clarity and ease.
ZenAlgo - Advanced RSIZenAlgo - Advanced RSI is a technical indicator that combines the classic Relative Strength Index (RSI) with advanced tools, such as moving averages, histograms, divergence detection, and trend analysis. This integration provides traders with deeper insights into market dynamics, helping them identify critical entry and exit points. The indicator is designed to synergistically merge these features, delivering a comprehensive analytical tool that simplifies market analysis while providing actionable insights.
Additionally, it includes a Multi TimeFrame table, allowing traders to monitor RSI values and trends across six different timeframes in one view. This enhancement provides a broader perspective on market dynamics and helps traders identify consistent or diverging trends across multiple timeframes, enabling more precise decision-making.
Features
RSI with Moving Averages:
Offers five types of moving averages (SMA, EMA, WMA, SMMA, VWMA) to suit various trading styles and market conditions.
Moving averages are overlaid on RSI, allowing traders to detect support/resistance levels and momentum shifts directly on the RSI panel.
RSI Histogram:
Displays the difference between RSI and its moving average.
Positive histogram values indicate rising momentum, while negative values show declining momentum.
Automatically detects and highlights divergences with color-coded bars (red for bearish, green for bullish).
Bollinger Bands for RSI:
Adds upper and lower bands to RSI, visualizing volatility and overbought/oversold conditions.
Divergence Detection:
Identifies and visualizes both regular and hidden divergences, marking key reversal or trend continuation points.
Labels divergences with R (regular) or H (hidden) to provide clarity on their implications.
Bollinger Bands for RSI:
Adds upper and lower bands to RSI, visualizing volatility and overbought/oversold conditions.
Diamond Signals:
Marks crossovers of RSI and its moving average in overbought (RSI > 70) or oversold (RSI < 30) zones with diamond symbols, highlighting potential reversals.
Multi TimeFrame Table:
Displays RSI values for six different timeframes in a clear and intuitive table.
Calculates the trend on each timeframe based on the average direction of the last three candles. Trends are categorized as "rising" (increasing), "falling" (decreasing), or "neutral" (stable).
Provides easily interpretable insights across timeframes, allowing traders to focus on the current chart without switching timeframes manually.
Added Value: Why Is This Indicator Original/Why Shall You Pay for This Indicator?
ZenAlgo - Advanced RSI is a cohesive system where each component enhances the others. The originality and added value of the indicator come from:
1. Synergy Between Components:
Unlike standalone indicators, which can provide isolated or incomplete insights, ZenAlgo - Advanced RSI combines RSI, moving averages, and divergence detection into a unified system. For instance:
The RSI histogram integrates momentum and trend strength in a single visualization, eliminating the need for multiple separate tools.
Divergences are calculated using both price action and histogram trends, providing more reliable signals compared to divergence detection using only RSI.
2. Customization for Traders:
The ability to select from various moving averages (e.g., EMA for fast responses, SMA for smoother trends) allows users to tailor the indicator to different trading environments and strategies.
3. Actionable Visual Cues:
Diamond signals, histogram bars, and divergence markings make complex market patterns easier to interpret, reducing the cognitive load for traders.
4. Enhanced Divergence Analysis:
Built-in detection of regular and hidden divergences offers clarity and saves traders the effort of manually analyzing charts.
5. Bollinger Bands Integration:
Adding Bollinger Bands to RSI provides insights into volatility and momentum that go beyond what traditional Bollinger Bands or RSI can deliver individually.
6. Multi TimeFrame Table:
The Multi Time Frame table adds a new layer of analytical depth by consolidating RSI values and trends from multiple timeframes into a single tool. This helps traders identify consistent or diverging trends across timeframes, which is crucial for adjusting trading strategies to suit specific market conditions.
7. All-in-One Efficiency:
Instead of juggling multiple indicators, traders gain a streamlined tool that consolidates trend, momentum, and volatility analysis into a single, easy-to-read panel.
How It Works
1. RSI Calculation:
RSI is calculated using the standard formula to determine the relative strength of upward and downward price movements over a specified period.
2. Moving Averages:
Users choose from SMA, EMA, WMA, SMMA, or VWMA. The selected moving average is computed using RSI values, not price data, to better align with the indicator's momentum focus.
3. Histogram:
The histogram shows the difference between RSI and its moving average. Positive values indicate RSI is above its moving average, signaling increasing momentum; negative values indicate the opposite.
4. Divergence Detection:
Regular divergences are identified when price forms higher highs or lower lows, while RSI trends in the opposite direction.
Hidden divergences are marked when price forms higher lows or lower highs, but RSI trends differently.
Divergence is validated using both histogram and price trends for enhanced reliability.
5. Bollinger Bands for RSI:
The upper and lower bands are based on the RSI and a configurable standard deviation, highlighting moments of high volatility and overbought/oversold conditions.
6. Trend Analysis:
The indicator computes an average RSI value over last few candles to detect trend strength and direction, helping traders identify when trends are gaining or losing momentum.
7. Diamond Signals:
Signals are triggered when RSI crosses its moving average within overbought or oversold zones. These events are plotted as diamonds for quick visualization.
Please note that this indicator does not trigger any alerts or direct buy/sell signals.
8. Multi TimeFrame Table:
RSI values are calculated for six separate time frames chosen by the user (e.g., 1-minute, 5-minute, 1-hour).
The trend is determined by averaging the direction of the last three candles on each timeframe. Results are displayed as "rising," "falling," or "neutral" in the table.
The table serves as a quick-reference tool for analyzing trends and RSI values across multiple market perspectives.
Usage Examples
Tracking Trends: Use the histogram to monitor momentum: positive values indicate strengthening trends, while negative values suggest weakening trends.
Spotting Divergences: Look for regular divergences (R) to anticipate reversals and hidden divergences (H) to confirm trend continuation.
Utilizing Diamond Signals: When diamonds appear in overbought or oversold zones, they signal potential market reversals, allowing traders to act quickly.
Analyzing Volatility: Bollinger Bands on RSI highlight moments of high volatility, providing additional confirmation for potential trend changes.
Quick Assessment of RSI values: Use the Multi TimeFrame table to quickly assess RSI values and trends on different timeframes. Consistent trends (e.g., "rising" RSI on most timeframes) suggest market alignment, while diverging trends may indicate potential reversals or conflicting market signals. Use this insight to refine entries and exits.
Settings
RSI Length: Number of candles used for RSI calculation.
RSI Source: Data source for RSI calculation.
MA Type: Type of moving average (SMA, EMA, RMA, WMA, VWMA).
MA Length: Number of RSI values used for moving average calculation.
BB StdDev: Standard deviation length for Bollinger Bands calculation.
Disable / enable display of: Bullish, Bearish, Hidden Bullish and Hidden Bearish divergences.
Show table RSI & MA: display or hide Multi TimeFrame RSI table.
Table position / size: set MultiTimeFrame table position to suit your needs and keep it from obstructing other indicator views
Important Notes
This indicator is a technical analysis tool and does not guarantee trading success.
Use it in conjunction with other indicators and fundamental analysis for a more comprehensive trading strategy.
In strong trends, divergences may become less reliable as price action overrides momentum indicators.
GOLDEN RSI by @thejamiulGOLDEN RSI thejamiul is a versatile Relative Strength Index (RSI)-based tool designed to provide enhanced visualization and additional insights into market trends and potential reversal points. This indicator improves upon the traditional RSI by integrating gradient fills for overbought/oversold zones and divergence detection features, making it an excellent choice for traders who seek precise and actionable signals.
Source of this indicator : This indicator is based on @TradingView original RSI indicator with a little bit of customisation to enhance overbought and oversold identification.
Key Features
1. Customizable RSI Settings:
RSI Length: Adjust the RSI calculation period to suit your trading style (default: 14).
Source Selection: Choose the price source (e.g., close, open, high, low) for RSI calculation.
2. Gradient-Filled RSI Zones:
Overbought Zone (80-100): Gradient fill with shades of green to indicate strong bullish conditions.
Oversold Zone (0-20): Gradient fill with shades of red to highlight strong bearish conditions.
3. Support and Resistance Levels:
Upper Band: 80
Middle Bands: 60 (bullish) and 40 (bearish)
Lower Band: 20
These levels help identify overbought, oversold, and neutral zones.
4. Divergence Detection:
Bullish Divergence: Detects lower lows in price with corresponding higher lows in RSI, signaling potential upward reversals.
Bearish Divergence: Detects higher highs in price with corresponding lower highs in RSI, indicating potential downward reversals.
Visual Indicators:
Bullish divergence is marked with green labels and line plots.
Bearish divergence is marked with red labels and line plots.
5. Alert Functionality:
Custom Alerts: Set up alerts for bullish or bearish divergences to stay notified of potential trading opportunities without constant chart monitoring.
6. Enhanced Chart Visualization:
RSI Plot: A smooth and visually appealing RSI curve.
Color Coding: Gradient and fills for better distinction of trading zones.
Pivot Labels: Clear identification of divergence points on the RSI plot.






















