Relative Strength IndexRSI for indian market buy low and sell high.
rsi 3 low belo 15 buy and rsi high above 85 sell
Oscillators
Density Zones (GM Crossing Clusters) + QHO Spin FlipsINDICATOR NAME
Density Zones (GM Crossing Clusters) + QHO Spin Flips
OVERVIEW
This indicator combines two complementary ideas into a single overlay: *this combines my earlier Geometric Mean Indicator with the Quantum Harmonic Oscillator (Overlay) with additional enhancements*
1) Density Zones (GM Crossing Clusters)
A “Density Zone” is detected when price repeatedly crosses a Geometric Mean equilibrium line (GM) within a rolling lookback window. Conceptually, this identifies regions where the market is repeatedly “snapping” across an equilibrium boundary—high churn, high decision pressure, and repeated re-selection of direction.
2) QHO Spin Flips (Regression-Residual σ Breaches)
A “Spin Flip” is detected when price deviates beyond a configurable σ-threshold (κ) from a regression-based equilibrium, using normalized residuals. Conceptually, this marks excursions into extreme states (decoherence / expansion), which often precede a reversion toward equilibrium and/or a regime re-scaling.
These two systems are related but not identical:
- Density Zones identify where equilibrium crossings cluster (a “singularity”/anchor behavior around GM).
- Spin Flips identify when price exceeds statistically extreme displacement from the regression equilibrium (LSR), indicating expansion beyond typical variance.
CORE CONCEPTS AND FORMULAS
SECTION A — GEOMETRIC MEAN EQUILIBRIUM (GM)
We define two moving averages:
(1) MA1_t = SMA(close_t, L1)
(2) MA2_t = SMA(close_t, L2)
We define the equilibrium anchor as the geometric mean of MA1 and MA2:
(3) GM_t = sqrt( MA1_t * MA2_t )
This GM line acts as an equilibrium boundary. Repeated crossings are interpreted as high “equilibrium churn.”
SECTION B — CROSS EVENTS (UP/DOWN)
A “cross event” is registered when the sign of (close - GM) changes:
Define a sign function s_t:
(4) s_t =
+1 if close_t > GM_t
-1 if close_t < GM_t
s_{t-1} if close_t == GM_t (tie-breaker to avoid false flips)
Then define the crossing event indicator:
(5) crossEvent_t = 1 if s_t != s_{t-1}
0 otherwise
Additionally, the indicator plots explicit cross markers:
- Cross Above GM: crossover(close, GM)
- Cross Below GM: crossunder(close, GM)
These provide directional visual cues and match the original Geometric Mean Indicator behavior.
SECTION C — DENSITY MEASURE (CROSSING CLUSTER COUNT)
A Density Zone is based on the number of cross events occurring in the last W bars:
(6) D_t = Σ_{i=0..W-1} crossEvent_{t-i}
This is a “crossing density” score: how many times price has toggled across GM recently.
The script implements this efficiently using a cumulative sum identity:
Let x_t = crossEvent_t.
(7) cumX_t = Σ_{j=0..t} x_j
Then:
(8) D_t = cumX_t - cumX_{t-W} (for t >= W)
cumX_t (for t < W)
SECTION D — DENSITY ZONE TRIGGER
We define a Density Zone state:
(9) isDZ_t = ( D_t >= θ )
where:
- θ (theta) is the user-selected crossing threshold.
Zone edges:
(10) dzStart_t = isDZ_t AND NOT isDZ_{t-1}
(11) dzEnd_t = NOT isDZ_t AND isDZ_{t-1}
SECTION E — DENSITY ZONE BOUNDS
While inside a Density Zone, we track the running high/low to display zone bounds:
(12) dzHi_t = max(dzHi_{t-1}, high_t) if isDZ_t
(13) dzLo_t = min(dzLo_{t-1}, low_t) if isDZ_t
On dzStart:
(14) dzHi_t := high_t
(15) dzLo_t := low_t
Outside zones, bounds are reset to NA.
These bounds visually bracket the “singularity span” (the churn envelope) during each density episode.
SECTION F — QHO EQUILIBRIUM (REGRESSION CENTERLINE)
Define the regression equilibrium (LSR):
(16) m_t = linreg(close_t, L, 0)
This is the “centerline” the QHO system uses as equilibrium.
SECTION G — RESIDUAL AND σ (FIELD WIDTH)
Residual:
(17) r_t = close_t - m_t
Rolling standard deviation of residuals:
(18) σ_t = stdev(r_t, L)
This σ_t is the local volatility/width of the residual field around the regression equilibrium.
SECTION H — NORMALIZED DISPLACEMENT AND SPIN FLIP
Define the standardized displacement:
(19) Y_t = (close_t - m_t) / σ_t
(If σ_t = 0, the script safely treats Y_t = 0.)
Spin Flip trigger uses a user threshold κ:
(20) spinFlip_t = ( |Y_t| > κ )
Directional spin flips:
(21) spinUp_t = ( Y_t > +κ )
(22) spinDn_t = ( Y_t < -κ )
The default κ=3.0 corresponds to “3σ excursions,” which are statistically extreme under a normal residual assumption (even though real markets are not perfectly normal).
SECTION I — QHO BANDS (OPTIONAL VISUALIZATION)
The indicator optionally draws the standard σ-bands around the regression equilibrium:
(23) 1σ bands: m_t ± 1·σ_t
(24) 2σ bands: m_t ± 2·σ_t
(25) 3σ bands: m_t ± 3·σ_t
These provide immediate context for the Spin Flip events.
WHAT YOU SEE ON THE CHART
1) MA1 / MA2 / GM lines (optional)
- MA1 (blue), MA2 (red), GM (green).
- GM is the equilibrium anchor for Density Zones and cross markers.
2) GM Cross Markers (optional)
- “GM↑” label markers appear on bars where close crosses above GM.
- “GM↓” label markers appear on bars where close crosses below GM.
3) Density Zone Shading (optional)
- Background shading appears while isDZ_t = true.
- This is the period where the crossing density D_t is above θ.
4) Density Zone High/Low Bounds (optional)
- Two lines (dzHi / dzLo) are drawn only while in-zone.
- These bounds bracket the full churn envelope during the density episode.
5) QHO Bands (optional)
- 1σ, 2σ, 3σ shaded zones around regression equilibrium.
- These visualize the current variance field.
6) Regression Equilibrium (LSR Centerline)
- The white centerline is the regression equilibrium m_t.
7) Spin Flip Markers
- A circle is plotted when |Y_t| > κ (beyond your chosen σ-threshold).
- Marker size is user-controlled (tiny → huge).
HOW TO USE IT
Step 1 — Pick the equilibrium anchor (GM)
- L1 and L2 define MA1 and MA2.
- GM = sqrt(MA1 * MA2) becomes your equilibrium boundary.
Typical choices:
- Faster equilibrium: L1=20, L2=50 (default-like).
- Slower equilibrium: L1=50, L2=200 (macro anchor).
Interpretation:
- GM acts like a “center of mass” between two moving averages.
- Crosses show when price flips from one side of equilibrium to the other.
Step 2 — Tune Density Zones (W and θ)
- W controls the time window measured (how far back you count crossings).
- θ controls how many crossings qualify as a “density/singularity episode.”
Guideline:
- Larger W = slower, broader density detection.
- Higher θ = only the most intense churn is labeled as a Density Zone.
Interpretation:
- A Density Zone is not “bullish” or “bearish” by itself.
- It is a condition: repeated equilibrium toggling (high churn / high compression).
- These often precede expansions, but direction is not implied by the zone alone.
Step 3 — Tune the QHO spin flip sensitivity (L and κ)
- L controls regression memory and σ estimation length.
- κ controls how extreme the displacement must be to trigger a spin flip.
Guideline:
- Smaller L = more reactive centerline and σ.
- Larger L = smoother, slower “field” definition.
- κ=3.0 = strong extreme filter.
- κ=2.0 = more frequent flips.
Interpretation:
- Spin flips mark when price exits the “normal” residual field.
- In your model language: a moment of decoherence/expansion that is statistically extreme relative to recent equilibrium.
Step 4 — Read the combined behavior (your key thesis)
A) Density Zone forms (GM churn clusters):
- Market repeatedly crosses equilibrium (GM), compressing into a bounded churn envelope.
- dzHi/dzLo show the envelope range.
B) Expansion occurs:
- Price can release away from the density envelope (up or down).
- If it expands far enough relative to regression equilibrium, a Spin Flip triggers (|Y| > κ).
C) Re-coherence:
- After a spin flip, price often returns toward equilibrium structures:
- toward the regression centerline m_t
- and/or back toward the density envelope (dzHi/dzLo) depending on regime behavior.
- The indicator does not guarantee return, but it highlights the condition where return-to-field is statistically likely in many regimes.
IMPORTANT NOTES / DISCLAIMERS
- This indicator is an analytical overlay. It does not provide financial advice.
- Density Zones are condition states derived from GM crossing frequency; they do not predict direction.
- Spin Flips are statistical excursions based on regression residuals and rolling σ; markets have fat tails and non-stationarity, so σ-based thresholds are contextual, not absolute.
- All parameters (L1, L2, W, θ, L, κ) should be tuned per asset, timeframe, and volatility regime.
PARAMETER SUMMARY
Geometric Mean / Density Zones:
- L1: MA1 length
- L2: MA2 length
- GM_t = sqrt(SMA(L1)*SMA(L2))
- W: crossing-count lookback window
- θ: crossing density threshold
- D_t = Σ crossEvent_{t-i} over W
- isDZ_t = (D_t >= θ)
- dzHi/dzLo track envelope bounds while isDZ is true
QHO / Spin Flips:
- L: regression + residual σ length
- m_t = linreg(close, L, 0)
- r_t = close_t - m_t
- σ_t = stdev(r_t, L)
- Y_t = r_t / σ_t
- spinFlip_t = (|Y_t| > κ)
Visual Controls:
- toggles for GM lines, cross markers, zone shading, bounds, QHO bands
- marker size options for GM crosses and spin flips
ALERTS INCLUDED
- Density Zone START / END
- Spin Flip UP / DOWN
- Cross Above GM / Cross Below GM
SUMMARY
This indicator treats the Geometric Mean as an equilibrium boundary and identifies “Density Zones” when price repeatedly crosses that equilibrium within a rolling window, forming a bounded churn envelope (dzHi/dzLo). It also models a regression-based equilibrium field and triggers “Spin Flips” when price makes statistically extreme σ-excursions from that field. Used together, Density Zones highlight compression/decision regions (equilibrium churn), while Spin Flips highlight extreme expansion states (σ-breaches), allowing the user to visualize how price compresses around equilibrium, releases outward, and often re-stabilizes around equilibrium structures over time.
Squeeze Momentum OscillatorTitle: Squeeze Momentum Oscillator
Description: This indicator is a panel-based oscillator designed to visualize the relationship between market volatility and momentum. Based on the classic TTM Squeeze concept, it helps traders identify periods of consolidation ("The Squeeze") and the subsequent release of energy ("The Breakout").
Originality & Enhancements: Standard squeeze oscillators only show when a squeeze fires (turning from red to green). This enhanced version adds a specific Breakout Validation layer. It changes the center-line dot color to Fuchsia or Blue only if the squeeze release is confirmed by the slope of the 20-period Moving Average, filtering out weak or false fires.
How It Works:
1. The Center Line (Volatility State): The dots along the zero line tell you the current volatility condition:
🔴 Red Dot: Squeeze ON. Bollinger Bands are inside Keltner Channels. Volatility is compressed. The market is charging up.
🟣 Fuchsia Dot: Bullish Breakout. The squeeze has fired upward, and the underlying trend (20 SMA slope) is positive.
🔵 Blue Dot: Bearish Breakout. The squeeze has fired downward, and the underlying trend (20 SMA slope) is negative.
🟢 Green Dot: Squeeze OFF. Normal volatility conditions.
2. The Histogram (Momentum): The bars indicate the strength and direction of the price movement using Linear Regression logic:
Cyan/Green: Bullish momentum. (Darker = weakening).
Red/Maroon: Bearish momentum. (Darker = weakening).
Visual Guide:
Setup: Wait for a series of Red Dots.
Trigger: Look for the first Fuchsia (Bullish) or Blue (Bearish) dot accompanied by an expanding Histogram in the same direction.
Settings:
Feature Toggle: You can turn the "Breakout Colors" (Fuchsia/Blue) on or off if you prefer the classic look.
Sensitivity: Fully customizable lengths and multipliers for Bollinger Bands and Keltner Channels.
Credits: Based on the foundational TTM Squeeze oscillator logic. Linear regression momentum calculation adapted from standard open-source methods. Breakout validation logic added for enhanced reliability.
BTC Regime Oscillator (MC + Spread) [1D]ONLY SUPPOSED TO BE USED FOR BTC PERPS, AND SPOT LEVERAGING:
This is a risk oscillator that measures whether Bitcoin’s price is supported by real capital or is running ahead of it, and converts that into a simple risk-regime oscillator.
It's built with market cap, and FDV, and Z-scores compressed to -100 <-> 100
I created this indicator because I got tired of FOMO Twitter and Wall Street games.
DO NOT USE THIS AS A BEGIN-ALL-AND-END-ALL. YOU NEED TO USE THIS AS A CONFIRMATION INDICATOR, AND ON HTF ONLY (1D>) IF YOU USE THIS ON LOWER TIMEFRAMES, YOU ARE FEEDING YOUR MONEY TO A LOW-LIFE DING BAT ON WALL STREET. HERE IS HOW IT WORKS:
This indicator is Split up by
A) Market Cap
--> Represents real money in BTC
--> Ownership capital
--> If MC is rising, money is entering BTC
B) FDV (Fully Diluted Valuation)
--> For BTC: price(21M) (21,000,000)
--> Represents the theoretical valuation
--> Since BTC really has a fixed cap, FDV mostly tracks the price
C) Oscillators
Both MC and FDV are:
--> Logged (to handle scale)
--> Normalized (Z-score)
--> Compressed to -100 <-> 100
HERE ARE THREE THINGS YOU ARE GOING TO SEE ON THE CHART
A) The market cap oscillator (MC OSC)
--> Normalized trend of real capital
RISING: Indicates capital inflow
FALLING: Indicates capital outflow
B) FDV Oscillator
--> Normalized trend of valuation pressure
ABOVE MC: Price is ahead of capital
BELOW MC: Capital is keeping up
!!!! FDV IS CONTEXT NOT SIGNALS !!!!
C) Spread = (FDV - MC)
--> The difference between valuation and capital
(THIS IS THE CORE SIGNAL)
NEGATIVE: Capital is gonna lead price
NEAR 0: Balanced
POSITIVE: Price leads capital
(THIS MEANS STRESS FOR BTC, NOT DILLUTION!)
WHAT DOES -60, 0, 60 MEAN?:
--> These are meant to serve as risk zones, not buy/sell dynamics; this is not the same as an RSI oscillator.
A) 0 level
--> Price and capital are balanced
--> No structural stress
(TRADE WITH NORMAL POSITION SIZE, AND NORMAL EXPECTATIONS)
B) Below -60 (Supportive/Compressed)
--> BTC is relatively cheap to recent history
--> Capital supports price well
(ALWAYS REMEMBER TO CONFIRM THIS WITH WHAT THE CHART IS TELLING YOU)
--> Press trends
--> Use higher ATRs
--> Pullbacks are better here
C) Above 60 (Overextension, or fragile)
--> BTC is expensive relative to recent history
--> Price is ahead of capital
(ALWAYS REMEMBER TO CONFIRM THIS WITH WHAT THE CHART IS TELLING YOU)
--> Reduce leverage, use smaller ATR
--> Use lower ATRs, TP faster
--> Do not chase breakouts
--> Expect volatility and whipsaws
"Can I press trades right now? Or do I need to hog my capital?"
CONDITIONS:
Spread Less than 0 and below -60 = Press trades
Spread near 0 = Normal trading conditions
Spread is Greater than 0 or above 60+ = Capital protection
VCAI Stochastic RSI+VCAI Stoch RSI+ is a cleaned-up Stochastic RSI built with V-Core colours for faster, clearer momentum reads and more reliable OB/OS signals.
What it shows:
Purple %K line → bearish momentum strengthening
Yellow %D line → bullish momentum building and smoothing
Soft purple/yellow background bands → OB/OS exhaustion zones, not just raw 80/20 triggers
Midline at 50 → balance point where momentum shifts between bull- and bear-side control
Optional HTF mode → run Stoch RSI from any timeframe while viewing it on your current chart
How to read it:
Both lines rising out of OS → early bullish shift; pullbacks that hold direction favour continuation
Both lines falling from OB → early bearish shift; bounces into the purple OB zone can become fade setups
Lines stacked and moving together → strong, cleaner momentum
Lines crossing repeatedly → low-conviction, choppy conditions
OB/OS shading highlights exhaustion so you focus on moves with context, not every 80/20 tick
Why it’s different:
Classic Stoch RSI is hyper-sensitive and mostly noise.
VCAI Stoch RSI+ applies V-Core’s colour-driven regime logic, controlled OB/OS shading, and optional HTF smoothing so you see momentum structure instead of clutter — making it easier to judge when momentum is genuinely shifting and when it’s just another wiggle.
VCAI RSI Divergence +VCAI RSI Divergence+ is an RSI that shows trend, momentum, and divergence using V-CoresAI colour logic instead of a single white line.
What it shows:
Yellow RSI line → bullish momentum (RSI above its MA; buy-side pressure in control)
Purple RSI line → bearish momentum (RSI below its MA; sell-side pressure in control)
Thin blue line → fast RSI moving average that drives the colour flips
Dashed 70/30 lines → classic OB/OS zones
Background bands → soft purple in OB, soft yellow in OS to mark exhaustion areas
How to read it:
Yellow & rising → momentum shifting bullish; pullbacks into yellow OS band can be accumulation zones
Purple & falling → momentum shifting bearish; pushes into purple OB band can be distribution/sell zones
Hard colour flips (yellow ↔ purple) mark trend regime changes, not minor RSI noise
Divergence mode (on/off)
The divergence engine scans RSI and price pivot structure:
Bullish divergence (yellow) → price lower low + RSI higher low
Bearish divergence (purple) → price higher high + RSI lower high
Lines and tags appear only where a meaningful disagreement between price and RSI exists, giving early context for potential reversals or fade setups.
Together, the momentum colours + optional divergence mapping give a far clearer market read than a standard RSI, with zero clutter and no guesswork.
Estrategia Visual PRO: Momentum EditionIndicador con estrategia propia basado en cruce de emas editables son sombreado de tendencia del precio y niveles de soporte y resistencias donde el precio tiene reaccion, tambien cuenta con filtro de rsi donde colorea las velas segun la fuerza del rsi, colores editables y cuando el precio pierde fuerza
This indicator, with its own strategy based on editable EMA crossovers, features price trend shading and support and resistance levels where the price reacts. It also includes an RSI filter that colors the candles according to the strength of the RSI, with editable colors, and alerts you when the price loses strength.
Alloyz Traders_RSI by Sagar BRSI for Intraday purpose with moving average and volume weightage price added in RSI.
RSI Pivot Breaks█ OVERVIEW
RSI Pivot Breaks is an RSI-based indicator that detects breakout events on oscillator-based pivot levels (RSI or MA RSI).
The tool automatically plots pivot levels, tracks their breakouts, highlights momentum shifts, and generates alerts for key events (pivot breaks and OB/OS crosses).
The indicator is designed primarily for momentum strategies — pivot breakouts often precede directional price moves, making RSI Pivot Breaks a powerful tool for identifying accelerations and changes in strength.
█ CONCEPTS
The indicator analyzes local RSI extremes and transforms them into dynamic support/resistance levels.
When RSI or MA RSI breaks the last pivot, it signals a shift in momentum balance, often leading to an impulse move.
Key concepts:
- pivot highs/lows detected on RSI or MA RSI,
- pivot lines extend forward until broken,
- pivot filters restrict pivot detection to specific RSI zones,
- OB/OS levels provide contextual momentum thresholds.
█ FEATURES
Pivot Detection & Breakouts
- Detection of pivot highs and lows on RSI or MA RSI.
- Pivot filters allow you to limit pivot detection to specific RSI ranges (e.g., only bullish pivots below 50 or bearish pivots above 50).
- Pivot lines update automatically after breakout.
Background highlights:
- green on pivot-high breakouts,
- red on pivot-low breakouts.
RSI & MA RSI
- Dynamic RSI colors based on momentum direction.
- Optional MA RSI line (SMA/EMA/RMA/WMA) usable as a smoother pivot source.
OB / OS Zones
- Fully adjustable overbought/oversold levels.
- Dedicated OB/OS colors.
- Optional gradient backgrounds.
Highlights
- Instant identification of moments when RSI breaks a key pivot level.
Alerts:
- pivot high breakouts.
- pivot low breakouts.
- OB crosses.
- OS crosses.
█ HOW TO USE
Add the indicator:
Indicators → RSI Pivot Breaks.
RSI Settings
- RSI Length – core RSI period.
- RSI MA Length & Type – MA RSI smoothing parameters.
Pivot Settings
- Pivot Left / Pivot Right – number of bars required to form a pivot and also the number of bars of delay before the pivot becomes confirmed.
(Higher values produce more reliable but slower pivots.)
Pivot Filters
- Minimum/maximum allowed RSI levels for pivot Highs and Lows.
- Examples:
- detect only pivot Highs at low RSI values.
- ignore pivots during extreme momentum.
- allow only mid-range pivot detection depending on strategy.
Visualization
- Toggles for RSI and MA RSI visibility.
- Optional gradients.
- Full color and transparency customization.
OB/OS Levels
- Adjustable thresholds depending on instrument volatility and strategy style.
█ SIGNAL INTERPRETATION
BUY
- RSI breaks the latest pivot high.
- RSI crosses upward out of OS.
- Context example: pivot lows forming a rising sequence.
SELL
- RSI breaks the latest pivot low.
- RSI drops downward from OB.
- Context example: pivot highs forming a declining sequence.
Trend / Momentum
- Pivot breakouts indicate acceleration or continuation of momentum.
- MA-based pivots provide smoother and more stable momentum structure.
█ APPLICATIONS
- Momentum Trading – pivot breaks as early acceleration signals.
- Scalping & Intraday – fast RSI pivots react quickly to short-term shifts.
- Swing Trading – smoother pivots using MA RSI for higher-timeframe structure.
- Divergence Detection – pivot behavior helps reveal divergence patterns, e.g.:
- RSI pivots rising while price is falling → potential early momentum reversal.
- Custom Filtering – pivot filters allow, for example:
- blocking bullish signals near OB.
- blocking bearish signals near OS.
- detecting pivots only above/below mid-range during strong trends,
depending entirely on strategy design.
█ NOTES
- Pivot detection includes natural delay equal to the Left/Right parameters.
- Pivot filters significantly change the character of signals, allowing fine-tuning of aggressiveness for any strategy.
VCAI MACD LiteVCAI MACD Lite is a clean, modern version of the classic MACD oscillator, rebuilt with selectable EMA/SMA types and a 2-tone histogram using VCAI’s visual style.
It keeps the indicator lightweight and easy to read while giving clearer momentum shifts through rising/falling histogram colour changes.
What it does
Calculates MACD using your choice of EMA or SMA
Plots signal line and histogram with 2-tone VCAI colours
Highlights changes in momentum strength as histogram bars rise or fade
Works on any market and timeframe
How to use it
Expanding yellow bars reflect strengthening upside momentum; dim yellow shows fading strength.
Darker and lighter VCAI purple tones show momentum behaviour below zero, helping you see when bearish pressure is increasing or weakening.
Part of the VCAI Lite Series — clean, minimal tools.
RSI Multi Levels kiawosch [TradingFinder] 7-14-42 Consolidation🔵 Introduction
The Relative Strength Index or RSI is a tool used to measure the speed and intensity of price movement, oscillating between zero and one hundred. It is commonly applied to identify strength or weakness in market momentum across different time intervals. Despite its simple formula and wide usage, the behavior of RSI within specific ranges often provides more precise information than traditional overbought and oversold levels.
The Multi RSI layout displays three RSI values with periods 7, 14 and 42. The seven period RSI plays the primary role in short term analysis. When this value enters predefined ranges, it shows highly consistent and interpretable behavior that can signal trend continuation, corrections or the start of a range structure. The other two values, RSI 14 and RSI 42, help reveal higher timeframe momentum and provide context for the depth and quality of price movement.
Three potential zones are defined, each representing a behavioral range. The position zones forms the basis for signal interpretation :
High Potential : 78 to 85 & 22 to 15
Mid Potential : 70 to 78 & 30 to 22
Low Potential : 58 to 62 & 42 to 38
These zones highlight areas where RSI reacts in specific ways to price movement. Entering the High Potential range usually aligns with new highs or lows in price and often precedes continuation after a correction. In contrast, reactions inside the Mid Potential range frequently appear during clean ranges or channel structures. This approach focuses on momentum quality and structural behavior rather than classic overbought and oversold thresholds.
In summary, the logic behind the signals follows three principles :
Trend continuation, When RSI 7 enters the High Potential zone and price prints a new high or low, continuation after a correction becomes the most likely outcome.
Reversal or slowdown, When RSI exits the High Potential zone while price is reaching a previous high or low, the probability of a short term reversal increases.
Range behavior, In clean ranges or channel structures, RSI 7 typically reacts inside the Mid Potential zone and produces consistent swing responses.
🔵 How to Use
This method is based on observing the repeating behavior of RSI within momentum zones and identifying moments when price continues after a shallow correction or, conversely, when signs of slowing and reversal appear. RSI 7 plays the main role since it gives the most sensitive response to short term price changes. Its entry into or exit from a potential zone, combined with the position of price relative to recent highs and lows, forms the core of the signal logic. RSI 14 and RSI 42 provide higher timeframe confirmation and help evaluate the broader strength or weakness behind each movement.
🟣 Trend continuation after entering the High Potential zone
When RSI 7 reaches the High Potential zone while price forms a new high or low, the probability of continuation becomes very high. The typical sequence includes a short correction in price and a retreat of RSI toward the Mid Potential zone. As long as price structure remains intact and RSI turns upward again, continuation becomes the most likely scenario. As shown in the charts, price often expands strongly after this type of correction and breaks the previous high.
🟣 Reversal or slowdown after exiting the High Potential zone
If RSI 7 enters the High Potential zone but then exits while price is interacting with a previous high or low, conditions for a short term reversal appear. This behavior is clear in the charts, where price hits a supply or demand area and RSI can no longer return to the upper zone. The drop in RSI reflects weakening momentum and, when accompanied by a confirming candle, increases the chance of a reversal or at least a temporary pause.
🟣 Strong reversal after hitting the Mid Potential zone during deeper corrections
Sometimes price enters a deeper corrective phase and RSI 7 moves into or through the Mid Potential zone. When this occurs near a previous low, it can mark the start of a significant reversal. The charts show this pattern clearly, where RSI turns upward while price reacts to support. If the other RSI values show relative alignment, the probability of a strong rebound increases. This signal is often seen after fast declines and can mark the beginning of a recovery wave.
🟣 Range structure and repetitive reactions inside the Mid Potential zone
When price enters a clean range or channel, the behavior of RSI 7 changes completely. In such conditions, RSI repeatedly reacts inside the Mid Potential zone. Each time price touches the upper or lower boundary of the range, RSI approaches the upper or lower part of this zone as well. The result is a sequence of predictable swing reactions, perfectly suitable for mean reversion strategies. Breakouts in these environments also tend to show higher failure rates.
🟣 Sharp reactions and fast reversals at extreme levels (RSI near 90 or below 10)
Although this approach is not based on classic overbought and oversold logic, extremely high or low RSI readings such as ninety often produce strong immediate reactions in price. These conditions usually occur after sudden spikes or emotional breakouts. As visible in the charts, RSI collapses quickly after reaching such extremes and price often reverses sharply. While not a core signal, these moments add meaningful context to momentum interpretation.
🔵 Settings
RSI Setting : This section allows enabling or disabling the three RSI values, adjusting their calculation length and customizing their colors. It is designed to help separate short, medium and longer term momentum visually on the chart.
Zones Setting : This section controls the display of momentum zones and the color applied to each area. Adjusting these colors or toggling them on and off helps the trader visually track the intensity and structure of momentum.
Levels Setting : This section allows editing the numeric boundaries of the levels or showing and hiding each one individually. These levels form the visual framework for interpreting RSI behavior within the defined momentum zones.
🔵 Conclusion
Examining RSI behavior across different momentum zones shows that entering these ranges creates relatively consistent patterns in price movement. Reaching the High Potential zone often corresponds to later stages of a trend, where price has the strength to continue after a brief correction and structure remains intact. In contrast, reactions within the Mid Potential zone occur more frequently when the market transitions into a range or a limited movement phase, where repetitive oscillations dominate.
Overall, observing RSI inside these zones helps distinguish between trending movement, corrective phases and range conditions with greater clarity. Entry or exit from each zone provides insight into the underlying strength or weakness of momentum and reveals where the market is positioned within its movement cycle. This perspective, based on momentum regions rather than traditional values alone, offers a more refined understanding of price behavior and highlights the likely direction of the next move.
macd rsi tunTitle:
Quantum Flow - Clean Momentum & Pattern Signals
Description:
A minimalist trend signal indicator designed purely for practical trading.
How it works:
Core Logic: Combines Momentum crossovers with Engulfing Candle patterns to identify potential reversals.
Clean Display: No messy lines. It only displays simple text signals ("多" for Long, "空" for Short) at key pivot points.
Filtering: Includes an optional RSI filter to improve signal probability and reduce noise.
Extras: Supports Bar Coloring and fully functional Alerts.
Designed specifically for traders who prefer a clean, uncluttered chart.
Note: This is not financial advice. Please test thoroughly in a demo account before live use.
TDI Fibonacci Volatility Bands Candle Coloring [cryptalent]"This is an advanced Traders Dynamic Index (TDI) candle coloring system, designed for traders seeking precise dynamic analysis. Unlike traditional TDI, which typically relies on a 50 midline with a single standard deviation band (±1 SD), this indicator innovatively incorporates Fibonacci golden ratio multiples (1.618, 2.618, 3.618 times standard deviation) to create multi-layered dynamic bands. It precisely divides the RSI fast line (green line) position into five distinct strength zones, instantly reflecting them on the candle colors, allowing you to grasp market sentiment in real-time without switching to a sub-chart.
Core Calculation Logic:
RSI Period (default 20), Band Length (default 50), and Fast MA Smoothing Period (default 1) are all adjustable.
The midline is the Simple Moving Average (SMA) of RSI, with upper and lower bands calculated by multiplying Fibonacci multiples with Standard Deviation (STDEV), generating three dynamic band sets: 1.618, 2.618, and 3.618.
Traders can quickly identify the following scenarios:
Extreme Overbought Zone (Strong Bullish, Red): Fast line exceeds custom threshold (default 82) and breaks above the specified band (default 2.618). This often signals overheating, potentially a profit-taking point or reversal short entry, especially at trend tops.
Extreme Oversold Zone (Strong Bearish, Green): Fast line drops below custom threshold (default 28) and breaks below the specified band (default 2.618). This is a potential strong rebound starting point, ideal for bottom-fishing or long entries.
Medium Bullish Zone (Yellow): Fast line surpasses medium threshold (default 66) and stands above the specified band (default 1.618), indicating bullish dominance in trend continuation.
Medium Bearish Zone (Orange): Fast line falls below medium threshold (default 33) and breaks below the specified band (default 1.618), signaling bearish control in segment transitions.
Neutral Zone (No Color Change): Fast line within custom upper and lower limits (default 34~65), retaining original candle colors to avoid noise interference during consolidation.
Color priority logic flows from strong to weak (Extreme > Medium > Neutral), ensuring no conflicts. All parameters are highly customizable, including thresholds, band selections (1.618/2.618/3.618/Midline/None), color schemes, and even optional semi-transparent background coloring (default off, transparency 90%) for enhanced visual layering.
Applicable Scenarios:
Intraday Trading: Capture extreme color shifts as entry/exit signals.
Swing Trading: Use medium colors to confirm trend extensions.
Long-Term Trend Following: Filter noise in neutral zones to focus on major trends.
Supports various markets like forex, stocks, and cryptocurrencies. After installation, adjust parameters in settings to match your strategy, and combine with other indicators like moving averages or support/resistance for improved accuracy.
If you're a TDI enthusiast, this will make your trading more intuitive and efficient!
Open Interest Z-Score [BackQuant]Open Interest Z-Score
A standardized pressure gauge for futures positioning that turns multi venue open interest into a Z score, so you can see how extreme current positioning is relative to its own history and where leverage is stretched, decompressing, or quietly re loading.
What this is
This indicator builds a single synthetic open interest series by aggregating futures OI across major derivatives venues, then standardises that aggregated OI into a rolling Z score. Instead of looking at raw OI or a simple change, you get a normalized signal that says "how many standard deviations away from normal is positioning right now", with optional smoothing, reference bands, and divergence detection against price.
You can render the Z score in several plotting modes:
Line for a clean, classic oscillator.
Colored line that encodes both sign and momentum of OI Z.
Oscillator histogram that makes impulses and compressions obvious.
The script also includes:
Aggregated open interest across Binance, Bybit, OKX, Bitget, Kraken, HTX, and Deribit, using multiple contract suffixes where applicable.
Choice of OI units, either coin based or converted to USD notional.
Standard deviation reference lines and adaptive extreme bands.
A flexible smoothing layer with multiple moving average types.
Automatic detection of regular and hidden divergences between price and OI Z.
Alerts for zero line and ±2 sigma crosses.
Aggregated open interest source
At the core is the same multi venue OI aggregation engine as in the OI RSI tool, adapted from NoveltyTrade's work and extended for this use case. The indicator:
Anchors on the current chart symbol and its base currency.
Loops over a set of exchanges, gated by user toggles:
Binance.
Bybit.
OKX.
Bitget.
Kraken.
HTX.
Deribit.
For each exchange, loops over several contract suffixes such as USDT.P, USD.P, USDC.P, USD.PM to cover the common perp and margin styles.
Requests OI candles for each exchange plus suffix pair into a small custom OI type that carries open, high, low and close of open interest.
Converts each OI stream into a common unit via the sw method:
In COIN mode, OI is normalized relative to the coin.
In USD mode, OI is scaled by price to approximate notional.
Exchange specific scaling factors are applied where needed to match contract multipliers.
Accumulates all valid OI candles into a single combined OI "candle" by summing open, high, low and close across venues.
The result is oiClose , a synthetic close for aggregated OI that represents cross venue positioning. If there is no valid OI data for the symbol after this process, the script throws a clear runtime error so you know the market is unsupported rather than quietly plotting nonsense.
How the Z score is computed
Once the aggregated OI close is available, the indicator computes a rolling Z score over a configurable lookback:
Define subject as the aggregated OI close.
Compute a rolling mean of this subject with EMA over Z Score Lookback Period .
Compute a rolling standard deviation over the same length.
Subtract the mean from the current OI and divide by the standard deviation.
This gives a raw Z score:
oi_z_raw = (subject − mean) ÷ stdDev .
Instead of plotting this raw value directly, the script passes it through a smoothing layer:
You pick a Smoothing Type and Smoothing Period .
Choices include SMA, HMA, EMA, WMA, DEMA, RMA, linear regression, ALMA, TEMA, and T3.
The helper ma function applies the chosen smoother to the raw Z score.
The result is oi_z , a smoothed Z score of aggregated open interest. A separate EMA with EMA Period is then applied on oi_z to create a signal line ma that can be used for crossovers and trend reads.
Plotting modes
The Plotting Type input controls how this Z score is rendered:
1) Line
In line mode:
The smoothed OI Z score is plotted as a single line using Base Line Color .
The EMA overlay is optionally plotted if Show EMA is enabled.
This is the cleanest view when you want to treat OI Z like a standard oscillator, watching for zero line crosses, swings, and divergences.
2) Colored Line
Colored line mode adds conditional color logic to the Z score:
If the Z score is above zero and rising, it is bright green, representing positive and strengthening positioning pressure.
If the Z score is above zero and falling, it shifts to a cooler cyan, representing positive but weakening pressure.
If the Z score is below zero and falling, it is bright red, representing negative and strengthening pressure (growing net de risking or shorting).
If the Z score is below zero and rising, it is dark red, representing negative but recovering pressure.
This mapping makes it easy to see not only whether OI is above or below its historical mean, but also whether that deviation is intensifying or fading.
3) Oscillator
Oscillator mode turns the Z score into a histogram:
The smoothed Z score is plotted as vertical columns around zero.
Column colors use the same conditional palette as colored line mode, based on sign and change direction.
The histogram base is zero, so bars extend up into positive Z and down into negative Z.
Oscillator mode is useful when you care about impulses in positioning, for example sharp jumps into positive Z that coincide with fast builds in leverage, or deep spikes into negative Z that show aggressive flushes.
4) None
If you only want reference lines, extreme bands, divergences, or alerts without the base oscillator, you can set plotting to None and keep the rest of the tooling active.
The EMA overlay respects plotting mode and only appears when a visible Z score line or histogram is present.
Reference lines and standard deviation levels
The Select Reference Lines input offers two styles:
Standard Deviation Levels
Plots small markers at zero.
Draws thin horizontal lines at +1, +2, −1 and −2 Z.
Acts like a classic Z score ladder, zero as mean, ±1 as normal band, ±2 as outer band.
This mode is ideal if you want a textbook statistical framing, using ±1 and ±2 sigma as standard levels for "normal" versus "extended" positioning.
Extreme Bands
Extreme bands build on the same ±1 and ±2 lines, then add:
Upper outer band between +3 and +4 Z.
Lower outer band between −3 and −4 Z.
Dynamic fill colors inside these bands:
If the Z score is positive, the upper band fill turns red with an alpha that scales with the magnitude of |Z|, capped at a chosen max strength. Stronger deviations towards +4 produce more opaque red fills.
If the Z score is negative, the lower band fill turns green with the same adaptive alpha logic, highlighting deep negative deviations.
Opposite side bands remain a faint neutral white when not in use, so they still provide structural context without shouting.
This creates a visual "danger zone" for position crowding. When the Z score enters these outer bands, open interest is many standard deviations away from its mean and you are dealing with rare but highly loaded positioning states.
Z score as a positioning pressure gauge
Because this is a Z score of aggregated open interest, it measures how unusual current positioning is relative to its own recent history, not just whether OI is rising or falling:
Z near zero means total OI is roughly in line with normal conditions for your lookback window.
Positive Z means OI is above its recent mean. The further above zero, the more "crowded" or extended positioning is.
Negative Z means OI is below its recent mean. Deep negatives often mark post flush environments where leverage has been cleared and the market is under positioned.
The smoothing options help control how much noise you want in the signal:
Short Z score lookback and short smoothing will react quickly, suited for short term traders watching intraday positioning shocks.
Longer Z score lookback with smoother MA types (EMA, RMA, T3) give a slower, more structural view of where the crowd sits over days to weeks.
Divergences between price and OI Z
The indicator includes automatic divergence detection on the Z score versus price, using pivot highs and lows:
You configure Pivot Lookback Left and Pivot Lookback Right to control swing sensitivity.
Pivots are detected on the OI Z series.
For each eligible pivot, the script compares OI Z and price at the last two pivots.
It looks for four patterns:
Regular Bullish – price makes a lower low, OI Z makes a higher low. This can indicate selling exhaustion in positioning even as price washes out. These are marked with a line and a label "ℝ" below the oscillator, in the bullish color.
Hidden Bullish – price makes a higher low, OI Z makes a lower low. This suggests continuation potential where price holds up while positioning resets. Marked with "ℍ" in the bullish color.
Regular Bearish – price makes a higher high, OI Z makes a lower high. This is a classic warning sign of trend exhaustion, where price pushes higher while OI Z fails to confirm. Marked with "ℝ" in the bearish color.
Hidden Bearish – price makes a lower high, OI Z makes a higher high. This is often seen in pullbacks within downtrends, where price retraces but positioning stretches again in the direction of the prevailing move. Marked with "ℍ" in the bearish color.
Each divergence type can be toggled globally via Show Detected Divergences . Internally, the script restricts how far back it will connect pivots, so you do not get stray signals linking very old structures to current bars.
Trading applications
Crowding and squeeze risk
Z scores are a natural way to talk about crowding:
High positive Z in aggregated OI means the market is running high leverage compared to its own norm. If price is also extended, the risk of a squeeze or sharp unwind rises.
Deep negative Z means leverage has been cleaned out. While it can be painful to sit through, this environment often sets up cleaner new trends, since there is less one sided positioning to unwind.
The extreme bands at ±3 to ±4 highlight the rare states where crowding is most intense. You can treat these events as regime markers rather than day to day noise.
Trend confirmation and fade selection
Combine Z score with price and trend:
Bull trends with positive and rising Z are supported by fresh leverage, usually more persistent.
Bull trends with flat or falling Z while price keeps grinding up can be more fragile. Divergences and extreme bands can help identify which edges you do not want to fade and which you might.
In downtrends, deep negative Z that stays pinned can mean persistent de risking. Once the Z score starts to mean revert back toward zero, it can mark the early stages of stabilization.
Event and liquidation context
Around major events, you often see:
Rapid spikes in Z as traders rush to position.
Reversal and overshoot as liquidations and forced de risking clear the book.
A move from positive extremes through zero into negative extremes as the market transitions from crowded to under exposed.
The Z score makes that path obvious, especially in oscillator mode, where you see a block of high positive bars before the crash, then a slab of deep negative bars after the flush.
Settings overview
Z Score group
Plotting Type – None, Line, Colored Line, Oscillator.
Z Score Lookback Period – window used for mean and standard deviation on aggregated OI.
Smoothing Type – SMA, HMA, EMA, WMA, DEMA, RMA, linear regression, ALMA, TEMA or T3.
Smoothing Period – length for the selected moving average on the raw Z score.
Moving Average group
Show EMA – toggle EMA overlay on Z score.
EMA Period – EMA length for the signal line.
EMA Color – color of the EMA line.
Thresholds and Reference Lines group
Select Reference Lines – None, Standard Deviation Levels, Extreme Bands.
Standard deviation lines at 0, ±1, ±2 appear in both modes.
Extreme bands add filled zones at ±3 to ±4 with adaptive opacity tied to |Z|.
Extra Plotting and UI
Base Line Color – default color for the simple line mode.
Line Width – thickness of the oscillator line.
Positive Color – positive or bullish condition color.
Negative Color – negative or bearish condition color.
Divergences group
Show Detected Divergences – master toggle for divergence plotting.
Pivot Lookback Left and Pivot Lookback Right – how many bars left and right to define a pivot, controlling divergence sensitivity.
Open Interest Source group
OI Units – COIN or USD.
Exchange toggles for Binance, Bybit, OKX, Bitget, Kraken, HTX, Deribit.
Internally, all enabled exchanges and contract suffixes are aggregated into one synthetic OI series.
Alerts included
The indicator defines alert conditions for several key events:
OI Z Score Positive – Z crosses above zero, aggregated OI moves from below mean to above mean.
OI Z Score Negative – Z crosses below zero, aggregated OI moves from above mean to below mean.
OI Z Score Enters +2σ – Z enters the +2 band and above, marking extended positive positioning.
OI Z Score Enters −2σ – Z enters the −2 band and below, marking extended negative positioning.
Tie these into your strategy to be notified when leverage moves from normal to extended states.
Notes
This indicator does not rely on price based oscillators. It is a statistical lens on cross venue open interest, which makes it a complementary tool rather than a replacement for your existing price or volume signals. Use it to:
Quantify how unusual current futures positioning is compared to recent history.
Identify crowded leverage phases that can fuel squeezes.
Spot structural divergences between price and positioning.
Frame risk and opportunity around events and regime shifts.
It is not a complete trading system. Combine it with your own entries, exits and risk rules to get the most out of what the Z score is telling you about positioning pressure under the hood of the market.
Bollinger Bands + VWAP + 4-State MACD BackgroundBollinger Bands + VWAP + 4-State MACD Background
An all-in-one technical analysis indicator combining three proven tools with an intelligent momentum-based background visualization system.
📊 FEATURES
Bollinger Bands
Standard Bollinger Bands implementation with full customization options:
Adjustable period length (default: 20)
Multiple moving average types: SMA, EMA, SMMA (RMA), WMA, VWMA
Configurable standard deviation multiplier (default: 2.0)
Visual fill between bands to highlight volatility zones
Offset capability for forward/backward display
Session VWAP (Volume Weighted Average Price)
Automatically resets at the start of each trading session:
Calculates true volume-weighted average price
Resets daily to provide fresh reference levels
Customizable source input (default: HLC3)
Adjustable line appearance (color and width)
Can be toggled on/off as needed
4-State MACD Background System
This is the unique feature of this indicator. The chart background dynamically changes based on MACD momentum analysis, providing instant visual feedback on trend strength and direction:
🟢 Strong Bullish (Bright Green)
MACD line is above signal line
Histogram is growing (momentum accelerating upward)
Indicates strong upward momentum
🟢 Weak Bullish (Pale Green)
MACD line is above signal line
Histogram is shrinking (momentum decelerating)
Early warning signal that uptrend may be weakening
🔴 Strong Bearish (Bright Red)
MACD line is below signal line
Histogram is falling (momentum accelerating downward)
Indicates strong downward momentum
🔴 Weak Bearish (Pale Red)
MACD line is below signal line
Histogram is rising (momentum decelerating)
Early warning signal that downtrend may be weakening
🎯 HOW TO USE
For Trend Trading:
Strong colored backgrounds indicate confirmed momentum in that direction - consider staying with the trend
Weak colored backgrounds signal potential momentum exhaustion - watch for possible reversals
Use VWAP as a dynamic support/resistance level
Bollinger Band breakouts combined with strong MACD backgrounds can confirm trend strength
Price above VWAP + strong bullish background = bullish bias
Price below VWAP + strong bearish background = bearish bias
For Mean Reversion:
Price touching upper/lower Bollinger Bands with weak MACD background may suggest potential reversal
VWAP acts as a mean reversion anchor during range-bound sessions
Background color shifts from strong to weak often precede price direction changes
Look for price return to VWAP when extended beyond bands with weakening momentum
Signal Confirmation:
Strongest signals occur when multiple indicators align:
BB breakout + MACD strong color + price above/below VWAP
Price rejection at BB bands + MACD color weakening
VWAP support/resistance hold + MACD color change
⚙️ SETTINGS
All components are fully customizable through organized input groups:
Bollinger Bands Group:
Period length
Moving average type (SMA/EMA/SMMA/WMA/VWMA)
Source (close/open/high/low/etc.)
Standard deviation multiplier
Offset
VWAP Group:
Toggle show/hide
Source calculation method
Line color
Line width
MACD Group:
Toggle background on/off
Fast length (default: 12)
Slow length (default: 26)
Signal length (default: 9)
Source
Four separate color settings for each momentum state
All colors include transparency controls
💡 EDUCATIONAL VALUE
This indicator teaches important concepts:
How volatility (Bollinger Bands) relates to price movement
The importance of volume-weighted pricing (VWAP)
Momentum analysis through MACD
How combining multiple timeframes and indicators can provide confluence
The difference between trend strength and trend direction
⚠️ IMPORTANT NOTES
This indicator is for educational and informational purposes only
No indicator is perfect - always use proper risk management
Past performance does not guarantee future results
Combine with your own analysis and risk tolerance
Test thoroughly on historical data before live trading
This is not financial advice - use at your own risk
🔧 TECHNICAL DETAILS
Pine Script Version 6
Overlay indicator (displays on price chart)
All calculations use standard, well-documented formulas
Minimal lag due to efficient coding
Compatible with all timeframes and instruments
No repainting - all signals are confirmed on bar close
📝 CHANGELOG
Version 1.0
Initial release
Bollinger Bands with multiple MA types
Session VWAP with daily reset
4-state MACD background system
Full customization options
Developed for traders who want multiple confirmation signals in a clean, organized format without cluttering their charts with separate indicator panels.
Exhaustion IndicatorThe ScalpSQZ indicator is designed to identify four critical market states using volatility structure, momentum behavior, and exhaustion conditions. It enhances scalping precision by visually marking transitions between consolidation, squeeze conditions, and momentum reversals through color-coded candles.
1. Squeeze Conditions (Orange Candles)
Orange candles highlight volatility compression, detected when Bollinger Bands contract inside the Keltner Channels. This structure signals that market volatility is tightening and a significant expansion move is likely to follow. The squeeze represents a pre-breakout environment and serves as the earliest warning of a potential directional shift.
2. Consolidation Conditions (Yellow Candles)
Yellow candles identify phases of low directional momentum. These conditions occur when RSI remains near neutral values, MACD histogram activity is minimal, and the Rate of Change stays muted. This combination indicates that the market is balanced and non-trending, often preceding a volatility spike or a new trend. Consolidation helps traders avoid low-probability entries during indecisive price action.
3. Momentum Exhaustion — Overbought Fade (White Candles)
White candles signal potential top-side exhaustion. This occurs when RSI enters overbought territory while the MACD histogram begins to weaken compared to the previous bar. This condition does not necessarily call a reversal but warns that bullish momentum is deteriorating and upside continuation may be limited. It is particularly useful for identifying trend fatigue and tightening stop-loss placement.
4. Momentum Exhaustion — Oversold Fade (Purple Candles)
Purple candles identify bottom-side exhaustion and appear when RSI reaches oversold levels, MACD momentum begins improving, and the current close shows buyer defense relative to the previous low. This condition suggests selling pressure is diminishing and a potential reversal or relief bounce may be forming. Purple candles serve as an early indication of bearish trend exhaustion.
Color Priority System
The indicator follows a fixed hierarchy to ensure clarity:
Squeeze (orange) has the highest priority, followed by consolidation (yellow). Exhaustion signals (white for tops, purple for bottoms) apply only when no squeeze or consolidation conditions are active. This structure ensures that the most critical market states are always highlighted first.
Purpose and Application
ScalpSQZ helps traders identify optimal environments for breakouts, anticipate trend exhaustion, and avoid low-quality trades during choppy or low-momentum conditions. It is suitable for scalping, day trading, and swing trading across any asset class or timeframe.
FluxPulse Momentum [JOAT]FluxPulse Momentum - Adaptive Multi-Component Oscillator
FluxPulse Momentum is a composite oscillator that blends three distinct momentum components into a single, smoothed signal line. Rather than relying on a single indicator, it synthesizes adaptive RSI, normalized rate of change, and a Kaufman-style efficiency ratio to provide a multi-dimensional view of momentum.
What This Indicator Does
Combines RSI, Rate of Change (ROC), and Efficiency Ratio into one weighted composite
Applies EMA smoothing to reduce noise while preserving responsiveness
Displays overbought/oversold zones with optional background highlighting
Generates buy/sell signals when the oscillator crosses its signal line in favorable zones
Provides a real-time dashboard showing current state, momentum direction, and efficiency
Core Components
Adaptive RSI (50% weight) — Standard RSI calculation normalized around the 50 level
Normalized ROC (30% weight) — Rate of change scaled relative to its recent maximum range
Efficiency Ratio (20% weight) — Measures directional movement efficiency, inspired by Kaufman's adaptive concepts
The final composite is smoothed twice using EMA to create both a fast line and a signal line.
Signal Logic
// Buy signal: crossover in lower half
buySignal = ta.crossover(qmo, qmoSmooth) and qmo < 50
// Sell signal: crossunder in upper half
sellSignal = ta.crossunder(qmo, qmoSmooth) and qmo > 50
Signals are generated only when the oscillator is positioned favorably—buy signals occur below the 50 midline, sell signals occur above it.
Dashboard Information
The on-chart table displays:
Current oscillator value with gradient coloring
Momentum state (Overbought, Oversold, Bullish, Bearish, Neutral)
Momentum direction and acceleration
Efficiency ratio percentage
Active signal status
Inputs Overview
RSI Length — Period for RSI calculation (default: 14)
ROC Length — Period for rate of change (default: 10)
Smoothing Length — EMA smoothing period (default: 3)
Overbought/Oversold Levels — Threshold levels for zone detection
Await Bar Confirmation — Wait for bar close before triggering alerts
How to Use It
Watch for crossovers between the main line and signal line
Use overbought/oversold zones to identify potential reversal areas
Monitor the histogram for momentum acceleration or deceleration
Combine with price action analysis for confirmation
Alerts
Buy Signal — Bullish crossover in the lower zone
Sell Signal — Bearish crossunder in the upper zone
Overbought/Oversold Crosses — Level threshold crossings
This indicator is provided for educational purposes. It does not constitute financial advice. Always conduct your own analysis before making trading decisions.
— Made with passion by officialjackofalltrades
RSI Swing Indicator (Win-Rate + Forecast Line + Range Row)What the script does:
It’s essentially an enhanced RSI tool that doesn’t just show the raw RSI line. Instead, it adds forecasting, trade statistics, and range detection so you can see how reliable RSI signals have been historically and what they might mean going forward.
The main components
RSI Calculation
- Uses your chosen source (close, hl2, etc.) and length (default 7).
- Plots the RSI line (orange).
Forecasting
- Projects RSI into the future using slope extrapolation.
- Plots a forecast line (blue) and shows whether RSI is likely to become overbought, oversold, or stay neutral.
Trade Statistics
- Tracks how many long and short trades would have been profitable based on RSI bias.
- Calculates Win‑Rate (percentage of profitable trades) and Average Return (average gain/loss per trade).
- This gives you a statistical edge: are longs or shorts historically working better?
Bias & Conflict Detection
- Defines current bias (Bullish, Bearish, Neutral).
- Flags Conflict when the forecast disagrees with the current bias (e.g., RSI bullish now but forecast bearish).
- Helps you avoid trading against weakening momentum.
Range Detection
- Checks if RSI slope is flat and values are between mid‑bounds (40–60).
- Calculates Range Probability (how often range conditions occur).
- Adds a Range row to the table so you know when the market is likely sideways instead of trending.
Table Display
- Summarizes everything in a neat table: Forecast, Win‑Rates, Avg Returns, Prob Bias, Conflict, Range Prob, and Range status.
- Color‑coded so you can instantly see what’s favorable (green), risky (red), or neutral (yellow/orange).
How to use it
- Trend trading: Look for Profitable Bias with forecast alignment.
- Range trading: When both win‑rates are weak and Range row says Range Likely, fade extremes (buy low RSI, sell high RSI).
- Risk management: Avoid trades when Conflict is flagged.
- Forecasting: Use the projected RSI to anticipate overbought/oversold zones before they happen.
In short:
The script is like a “smart RSI dashboard”. It takes the basic RSI, adds forecasting, tracks how well past trades worked, and tells you whether the market is trending or ranging. This way, you’re not just reacting to RSI — you’re trading with context, probabilities, and forward‑looking signals.
PEG RSI [Auto EPS Growth]The PEG RSI is a hybrid indicator that combines fundamental valuation with technical momentum. It applies the Relative Strength Index (RSI) directly to the Price/Earnings-to-Growth (PEG) Ratio.
Unlike traditional PEG indicators that require manual input for growth rates, this script automatically calculates the Compound Annual Growth Rate (CAGR) of Earnings Per Share (EPS) based on historical data.
Key Features
- Auto-Calculated Growth: Uses historical TTM Earnings Per Share (EPS) to calculate the CAGR over a user-defined period (Default: 4 years).
- Dynamic Valuation: Converts the static PEG ratio into an oscillator (RSI) to identify relative valuation extremes.
- Trend & Momentum: Visualizes the momentum of the PEG ratio relative to its own history.
Educational Case Study
This indicator is designed for educational purposes and research. Instead of relying on fixed overbought or oversold levels, users are encouraged to study the correlation between the PEG RSI and price action independently.
- Observe how the price reacts when the PEG RSI reaches upper or lower extremes.
- Different stocks may respect different RSI zones based on their growth stability.
- Use this tool to analyze how market valuation momentum shifts over time.
Settings:
- Years for CAGR Growth: Timeframe to calculate EPS growth (Default: 4 years).
- RSI Length: Lookback period for the RSI calculation (Default: 14).
Note: This indicator works best on stocks with a consistent history of earnings. It requires financial data to function (will not work on assets without EPS like Crypto or Forex).
Squeeze Momentum OmniViewSqueeze Momentum OmniView+ is an enhanced and modernized version of the classic Squeeze Momentum Indicator by LazyBear, rebuilt from the ground up in Pine Script v6.
This upgraded edition introduces OmniView color-mapping, adaptive histogram scaling, extreme detection, heat-zone alerts, and dynamic fire/ice icons, all fully synchronized with your selected visualization mode.
Key Features
1. OmniView Color Engine (Exact Price-State Matching)
Reproduces the full OmniView color logic (aqua → yellow → red), tracking market compression, expansion, and directional strength using a seamless multi-gradient system.
2. Dual Histogram Modes
Choose how the histogram is normalized:
Price-State Mode: Colors reflect price position within its recent range.
Self-Normalized Mode: Colors adapt to the histogram’s own momentum curve.
Both modes automatically adjust alerts, extremes, and icons.
3. Enhanced Squeeze Logic
The script includes the classic squeeze states (ON / OFF / Neutral) with clean visual dots and improved logic for precise state transitions.
4. Adaptive Extreme Detection (Upper & Lower Extremes)
Detects when price or momentum sets new highs/lows according to the active mode.
Automatically draws 🔥 fire labels near upper extremes and ❄️ ice labels near lower extremes, with:
Adaptive or fixed offsets
Customizable sizes
Optional dimming on momentum fade
Icon colors matching the histogram
5. Full Alert Suite
Includes alerts for:
New Upper / Lower Extremes
Heat-Zone Crossings (25%, 50%, 75%)
Momentum Turning Up / Down
Zero-Line Crossovers
Squeeze ON / OFF
All alert conditions adapt dynamically to the mode selected.
6. Clean, modern, and fully customizable
Every visual element—colors, transparency, icon sizing, offsets, squeeze dots, fades—can be adjusted from the settings panel.
What This Indicator Helps You See
Momentum acceleration and deceleration
Market compression/expansion phases
Heat levels in the current price context
Momentum extremes that often signal turning points
Trend continuation or exhaustion patterns
High-precision squeeze entries with visual clarity
Designed For
Traders looking for a more intelligent version of Squeeze Momentum with:
Better visual clarity
Stronger adaptive behavior
More actionable alerts
More information per bar without clutter
A special thanks to LazyBear, the original author of the Squeeze Momentum engine.
This script is not affiliated with or endorsed by him, but it extends his outstanding contribution to the TradingView community.
MACD Momentum Pro MACD Momentum Pro is an enhanced version of the classic MACD designed to help traders identify momentum strength with far greater clarity.
In addition to the traditional MACD line, Signal line, and histogram, this tool introduces two new momentum-intensity alerts:
• Strong Green – bullish momentum accelerating above the zero line
• Strong Red – bearish momentum accelerating below the zero line
These conditions allow traders to quickly spot when market pressure is truly strengthening, reducing noise and improving decision-making in trending environments.
The indicator also includes real-time alerts for:
• MACD/Signal crosses (bullish & bearish)
• MACD zero-line crosses
• Shifts between rising/falling histogram states
All moving averages (EMA or SMA) are fully customizable, and the visual histogram automatically adapts color to reflect momentum transitions.
Whether you are trading breakouts, trend reversals, or momentum continuation setups, this upgraded MACD version provides a clearer, more actionable view of market strength—while keeping the original MACD logic intact.
AKP Momentum TableThe table give at one glance the RSI,ADX and Relative Strength values on the 15 min,125 min, Daily,Weekly and Monthly timeframes to help identify the stocks with strong momentum securities. The Table is movable at various parts of the screen from a drop down menu and the values of RSI,ADX and RS period can also be changes.Enjoy!
CEF (Chaos Theory Regime Oscillator)Chaos Theory Regime Oscillator
This script is open to the community.
What is it?
The CEF (Chaos Entropy Fusion) Oscillator is a next-generation "Regime Analysis" tool designed to replace traditional, static momentum indicators like RSI or MACD. Unlike standard oscillators that only look at price changes, CEF analyzes the "character" of the market using concepts from Chaos Theory and Information Theory.
It combines advanced mathematical engines (Hurst Exponent, Entropy, VHF) to determine whether a price movement is a real trend or just random noise. It uses a novel "Adaptive Normalization" technique to solve scaling problems common in advanced indicators, ensuring the oscillator remains sensitive yet stable across all assets (Crypto, Forex, Stocks).
What It Promises:
Intelligent Filtering: Filters out false signals in sideways (volatile) markets using the Hurst Base to measure trend continuity.
Dynamic Adaptation: Automatically adapts to volatility. Thanks to trend memory, it doesn't get stuck at the top during uptrends or at the bottom during downtrends.
No Repainting: All signals are confirmed at the close of the bar. They don't repaint or disappear.
What It Doesn't Promise:
Magic Wand: It's a powerful analytical tool, not a crystal ball. It determines the regime, but risk management is up to the investor.
Late-Free Holy Grail: It deliberately uses advanced correction algorithms (WMA/SMA) to provide stability and filter out noise. Speed is sacrificed for accuracy.
Which Concepts Are Used for Which Purpose?
CEF is built on proven mathematical concepts while creating a unique "Fusion" mechanism. These are not used in their standard forms, but are remixed to create a consensus engine:
Hurst Exponent: Used to measure the "memory" of the time series. Tells the oscillator whether there is a probability of the trend continuing or reversing to the mean.
Vertical Horizontal Filter (VHF): Determines whether the market is in a trend phase or a congestion phase.
Shannon Entropy: Measures the "irregularity" or "unpredictability" of market data to adjust signal sensitivity.
Adaptive Normalization (Key Innovation): Instead of fixed limits, the oscillator dynamically scales itself based on recent historical performance, solving the "flat line" problem seen in other advanced scripts.
Original Methodology and Community Contribution
This algorithm is a custom synthesis of public domain mathematical theories. The author's unique contribution lies in the "Adaptive Normalization Logic" and the custom weighting of Chaos components to filter momentum.
Why Public Domain? Standard indicators (RSI, MACD) were developed for the markets of the 1970s. Modern markets require modern mathematics. This script is presented to the community to demonstrate how Regime Analysis can improve trading decisions compared to static tools.
What Problems Does It Solve?
Problem 1: The "Stagnant Market" Trap
CEF Solution: While the RSI gives false signals in a sideways market, CEF's Hurst/VHF filter suppresses the signal, essentially making the histogram "off" (or weak) during noise.
Problem 2: The "Overbought" Fallacy
CEF Solution: In a strong trend (Pump/Dump), traditional oscillators get stuck at 100 or 0. CEF uses "Trend Memory" to understand that an overbought price is not a reversal signal but a sign of trend strength, and keeps the signal green/red instead of reversing it prematurely. Problem 3: Visual Confusion
CEF Solution: Instead of multiple lines, it presents a single, color-coded histogram featuring only prominent "Smart Circles" at high-probability reversal points.
Automation Ready: Custom Alerts
CEF is designed for both manual trading and automation.
Smart Buy/Sell Circles: Visual signals that only appear when trend filters are aligned with momentum reversals.
Deviation Labels: Automatically detects and labels structural divergences between price and entropy.
Disclaimer: This indicator is for educational purposes only. Past performance does not guarantee future results. Always practice appropriate risk management.






















