Sniper 50: The Trend Master [Pure Signal]Overview Sometimes, the simplest strategies are the deadliest. This indicator brings the legendary "EMA 50 Strategy" to your chart in its purest form. It is designed to capture major market trends and reversals immediately as they happen, stripping away complex filters that often cause lag.
Why the EMA 50? The 50-period Exponential Moving Average is widely regarded by institutional traders as the primary divider between bullish and bearish territory. This tool automates the monitoring of this key level.
How It Works The logic is raw and direct:
BUY Signal: Triggered immediately when the candle closes ABOVE the EMA 50.
SELL Signal: Triggered immediately when the candle closes BELOW the EMA 50.
Key Features
Zero Noise Technology: Includes a built-in state machine that prevents repetitive signals. You will receive exactly ONE signal when the trend flips, and silence until the next reversal.
Dynamic Visuals: The EMA line changes color (Green for Bullish, Red for Bearish) to give you instant context.
Lag-Free: unlike other tools that wait for multiple confirmations, this tool prioritizes speed to catch sharp moves (like sudden crashes or rallies).
Best For
Trend Following
Swing Trading (Crypto & Stocks)
Catching rapid reversals that complex indicators might miss.
Oscillateurs
Sniper VFI: Institutional Breakout & HeatmapDescription:
Overview This is a professional-grade momentum indicator designed to track Institutional Smart Money flow while filtering for high-probability breakout setups. It combines volume analysis, trend filtration, and price action triggers into a single dashboard.
How It Works The indicator operates on a three-step validation process:
Trend Filter: Uses a 150 EMA to define the major trend. Long positions are only permitted above the 150 EMA, and Short positions only below it.
Institutional Volume (VFI): Analyzes the Volume Flow Indicator to ensure Smart Money is participating in the move.
Micro-Breakout Trigger: Signals are only generated if the price breaks the High (for Longs) or Low (for Shorts) of the last 3 candles, ensuring immediate momentum.
Visual Guide & Legend
The Histogram (Volume & Momentum):
Bright Lime: Strong Bullish Impulse. Institutional money is flowing in, and momentum is accelerating.
Dark Green: Stable Uptrend. The trend is healthy.
Bright Red: Strong Bearish Impulse. Institutional money is flowing out, and downside momentum is accelerating.
Maroon: Stable Downtrend.
The Heatmap Tips (RSI Temperature):
Orange Tips: Overbought Warning (RSI > 70). The asset is heating up; caution is advised for new long entries. The opacity increases as RSI approaches 100.
White Tips: Oversold Warning (RSI < 30). The asset is extended to the downside.
The Signals (L/S):
L (Long): Confirmed entry. Trend is Up + VFI Positive + Price broke the recent 3-candle High.
S (Short): Confirmed entry. Trend is Down + VFI Negative + Price broke the recent 3-candle Low.
Note: This tool includes an alternating signal filter to prevent repetitive signals during trends. A Long signal will not repeat until a Short signal or a trend reset occurs.
Valdex RSI con Filtro MA (Simplificado)🇺🇸 VALDEX H-MA: Indicator Description
VALDEX H-MA: Centered RSI with Exponential Filter
This script, VALDEX H-MA, offers a highly streamlined, zero-centered Relative Strength Index (RSI) for impulse and cycle analysis, complemented by a fast Exponential Moving Average (EMA) filter.
It simplifies the classic RSI by centering it at zero, making it easier to read momentum shifts and overbought/oversold conditions relative to the central equilibrium.
Key Features and Customization
Zero-Centered RSI: The RSI is normalized to oscillate between approximately -50 and +50 (instead of 0 to 100), with the key neutral point located exactly at 0. This immediate visual clarity aids in assessing momentum balance.
RSI Length Flexibility: The primary RSI line (RSI Base) can be customized for different trading styles:
Set the Length RSI to 7 for a smoother, faster RSI suitable for scalping and capturing short-term reversals.
Set the Length RSI to 14 for a more standard yet still highly smoothed output, providing a reliable measure of trend momentum (note: this centered version remains smoother than the original 0-100 RSI).
MA Filter (Exponential Moving Average): An adjustable EMA is included as a powerful filter. This MA can be used in two primary ways:
Entry/Exit Signals: Generate trading signals when the RSI Base crosses above or below the MA Filter.
Cycle Smoothing: Use the MA to smooth the short-term cycles of the RSI Base, providing a clearer indication of the underlying momentum direction.
⚙️ Technical Description
The core of the VALDEX H-MA indicator relies on the following technical calculations:
RSI Centralization: The RSI Base line is derived from the standard Relative Strength Index (RSI) but is mathematically shifted to be zero-centered:
RSICentered=RSI(0−100)−50
This transformation ensures that the equilibrium point is clearly visible at the zero line.
MA Filter Calculation: The MA Filter is an Exponential Moving Average (EMA) applied directly to the RSICentered output:
MAFilter=EMA(RSICentered,Length MA)
The EMA is used for its responsiveness and low lag, making it an effective tool for filtering noise and confirming short-term momentum shifts.
Reference Lines: The indicator includes fixed reference lines at 30 (Overbought), 0 (Equilibrium), and -30 (Oversold) to quickly judge extreme conditions within the centered scale.
Jenkins OscillatorAn oscillator designed to capture price movement relative to recent intra-candle volatility. Z-score normalization is applied to smoothed price and therefore should be read in terms of standard deviation AND direction.
Weeknights Guppy Trend Strength OscillatorBuilt a Guppy Oscillator which takes 22 different EMA's and uses an ATR to provide slope normalisation. The goal is to help the user determine strength of trend and see if momentum is slowing
On its own I doubt it will provide a full trading system but I believe it can help provide confluence to ones trading decisions
Left it open source
A.I. 👑 Market Cipher EZ🚀 A.I. Market Cipher EZ – “Rubik’s Algo” 2025 Edition
by StupidBitcoin | Built with love & Grok’s help
Imagine a Rubik’s Cube that solves itself while the market moves — every twist and turn instantly reflected in color.
That’s exactly what this indicator does.
Two animated Rubik’s Cubes (Figure 1 & Figure 2) symbolize the dual-layer intelligence inside:
- The outer cube = Supply / Demand / Bull vs Bear forces
- The inner cube = Price / Volume / Trend (xTrend) constantly rotating to find equilibrium
The result? A living, breathing, self-adapting color language that removes noise, bias, and lag — turning complex market physics into simple visual signals even a beginner can trade confidently.
Core Engine (all running live):
• Multi-stage Kalman Filters (standard / volume-adjusted / Parkinson volatility modes)
• k-Nearest-Neighbour (k-NN) machine-learning clustering
• Dynamic VSQC scaling (the “fast Rubik”) + ultra-smooth slow Rubik
• Zero-lag Gaussian + Chebyshev filtering
• AI-driven Stochastic Money Flow % oscillator (3 % – 120 % range)
• Volume imbalance “Vector Recovery Zones” & momentum “Bounce Boxes”
• Real-time color gradients (Classic red/green or Crypto teal/purple themes)
What you actually see on the chart:
- Fast & Slow dynamic trend lines (the “speed lanes”) painted in intelligent gradients
- Stochastic Money Flow % label on every bar (green < 31 % = oversold rocket fuel | red > 69 % red = overbought rejection)
- Bollinger Width % label (optional)
- Vector Recovery Boxes (volume magnets)
- Bull/Bear Bounce Boxes (support & resistance with wick pressure)
- Market-structure squares below bars (green = bullish structure, red = bearish, yellow = neutral)
- Kalman Target marker on current bar (reduces fakeouts)
Top confirmed setups (3:1+ RR):
Longs → Green % label (< 31 %) + price on fast green line + green recovery/bounce box
Shorts → Red % label (> 69 %) + price on slow red line + red recovery/bounce box
Breakouts → Green % + fast line breakout + green structure squares
Breakdowns → Red % + slow line breakdown + red structure squares
All inputs are carefully preset with the developer’s recommended values (lookback 9 / max length 188 / accelerator 4.4 / k = 63) — just load and trade. Tweak only if you really know what you’re doing.
Disclaimer
For educational purposes only. Not financial advice. Use at your own risk. Past performance ≠ future results.
License
Released under CC BY-NC-SA 4.0 + Mozilla Public License 2.0 – free to use, study, modify and share non-commercially with attribution.
Enjoy the colors. May your trends be strong and your drawdowns short.
© 2025 Rubik’s Algo – All Rights Reserved
HSQC 👑 Hybrid SQ [RubiXalgo]HSQC 👑 Hybrid SQ — Next-Gen Institutional Order Flow & Quantum Momentum Engine
by Jesse_Geluk | RubiXalgo Research © 2024–2025
The most advanced hybrid Squeeze Momentum system ever released on TradingView.
This is not just another Squeeze indicator — it is a complete multi-dimensional trading framework that fuses:
• State-of-the-art Adaptive Kalman Filters (5 selectable periods + custom Dynamic Volume/Volatility models)
• Institutional-grade Supply/Demand Vector Zones with real-time quantum cloud clustering
• InterBank Support & Resistance levels (smart money accumulation/distribution zones)
• Breakout Candle recognition engine (28 proprietary bullish & bearish patterns)
• Dynamic VSQC (Vector-Scaled Quantum Channel) with auto-scaling lookback
• Kalman Speed Lines & Price Average for ultra-clean trend filtering
• Hidden Vector Trailing Stop system (can be toggled on/off)
• Full session box overlay with smart color-coded momentum clouds
Key Features:
✅ True overlay indicator (draws directly on price)
✅ Works on all timeframes & all markets (Forex, Crypto, Stocks, Futures)
✅ Zero repaint — 100% deterministic calculations
✅ Highly customizable — 40+ inputs grouped logically
✅ Visual ASCII art concept of the famous “Rubik’s Cube inside Rubik’s Cube” representing the interplay of PRICE × VOLUME × TREND × xTREND
✅ Professional-grade code under MPL 2.0 (open source, fully auditable)
What you’re seeing is the result of 4+ years of private institutional research now made public.
Whether you trade scalping, swing, or position — HSQC gives you the same edge that smart money algorithms use: adaptive noise filtering, real-time order-flow clustering, and predictive momentum vectors.
Turn on only what you need — from minimalistic clean charts with just the 50 & 200 Kalman to full “god mode” with quantum clouds, breakout candles, and vector zones.
Welcome to the future of technical analysis.
© Jesse_Geluk — RubiXalgo Research Division
Mozilla Public License 2.0 | Fully open-source & community driven
CapitalFlowsResearch: CS MomentumCapitalFlowsResearch: CS Momentum — Cross-Asset Relative Momentum Scanner
CapitalFlowsResearch: CS Momentum is designed as a multi-asset momentum dashboard that compares the behaviour of a chosen “base” market to a collection of related indices, futures, or macro assets. Rather than looking at raw returns in isolation, the tool transforms each comparison series into a relative momentum signal using several optional scaling techniques, allowing very different markets to be evaluated on the same footing.
At the core of the indicator is a framework that examines how each asset has moved over a defined lookback window and then measures those movements relative to the base symbol. Depending on the selected mode, this can account for differences in volatility, trading ranges, return dispersion, or even normalised statistical behaviour. The result is a clean set of comparative momentum lines that highlight leadership, lagging assets, and rotational shifts across equities, commodities, FX, and rates.
Users can toggle individual markets on or off, choose from several calculation modes (such as volatility-scaled momentum, ATR-adjusted comparisons, or return-based differential scoring), and optionally display the base asset’s own rate-of-change as a reference column chart. A compact legend updates each bar to show the live reading for every symbol, making interpretation easy even with large comparison sets.
Overall, CS Momentum functions as a real-time cross-asset strength map—ideal for identifying emerging leaders, fading trends, thematic rotations, or divergences within macro portfolios—without disclosing the underlying normalization formulae or signal construction.
Multi-Filter & RSI Overheat Analyzer (Invite Only)🚀 Multi-Filter & RSI Overheat Analyzer (Invite Only)
The Trend-RSI Pro is an advanced, multi-layered analysis tool designed for invite-only subscribers. Its primary function is to provide an instant, high-conviction visual filter of current market conditions by combining three essential technical analyses: EMA trend direction, ADX trend strength, and RSI overbought/oversold momentum.
💡 Key Features and Analysis Logic
This indicator simplifies complex market structure analysis by using a dynamic Background Color filter. The color instantly tells the user the dominant market state, eliminating the need to manually check multiple windows.
The background turns Teal when the Exponential Moving Averages (EMA) are in a strong Bullish Alignment (Short > Medium > Long) and the ADX value exceeds the user-defined Strength Threshold (default 25.0), confirming a Strong Uptrend. Conversely, the background turns Red when the EMAs are in a strong Bearish Alignment (Short < Medium < Long) and the ADX confirms a Strong Downtrend. Any other combination of EMA alignment or a weak ADX reading results in a Gray background, which alerts the user to a Ranging, Weak, or Transitional Market where caution is advised.
To complement the trend analysis, the indicator features RSI Overheat Alert Icons to preemptively analyze potential trend exhaustion. When the Relative Strength Index (RSI) enters the Overbought zone (default >= 70.0), a Red Triangle Down appears above the price bar, warning of potential selling pressure. Conversely, when the RSI enters the Oversold zone (default <= 30.0), a Green Triangle Up appears below the price bar, suggesting potential buying interest.
For users who wish to confirm the underlying components, the indicator also plots the three EMA Lines (Short, Medium, Long) directly on the chart, and the raw ADX Value is plotted in a separate pane, allowing for detailed tracking of strength changes over time. All key parameters, including EMA periods, ADX thresholds, and RSI limits, are fully customizable in the settings.
⚠️ Disclaimer and Usage Guideline
This tool is strictly an analytical aid and not a trading signal or financial advice. Users should utilize the Background Color as their primary context filter, only seeking trades aligned with the indicated strong trend color. The RSI alerts serve as timely warnings for potential short-term reversals within a larger trend. Trading carries substantial risk, and this indicator must always be combined with the user's independent analysis and robust risk management strategies.
UM VIX30/VIX Regime & Volatility Roll Yield
SUMMARY
A front-of-the-curve volatility indicator that compares spot VIX to a synthetic 30-day VIX (VIX30) built from VX1/VX2 futures, revealing early volatility pressure, regime shifts, and roll-yield transitions. Ideal for timing long/short volatility trades in VXX, UVXY, SVIX, and VIX futures.
DESCRIPTION
This indicator compares spot VIX to a synthetic 30-day constant-maturity volatility estimate (“VIX30”) built from VX1 and VX2 futures. The VIX30/VIX Ratio reveals short-term volatility pressure and regime shifts that traditional VX1/VX2 roll-yield alone often misses.
VIX30 is constructed using true calendar-day interpolation between VX1 and VX2, with VX1% and VX2% showing the real-time weights behind the 30-day volatility anchor. The table displays the volatility regime, the VX1/VX2 weights, spot-term roll yield (VIX30/VIX), and futures-term roll yield (VX2/VX1), giving a complete, front-of-the-curve perspective on volatility dynamics.
Use this to spot early volatility expansions, collapsing contango, and regime transitions that influence VXX, UVXY, SVIX, VX options, and VIX futures.
HOW IT WORKS
The script calculates the exact calendar days to expiration for the front two VIX futures. It then applies linear interpolation to blend VX1 and VX2 into a 30-day constant-maturity synthetic volatility measure (“VIX30”). Comparing VIX30 to spot VIX produces the VIX30/VIX Ratio, which highlights short-term volatility pressure and regime direction. A full term-structure table summarizes regime, VX1%/VX2% weights, and both spot-term and futures-term roll yields.
DEFAULT SETTINGS
VX1! and VX2! are used by default for front-month and second-month futures. These may be manually overridden if TradingView rolls contracts early. The default timeframe is 30 minutes, and the VIX30/VIX Ratio uses a 21-period EMA for regime smoothing. The historical threshold is set to 1.08, reflecting the long-run average relationship between VIX30 and VIX.
SUGGESTED USES
• Identify early volatility expansions before they appear in VX1/VX2 roll yield.
• Confirm contango/backwardation shifts with front-of-curve context.
• Time long/short volatility trades in VXX, UVXY, SVIX, and VX options.
• Monitor regime transitions (Low → Cautionary → High) to anticipate trend inflections.
• Combine with price action, Nadaraya-Watson trends, or MA color-flip systems for higher-confidence entries.
• MA red → green flips may signal opportunities to short volatility or increase equity exposure.
• MA green → red flips may signal opportunities to go long volatility, reduce equity exposure, or take short-equity positions.
ALERTS
Alerts trigger when the ratio crosses above or below the historical threshold or when the moving-average slope flips direction. A green flip signals rising volatility pressure; a red flip signals fading or collapsing volatility. These alert conditions can be used to automate long/short volatility bias shifts or trade-entry notifications.
FURTHER HINTS
• Increasing orange/red in the table suggests an emerging higher-volatility environment.
• SVIX (inverse volatility ETF) can trend strongly when volatility decays; on a 6-hour chart, MA green flips often align with attractive short-volatility opportunities.
• For long-volatility trades, consider shrinking to a 30-minute chart and watching for MA green → red flips as early entry cues.
• Experiment with different timeframes and smoothing lengths to match your trading style.
• Higher VIX30/VIX and VX2/VX1 roll yields generally imply faster decay in VXX, UVXY, and UVIX — or stronger upside momentum in SVIX.
• The author likes the 6-hour chart for short vol, and the 30-minute chart for long vol. Long vol trades are fast and furious so you want to be quick.
Altcoin Relative Macro StrengthAltcoin Relative Macro Strength
Overview
The Altcoin Relative Macro Strength indicator measures the altcoin market's price performance relative to global macroeconomic conditions. By comparing TOTAL3ES (total altcoin market capitalization excluding Bitcoin, Ethereum and stable coins) against a composite macro trend, the indicator identifies periods of relative overvaluation and undervaluation.
Methodology
Global Macro Trend Calculation:
The macro trend synthesizes three primary components:
- ISM PMI – A proxy for the business cycle phase
- Global Liquidity – An aggregate measure of major central bank balance sheets and broad money supply
- IWM (Russell 2000) – Small-cap equity exposure, reflecting risk-on/risk-off market sentiment
Global Liquidity is calculated as:
Fed Balance Sheet - Reverse Repo - Treasury General Account + U.S. M2 + China M2
The final Global Macro Trend is:
ISM PMI × Global Liquidity × IWM
Theoretical Framework:
The global macro trend integrates liquidity expansion/contraction with business cycle dynamics and small-cap equity performance. The inclusion of IWM reflects altcoins' tendency to behave as high-beta risk assets, exhibiting sensitivity similar to small-cap equities. This composite exhibits strong directional correlation with altcoin market movements, capturing the risk-on/risk-off dynamics that drive altcoin performance.
Interpretation
Primary Signal:
The histogram displays the rolling percentage change of TOTAL3ES relative to the global macro trend (default: 21-period average). Positive divergence indicates altcoins are outperforming macro conditions; negative divergence suggests underperformance relative to the underlying economic and risk environment.
Data Tables:
Alts/Macro Change – Percentage deviation of the altcoin market's average value from the Global Macro Trend's average over the specified period
Macro Trend – Directional assessment of the macro trend based on slope and trend agreement:
🔵 BULLISH ▲ – Positive slope with upward trend
⚪ NEUTRAL → – Slope and trend direction disagree
🟣 BEARISH ▼ – Negative slope with downward trend
Macro Slope – Percentage rate of change in the global macro trend
Altcoin Valuation – Relative valuation category based on TOTAL3/Macro deviation:
🟢 Extreme Discount / Deep Discount / Discount
🟡 Fair Value
🔴 Premium / Large Premium / Extreme Premium
TOTAL3ES Mcap – Current total altcoin market capitalization (in billions)
Visual Components:
📊 Histogram: Alts/Macro Change
🟢 Green = Positive deviation (altcoins outperforming)
🔴 Red = Negative deviation (altcoins underperforming)
📈 Macro Slope Line
Color-coded to match trend assessment
Scaled for visibility (adjustable in settings)
Application
This indicator is designed to identify mean reversion opportunities by highlighting periods when the altcoin market materially diverges from fundamental macro and risk conditions. Extreme positive values may indicate overvaluation; extreme negative values may signal undervaluation relative to the prevailing economic and risk appetite backdrop.
Strategy Considerations:
- Identify extremes: Look for periods when the histogram reaches elevated positive or negative levels
- Assess valuation: Use the Altcoin Valuation reading to gauge relative over/undervaluation
Confirm with risk sentiment: Check whether macro conditions and risk appetite support or contradict current price levels
- Mean reversion: Consider that significant deviations from trend historically tend to revert
Note: This indicator identifies relative valuation based on macro conditions and risk sentiment—it does not predict price direction or timing.
Settings
Lookback Period – 21 bars (default) – Number of bars for calculating rolling averages
Macro Slope Scale – 3.0 (default) – Multiplier for macro slope line visibility
UpDown RSI+Divergence [DivineTrade]Описание (RU)
English version below
Этот индикатор собирает ключевую информацию по RSI и дивергенциям сразу на нескольких таймфреймах и выводит её в компактную таблицу прямо на графике. Он рассчитывает RSI и дивергенции внутри каждого таймфрейма отдельно, поэтому данные остаются точными и одинаковыми вне зависимости от того, какой ТФ у вас открыт.
Индикатор показывает систему из семи таймфреймов: 1m, 5m, 15m, 1h, 4h, 1d, 1w.
Для каждого отображается:
• RSI значение с цветовой маркировкой зон
красный — перегрев выше 83
желтый — активный рост от 70 до 83
серый — нейтральная зона 30–70
зелёный — перепроданность ниже 30
• Наличие дивергенции RSI:
LONG — бычья дивергенция
SHORT — медвежья дивергенция
NaN — дивергенции нет
Дивергенции используются подтверждённые, на основе пивотов цены и RSI. Это позволяет исключать случайный шум и делать сигналы более надёжными.
Индикатор подходит для тех, кто использует анализ RSI, торгует по откатам, разворотам или комбинирует младшие ТФ с более старшими. Таблица обновляется в реальном времени и позволяет быстро понять общую картину по рынку и увидеть, где формируется слабость или сила тренда.
_____________________________________________________________________
Description (EN)
This indicator collects key RSI and divergence data across multiple timeframes and displays it in a compact on-chart panel. RSI and divergence calculations are performed within each timeframe independently, ensuring accurate and consistent results regardless of which timeframe you have open on the chart.
The indicator monitors seven timeframes: 1m, 5m, 15m, 1h, 4h, 1d, 1w.
For each timeframe it displays:
• RSI value with color-coded zones:
red — overbought above 83
yellow — rising momentum between 70 and 83
gray — neutral range 30–70
green — oversold below 30
• RSI divergence signal:
LONG — bullish divergence
SHORT — bearish divergence
NaN — no divergence detected
Divergences are based on confirmed price and RSI pivots, which helps remove noise and makes the signals more reliable.
This tool is useful for traders who rely on RSI analysis, trade reversals or pullbacks, or want to monitor momentum alignment across different timeframes. The panel updates in real time and provides a quick view of market strength, weakness, and emerging divergence opportunities across all major time horizons.
FTPM - Institutional Trend Pressure Suite @darshaksscThis indicator provides an informational view of market trend pressure using fractal-based momentum events, smoothed pressure calculations, higher timeframe confirmation, and divergence analysis. It does not produce buy or sell signals. Instead, it presents market context to help traders interpret trend conditions in a structured and data-driven way.
The indicator includes the following components:
1). Non-repainting Trend Pressure Engine
The pressure line is derived from confirmed fractal events, body-to-range ratios, displacement strength, and a controlled decay factor. The value is normalized to a 0 to 100 scale. A rising pressure value suggests increasing trend strength, while a declining value indicates weakening strength. This is informational only.
2). Pressure Shifts
The tool highlights transitions where pressure crosses above or below key thresholds. These labels do not represent entries or exits, but simply indicate contextual changes in momentum.
3). Higher Timeframe Pressure Confirmation
Users can compare current timeframe pressure to a selected higher timeframe. When both pressures align in similar regions, it may indicate agreement in broader market structure. This feature is informational only and does not generate trading signals.
4). Divergence Detection
Identifies confirmed bullish or bearish divergences between price pivots and pressure pivots. Divergences are simply analytical tools and should not be interpreted as actionable trading signals.
5). Institutional Dashboard
A multi-line dashboard summarizes current pressure, regime classification, higher timeframe regime, pressure direction, divergence status, and alignment conditions. The dashboard is informational only. No part of the dashboard should be interpreted as a trade instruction.
6). Dashboard Size Selector
Users may switch between Full, Medium, or Thin dashboard layouts to match their screen preferences. This affects only display, not indicator logic.
Important Notes
This indicator does not forecast future price movement.
It does not generate buy, sell, long, or short signals.
It does not guarantee profitable outcomes.
It is intended purely for visual analysis and market context.
All information is derived from confirmed historical data.
No part of this script is designed to automate trading decisions.
This tool is suitable for traders who want a clear, non-repainting visualization of pressure conditions and structural behavior without violating TradingView House Rules.
======================================================================
HOW TO USE
The indicator helps traders observe whether pressure is increasing or decreasing, whether higher timeframe conditions agree with the current chart, and whether divergences are present. All outputs are informational and should be combined with the user's preferred strategy or manual analysis. The indicator is not intended to signal trades or provide recommendations.
======================================================================
DISCLAIMERS
This indicator is for educational and informational purposes only.
It does not constitute financial advice.
It does not provide buy, sell, long, or short signals.
It does not predict future price movement.
Past performance does not guarantee future results.
======================================================================
VWAP + EMA9 + RSI Scalping (Edu)VWAP + EMA9 + RSI Scalping (Edu) is an intraday scalping indicator combining VWAP, EMA9 and RSI to identify high-probability long and short entries. Designed for low timeframes (1m–5m), it aligns micro-trend and momentum to generate clean and fast setups. Works on stocks, indices, forex and crypto.
ABK – Alpha Bundle Killer 2025 (FINAL VERSION)Script creado con un arte que no se puede aguantar. Version corregida
RSI Median DeviationRSI Median Deviation
Thank you to @QuantumResearch for part of the code and inspiration!
Introduction:
With my first published indicator i wanted to start simple, so i created a RSI that has no static OB/OS signals and can act as a Momentum-Strength-Gauge.
Inspiration came from the Median Deviation Bands indicator by QuantumResearch!
TL;DR:
Traditional RSI says "70 is overbought" like it's a universal law. Guess what: it's not .
This indicator figures out where overbought and oversold actually are for your specific chart and timeframe, using real statistics.
What Makes it Different
Most RSI indicators slap horizontal lines at 70/30 and call it a day. Problem is, that works great... until it doesn't. In a strong trend, RSI can camp out above 70 for weeks. In choppy markets, it'll ping-pong across those levels.
RSI Median Deviation takes a smarter approach:
1. Adaptive zones that move with your data
2. Median + standard deviation bands (the 50th percentile ±2σ) that show where RSI is statistically extreme
3. Rare signals that actually mean something
4. Optional smoothed bands that adapt to current market conditions in real-time
Think of it like this: instead of asking "is RSI above 70?", we're asking "is RSI acting weird compared to its recent behavior?"
Key Features
- Statistical bands built from the RSI's actual median and standard deviation
- Multiple MA options (TEMA, WMA, HMA, ALMA, etc.) for smoothing.
- Dual detection modes: Pure stats OR MA bands
- Background highlighting when something genuinely extreme happens
- Diamond markers for ultra-rare RSI readings (<25 or >85)
- 9 color themes
- Works on all timeframes
How to Actually Use This Thing
1. Trend Bias
RSI line turns green above 60 (bullish bias), red below 47 (bearish bias).
2. Mean-Reversion Plays
Dark green background = RSI dropped below the lower 2σ band → statistically oversold
Dark magenta background = RSI spiked above the upper 2σ band → statistically overbought
3. Momentum Strength Gauge
Watch the distance between the smoothed RSI and the median line:
Wide gap = strong trend in play
Converging = momentum dying, consolidation likely
4. Extra Confirmation
Those diamond shapes at the top/bottom? That's RSI hitting <25 or >85 – genuinely extreme territory.
Recommended Settings:
RSI Length: 10
Median Length: 28
SD Length: 27
RSI MA Type: TEMA
RSI MA Length: 27
Band MA Type: WMA
Band Length: 37
The standard settings are optimized to have maximum use on all assets.
Works on everything, especially on daily or 4h charts for swing/position trading.
Last words:
RSI Median Deviation is the version that only gives signals if the ROC of your data is on the extreme side.
It'll give you fewer, better signals based on what's actually happening in the markets.
Perfect for traders who'd rather have quality over quantity.
Sima-Smart Money Concepts + RSI CandlestickThis indicator displays the RSI in a candlestick format and marks its support and resistance levels, as well as oversold and overbought zones based on Smart Money concepts.
In fact, this indicator is a combination of a candlestick-style RSI and a Smart Money indicator.
Sima-Smart Money Concepts + RSI Candlestick [LuxAlgo]This indicator displays the RSI in a candlestick format and marks its support and resistance levels, as well as oversold and overbought zones based on Smart Money concepts.
In fact, this indicator is a combination of a candlestick-style RSI and a Smart Money indicator.
BTC1W&2W StochRSI Cross up Cross downUpward Signals (Bottom of the Indicator):
Symbol Color Size Meaning
▲ (triangle up) Yellow tiny (1W) / small (2W) Momentum Up: K slope up & K < 40 (early bullish)
▲ (triangle up) Orange tiny (1W) / small (2W) Near Up: K within near distance & slope up (amber)
▲ (triangle up) Green tiny (1W) / small (2W) Cross Up: Confirmed bullish crossover
♦ (diamond) Blue large BOTH 1W & 2W bullish cross alignment (strong buy)
Downward Signals (Top of the Indicator):
Symbol Color Size Meaning
▼ (triangle down) Yellow tiny (1W) / small (2W) Momentum Down: K slope down & K > 60 (early bearish)
▼ (triangle down) Orange tiny (1W) / small (2W) Near Down: K within near distance & slope down (amber)
▼ (triangle down) Red tiny (1W) / small (2W) Cross Down: Confirmed bearish crossover
♦ (diamond) Red large BOTH 1W & 2W bearish cross alignment (strong sell)
Background Colors:
Green background — bullish states detected (either 1W or 2W bullish conditions)
Red background — bearish states detected (either 1W or 2W bearish conditions)
When you get:
Small green triangle (2W bullish cross)
Blue diamond (both 1W & 2W aligned)
Ultimate RSI [captainua]Ultimate RSI
Overview
This indicator combines multiple RSI calculations with volume analysis, divergence detection, and trend filtering to provide a comprehensive RSI-based trading system. The script calculates RSI using three different periods (6, 14, 24) and applies various smoothing methods to reduce noise while maintaining responsiveness. The combination of these features creates a multi-layered confirmation system that reduces false signals by requiring alignment across multiple indicators and timeframes.
The script includes optimized configuration presets for instant setup: Scalping, Day Trading, Swing Trading, and Position Trading. Simply select a preset to instantly configure all settings for your trading style, or use Custom mode for full manual control. All settings include automatic input validation to prevent configuration errors and ensure optimal performance.
Configuration Presets
The script includes preset configurations optimized for different trading styles, allowing you to instantly configure the indicator for your preferred trading approach. Simply select a preset from the "Configuration Preset" dropdown menu:
- Scalping: Optimized for fast-paced trading with shorter RSI periods (4, 7, 9) and minimal smoothing. Noise reduction is automatically disabled, and momentum confirmation is disabled to allow faster signal generation. Designed for quick entries and exits in volatile markets.
- Day Trading: Balanced configuration for intraday trading with moderate RSI periods (6, 9, 14) and light smoothing. Momentum confirmation is enabled for better signal quality. Ideal for day trading strategies requiring timely but accurate signals.
- Swing Trading: Configured for medium-term positions with standard RSI periods (14, 14, 21) and moderate smoothing. Provides smoother signals suitable for swing trading timeframes. All noise reduction features remain active.
- Position Trading: Optimized for longer-term trades with extended RSI periods (24, 21, 28) and heavier smoothing. Filters are configured for highest-quality signals. Best for position traders holding trades over multiple days or weeks.
- Custom: Full manual control over all settings. All input parameters are available for complete customization. This is the default mode and maintains full backward compatibility with previous versions.
When a preset is selected, it automatically adjusts RSI periods, smoothing lengths, and filter settings to match the trading style. The preset configurations ensure optimal settings are applied instantly, eliminating the need for manual configuration. All settings can still be manually overridden if needed, providing flexibility while maintaining ease of use.
Input Validation and Error Prevention
The script includes comprehensive input validation to prevent configuration errors:
- Cross-Input Validation: Smoothing lengths are automatically validated to ensure they are always less than their corresponding RSI period length. If you set a smoothing length greater than or equal to the RSI length, the script automatically adjusts it to (RSI Length - 1). This prevents logical errors and ensures valid configurations.
- Input Range Validation: All numeric inputs have minimum and maximum value constraints enforced by TradingView's input system, preventing invalid parameter values.
- Smart Defaults: Preset configurations use validated default values that are tested and optimized for each trading style. When switching between presets, all related settings are automatically updated to maintain consistency.
Core Calculations
Multi-Period RSI:
The script calculates RSI using the standard Wilder's RSI formula: RSI = 100 - (100 / (1 + RS)), where RS = Average Gain / Average Loss over the specified period. Three separate RSI calculations run simultaneously:
- RSI(6): Uses 6-period lookback for high sensitivity to recent price changes, useful for scalping and early signal detection
- RSI(14): Standard 14-period RSI for balanced analysis, the most commonly used RSI period
- RSI(24): Longer 24-period RSI for trend confirmation, provides smoother signals with less noise
Each RSI can be smoothed using EMA, SMA, RMA (Wilder's smoothing), WMA, or Zero-Lag smoothing. Zero-Lag smoothing uses the formula: ZL-RSI = RSI + (RSI - RSI ) to reduce lag while maintaining signal quality. You can apply individual smoothing lengths to each RSI period, or use global smoothing where all three RSIs share the same smoothing length.
Dynamic Overbought/Oversold Thresholds:
Static thresholds (default 70/30) are adjusted based on market volatility using ATR. The formula: Dynamic OB = Base OB + (ATR × Volatility Multiplier × Base Percentage / 100), Dynamic OS = Base OS - (ATR × Volatility Multiplier × Base Percentage / 100). This adapts to volatile markets where traditional 70/30 levels may be too restrictive. During high volatility, the dynamic thresholds widen, and during low volatility, they narrow. The thresholds are clamped between 0-100 to remain within RSI bounds. The ATR is cached for performance optimization, updating on confirmed bars and real-time bars.
Adaptive RSI Calculation:
An adaptive RSI adjusts the standard RSI(14) based on current volatility relative to average volatility. The calculation: Adaptive Factor = (Current ATR / SMA of ATR over 20 periods) × Volatility Multiplier. If SMA of ATR is zero (edge case), the adaptive factor defaults to 0. The adaptive RSI = Base RSI × (1 + Adaptive Factor), clamped to 0-100. This makes the indicator more responsive during high volatility periods when traditional RSI may lag. The adaptive RSI is used for signal generation (buy/sell signals) but is not plotted on the chart.
Overbought/Oversold Fill Zones:
The script provides visual fill zones between the RSI line and the threshold lines when RSI is in overbought or oversold territory. The fill logic uses inclusive conditions: fills are shown when RSI is currently in the zone OR was in the zone on the previous bar. This ensures complete coverage of entry and exit boundaries. A minimum gap of 0.1 RSI points is maintained between the RSI plot and threshold line to ensure reliable polygon rendering in TradingView. The fill uses invisible plots at the threshold levels and the RSI value, with the fill color applied between them. You can select which RSI (6, 14, or 24) to use for the fill zones.
Divergence Detection
Regular Divergence:
Bullish divergence: Price makes a lower low (current low < lowest low from previous lookback period) while RSI makes a higher low (current RSI > lowest RSI from previous lookback period). Bearish divergence: Price makes a higher high (current high > highest high from previous lookback period) while RSI makes a lower high (current RSI < highest RSI from previous lookback period). The script compares current price/RSI values to the lowest/highest values from the previous lookback period using ta.lowest() and ta.highest() functions with index to reference the previous period's extreme.
Pivot-Based Divergence:
An enhanced divergence detection method that uses actual pivot points instead of simple lowest/highest comparisons. This provides more accurate divergence detection by identifying significant pivot lows/highs in both price and RSI. The pivot-based method uses a tolerance-based approach with configurable constants: 1% tolerance for price comparisons (priceTolerancePercent = 0.01) and 1.0 RSI point absolute tolerance for RSI comparisons (pivotTolerance = 1.0). Minimum divergence threshold is 1.0 RSI point (minDivergenceThreshold = 1.0). It looks for two recent pivot points and compares them: for bullish divergence, price makes a lower low (at least 1% lower) while RSI makes a higher low (at least 1.0 point higher). This method reduces false divergences by requiring actual pivot points rather than just any low/high within a period. When enabled, pivot-based divergence replaces the traditional method for more accurate signal generation.
Strong Divergence:
Regular divergence is confirmed by an engulfing candle pattern. Bullish engulfing requires: (1) Previous candle is bearish (close < open ), (2) Current candle is bullish (close > open), (3) Current close > previous open, (4) Current open < previous close. Bearish engulfing is the inverse: previous bullish, current bearish, current close < previous open, current open > previous close. Strong divergence signals are marked with visual indicators (🐂 for bullish, 🐻 for bearish) and have separate alert conditions.
Hidden Divergence:
Continuation patterns that signal trend continuation rather than reversal. Bullish hidden divergence: Price makes a higher low (current low > lowest low from previous period) but RSI makes a lower low (current RSI < lowest RSI from previous period). Bearish hidden divergence: Price makes a lower high (current high < highest high from previous period) but RSI makes a higher high (current RSI > highest RSI from previous period). These patterns indicate the trend is likely to continue in the current direction.
Volume Confirmation System
Volume threshold filtering requires current volume to exceed the volume SMA multiplied by the threshold factor. The formula: Volume Confirmed = Volume > (Volume SMA × Threshold). If the threshold is set to 0.1 or lower, volume confirmation is effectively disabled (always returns true). This allows you to use the indicator without volume filtering if desired.
Volume Climax is detected when volume exceeds: Volume SMA + (Volume StdDev × Multiplier). This indicates potential capitulation moments where extreme volume accompanies price movements. Volume Dry-Up is detected when volume falls below: Volume SMA - (Volume StdDev × Multiplier), indicating low participation periods that may produce unreliable signals. The volume SMA is cached for performance, updating on confirmed and real-time bars.
Multi-RSI Synergy
The script generates signals when multiple RSI periods align in overbought or oversold zones. This creates a confirmation system that reduces false signals. In "ALL" mode, all three RSIs (6, 14, 24) must be simultaneously above the overbought threshold OR all three must be below the oversold threshold. In "2-of-3" mode, any two of the three RSIs must align in the same direction. The script counts how many RSIs are in each zone: twoOfThreeOB = ((rsi6OB ? 1 : 0) + (rsi14OB ? 1 : 0) + (rsi24OB ? 1 : 0)) >= 2.
Synergy signals require: (1) Multi-RSI alignment (ALL or 2-of-3), (2) Volume confirmation, (3) Reset condition satisfied (enough bars since last synergy signal), (4) Additional filters passed (RSI50, Trend, ADX, Volume Dry-Up avoidance). Separate reset conditions track buy and sell signals independently. The reset condition uses ta.barssince() to count bars since the last trigger, returning true if the condition never occurred (allowing first signal) or if enough bars have passed.
Regression Forecasting
The script uses historical RSI values to forecast future RSI direction using four methods. The forecast horizon is configurable (1-50 bars ahead). Historical data is collected into an array, and regression coefficients are calculated based on the selected method.
Linear Regression: Calculates the least-squares fit line (y = mx + b) through the last N RSI values. The calculation: meanX = sumX / horizon, meanY = sumY / horizon, denominator = sumX² - horizon × meanX², m = (sumXY - horizon × meanX × meanY) / denominator, b = meanY - m × meanX. The forecast projects this line forward: forecast = b + m × i for i = 1 to horizon.
Polynomial Regression: Fits a quadratic curve (y = ax² + bx + c) to capture non-linear trends. The system of equations is solved using Cramer's rule with a 3×3 determinant. If the determinant is too small (< 0.0001), the system falls back to linear regression. Coefficients are calculated by solving: n×c + sumX×b + sumX²×a = sumY, sumX×c + sumX²×b + sumX³×a = sumXY, sumX²×c + sumX³×b + sumX⁴×a = sumX²Y. Note: Due to the O(n³) computational complexity of polynomial regression, the forecast horizon is automatically limited to a maximum of 20 bars when using polynomial regression to maintain optimal performance. If you set a horizon greater than 20 bars with polynomial regression, it will be automatically capped at 20 bars.
Exponential Smoothing: Applies exponential smoothing with adaptive alpha = 2/(horizon+1). The smoothing iterates from oldest to newest value: smoothed = alpha × series + (1 - alpha) × smoothed. Trend is calculated by comparing current smoothed value to an earlier smoothed value (at 60% of horizon): trend = (smoothed - earlierSmoothed) / (horizon - earlierIdx). Forecast: forecast = base + trend × i.
Moving Average: Uses the difference between short MA (horizon/2) and long MA (horizon) to estimate trend direction. Trend = (maShort - maLong) / (longLen - shortLen). Forecast: forecast = maShort + trend × i.
Confidence bands are calculated using RMSE (Root Mean Squared Error) of historical forecast accuracy. The error calculation compares historical values with forecast values: RMSE = sqrt(sumSquaredError / count). If insufficient data exists, it falls back to calculating standard deviation of recent RSI values. Confidence bands = forecast ± (RMSE × confidenceLevel). All forecast values and confidence bands are clamped to 0-100 to remain within RSI bounds. The regression functions include comprehensive safety checks: horizon validation (must not exceed array size), empty array handling, edge case handling for horizon=1 scenarios, division-by-zero protection, and bounds checking for all array access operations to prevent runtime errors.
Strong Top/Bottom Detection
Strong buy signals require three conditions: (1) RSI is at its lowest point within the bottom period: rsiVal <= ta.lowest(rsiVal, bottomPeriod), (2) RSI is below the oversold threshold minus a buffer: rsiVal < (oversoldThreshold - rsiTopBottomBuffer), where rsiTopBottomBuffer = 2.0 RSI points, (3) The absolute difference between current RSI and the lowest RSI exceeds the threshold value: abs(rsiVal - ta.lowest(rsiVal, bottomPeriod)) > threshold. This indicates a bounce from extreme levels with sufficient distance from the absolute low.
Strong sell signals use the inverse logic: RSI at highest point, above overbought threshold + rsiTopBottomBuffer (2.0 RSI points), and difference from highest exceeds threshold. Both signals also require: volume confirmation, reset condition satisfied (separate reset for buy vs sell), and all additional filters passed (RSI50, Trend, ADX, Volume Dry-Up avoidance).
The reset condition uses separate logic for buy and sell: resetCondBuy checks bars since isRSIAtBottom, resetCondSell checks bars since isRSIAtTop. This ensures buy signals reset based on bottom conditions and sell signals reset based on top conditions, preventing incorrect signal blocking.
Filtering System
RSI(50) Filter: Only allows buy signals when RSI(14) > 50 (bullish momentum) and sell signals when RSI(14) < 50 (bearish momentum). This filter ensures you're buying in uptrends and selling in downtrends from a momentum perspective. The filter is optional and can be disabled. Recommended to enable for noise reduction.
Trend Filter: Uses a long-term EMA (default 200) to determine trend direction. Buy signals require price above EMA, sell signals require price below EMA. The EMA slope is calculated as: emaSlope = ema - ema . Optional EMA slope filter additionally requires the EMA to be rising (slope > 0) for buy signals or falling (slope < 0) for sell signals. This provides stronger trend confirmation by requiring both price position and EMA direction.
ADX Filter: Uses the Directional Movement Index (calculated via ta.dmi()) to measure trend strength. Signals only fire when ADX exceeds the threshold (default 20), indicating a strong trend rather than choppy markets. The ADX calculation uses separate length and smoothing parameters. This filter helps avoid signals during sideways/consolidation periods.
Volume Dry-Up Avoidance: Prevents signals during periods of extremely low volume relative to average. If volume dry-up is detected and the filter is enabled, signals are blocked. This helps avoid unreliable signals that occur during low participation periods.
RSI Momentum Confirmation: Requires RSI to be accelerating in the signal direction before confirming signals. For buy signals, RSI must be consistently rising (recovering from oversold) over the lookback period. For sell signals, RSI must be consistently falling (declining from overbought) over the lookback period. The momentum check verifies that all consecutive changes are in the correct direction AND the cumulative change is significant. This filter ensures signals only fire when RSI momentum aligns with the signal direction, reducing false signals from weak momentum.
Multi-Timeframe Confirmation: Requires higher timeframe RSI to align with the signal direction. For buy signals, current RSI must be below the higher timeframe RSI by at least the confirmation threshold. For sell signals, current RSI must be above the higher timeframe RSI by at least the confirmation threshold. This ensures signals align with the larger trend context, reducing counter-trend trades. The higher timeframe RSI is fetched using request.security() from the selected timeframe.
All filters use the pattern: filterResult = not filterEnabled OR conditionMet. This means if a filter is disabled, it always passes (returns true). Filters can be combined, and all must pass for a signal to fire.
RSI Centerline and Period Crossovers
RSI(50) Centerline Crossovers: Detects when the selected RSI source crosses above or below the 50 centerline. Bullish crossover: ta.crossover(rsiSource, 50), bearish crossover: ta.crossunder(rsiSource, 50). You can select which RSI (6, 14, or 24) to use for these crossovers. These signals indicate momentum shifts from bearish to bullish (above 50) or bullish to bearish (below 50).
RSI Period Crossovers: Detects when different RSI periods cross each other. Available pairs: RSI(6) × RSI(14), RSI(14) × RSI(24), or RSI(6) × RSI(24). Bullish crossover: fast RSI crosses above slow RSI (ta.crossover(rsiFast, rsiSlow)), indicating momentum acceleration. Bearish crossover: fast RSI crosses below slow RSI (ta.crossunder(rsiFast, rsiSlow)), indicating momentum deceleration. These crossovers can signal shifts in momentum before price moves.
StochRSI Calculation
Stochastic RSI applies the Stochastic oscillator formula to RSI values instead of price. The calculation: %K = ((RSI - Lowest RSI) / (Highest RSI - Lowest RSI)) × 100, where the lookback is the StochRSI length. If the range is zero, %K defaults to 50.0. %K is then smoothed using SMA with the %K smoothing length. %D is calculated as SMA of smoothed %K with the %D smoothing length. All values are clamped to 0-100. You can select which RSI (6, 14, or 24) to use as the source for StochRSI calculation.
RSI Bollinger Bands
Bollinger Bands are applied to RSI(14) instead of price. The calculation: Basis = SMA(RSI(14), BB Period), StdDev = stdev(RSI(14), BB Period), Upper = Basis + (StdDev × Deviation Multiplier), Lower = Basis - (StdDev × Deviation Multiplier). This creates dynamic zones around RSI that adapt to RSI volatility. When RSI touches or exceeds the bands, it indicates extreme conditions relative to recent RSI behavior.
Noise Reduction System
The script includes a comprehensive noise reduction system to filter false signals and improve accuracy. When enabled, signals must pass multiple quality checks:
Signal Strength Requirement: RSI must be at least X points away from the centerline (50). For buy signals, RSI must be at least X points below 50. For sell signals, RSI must be at least X points above 50. This ensures signals only trigger when RSI is significantly in oversold/overbought territory, not just near neutral.
Extreme Zone Requirement: RSI must be deep in the OB/OS zone. For buy signals, RSI must be at least X points below the oversold threshold. For sell signals, RSI must be at least X points above the overbought threshold. This ensures signals only fire in extreme conditions where reversals are more likely.
Consecutive Bar Confirmation: The signal condition must persist for N consecutive bars before triggering. This reduces false signals from single-bar spikes or noise. The confirmation checks that the signal condition was true for all bars in the lookback period.
Zone Persistence (Optional): Requires RSI to remain in the OB/OS zone for N consecutive bars, not just touch it. This ensures RSI is truly in an extreme state rather than just briefly touching the threshold. When enabled, this provides stricter filtering for higher-quality signals.
RSI Slope Confirmation (Optional): Requires RSI to be moving in the expected signal direction. For buy signals, RSI should be rising (recovering from oversold). For sell signals, RSI should be falling (declining from overbought). This ensures momentum is aligned with the signal direction. The slope is calculated by comparing current RSI to RSI N bars ago.
All noise reduction filters can be enabled/disabled independently, allowing you to customize the balance between signal frequency and accuracy. The default settings provide a good balance, but you can adjust them based on your trading style and market conditions.
Alert System
The script includes separate alert conditions for each signal type: buy/sell (adaptive RSI crossovers), divergence (regular, strong, hidden), crossovers (RSI50 centerline, RSI period crossovers), synergy signals, and trend breaks. Each alert type has its own alertcondition() declaration with a unique title and message.
An optional cooldown system prevents alert spam by requiring a minimum number of bars between alerts of the same type. The cooldown check: canAlert = na(lastAlertBar) OR (bar_index - lastAlertBar >= cooldownBars). If the last alert bar is na (first alert), it always allows the alert. Each alert type maintains its own lastAlertBar variable, so cooldowns are independent per signal type. The default cooldown is 10 bars, which is recommended for noise reduction.
Higher Timeframe RSI
The script can display RSI from a higher timeframe using request.security(). This allows you to see the RSI context from a larger timeframe (e.g., daily RSI on an hourly chart). The higher timeframe RSI uses RSI(14) calculation from the selected timeframe. This provides context for the current timeframe's RSI position relative to the larger trend.
RSI Pivot Trendlines
The script can draw trendlines connecting pivot highs and lows on RSI(6). This feature helps visualize RSI trends and identify potential trend breaks.
Pivot Detection: Pivots are detected using a configurable period. The script can require pivots to have minimum strength (RSI points difference from surrounding bars) to filter out weak pivots. Lower minPivotStrength values detect more pivots (more trendlines), while higher values detect only stronger pivots (fewer but more significant trendlines). Pivot confirmation is optional: when enabled, the script waits N bars to confirm the pivot remains the extreme, reducing repainting. Pivot confirmation functions (f_confirmPivotLow and f_confirmPivotHigh) are always called on every bar for consistency, as recommended by TradingView. When pivot bars are not available (na), safe default values are used, and the results are then used conditionally based on confirmation settings. This ensures consistent calculations and prevents calculation inconsistencies.
Trendline Drawing: Uptrend lines connect confirmed pivot lows (green), and downtrend lines connect confirmed pivot highs (red). By default, only the most recent trendline is shown (old trendlines are deleted when new pivots are confirmed). This keeps the chart clean and uncluttered. If "Keep Historical Trendlines" is enabled, the script preserves up to N historical trendlines (configurable via "Max Trendlines to Keep", default 5). When historical trendlines are enabled, old trendlines are saved to arrays instead of being deleted, allowing you to see multiple trendlines simultaneously for better trend analysis. The arrays are automatically limited to prevent memory accumulation.
Trend Break Detection: Signals are generated when RSI breaks above or below trendlines. Uptrend breaks (RSI crosses below uptrend line) generate buy signals. Downtrend breaks (RSI crosses above downtrend line) generate sell signals. Optional trend break confirmation requires the break to persist for N bars and optionally include volume confirmation. Trendline angle filtering can exclude flat/weak trendlines from generating signals (minTrendlineAngle > 0 filters out weak/flat trendlines).
How Components Work Together
The combination of multiple RSI periods provides confirmation across different timeframes, reducing false signals. RSI(6) catches early moves, RSI(14) provides balanced signals, and RSI(24) confirms longer-term trends. When all three align (synergy), it indicates strong consensus across timeframes.
Volume confirmation ensures signals occur with sufficient market participation, filtering out low-volume false breakouts. Volume climax detection identifies potential reversal points, while volume dry-up avoidance prevents signals during unreliable low-volume periods.
Trend filters align signals with the overall market direction. The EMA filter ensures you're trading with the trend, and the EMA slope filter adds an additional layer by requiring the trend to be strengthening (rising EMA for buys, falling EMA for sells).
ADX filter ensures signals only fire during strong trends, avoiding choppy/consolidation periods. RSI(50) filter ensures momentum alignment with the trade direction.
Momentum confirmation requires RSI to be accelerating in the signal direction, ensuring signals only fire when momentum is aligned. Multi-timeframe confirmation ensures signals align with higher timeframe trends, reducing counter-trend trades.
Divergence detection identifies potential reversals before they occur, providing early warning signals. Pivot-based divergence provides more accurate detection by using actual pivot points. Hidden divergence identifies continuation patterns, useful for trend-following strategies.
The noise reduction system combines multiple filters (signal strength, extreme zone, consecutive bars, zone persistence, RSI slope) to significantly reduce false signals. These filters work together to ensure only high-quality signals are generated.
The synergy system requires alignment across all RSI periods for highest-quality signals, significantly reducing false positives. Regression forecasting provides forward-looking context, helping anticipate potential RSI direction changes.
Pivot trendlines provide visual trend analysis and can generate signals when RSI breaks trendlines, indicating potential reversals or continuations.
Reset conditions prevent signal spam by requiring a minimum number of bars between signals. Separate reset conditions for buy and sell signals ensure proper signal management.
Usage Instructions
Configuration Presets (Recommended): The script includes optimized preset configurations for instant setup. Simply select your trading style from the "Configuration Preset" dropdown:
- Scalping Preset: RSI(4, 7, 9) with minimal smoothing. Noise reduction disabled, momentum confirmation disabled for fastest signals.
- Day Trading Preset: RSI(6, 9, 14) with light smoothing. Momentum confirmation enabled for better signal quality.
- Swing Trading Preset: RSI(14, 14, 21) with moderate smoothing. Balanced configuration for medium-term trades.
- Position Trading Preset: RSI(24, 21, 28) with heavier smoothing. Optimized for longer-term positions with all filters active.
- Custom Mode: Full manual control over all settings. Default behavior matches previous script versions.
Presets automatically configure RSI periods, smoothing lengths, and filter settings. You can still manually adjust any setting after selecting a preset if needed.
Getting Started: The easiest way to get started is to select a configuration preset matching your trading style (Scalping, Day Trading, Swing Trading, or Position Trading) from the "Configuration Preset" dropdown. This instantly configures all settings for optimal performance. Alternatively, use "Custom" mode for full manual control. The default configuration (Custom mode) shows RSI(6), RSI(14), and RSI(24) with their default smoothing. Overbought/oversold fill zones are enabled by default.
Customizing RSI Periods: Adjust the RSI lengths (6, 14, 24) based on your trading timeframe. Shorter periods (6) for scalping, standard (14) for day trading, longer (24) for swing trading. You can disable any RSI period you don't need.
Smoothing Selection: Choose smoothing method based on your needs. EMA provides balanced smoothing, RMA (Wilder's) is traditional, Zero-Lag reduces lag but may increase noise. Adjust smoothing lengths individually or use global smoothing for consistency. Note: Smoothing lengths are automatically validated to ensure they are always less than the corresponding RSI period length. If you set smoothing >= RSI length, it will be auto-adjusted to prevent invalid configurations.
Dynamic OB/OS: The dynamic thresholds automatically adapt to volatility. Adjust the volatility multiplier and base percentage to fine-tune sensitivity. Higher values create wider thresholds in volatile markets.
Volume Confirmation: Set volume threshold to 1.2 (default) for standard confirmation, higher for stricter filtering, or 0.1 to disable volume filtering entirely.
Multi-RSI Synergy: Use "ALL" mode for highest-quality signals (all 3 RSIs must align), or "2-of-3" mode for more frequent signals. Adjust the reset period to control signal frequency.
Filters: Enable filters gradually to find your preferred balance. Start with volume confirmation, then add trend filter, then ADX for strongest confirmation. RSI(50) filter is useful for momentum-based strategies and is recommended for noise reduction. Momentum confirmation and multi-timeframe confirmation add additional layers of accuracy but may reduce signal frequency.
Noise Reduction: The noise reduction system is enabled by default with balanced settings. Adjust minSignalStrength (default 3.0) to control how far RSI must be from centerline. Increase requireConsecutiveBars (default 1) to require signals to persist longer. Enable requireZonePersistence and requireRsiSlope for stricter filtering (higher quality but fewer signals). Start with defaults and adjust based on your needs.
Divergence: Enable divergence detection and adjust lookback periods. Strong divergence (with engulfing confirmation) provides higher-quality signals. Hidden divergence is useful for trend-following strategies. Enable pivot-based divergence for more accurate detection using actual pivot points instead of simple lowest/highest comparisons. Pivot-based divergence uses tolerance-based matching (1% for price, 1.0 RSI point for RSI) for better accuracy.
Forecasting: Enable regression forecasting to see potential RSI direction. Linear regression is simplest, polynomial captures curves, exponential smoothing adapts to trends. Adjust horizon based on your trading timeframe. Confidence bands show forecast uncertainty - wider bands indicate less reliable forecasts.
Pivot Trendlines: Enable pivot trendlines to visualize RSI trends and identify trend breaks. Adjust pivot detection period (default 5) - higher values detect fewer but stronger pivots. Enable pivot confirmation (default ON) to reduce repainting. Set minPivotStrength (default 1.0) to filter weak pivots - lower values detect more pivots (more trendlines), higher values detect only stronger pivots (fewer trendlines). Enable "Keep Historical Trendlines" to preserve multiple trendlines instead of just the most recent one. Set "Max Trendlines to Keep" (default 5) to control how many historical trendlines are preserved. Enable trend break confirmation for more reliable break signals. Adjust minTrendlineAngle (default 0.0) to filter flat trendlines - set to 0.1-0.5 to exclude weak trendlines.
Alerts: Set up alerts for your preferred signal types. Enable cooldown to prevent alert spam. Each signal type has its own alert condition, so you can be selective about which signals trigger alerts.
Visual Elements and Signal Markers
The script uses various visual markers to indicate signals and conditions:
- "sBottom" label (green): Strong bottom signal - RSI at extreme low with strong buy conditions
- "sTop" label (red): Strong top signal - RSI at extreme high with strong sell conditions
- "SyBuy" label (lime): Multi-RSI synergy buy signal - all RSIs aligned oversold
- "SySell" label (red): Multi-RSI synergy sell signal - all RSIs aligned overbought
- 🐂 emoji (green): Strong bullish divergence detected
- 🐻 emoji (red): Strong bearish divergence detected
- 🔆 emoji: Weak divergence signals (if enabled)
- "H-Bull" label: Hidden bullish divergence
- "H-Bear" label: Hidden bearish divergence
- ⚡ marker (top of pane): Volume climax detected (extreme volume) - positioned at top for visibility
- 💧 marker (top of pane): Volume dry-up detected (very low volume) - positioned at top for visibility
- ↑ triangle (lime): Uptrend break signal - RSI breaks below uptrend line
- ↓ triangle (red): Downtrend break signal - RSI breaks above downtrend line
- Triangle up (lime): RSI(50) bullish crossover
- Triangle down (red): RSI(50) bearish crossover
- Circle markers: RSI period crossovers
All markers are positioned at the RSI value where the signal occurs, using location.absolute for precise placement.
Signal Priority and Interpretation
Signals are generated independently and can occur simultaneously. Higher-priority signals generally indicate stronger setups:
1. Multi-RSI Synergy signals (SyBuy/SySell) - Highest priority: Requires alignment across all RSI periods plus volume and filter confirmation. These are the most reliable signals.
2. Strong Top/Bottom signals (sTop/sBottom) - High priority: Indicates extreme RSI levels with strong bounce conditions. Requires volume confirmation and all filters.
3. Divergence signals - Medium-High priority: Strong divergence (with engulfing) is more reliable than regular divergence. Hidden divergence indicates continuation rather than reversal.
4. Adaptive RSI crossovers - Medium priority: Buy when adaptive RSI crosses below dynamic oversold, sell when it crosses above dynamic overbought. These use volatility-adjusted RSI for more accurate signals.
5. RSI(50) centerline crossovers - Medium priority: Momentum shift signals. Less reliable alone but useful when combined with other confirmations.
6. RSI period crossovers - Lower priority: Early momentum shift indicators. Can provide early warning but may produce false signals in choppy markets.
Best practice: Wait for multiple confirmations. For example, a synergy signal combined with divergence and volume climax provides the strongest setup.
Chart Requirements
For proper script functionality and compliance with TradingView requirements, ensure your chart displays:
- Symbol name: The trading pair or instrument name should be visible
- Timeframe: The chart timeframe should be clearly displayed
- Script name: "Ultimate RSI " should be visible in the indicator title
These elements help traders understand what they're viewing and ensure proper script identification. The script automatically includes this information in the indicator title and chart labels.
Performance Considerations
The script is optimized for performance:
- ATR and Volume SMA are cached using var variables, updating only on confirmed and real-time bars to reduce redundant calculations
- Forecast line arrays are dynamically managed: lines are reused when possible, and unused lines are deleted to prevent memory accumulation
- Calculations use efficient Pine Script functions (ta.rsi, ta.ema, etc.) which are optimized by TradingView
- Array operations are minimized where possible, with direct calculations preferred
- Polynomial regression automatically caps the forecast horizon at 20 bars (POLYNOMIAL_MAX_HORIZON constant) to prevent performance degradation, as polynomial regression has O(n³) complexity. This safeguard ensures optimal performance even with large horizon settings
- Pivot detection includes edge case handling to ensure reliable calculations even on early bars with limited historical data. Regression forecasting functions include comprehensive safety checks: horizon validation (must not exceed array size), empty array handling, edge case handling for horizon=1 scenarios, and division-by-zero protection in all mathematical operations
The script should perform well on all timeframes. On very long historical data, forecast lines may accumulate if the horizon is large; consider reducing the forecast horizon if you experience performance issues. The polynomial regression performance safeguard automatically prevents performance issues for that specific regression type.
Known Limitations and Considerations
- Forecast lines are forward-looking projections and should not be used as definitive predictions. They provide context but are not guaranteed to be accurate.
- Dynamic OB/OS thresholds can exceed 100 or go below 0 in extreme volatility scenarios, but are clamped to 0-100 range. This means in very volatile markets, the dynamic thresholds may not widen as much as the raw calculation suggests.
- Volume confirmation requires sufficient historical volume data. On new instruments or very short timeframes, volume calculations may be less reliable.
- Higher timeframe RSI uses request.security() which may have slight delays on some data feeds.
- Regression forecasting requires at least N bars of history (where N = forecast horizon) before it can generate forecasts. Early bars will not show forecast lines.
- StochRSI calculation requires the selected RSI source to have sufficient history. Very short RSI periods on new charts may produce less reliable StochRSI values initially.
Practical Use Cases
The indicator can be configured for different trading styles and timeframes:
Swing Trading: Select the "Swing Trading" preset for instant optimal configuration. This preset uses RSI periods (14, 14, 21) with moderate smoothing. Alternatively, manually configure: Use RSI(24) with Multi-RSI Synergy in "ALL" mode, combined with trend filter (EMA 200) and ADX filter. This configuration provides high-probability setups with strong confirmation across multiple RSI periods.
Day Trading: Select the "Day Trading" preset for instant optimal configuration. This preset uses RSI periods (6, 9, 14) with light smoothing and momentum confirmation enabled. Alternatively, manually configure: Use RSI(6) with Zero-Lag smoothing for fast signal detection. Enable volume confirmation with threshold 1.2-1.5 for reliable entries. Combine with RSI(50) filter to ensure momentum alignment. Strong top/bottom signals work well for day trading reversals.
Trend Following: Enable trend filter (EMA) and EMA slope filter for strong trend confirmation. Use RSI(14) or RSI(24) with ADX filter to avoid choppy markets. Hidden divergence signals are useful for trend continuation entries.
Reversal Trading: Focus on divergence detection (regular and strong) combined with strong top/bottom signals. Enable volume climax detection to identify capitulation moments. Use RSI(6) for early reversal signals, confirmed by RSI(14) and RSI(24).
Forecasting and Planning: Enable regression forecasting with polynomial or exponential smoothing methods. Use forecast horizon of 10-20 bars for swing trading, 5-10 bars for day trading. Confidence bands help assess forecast reliability.
Multi-Timeframe Analysis: Enable higher timeframe RSI to see context from larger timeframes. For example, use daily RSI on hourly charts to understand the larger trend context. This helps avoid counter-trend trades.
Scalping: Select the "Scalping" preset for instant optimal configuration. This preset uses RSI periods (4, 7, 9) with minimal smoothing, disables noise reduction, and disables momentum confirmation for faster signals. Alternatively, manually configure: Use RSI(6) with minimal smoothing (or Zero-Lag) for ultra-fast signals. Disable most filters except volume confirmation. Use RSI period crossovers (RSI(6) × RSI(14)) for early momentum shifts. Set volume threshold to 1.0-1.2 for less restrictive filtering.
Position Trading: Select the "Position Trading" preset for instant optimal configuration. This preset uses extended RSI periods (24, 21, 28) with heavier smoothing, optimized for longer-term trades. Alternatively, manually configure: Use RSI(24) with all filters enabled (Trend, ADX, RSI(50), Volume Dry-Up avoidance). Multi-RSI Synergy in "ALL" mode provides highest-quality signals.
Practical Tips and Best Practices
Getting Started: The fastest way to get started is to select a configuration preset that matches your trading style. Simply choose "Scalping", "Day Trading", "Swing Trading", or "Position Trading" from the "Configuration Preset" dropdown to instantly configure all settings optimally. For advanced users, use "Custom" mode for full manual control. The default configuration (Custom mode) is balanced and works well across different markets. After observing behavior, customize settings to match your trading style.
Reducing Repainting: All signals are based on confirmed bars, minimizing repainting. The script uses confirmed bar data for all calculations to ensure backtesting accuracy.
Signal Quality: Multi-RSI Synergy signals in "ALL" mode provide the highest-quality signals because they require alignment across all three RSI periods. These signals have lower frequency but higher reliability. For more frequent signals, use "2-of-3" mode. The noise reduction system further improves signal quality by requiring multiple confirmations (signal strength, extreme zone, consecutive bars, optional zone persistence and RSI slope). Adjust noise reduction settings to balance signal frequency vs. accuracy.
Filter Combinations: Start with volume confirmation, then add trend filter for trend alignment, then ADX filter for trend strength. Combining all three filters significantly reduces false signals but also reduces signal frequency. Find your balance based on your risk tolerance.
Volume Filtering: Set volume threshold to 0.1 or lower to effectively disable volume filtering if you trade instruments with unreliable volume data or want to test without volume confirmation. Standard confirmation uses 1.2-1.5 threshold.
RSI Period Selection: RSI(6) is most sensitive and best for scalping or early signal detection. RSI(14) provides balanced signals suitable for day trading. RSI(24) is smoother and better for swing trading and trend confirmation. You can disable any RSI period you don't need to reduce visual clutter.
Smoothing Methods: EMA provides balanced smoothing with moderate lag. RMA (Wilder's smoothing) is traditional and works well for RSI. Zero-Lag reduces lag but may increase noise. WMA gives more weight to recent values. Choose based on your preference for responsiveness vs. smoothness.
Forecasting: Linear regression is simplest and works well for trending markets. Polynomial regression captures curves and works better in ranging markets. Exponential smoothing adapts to trends. Moving average method is most conservative. Use confidence bands to assess forecast reliability.
Divergence: Strong divergence (with engulfing confirmation) is more reliable than regular divergence. Hidden divergence indicates continuation rather than reversal, useful for trend-following strategies. Pivot-based divergence provides more accurate detection by using actual pivot points instead of simple lowest/highest comparisons. Adjust lookback periods based on your timeframe: shorter for day trading, longer for swing trading. Pivot divergence period (default 5) controls the sensitivity of pivot detection.
Dynamic Thresholds: Dynamic OB/OS thresholds automatically adapt to volatility. In volatile markets, thresholds widen; in calm markets, they narrow. Adjust the volatility multiplier and base percentage to fine-tune sensitivity. Higher values create wider thresholds in volatile markets.
Alert Management: Enable alert cooldown (default 10 bars, recommended) to prevent alert spam. Each alert type has its own cooldown, so you can set different cooldowns for different signal types. For example, use shorter cooldown for synergy signals (high quality) and longer cooldown for crossovers (more frequent). The cooldown system works independently for each signal type, preventing spam while allowing different signal types to fire when appropriate.
Technical Specifications
- Pine Script Version: v6
- Indicator Type: Non-overlay (displays in separate panel below price chart)
- Repainting Behavior: Minimal - all signals are based on confirmed bars, ensuring accurate backtesting results
- Performance: Optimized with caching for ATR and volume calculations. Forecast arrays are dynamically managed to prevent memory accumulation.
- Compatibility: Works on all timeframes (1 minute to 1 month) and all instruments (stocks, forex, crypto, futures, etc.)
- Edge Case Handling: All calculations include safety checks for division by zero, NA values, and boundary conditions. Reset conditions and alert cooldowns handle edge cases where conditions never occurred or values are NA.
- Reset Logic: Separate reset conditions for buy signals (based on bottom conditions) and sell signals (based on top conditions) ensure logical correctness.
- Input Parameters: 60+ customizable parameters organized into logical groups for easy configuration. Configuration presets available for instant setup (Scalping, Day Trading, Swing Trading, Position Trading, Custom).
- Noise Reduction: Comprehensive noise reduction system with multiple filters (signal strength, extreme zone, consecutive bars, zone persistence, RSI slope) to reduce false signals.
- Pivot-Based Divergence: Enhanced divergence detection using actual pivot points for improved accuracy.
- Momentum Confirmation: RSI momentum filter ensures signals only fire when RSI is accelerating in the signal direction.
- Multi-Timeframe Confirmation: Optional higher timeframe RSI alignment for trend confirmation.
- Enhanced Pivot Trendlines: Trendline drawing with strength requirements, confirmation, and trend break detection.
Technical Notes
- All RSI values are clamped to 0-100 range to ensure valid oscillator values
- ATR and Volume SMA are cached for performance, updating on confirmed and real-time bars
- Reset conditions handle edge cases: if a condition never occurred, reset returns true (allows first signal)
- Alert cooldown handles na values: if no previous alert, cooldown allows the alert
- Forecast arrays are dynamically sized based on horizon, with unused lines cleaned up
- Fill logic uses a minimum gap (0.1) to ensure reliable polygon rendering in TradingView
- All calculations include safety checks for division by zero and boundary conditions. Regression functions validate that horizon doesn't exceed array size, and all array access operations include bounds checking to prevent out-of-bounds errors
- The script uses separate reset conditions for buy signals (based on bottom conditions) and sell signals (based on top conditions) for logical correctness
- Background coloring uses a fallback system: dynamic color takes priority, then RSI(6) heatmap, then monotone if both are disabled
- Noise reduction filters are applied after accuracy filters, providing multiple layers of signal quality control
- Pivot trendlines use strength requirements to filter weak pivots, reducing noise in trendline drawing. Historical trendlines are stored in arrays and automatically limited to prevent memory accumulation when "Keep Historical Trendlines" is enabled
- Volume climax and dry-up markers are positioned at the top of the pane for better visibility
- All calculations are optimized with conditional execution - features only calculate when enabled (performance optimization)
- Input Validation: Automatic cross-input validation ensures smoothing lengths are always less than RSI period lengths, preventing configuration errors
- Configuration Presets: Four optimized preset configurations (Scalping, Day Trading, Swing Trading, Position Trading) for instant setup, plus Custom mode for full manual control
- Constants Management: Magic numbers extracted to documented constants for improved maintainability and easier tuning (pivot tolerance, divergence thresholds, fill gap, etc.)
- TradingView Function Consistency: All TradingView functions (ta.crossover, ta.crossunder, ta.atr, ta.lowest, ta.highest, ta.lowestbars, ta.highestbars, etc.) and custom functions that depend on historical results (f_consecutiveBarConfirmation, f_rsiSlopeConfirmation, f_rsiZonePersistence, f_applyAllFilters, f_rsiMomentum, f_forecast, f_confirmPivotLow, f_confirmPivotHigh) are called on every bar for consistency, as recommended by TradingView. Results are then used conditionally when needed. This ensures consistent calculations and prevents calculation inconsistencies.
Bullish Volume RatioBullish Volume Ratio (BVR) Indicator
The Bullish Volume Ratio (BVR) is a sophisticated momentum oscillator designed to measure the true intensity of buying pressure versus selling pressure in the market. It provides a unique, statistically-driven view of market conviction, making it an essential tool for traders who seek to confirm trend health and anticipate major shifts.
BVR achieves its precision by not only assessing net volume but also using proprietary volume weighting logic to gauge the quality of participation in each candle, filtering out market noise to present a clear picture of underlying demand.
Key Features
Statistically-Driven Conviction: The indicator utilizes a Z-Score to measure how far the current BVR reading deviates from its historical average, providing an objective measure of whether buying or selling is truly exceptional or just noise.
Clear Visual Signals: The oscillator plot is designed for clear interpretation on a separate pane, helping you identify regime shifts without cluttering the main price chart.
Real-Time Data Dashboard (Optional): A customizable table on the chart displays the current BVR, Z-score, and other critical volume metrics at a glance.
Simplified Trading Guide
The BVR indicator simplifies volume analysis into clear, actionable signals that can be used for trend confirmation and reversal anticipation.
1. Trend Confirmation
Use the BVR to confirm the momentum of an existing trend:
Bullish Confirmation: When price is trending up, look for the BVR line to be rising and consistently above the center line. This signals that buyers are in firm control and the uptrend has strong volume conviction.
Bearish Confirmation: When price is trending down, look for the BVR line to be falling and deep below the center line. This indicates sellers are dominating the volume profile, confirming the strength of the downtrend.
2. Identifying Trade Entry/Exit Zones
The indicator's Z-Score component is key to spotting extremes that often precede a reversal:
Potential Long Entry: Look for a sustained negative Z-Score followed by a sharp crossover back towards the center line or into positive territory. This can signal that selling pressure has reached an exhaustion point and accumulation (buying) is beginning.
Potential Short Entry: Look for a sustained positive Z-Score followed by a sharp crossover back towards the center line or into negative territory. This suggests that buying momentum is exhausted and distribution (selling) is commencing.
3. The Volume Spike Filter
The indicator also alerts you to candles with significantly high volume relative to the recent average. Use this as a filter:
Breakout Validation: A price breakout is more likely to be legitimate if it is accompanied by a high volume spike confirmed by a strong BVR reading in the direction of the breakout.
Reversal Warning: A high volume spike at a key support or resistance level, particularly one that leads to a sharp turn in the BVR, can strongly signal a climactic reversal in progress.
Force Pulse█ OVERVIEW
Force Pulse is a fast-reacting oscillator that measures the internal strength of market sides by analyzing the aggregated dominance of bulls and bears based on candle size.
The indicator normalizes this difference into a 0–100 range, generates signals (OB/OS, midline cross, MA midline cross), and detects divergences between price and the oscillator.
It also offers advanced visualization, signal markers, and alerts, making it a versatile tool suitable for many trading styles.
█ CONCEPTS
Force Pulse was designed as a universal tool that can be applied to various trading strategies depending on its settings:
- increasing the period lengths and smoothing transforms it into a momentum/trend indicator, revealing a stable dominance of one market side.
- Lowering these parameters turns it into a peak/low detector, ideal for contrarian and mean-reversion strategies.
The oscillator analyzes the relationship between the sum of bullish and bearish candles over a selected period, based on:
- candle body size, or
- average candle body size (AVG Body).
Depending on the selected mode, OB/OS levels should be adjusted, as value dynamics differ between modes.
The output is normalized to 0–100, where:
> 50 – bullish dominance,
< 50 – bearish dominance.
The additional MA line is derived from smoothed oscillator values and serves as a signal line for midline crosses and as a trend filter.
The indicator also detects divergences (HL/LL) between price and the oscillator.
█ FEATURES
Bull & Bear Strength:
- Calculations are based on Body or AVG Body – mode selection requires adjusting OB/OS levels.
- Bullish and bearish candle values are summed separately.
- All results are normalized to the 0–100 scale.
Force Pulse Oscillator:
- The main line reflects the current dominance of either market side.
Dynamic colors:
- Green – above 50,
- Red – below 50.
Signal MA:
- SMA based on oscillator values functions as a signal line.
- Helps detect momentum shifts and generates signals via midline crosses.
- Can serve as a trend confirmation filter.
Overbought / Oversold:
- Configurable OB/OS levels, also for the MA line.
- Dynamic OB/OS line colors: when the MA line exceeds the defined threshold (e.g., MA > maOverbought or MA < maOversold), OB/OS lines change color (red/green).
- This often signals a potential reversal or correction and may act as additional confirmation for oscillator-generated signals.
Divergences:
- Detection based on swing pivots:
- Bullish: price LL, oscillator HL
- Bearish: price HH, oscillator LH
- Displayed as “Bull” / “Bear” labels.
Signals:
Supports multiple signal types:
- Overbought/Oversold Cross
- Midline Cross
- MA Midline Cross (based on the signal MA line)
- Signals appear as triangles above/below the oscillator.
Visualization:
- Gradient options for lines and levels.
- Full customization of colors, transparency, and line thickness.
Alerts available for:
- Divergences
- OB/OS crossings
- Midline crossings
- MA midline crossings
█ HOW TO USE
Add the indicator to your TradingView chart → Indicators → search “Force Pulse”
Parameter Configuration
Calculation Settings:
- Calculation Period (lookback) – defines the strength calculation window.
Force Mode (Body / AVG Body):
- Body – faster response, higher sensitivity.
- AVG Body – more stable output; adjust band levels and periods to your strategy.
- EMA Smoothing (smoothLen) – reduces oscillator noise.
- MA Length – length of the signal line (SMA).
Threshold Levels:
- Set Overbought/Oversold levels for both the oscillator and the MA line.
- Adjust levels depending on Body / AVG Body mode.
Divergence Detection:
- Enable/disable divergence detection.
- PivotLength affects both delay and signal quality.
- Signal Settings: Choose one or multiple signal types.
- Style & Colors: Full control over color schemes, gradients, and transparency.
Signal Interpretation
BUY:
- Oscillator leaves oversold (OS crossover).
- Midline cross upward.
- MA crosses the midline from below.
- Bullish divergence.
SELL:
- Oscillator leaves overbought (drops below OB).
- Midline cross downward.
- MA crosses the midline from above.
- Bearish divergence.
Trend / Momentum:
-Longer periods and stronger smoothing → stable directional signals.
-MA as a trend filter: e.g., signal line above the midline (50) and MA pointing upward indicates continuation of a bullish impulse.
Contrarian / Mean Reversion:
- Short periods → rapid detection of peaks and troughs; ideal for contrarian signals and pullback entries.
█ APPLICATIONS
- Trend Trading: Using midline and MA midline crosses to determine direction.
- Reversal Trading: OB/OS levels and divergences help identify reversals.
- Scalping & Intraday: Short settings + signal line above the midline with bullish MA → shows short-term impulse and continuation.
- Swing Trading: Longer MA and higher lookback provide a stable view of market-side dominance.
- Momentum Analysis: Force Pulse highlights the strength of the wave before price movement occurs.
█ NOTES
- In strong trends, the oscillator may stay in extreme zones for a long time — this reflects dominance, not necessarily a reversal signal.
- Divergences are more reliable on higher timeframes.
- OB/OS levels should be tailored to Body/AVG Body mode and the instrument.
- Best results come from combining the indicator with other tools (S/R, market structure, volume).
Fluxion Oscillator [Kodexius]Fluxion Oscillator is a multi dimensional momentum and flow toolkit designed to highlight exhaustion, reversals and confluence in a very compact way. The script combines a normalized trend oscillator, volume sensitive money movement, a volatility gauge and a visual confluence gauge that all sit in a single pane.
Instead of focusing on a single signal, Fluxion looks at the interaction between price, momentum and volume. The core oscillator tracks the relationship between a fast and a slow response of price, then rescales it into a stable 0 to 100 band. A companion flow line tracks how actively price is being supported or pressured by volume. On top of that, a volatility based gauge and an overbought or oversold reversal layer help highlight when moves are stretched and vulnerable.
The result is an environment where you can quickly see:
-When momentum is expanding or fading
-When price swings are supported or rejected by volume
-Where local tops or bottoms can be forming through divergence
-How strong the current push is in the context of recent volatility
-A compact gauge that visually ranks the current state from “minimum” to “maximum” pressure
It is not a trading system by itself, but a framework that makes it much easier to build rules and confluence around your own strategy.
⭐ Features
Normalized Fluxion Oscillator
Core oscillator built from the difference between a fast and a slow smoothing of the chosen source.
Automatically normalized into a bounded range so it behaves consistently across symbols and timeframes.
Dual line structure: the main line and a signal line, making crossovers easy to read.
Dynamic fill that shifts color depending on whether the main line is above or below the signal line.
Bullish and Bearish Crosses
Visual circles highlighting when the main oscillator crosses its signal line upward or downward.
Bullish crosses emphasize potential momentum ignition after downside pressure.
Bearish crosses emphasize potential cooling of momentum after upside pressure.
Money Flow Layer
Separate line that blends price and volume over a configurable lookback.
Smoothed to reduce noise and plotted around a central balance level.
Colored region that clearly shows whether buying pressure or selling pressure dominates.
Divergence Detection Suite
Automatic detection of regular bullish and regular bearish divergences between price and the normalized oscillator.
Optional hidden bullish and hidden bearish divergences for continuation setups.
Uses pivot based swing points so the lines attach to meaningful highs and lows instead of random wiggles.
All divergence types can be toggled independently so you can keep the chart as clean as you like.
Volatility and Positioning Gauge
A compact gauge that evaluates where the current price sits relative to a volume weighted average and its recent typical fluctuation.
Colors shift as price moves from neutral to stretched zones in either direction.
Background highlighting above and below the oscillator scale to reflect when this gauge is in an extreme region.
Helps quickly see whether you are buying into strength after a large extension or stepping in near value.
Reversal Signals With Volume Confirmation
A higher time sensitivity reversal metric based on a 0 to 100 scale of recent price changes.
Signals are only highlighted when there is also a short burst in volume, so quiet market noise is reduced.
Bearish reversal markers appear in the upper region, bullish markers in the lower region, giving a clear visual “top” and “bottom” feel.
Confluence Gauge
Right side grid composed of horizontal bands, from “Min” at the bottom to “Max” at the top.
Each band reflects a segment of a smoothed, range based momentum reading that tracks how far price has advanced within its recent 0 to 100 window.
The currently active band is highlighted in green for bullish momentum or red for bearish momentum, depending on the relationship between fast and slow lines within that range.
A pointer and labels make it obvious where the current environment sits relative to the full range of possible conditions.
Divergence Core
Users can define the pivot length to control how strict and how far apart swing points should be.
High Customization
Adjustable lookback lengths for the core oscillator, signal smoothing and normalization.
Separate controls for money flow length and smoothing.
Optional toggles for each divergence type so you can focus only on the structures you care about.
⭐ Calculations
This section explains conceptually how Fluxion works without exposing the full underlying formula details. The goal is to help you understand what each component represents and how it behaves, so you can use it more effectively.
Fluxion Oscillator Core
The foundation of the indicator is the difference between two smoothed versions of the selected price source. One reacts more quickly to new price information, the other reacts more slowly.
When the fast curve is above the slow curve, the oscillator becomes positive, signaling that short term action is advancing faster than the background trend. When the fast curve is below the slow curve, it becomes negative, indicating short term weakness.
This raw difference is then normalized over a rolling window. The highest and lowest values in that window are used to rescale the oscillator into a 0 to 100 band. This produces a stable, comparable scale across markets and timeframes.
A secondary smoothing of the oscillator creates the signal line. The interaction between the main line and this signal is used to color the fill region and locate cross events.
Money Flow Construction
The money flow line is based on how price closes within its candle range combined with the traded volume. Up candles with strong closes and high volume contribute positively, while down candles with weak closes and high volume contribute negatively.
These contributions are aggregated over a configurable period to create a net “pressure” measure. The result represents how aggressively participants have been positioning over that window, not just whether price went up or down.
The line is then smoothed to reduce micro noise and plotted around a central balance level, here set at 50. Values above the balance zone suggest net positive pressure, values below suggest net negative pressure.
An additional internal threshold is used to detect when this pressure stays on one side of the balance area long enough to be considered an “overflow,” which helps detect sustained accumulation or distribution phases.
Volatility and Positioning Gauge
The gauge computes a volume weighted average price over a user defined period. This gives more weight to prices at which more volume was traded.
It then evaluates how far the current price is from that volume weighted center, relative to the typical price variation around it. This creates a standardized distance measure that tells you how stretched price is from its recent fair zone.
When the distance becomes significantly positive, the market is considered extended upward. When it becomes significantly negative, it is extended downward. Intermediate thresholds are used to create “warning” and “extreme” zones.
Background fills at the top and bottom of the panel change based on this standardized distance, visually indicating when the market is moving into overextended territory that often precedes mean reversion or at least slowing of the move.
Reversal Metric With Volume Filter
A separate 0 to 100 style momentum score is calculated over a mid length window. It evaluates recent gains and losses in price to produce a relative strength measure of the current move.
Upper and lower thresholds on this score are used to mark areas where price action is historically stretched to the upside or downside.
This alone would generate many signals, so a volume based filter is added. Reversal markers are only displayed when this momentum score is in an extreme area and volume has shown a short term pickup.
This combination gives more weight to reversals that occur during active trading, where trapped positions and forced unwinds are more likely.
Divergence Engine
The divergence logic scans for swing highs and swing lows in the normalized oscillator and in price. Swing points are defined by requiring a certain number of bars on both sides of the pivot, which you can configure via the divergence length input.
For regular bullish divergence:
Price makes a lower low, indicating apparent weakness.
The oscillator makes a higher low over the same general region, indicating that internal momentum is actually improving.
If both conditions are met within a valid bar distance, a bullish divergence line is drawn from the prior oscillator pivot to the new one.
For regular bearish divergence:
Price makes a higher high, suggesting continued strength.
The oscillator makes a lower high, showing that underlying momentum is waning.
The engine checks that both pivot structures appear within an allowed time frame, then draws a bearish line between the oscillator peaks.
Hidden divergences are handled in a similar way, except the direction of price and oscillator swings is reversed, which makes them suitable for trend continuation contexts instead of reversal contexts.
Confluence Gauge
The grid on the right converts a smoothed, range based momentum reading into ten equal bands. This momentum reading looks at where the current value sits between the lowest and highest readings of a recent window, then rescales it into a 0 to 100 scale.
That 0 to 100 value is divided into ten slices of ten points each. For example, 0 to 10 is the lowest band, 90 to 100 is the top band.
The algorithm then checks whether the fast component of this reading is above or below its slower companion. If fast is above slow, it is treated as bullish pressure and the active band is colored in green. If fast is below slow, it is treated as bearish pressure and the active band is colored in red.
A pointer label is placed alongside the active band and “Max” and “Min” markers are drawn above and below the grid. This creates a compact visual where you can quickly gauge if the current state is closer to the lower boundary of recent conditions or to the upper boundary, along with its directional bias.
Normalization And Scaling
Several internal components use rolling highest and lowest values to transform raw readings into normalized percentages. This includes the main oscillator and the range based momentum used by the confluence gauge.
The key idea is to express conditions relative to what has recently been possible on that instrument and timeframe instead of using absolute fixed thresholds. This makes Fluxion adaptive and more robust when switching between assets with different volatility profiles.






















