Quantum Momentum Wave [Pineify]Quantum Momentum Wave
Quantum Momentum Wave is a signed peak-momentum oscillator paired with a Kaufman-style adaptive filter. Instead of measuring the net change from one point to another, the wave scans the full lookback window and returns the largest absolute price displacement with its original sign. The wave is linearly smoothed and then tracked by an adaptive signal line, so entry markers fire on context-filtered reversals rather than every momentum flip.
Key Features
Signed peak-momentum engine that isolates the strongest move inside the lookback
Linear regression smoothing to tame the step-change behavior of raw peak readings
Adaptive signal line that speeds up when the wave is stretched and slows down in noise
Zone-filtered BUY and SELL markers that only fire when the wave is past zero in the opposite direction
Gradient fill between the wave and zero — bullish above, bearish below
Alerts for reversal setups and for zero-line regime shifts
How It Works
The core function is a QMW scan. On each bar it walks the last Momentum Lookback bars, computes price minus each historical bar, and keeps the comparison that produced the largest absolute change. It returns that value with its original sign. So a -6 reading means the single strongest move inside the window was a 6-unit drop, even if the bar-to-bar change right now is small.
Raw peak readings step when a new candle takes over as the dominant move, so the output is passed through linear regression over the Signal Smoothing length. LR fits a straight line through the recent raw values and returns its endpoint, preserving signed direction while cutting short-term jitter.
The adaptive signal runs a Kaufman-style update on top of the smoothed wave. Its coefficient is the ratio of the wave's absolute value to the sum of its recent absolute one-bar changes. When momentum is clearly extended and directional, the ratio is high and the signal follows quickly. When the wave oscillates near zero, the ratio collapses and the line nearly freezes.
How the Components Work Together
Three layers combine into one output. The peak scan answers how hard has price moved inside the window, not just where it ended. Linear regression answers what is the underlying direction of the peak reading after filtering out one-bar swaps between competing peak bars. The adaptive signal answers when has that direction actually shifted by providing a responsive reference line.
Entries layer a location filter on top. A crossover only qualifies when the wave is on the opposite side of zero — buys look for the wave turning up while stretched below zero, sells for the wave rolling over while stretched above it. Crosses near the midline are ignored because they tend to be low-conviction flips without prior displacement, so the setup is biased toward reversals from extended states rather than trend-chasing entries.
Trading Ideas and Insights
BUY triangles below zero can flag exhaustion of a downside push and a possible rotation back toward the mean
SELL triangles above zero can flag fading upside strength after an extended rally
Zero-line crosses act as broader regime markers; alerts on those can frame intraday bias
During strong trends the wave may stay on one side of zero for many bars. Counter-trend BUY or SELL labels in that state often need extra confirmation from price structure or higher-timeframe context
Signals are context aids, not standalone trade instructions. Past reactions at these conditions do not guarantee future ones.
Unique Aspects
The momentum calculation returns the peak signed displacement within the lookback, not a simple close-minus-close value. The reading stays elevated while the dominant move is still inside the window, which tracks the strongest displacement in memory rather than just endpoint delta
The adaptive signal uses a non-standard variation of Kaufman's efficiency ratio — absolute wave value divided by total absolute wave travel — tuned for oscillator input rather than raw price
Entry markers require both a crossover and a zone match. No label prints for a crossover that happens in the neutral zone around zero, which filters out the weakest setups
How to Use
Add the indicator to the chart and start with the defaults. The thicker line is the Quantum Wave; the fainter line is the Adaptive Signal
Read the wave color and the gradient fill to see which side of zero the wave is on and how stretched it is
Watch for BUY triangles when the wave is clearly below zero and turning up through the signal line
Watch for SELL triangles when the wave is clearly above zero and turning down through the signal line
Configure alerts for buy, sell, or zero-cross conditions if you want notifications outside the chart
Customization
Source Data (default: close) — Price series used for the peak momentum scan
Momentum Lookback (default: 14) — Window size for the peak displacement scan. Higher values capture broader swings; lower values react faster
Signal Smoothing (default: 9) — Linear regression length applied to the raw wave. Higher values produce a cleaner line with more lag
Bullish Color / Bearish Color — Wave color in positive and negative territory, and the BUY/SELL marker colors
Adaptive Signal Color — Color of the adaptive reference line; a subtle contrast against the wave usually reads cleanest
Limitations
Linear regression smoothing introduces a small amount of lag. On fast reversals the wave can reach the crossover a few bars after price has already moved
Because the adaptive ratio uses the wave's own value, very small wave readings near zero make the signal line nearly freeze. This is deliberate but means the reference reacts slowly while momentum is mild
Mean-reversion style BUY and SELL labels can occur repeatedly during strong trends. Pair them with price structure or higher-timeframe bias instead of using them in isolation
Conclusion
Quantum Momentum Wave is for traders who want an oscillator that reflects the strongest recent move rather than the endpoint delta. Its value comes from the combination of peak-momentum measurement, linear regression smoothing, and an adaptive reference line that only produces labels when the wave is both stretched past zero and visibly turning back. Indicator

Squeeze Momentum Indicator [AGPro Series]Squeeze Momentum Indicator
🔷 OVERVIEW
Squeeze Momentum Indicator is a lower-pane volatility and momentum engine built for traders who want more structure than the classic squeeze workflow usually provides.
At its core, the script studies a very specific sequence in market behavior:
volatility compression,
compression release,
directional pressure after release,
and whether that pressure is strengthening, fading, or slipping back toward balance.
Most squeeze-style indicators stop at a simple yes/no squeeze condition and a basic momentum histogram around the zero line. This script is designed to go further without becoming noisy. It keeps the familiar Bollinger Band vs Keltner Channel compression logic that many traders already understand, but it rebuilds the momentum side around a different internal model so the post-squeeze move can be judged with more nuance.
The result is a more structured answer to an important practical question:
when volatility finally expands, is the move actually carrying useful directional pressure, or is it only a shallow release that may lose energy quickly?
🔷 WHAT THIS SCRIPT DOES
This indicator combines four layers into one compact oscillator workflow:
1. Volatility compression detection
It identifies squeeze conditions using Bollinger Band and Keltner Channel relationship logic.
2. Compression depth tracking
It does not only ask whether a squeeze exists. It also tracks how tightly the Bollinger envelope sits inside the Keltner envelope, which helps frame how compressed the market really is.
3. ATR-normalized momentum pressure
Instead of using the classic legacy-style squeeze momentum formula, this script blends:
- displacement from equilibrium
- directional velocity of that equilibrium
- path efficiency of recent price travel
This creates a momentum engine that is designed to evaluate the quality of directional pressure after release, not just whether a histogram is above or below zero.
4. Adaptive expansion / fade context
The script builds dynamic balance and burst zones around momentum, then classifies whether price is:
- compressing
- releasing with bullish pressure
- releasing with bearish pressure
- continuing directionally
- fading after an elevated move
- rotating back toward balance
This makes the tool especially useful for traders who want squeeze timing, but do not want to treat every release as equally meaningful.
🔷 WHAT MAKES THIS DIFFERENT FROM MOST SQUEEZE INDICATORS
The squeeze concept is widely known, but many public versions still revolve around the same structure:
a binary compression state and a very simple momentum histogram.
This script is intentionally different in several ways:
• It treats squeeze as a volatility gate, not as the full identity of the indicator.
• It uses an original blended momentum model rather than reusing the standard linear-regression style momentum formula associated with many older versions.
• It adds adaptive momentum zones so the oscillator can distinguish between ordinary movement and higher-energy expansion.
• It marks not only burst phases, but also momentum fade phases, which helps separate continuation pressure from cooling pressure.
• It includes restrained release labels, release boxes, and a compact information panel so the visual output stays premium and readable instead of overloaded.
In short, this script is not trying to be another cosmetic variation of an old squeeze formula.
Its objective is narrower and more analytical:
measure the quality of post-compression directional pressure in a clean lower-pane environment.
🔷 HOW THIS SCRIPT IS DIFFERENT FROM OTHER AGPRO TOOLS
This part matters because originality and role separation inside a script catalog are important.
Within the AGPro Series, this indicator is intentionally separate from nearby concepts:
• AG Pro Bollinger Bands Squeeze Map
That script is an on-chart volatility regime map built to show how compression and release behave directly on price.
This script is different.
It is a dedicated lower-pane momentum-quality engine focused on what happens after compression begins to resolve.
• AG Pro ROC Momentum Shift Map
That script studies momentum regime transitions through ROC behavior.
It is a broader momentum-state classifier.
This script is narrower by design and specifically anchored to squeeze-release behavior.
• AG Pro Structural Momentum Oscillator
That script evaluates momentum through internal price structure and bar behavior.
This script does not try to read momentum that way.
Its purpose is to organize volatility compression and post-compression expansion into a squeeze-specific workflow.
That distinction is central to this release:
this is not a re-labeled overlap script.
It is a purpose-built squeeze momentum tool with its own logic, its own visual model, and its own analytical role.
🔷 HOW THE ENGINE WORKS
The script begins with a standard compression framework:
- Bollinger Bands define the volatility envelope.
- Keltner Channels define the containment envelope.
- When the Bollinger structure contracts inside the Keltner structure, squeeze conditions are present.
From there, the script moves into a separate momentum model.
Instead of relying on one traditional oscillator formula, the engine blends three components:
1. Displacement from equilibrium
Measures how far price has moved from its equilibrium anchor relative to ATR.
2. Equilibrium velocity
Measures whether that equilibrium is moving directionally and how quickly.
3. Path efficiency
Measures how efficiently price has traveled over the selected lookback instead of simply how far it moved.
Those three components are blended into a normalized momentum-pressure read, then smoothed for cleaner interpretation.
The script then builds two adaptive internal thresholds:
- a balance band
- a burst band
These dynamic bands help classify whether momentum is:
- quiet / balanced
- directional but ordinary
- strong enough to qualify as a burst
- elevated but beginning to fade
This adaptive structure matters because a fixed threshold often reads very differently across symbols, volatility regimes, and timeframes.
🔷 VISUAL DESIGN
The visual design is built around premium clarity rather than signal overload.
The pane includes:
• A momentum histogram with four directional states
- bullish expansion strengthening
- bullish pressure fading
- bearish expansion strengthening
- bearish pressure fading
• Adaptive upper and lower momentum zones
These show where momentum is operating in balance versus expansion territory.
• Squeeze markers on the zero line
These quickly show whether volatility is still compressed or has just released.
• Optional release boxes
These create rectangular burst zones that make active expansion phases easier to scan visually.
• Restrained release / fade labels
Labels are intentionally filtered and spaced so the chart remains informative without looking crowded.
• AG Pro information panel
The panel summarizes squeeze state, phase, bias, momentum, energy, and current signal context.
The goal is to keep the script visually rich, but still clean enough for repeated real-world use.
🔷 HOW TO READ IT
A practical way to interpret the script:
• Squeeze ON
Volatility is compressed.
This is preparation, not directional confirmation.
• Bull Burst / Bear Burst
Compression has released and momentum has cleared the adaptive balance zone with directional pressure.
This is the main transition event in the workflow.
• Bull Drive / Bear Drive
The market is still carrying directional pressure after release.
• Bull Fade / Bear Fade
Momentum remains elevated, but acceleration is cooling.
This does not automatically mean reversal.
It means the move is no longer improving in quality.
• Balance
The market is not in an active burst condition and momentum is closer to neutral internal behavior.
This makes the script useful not only for timing expansion, but also for judging whether that expansion is still healthy or beginning to lose structure.
🔷 WHO THIS MAY BE USEFUL FOR
This script may be useful for traders who want to:
- track volatility compression and release in a dedicated oscillator pane
- filter squeeze releases by actual momentum quality
- distinguish stronger directional expansion from weaker post-release drift
- pair volatility timing with structure, trend, VWAP, or support/resistance analysis
- reduce overreaction to every simple zero-line shift
- organize post-squeeze behavior more cleanly in discretionary workflows
It is especially suitable for users who like the squeeze concept, but want more context than a traditional dot-plus-histogram implementation.
🔷 KEY INPUTS
Core settings include:
- BB Length
- BB StdDev
- KC Length
- KC ATR Multiplier
- True Range toggle for Keltner construction
Momentum settings include:
- Equilibrium Length
- Velocity Length
- Momentum Smoothing
- Adaptive Band Length
- Burst Band Multiplier
Visual and workflow settings include:
- Adaptive momentum zones
- Signal line
- Histogram width
- Release boxes
- Release box persistence
- Label spacing
- Label size
- Panel position
- Theme
- Panel font size
This gives users enough control to adapt the script to different symbols and timeframes without turning the interface into a settings overload.
🔷 LIMITATIONS AND TRANSPARENCY
This indicator is a chart-analysis tool.
It is not a guarantee of breakout continuation, not a prediction engine, and not a substitute for trade planning or risk management.
A few important points should be kept in mind:
- A squeeze can resolve in either direction.
- A valid release can still fail.
- Strong momentum can cool without immediately reversing.
- Some instruments will produce noisier momentum behavior than others.
- Settings may need adjustment depending on timeframe, volatility regime, and instrument structure.
The script is best treated as a decision-support layer for reading volatility expansion and momentum quality more clearly.
It is not presented as a standalone trading system.
🔷 IN ONE SENTENCE
Squeeze Momentum Indicator is designed to show not only when volatility is ready to move, but whether the actual post-squeeze move is carrying enough directional pressure, quality, and persistence to deserve attention. Indicator

Prism Strategy## Prism Strategy: Multi-Dimensional Trend & Structural Flow
**Prism Strategy** is a high-precision trend-following and momentum execution engine designed to capture institutional-grade moves while providing a comprehensive structural analysis of the market. It integrates a dynamic EMA Ribbon, RSI momentum filtering, automated Fibonacci levels, and a proprietary "Structural Wall" logic to determine the most logical points for entry and risk management.
### 1. Trend Identification (The EMA Ribbon)
The strategy utilizes a 12-layer EMA Ribbon to identify trend alignment.
* **Short-Term Stack:** 3, 5, 8, 10, 12, 15 EMAs.
* **Long-Term Stack:** 30, 35, 40, 45, 50, 60 EMAs.
A signal is only considered valid when the ribbon is in a **Full Stack** configuration (perfectly ordered from fastest to slowest), ensuring the trend is established across multiple time-cycles.
### 2. Momentum Filtering
To prevent "whipsaws" in low-volatility environments, the strategy incorporates **RSI (14)**.
* **Long Positions:** Require RSI > 50.
* **Short Positions:** Require RSI < 50.
This ensures that the price is not just trending, but moving with sufficient velocity.
### 3. The "Structural Wall" Logic
One of the most advanced features of this strategy is the **Structural Wall Analysis**. The algorithm identifies the strongest confluence between:
* **Dynamic Support/Resistance:** The Base EMA (12).
* **Static Support/Resistance:** Auto-calculated Fibonacci Retracement levels (0.0 to 1.618).
The "Wall" is formed by selecting the maximum (for Longs) or minimum (for Shorts) of these two values, creating a "Hard Floor/Ceiling" that acts as the primary anchor for the trailing stop.
### 4. Dynamic Risk Management (ATR-Based)
* **Stop Loss & Take Profit:** Initial levels are calculated using **ATR (Average True Range)** multiplied by a user-defined factor (default 1.5x for stops and a 2.0 RR ratio).
* **Intelligent Trailing Stop:** The strategy tracks the "Structural Wall" and updates the stop loss in real-time. It only moves in the direction of the trade (up for long, down for short) to lock in profits while giving the price enough room to breathe based on current volatility.
### 5. Integrated Execution Dashboard
The built-in UI provides real-time data for professional monitoring:
* **System Mode:** Displays current trend bias (Bullish/Bearish/Neutral).
* **Entry Advice:** An AI-driven logic that evaluates if the current price is "Ideal," "Overextended," or if the "Risk > Reward" is currently unfavorable for new entries.
* **Fibonacci Alerts:** Warns the user when the price is approaching a major Fibonacci level (⚠️ Alert) to prepare for potential reversals or pullbacks.
### 6. Exit Logic
The strategy employs a **Unified Exit Engine** based on three criteria:
1. **Hard Stop/TP:** Triggered if price hits the ATR-based levels.
2. **Structural Violation:** Triggered if the "Trailing Stop" (Structural Wall) is breached.
3. **Trend Break:** Triggered if the EMA Ribbon loses its "Full Stack" alignment, indicating a loss of trend momentum.
---
### **How to Use**
* **Timeframes:** Optimized for trend-rich environments (5m, 15m, 1h, and Daily).
* **Markets:** Effective on liquid assets including Equities, Forex, and Crypto.
* **Entry:** Look for "IDEAL ENTRY" status on the dashboard for the highest probability setups.
---
**Disclaimer:** *Trading involves significant risk. This strategy is an analytical tool and does not guarantee profits. Past performance is not indicative of future results. This is not investment advice; it is for educational purposes only.* Strategy

Parabolic Move Detector [AGPro Series]🚀 Parabolic Move Detector
A dedicated framework for identifying, measuring, and classifying parabolic price acceleration across any asset and any timeframe. Built on a single transparent metric — Parabolic Pace — the tool objectively detects the start bar of a parabolic move, tracks its age, scores its intensity on a 0-100 scale, classifies its lifecycle phase, and contextualizes each move against the asset's own historical parabolic events.
🔹 OVERVIEW
Parabolic moves are notoriously difficult to recognize in real time. By the time they look obvious, the move is already late-stage. Conventional momentum tools (RSI, MACD, standard ROC) measure speed, not the underlying structural character of a parabolic move. They fire constantly on ordinary trends and miss what makes a parabolic move structurally different: the rate at which price is covering ATR-sized distance per bar.
Parabolic Move Detector closes that gap with a single, transparent metric. It measures how many ATRs price has moved per bar over a configurable lookback window. That is the literal mathematical definition of a parabolic move: sustained directional travel at an unusual speed relative to recent volatility. The framework auto-calibrates per timeframe and per asset, so a 15m memecoin pump and a 1D large-cap rally are measured with the same structural definition.
🔹 UNIQUE EDGE
Most acceleration or momentum indicators in the public space fall into two buckets: oscillators with hardcoded thresholds that need retuning per symbol, or composite "trend strength" meters that blur acceleration into raw trend direction. This tool is different in four concrete ways:
1. Single-metric detection engine. The entire detection pipeline is driven by one transparent number: Parabolic Pace = cumulative price move divided by cumulative ATR over the lookback. No percentiles, no hidden regressions, no black-box composite. This makes the tool easy to audit, fast to calibrate, and consistent across assets.
2. ATR-normalized by design. Because pace is expressed in ATRs per bar, it is inherently timeframe-adaptive and asset-adaptive. No need to retune for BTC vs a thin-volume altcoin, or for 15m vs 1W.
3. Four-phase state machine. Each move is classified through a deterministic lifecycle — Accelerating → Peaking → Decelerating → Exhaustion — with explicit transition conditions rather than heuristic labels. This turns a vague concept ("it looks parabolic") into a reproducible state with measurable transitions.
4. Per-asset historical statistics. The tool logs every completed parabolic cycle on the current chart, filters out micro-events, and reports the average duration and average drawdown from peak. That gives structural context no oscillator provides: what has this specific asset actually done the last N times it went parabolic.
🔹 METHODOLOGY
Core detection pipeline:
• Pace is computed as (close − close ) divided by (ATR14 × N), where N is the lookback window. The result is the number of ATRs traveled per bar.
• Pace is lightly smoothed with a short SMA to reduce single-bar noise.
• Detection triggers when smoothed pace exceeds the Pace Threshold and the move is directionally up.
• A minimum-duration filter requires the pace condition to persist for N consecutive bars before confirming the start, eliminating single-bar spikes.
• A post-move cooldown prevents the same move being re-detected as multiple events.
State machine transitions:
• Idle → Accelerating : pace sustained above threshold for the minimum duration.
• Accelerating → Peaking : Acceleration Score drops >20% from its cycle peak while still elevated.
• Any phase → Decelerating : score drops below 40% of cycle peak.
• Decelerating → Exhaustion : pace rolls over below half-threshold, and the move has lived at least 6 bars.
• Exhaustion → Idle : cooldown bars elapsed and score collapsed.
Acceleration Score (0-100) is a direct function of pace: score rises linearly with pace and receives a small persistence bonus for sustained upward momentum, capped at 100.
Historical statistics:
Each time a full cycle closes on the chart, the tool checks whether the move traveled at least the minimum ATRs from start to peak. If it qualifies, duration (start bar to peak bar) and drawdown from move high to subsequent low are averaged into rolling per-asset statistics.
🔹 STATES AND VISUALS
• Parabolic Zone : gradient background across the active move. Color reflects phase (brand blue in Accelerating, indigo in Peaking, amber in Decelerating). Intensity scales with Acceleration Score.
• Parabolic Start label : marks the confirmed start bar of a new move.
• Peaking / Decelerating labels : mark phase transitions. Labels are automatically suppressed within a confluence window to prevent stacking.
• Exhaustion label : marks the bar where the move has structurally collapsed.
• Duration Projection : dotted forward line sized to the asset's historical average parabolic duration, shown only while a move is active.
🔹 KEY INPUTS
Detection group:
• Pace Lookback — window over which parabolic pace is measured.
• Pace Threshold — minimum ATRs-per-bar required to qualify as parabolic.
• Minimum Move Duration — bars of sustained pace required before confirming a start.
• Minimum Event Size — minimum ATR-normalized move size required to log an event in historical statistics.
• Post-Move Cooldown — minimum bars after a completed move before a new one can start.
Historical Stats group:
• Show Duration Projection — toggle the forward projection line.
• Projection Length — forward projection cap in bars.
Visuals group:
• Parabolic Zone Background, Ambient Score Tint, Parabolic Start Label, Exhaustion Warning Label, Phase Transition Labels — all independently toggleable.
Style group:
• Label Size, Panel Size, Help Text Size — default Normal.
• Panel Location — six anchor positions.
• Panel Theme — Dark or Light.
Alerts group:
• Parabolic Start, Peaking Phase Reached, Exhaustion Detected — individually toggleable alerts.
🔹 HOW TO USE
• On any asset and any timeframe, wait for a confirmed Accelerating phase. The Parabolic Start label marks the reference bar.
• Track the Acceleration Score as the move develops. A score climbing toward 60-100 indicates a textbook parabolic.
• Compare Move Age against the panel's Avg Duration statistic. Moves significantly older than the asset's historical average are in late-cycle territory.
• Compare Move Change % against the Avg Reversal statistic for post-move drawdown context.
• Watch for the Peaking transition — this is the first structural deceleration, not a reversal call.
• The Exhaustion state marks where pace has decisively collapsed and the move is structurally over.
• Combine with your existing trend, structure, or volume framework. This tool is designed to complement directional analysis, not replace it.
🔹 LIMITATIONS AND TRANSPARENCY
• The tool detects and classifies acceleration structure. It does not predict reversals, tops, or bottoms. Avg Reversal is a post-cycle statistic computed from completed events on the current chart, not a forward-looking forecast.
• Historical statistics require completed cycles on the chart. Newly loaded symbols with few prior parabolic events will show low sample sizes until more cycles complete.
• The tool confirms a move only after pace has been sustained for the minimum duration. The start label is therefore plotted retroactively on its true start bar, which is the correct academic behavior for a sustained-condition detector.
• All computations are on confirmed bar close logic. No repainting of historical signals once a bar closes.
• The Pace metric requires a valid ATR reading, so at least 14+ bars of history are needed before the tool becomes active on a fresh chart.
🔹 RISK DISCLOSURE
This script is an analytical tool provided for educational and research purposes only. It is not a trading strategy, not financial advice, and does not generate buy or sell recommendations. Trading any market involves substantial risk of loss. All decisions and their consequences are the sole responsibility of the user. Past behavior of parabolic cycles on any asset does not guarantee future behavior.
Indicator

Matrix Market Structure [Institutional Edition]Matrix Market Structure Institutional is a price action analysis tool designed to help users interpret market direction through objective structural behavior.
The script focuses on swing highs, swing lows, break of structure events, and continuation patterns to organize chart movement into a cleaner decision framework.
Instead of relying only on lagging indicators, this tool helps traders observe how price is building, breaking, or transitioning structure over time.
It is intended for users who study trend behavior, directional bias, and structural shifts across multiple markets and timeframes.
Designed with clarity and usability in mind, the script aims to simplify market structure reading without overloading the chart.
This tool may help users with:
Identifying bullish or bearish structure bias
Detecting break of structure (BOS) zones
Reading swing high / swing low formations
Following continuation vs reversal behavior
Supporting trend analysis decisions
Organizing raw price action visually
Suitable for:
Price action traders
Smart money concept users
Swing traders
Intraday traders
Trend traders
Traders seeking cleaner market context
If structure-based chart analysis is part of your trading process, you may also find additional research tools available on this profile worth exploring. Indicator

Indicator

Indicator

Indicator

Indicator

Overbought & Oversold Zones - MTF SignalsOverbought & Oversold Zones - MTF Signals
Overbought & Oversold Zones - MTF Signals is a visual analytical indicator that highlights extreme directional conditions directly on the price chart and across multiple timeframes. Instead of plotting an oscillator line in a separate pane, it paints gradient zones around price during periods of sustained buying or selling pressure, helping traders see exhaustion states at a glance.
The indicator combines a custom Pressure Index calculation with a volatility-adjusted envelope to shape the zones, and a compact multi-timeframe panel that scans the current timeframe plus the three higher ones.
This is a visual analytical tool intended for chart reading and context. It does not execute trades and does not provide financial advice.
Key Features
On-chart gradient zones highlighting overbought and oversold conditions
Zones follow the shape of a dynamic volatility envelope (not rectangles)
Multi-timeframe panel scanning current TF plus three higher TFs
Merged phase logic that groups close-proximity conditions into single zones
Adjustable sensitivity through ten preset levels
Fully customizable colors and optional text labels
Core Concept
The indicator uses a custom Pressure Index model to evaluate how consistently price has been pushing above or below a volatility-adjusted baseline. Unlike traditional oscillators such as RSI (which measures gain/loss ratios) or Stochastic (which measures position within a range), Pressure Index combines two complementary components:
Persistence — how consistently price has stayed above or below a volatility-adjusted baseline over the measurement window, weighted by normalized distance rather than as a binary above/below count
Displacement — how far current price is from that baseline in ATR-normalized units
The baseline adapts to volatility regime: during high-volatility periods the reference band widens to reduce false exhaustion signals, and during calm periods it tightens. Final output is bounded to a 0–100 scale and smoothed with a sensitivity-scaled EMA.
Zone Visualization
When the Pressure Index enters an extreme region, the indicator renders a three-layer gradient zone that follows the shape of the dynamic envelope:
Overbought zones fade downward from the upper envelope into the channel
Oversold zones fade upward from the lower envelope into the channel
Zone thickness scales with ATR so the visual is comparable across markets and timeframes
The gradient has three layers: a dense core band close to the envelope, a middle fade band, and an outer soft fade. This layered approach helps the zones visually surround the candles inside the extreme state rather than appearing as flat bars.
Multi-Timeframe Panel
A compact panel in the top-right corner of the chart displays the Pressure Index across the current timeframe and three higher timeframes (automatically selected from the standard ladder: 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M).
Each row shows:
Timeframe label
Horizontal gauge bar with a position marker
Numeric Pressure Index value (0–100)
State pill indicating Overbought (OB), Oversold (OS), or neutral direction
The panel adapts its higher timeframes to whichever chart timeframe is currently active. The current chart timeframe is marked with a bullet indicator.
Typical Analysis Workflow
A common analytical workflow may include:
Observing gradient zones on the main chart to identify extended conditions
Checking the MTF panel to place the current reading in higher-timeframe context
Evaluating price structure and candle behavior near zone edges
Combining zone information with other forms of analysis and risk management
Configuration
Sensitivity — Controls how quickly the Pressure Index reacts to changes in price pressure. Lower values produce faster, more frequent signals. Higher values produce slower, steadier signals.
Lower settings (1-3) — Faster reactivity, suitable for intraday charts and shorter timeframes
Middle settings (4-6) — Balanced sensitivity, default for most markets and timeframes
Higher settings (7-10) — Slower reactivity, suitable for swing and position-style chart reading
On-Chart Display — Toggles the gradient zones on or off.
Show Text Labels — Toggles "Overbought" and "Oversold" text labels that appear once per merged phase. Can be disabled for a cleaner chart.
Show MTF Panel — Toggles the multi-timeframe panel.
Appearance — Customizable colors for Overbought and Oversold zones, panel text size, and history rendering depth.
Markets and Timeframes
The indicator can be applied across multiple markets and timeframes:
Forex
Stocks and Indices
Commodities
Cryptocurrencies
Because the zone thickness and Pressure Index smoothing are both normalized by ATR and sensitivity presets, the visual behavior remains consistent across different instruments and timeframes without manual re-tuning.
Alerts
Two alert conditions are available:
Overbought Entry — triggers on the first bar a new Overbought state begins
Oversold Entry — triggers on the first bar a new Oversold state begins
Important Notes
This indicator is an analytical visualization tool. It does not execute trades and does not provide financial advice. All outputs are informational and should be interpreted within the context of independent market analysis and proper risk management.
Past behavior of any technical indicator does not guarantee future results.
If you find this indicator useful, feel free to add it to your favorites and share your feedback in the comments. Community feedback helps improve future updates. Indicator

Torque Momentum Oscillator [JOAT]Torque Momentum Oscillator
Introduction
The Torque Momentum Oscillator is a sub-chart composite momentum engine that synthesizes four independent momentum perspectives into a single normalized 0–100 oscillator. Rather than relying on any one momentum calculation, it blends a stochastic-range oscillator, two RSI variants at different cycle lengths, and a Bollinger Band position reading into a weighted composite score — then colors the histogram on a gradient that instantly communicates whether momentum is building or exhausting.
The philosophy behind TMO is that any single momentum indicator can be fooled by choppy markets or unusual price action. When four different momentum frameworks all agree, the composite reading carries genuine conviction. When they diverge, the composite score gravitates toward the midline — a built-in disagreement signal that keeps you from over-committing to a directional bias.
Core Concepts
Component 1 — RSV (Raw Stochastic Value)
The RSV is a stochastic-style reading of where close sits within the highest high and lowest low range over the lookback period, smoothed with an SMA to reduce noise:
float hiRange = ta.highest(high, rsvPeriod)
float loRange = ta.lowest(low, rsvPeriod)
float rsvRaw = safeDiv(close - loRange, hiRange - loRange, 0.5) * 100.0
float rsvLine = ta.sma(rsvRaw, rsvSmooth)
The RSV line is also plotted independently as a fast overlay on the oscillator, giving it a secondary use as a crossover signal generator. When RSV crosses above 20, an Opportunity label fires. When it crosses back below 80, a Risk label fires.
Component 2 — RSI Fast
The standard Wilder RSI at the fast period (default 14) captures short-cycle momentum velocity. It contributes a responsive directional reading without being so short that it becomes noise.
Component 3 — RSI Slow (Blackcat-Style)
The slow RSI uses a blackcat-inspired manual construction: SMA of gains divided by SMA of absolute changes, rather than the standard Wilder smoothing:
float rsiSlowVal = safeDiv(
nz(ta.sma(math.max(close - prevClose, 0.0), rsiSlow), 50.0),
nz(ta.sma(math.abs(close - prevClose), rsiSlow), 1.0),
0.5) * 100.0
This produces a longer-cycle momentum trend bias that is less sensitive to individual candle extremes, creating a smoother counterpart to the fast RSI.
Component 4 — Normalized BB Position
Bollinger Band position tells you where price sits in its statistical envelope:
= ta.bb(close, bbLen, bbMult)
float bbPos = math.max(0.0, math.min(100.0,
safeDiv(close - bbLower, bbUpper - bbLower, 0.5) * 100.0))
At 100 price is at the upper band. At 0 it is at the lower band. At 50 it is exactly at the basis. This adds a volatility-relative momentum reading to the composite.
Weighted Composite Score
All four components are blended using user-configurable weights that are automatically normalized to sum to 1.0:
float wSum = wRsv + wRsiF + wRsiS + wBB
float composite = (rsvLine * (wRsv / wSum) +
rsiFastVal * (wRsiF / wSum) +
rsiSlowVal * (wRsiS / wSum) +
bbPos * (wBB / wSum))
Default weights: RSV 35%, RSI Fast 25%, RSI Slow 25%, BB Position 15%.
Gradient Histogram Coloring
The histogram is colored on a gradient that transitions from full bear red near 0 to transparent near 50, then from transparent bull green near 50 to full bull green near 100. This produces an immediate visual sense of momentum intensity — a faint histogram near midline means indecision, a saturated histogram near the extremes means conviction.
Features
Four-component weighted composite oscillator: RSV + RSI Fast + RSI Slow + BB Position
RSV component double duty: used in composite and plotted as independent fast line
Gradient histogram — color intensity scales with momentum conviction
Overbought (default 75) and oversold (default 25) zones with gradient fills
RSV Opportunity label when RSV crosses above 20 — potential upswing signal
RSV Risk label when RSV crosses below 80 — potential downswing signal
Per-component weight controls — customize the blend to your trading style
Midline reference at 50 and dashed OB/OS lines
Dashboard showing composite, RSV, RSI Fast, RSI Slow, BB position, and last signal
Auto dark/light theme detection
Alerts for Opportunity, Risk, entering Overbought, and entering Oversold
Webhook JSON alert format for automation
Watermark
Input Parameters
Oscillator Settings
RSV Period — lookback for the stochastic range calculation (default 20)
RSV Smoothing — SMA length applied to raw RSV before use (default 3)
RSI Fast Period — short-cycle RSI length (default 14)
RSI Slow Period — long-cycle blackcat-style RSI length (default 24)
BB Period — Bollinger Band lookback (default 20)
BB Multiplier — standard deviation multiplier for BB width (default 2.0)
Composite Weights
RSV Weight — relative weight of the stochastic component (default 0.35)
RSI Fast Weight — relative weight of the fast RSI (default 0.25)
RSI Slow Weight — relative weight of the slow RSI (default 0.25)
BB Position Weight — relative weight of the BB position reading (default 0.15)
Visual Settings
Overbought Level — upper threshold for OB zone and gradient fill (default 75)
Oversold Level — lower threshold for OS zone and gradient fill (default 25)
Show RSV Signals — toggles Opportunity and Risk label markers
Theme — Auto, Dark, or Light
Show Dashboard — compact panel with live component readings
Dashboard Position — four corner options
Show Watermark
Colors
Bull / Opportunity — color for bullish histogram bars and signal labels
Bear / Risk — color for bearish histogram bars and signal labels
RSV Line — color for the fast RSV overlay line
RSI Fast — color for the RSI Fast overlay line
How to Use
Add TMO to your chart below price as a separate sub-pane oscillator.
Watch the composite histogram for directional bias: readings above 50 favor longs, below 50 favor shorts.
Use the OB zone (above 75) and OS zone (below 25) as caution areas — not automatic reversal signals, but places where momentum is stretched and a mean reversion or consolidation becomes more likely.
Use Opportunity labels (RSV crossing above 20) as early warning that the stochastic component is turning up from deeply oversold — look for price confirmation before acting.
Use Risk labels (RSV crossing below 80) as early warning of a potential momentum rollover from overbought.
Check the dashboard to see exactly which components are driving the composite reading. If RSV and RSI Fast are both high but BB Position is low, the composite may not tell the full story.
Adjust the component weights in settings to emphasize the momentum style that best suits your market. For crypto, increasing RSV weight can be effective. For equities, RSI Slow weight can provide a smoother signal.
Indicator Limitations
The composite is a weighted average and can only be as accurate as the components that feed it. In strongly trending markets with low volatility, RSV and BB Position can both hover near extremes for extended periods — the composite will look overbought even when trend continuation is the correct read.
RSV Opportunity and Risk signals are generated by a single component (RSV) and should not be used in isolation as trade entries. They are high-probability turning-point flags that require price action confirmation.
Warmup bars are required before the oscillator becomes reliable. The indicator suppresses output until sufficient history is available.
This is a momentum indicator, not a trend direction indicator. It works best in liquid, active markets and may generate false signals during low-volume chop.
Originality Statement
The Torque Momentum Oscillator is an original Pine Script v6 publication. The architecture of combining RSV (stochastic-range), dual RSI cycles at different periodicities, and normalized Bollinger Band position into a single dynamically-weighted composite is an original design. The blackcat-style SMA-based RSI slow construction is an adapted technique included for its distinct noise characteristics, with full attribution. The gradient histogram coloring, RSV crossover signal system, and dashboard layout are original implementations built specifically for this publication.
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Momentum readings are not predictions of future price direction. Always use proper risk management and never risk more than you can afford to lose.
-Made with passion by jackofalltrades
Indicator

Indicator

DOUBLE MACD[jackieee]Description
This is a double MACD indicator based on the default MACD, designed to help identify both the higher-timeframe trend and the lower-timeframe rhythm at the same time.
The first MACD is recommended to be set to 55, 89, 1, and is used to identify the main trend on the higher timeframe. The second MACD is recommended to be set to 13, 21, 1, and is used to identify pullbacks within the larger trend, or smaller trend movements on the lower level.
In practice, the first MACD can be used to define the overall market direction, while the second MACD helps track whether a pullback is ending and whether a continuation opportunity is forming. This makes it easier to read both the larger trend and the smaller price rhythm within the same framework.
Reminder
please open the indicator style settings and untick the top “plot” line, otherwise an extra price line will appear and may affect chart readability. Indicator

Ultimate Scalping Tool 2.0 [BullByte]Ultimate Scalping Tool 2.0
What This Tool Was Built For
UST 2.0 is a flux oscillator designed to help scalpers and intraday traders read market state more clearly. It sits in the lower pane of your chart and shows you whether the current market environment is trending cleanly, compressing before a move, chopping in a range, or losing momentum after an extension.
The core idea is simple. Four internal measurements feed into one oscillator. Each measurement looks at a different part of market behavior: how cleanly price is traveling, whether momentum is meaningful given current volatility, what volatility itself is doing, and whether participation is building or fading. These four readings are weighted differently depending on what the market is doing right now. During a trend, directional measurements get more weight. During compression, volatility and flow get more weight. During a range, momentum and participation matter most.
The output is displayed as a candle on the oscillator pane. The candle color, the regime label, the confluence histogram, and the structural overlays all update on every bar to give you a current read on conditions. This is not a signal generator. It is a state monitor. You still need to decide when and how to act.
---
Why Version 2.0 Exists Separately
Ultimate Scalping Tool Version 1.0 is still published. It uses a different internal structure and outputs labeled signals like Strong Buy and Pullback Sell. Many traders built their workflows around that approach, and changing it would have broken their setups. Keeping both versions available lets traders choose the workflow that fits how they trade.
Version 2.0 shifts away from signal labels toward market state classification. The four internal measurements are different. The adaptive weighting engine is different. The visual output is different. The confluence scoring, multi-timeframe context, and oscillator-native zones are all new. The two scripts serve related but different purposes, which is why they exist side by side rather than as an update that replaces the first one.
The continuity between them is the Flux State Candle concept. That visualization approach worked well enough in version 1.0 that it became the foundation for how version 2.0 displays its output.
---
One Engine, Not a Collection of Indicators
This is worth addressing directly because it is easy to look at a script that mentions RSI, ATR, and Bollinger Bands and assume it is just wrapping existing indicators together. That is not what is happening here.
RSI does not appear on the chart. ATR does not appear on the chart. Bollinger Bands do not appear on the chart. None of the four internal measurements produce a visible output of their own. They are inputs into a calculation that produces one single output: the Flux Oscillator value. That value is then displayed as a candle.
The reason RSI is used inside the Adaptive Momentum subsystem is not because RSI is a good indicator to show. It is because RSI gives a normalized momentum reading on a known scale, which makes it easier to combine mathematically with the other three measurements on equal footing. The period is not fixed. It changes at runtime based on current volatility, which standard RSI does not do. The output is scaled before it enters the weighting engine. What comes out the other side is not RSI. It is one weighted component of a composite reading.
The same logic applies to ATR inside the Volatility Regime subsystem and to bar-structure calculations inside the Flow Proxy. These are raw materials, not finished products. They feed a pipeline that produces something different from any of them individually.
The four subsystems were chosen because they answer four different questions: is price traveling efficiently, is momentum meaningful right now, is volatility expanding or contracting, and is participation building or fading. Those four questions together give a more complete picture of market state than any one of them alone. That is the design intent, and it is why the adaptive weighting engine matters. Different market conditions make different questions more relevant. The engine adjusts accordingly.
---
The Four Internal Measurements
The oscillator is built on four subsystems. Each one measures something the others do not.
Directional Efficiency looks at how cleanly price is moving. A market that travels 100 points in a straight line has high efficiency. A market that gyrates up and down while netting only 20 points forward has low efficiency. This helps you see whether a trending move is organized or grinding. For scalping, clean efficient moves are easier to work with than choppy grinders.
Adaptive Momentum uses RSI internally but selects the period based on current volatility. When volatility is high, it uses a shorter period to stay responsive. When volatility is low, it uses a longer period to reduce noise. The reading is then adjusted so that momentum in a high-volatility environment is not overstated and momentum in a quiet environment is not understated.
Volatility Regime combines three volatility signals: where ATR sits within its recent range, whether short-window ATR is rising or falling relative to long-window ATR, and where Bollinger Band width sits within its range. Positive values mean volatility is expanding. Negative values mean it is contracting. Deep negative values below -0.20 usually mean the market is compressing hard, which often precedes directional expansion.
Flow Proxy estimates directional participation from bar structure and relative volume. It approximates buying versus selling pressure using close position within range, price velocity weighted by volume, and absorption detection for high-volume bars with small bodies. This is not true order flow because that requires tick data. It is a proxy built from OHLCV data, and it behaves like one.
These four readings are combined using weights that shift based on what the market is doing. You get one oscillator value per bar. That value is displayed as a candle, classified into a regime state, scored for confluence, and optionally blended with a higher-timeframe context reading.
---
How the Regime Classification Works
The script classifies every bar into one of four states: TREND UP, TREND DOWN, COIL, or RANGE.
When efficiency is strong, momentum is aligned, and volatility is not compressing, the regime is TREND . When efficiency is low, volatility is compressing hard, and participation is building, the regime is COIL . When none of those conditions are met, the regime is RANGE .
The regime label appears near the bottom of the pane on the last bar. The background tint changes subtly based on the regime. This classification affects how the four measurements are weighted before they combine into the oscillator value.
---
The Confluence Histogram
The gold histogram at the bottom of the pane shows the confluence score from 0 to 100. The score measures how aligned six independent factors are: regime matches oscillator direction, oscillator magnitude is strong, the four internal measurements agree on direction, the higher timeframe aligns with the current one, flow quality is clean without absorption, and volatility context supports the current structure.
A low score means conditions are mixed or weak. A high score means the environment is organized and several factors are confirming the same picture. The histogram grows taller as the score rises. When the bar is short and dark amber, confluence is low. When the bar is tall and bright gold, confluence is high.
This is useful for filtering. If you are watching for a breakout from a consolidation and confluence is at 80, the setup has more environmental support than the same breakout pattern with confluence at 30. The score does not tell you to enter or exit. It tells you whether the broader conditions are organized or scattered.
---
How to Read the Flux State Candle
The candle is built from the oscillator value, not from price. Green candles mean the oscillator is above its moving average. Red candles mean it is below. Violet candles mean a volume absorption bar was detected , which is a specific condition where high volume produced a small-bodied bar.
The border brightness increases when the oscillator is further from its moving average. A bright border means conviction. A dim border means the reading is close to neutral.
When the candle is consistently green and the cloud below it is stacked with the fast line above the slow line, the oscillator trend is internally aligned in a bullish direction. When the candle flips to red and the cloud inverts, the oscillator trend is bearish. When the cloud is mixed and candles are alternating color frequently, the oscillator is in a transition or range state.
---
Oscillator-Native Zones and Trendlines
The red and green-cyan lines you see on the oscillator pane are support and resistance zones, but they are zones on the oscillator itself, not on price. They mark levels where the oscillator has repeatedly turned. These are built from confirmed pivot highs and lows.
When the oscillator approaches a red resistance zone that has been touched five times, you know the flux reading is approaching a level where it has reversed before. If price is near a key price level at the same time and confluence is high, that convergence can add weight to a reversal setup you are already watching on the price chart.
The cyan and orange trendlines work the same way. They connect confirmed swing points on the oscillator. A cyan ascending trendline from oscillator swing lows tells you the oscillator structure is building higher. An orange descending trendline from oscillator swing highs tells you the oscillator structure is weakening lower. These lines appear after the swing points are confirmed, not before.
All of these structural tools use confirmed pivot logic, which means they appear a few bars after the actual turning point. This is intentional. Unconfirmed pivots fail frequently. Waiting for confirmation removes most of the false starts. When you see a zone or trendline appear or update, it is showing you structure that has been validated by subsequent price action, not structure that might form.
Reading the oscillator structure in practice looks like this.
Two red resistance lines sitting around +25 and +30 on the oscillator, both labelled R MAJO R, tell you that every time flux has pushed up into that band it has been rejected. That ceiling has held six and seven touches respectively. Until flux breaks and closes above those two red lines, the upside is capped on the oscillator. Below there is an S ZONE 3T sitting near -15. That is the floor that has caught the most recent bounce.
On the trendline side, three cyan ascending lines rising from the lower left are bull trendlines built from oscillator swing lows. The lowest at TL 52% is the broadest support. The middle at TL 66% is tighter. The top at TL 74% is the steepest and most recent. If flux bounces off the TL 74% line, that is the most important touch right now. An orange descending line pressing down from above is the bear trendline. When flux is squeezed between a rising cyan trendline and a falling orange trendline, that is a classic wedge compression on the oscillator and it often precedes a directional expansion once one side breaks.
---
Divergence Labels
When the oscillator and price stop agreeing on direction, the divergence engine marks it on the chart.
There are four labels. Each one means something specific.
DIV+ appears below the oscillator at a swing low. It means price made a lower low on the price chart, but the oscillator made a higher low at the same point. The downward move is losing internal support. This is regular bullish divergence and it tends to appear near potential exhaustion of a downward move.
DIV- appears above the oscillator at a swing high. It means price made a higher high on the price chart, but the oscillator made a lower high at the same point. The upward move is losing internal support. This is regular bearish divergence and it tends to appear near potential exhaustion of an upward move.
H+ appears as a small circle at a swing low. It means price made a higher low, a normal pullback in an uptrend, but the oscillator made a lower low. The oscillator dipped deeper than price did. This is hidden bullish divergence. It often appears mid-trend during a pullback and can suggest the trend is likely to continue.
H- appears as a small circle at a swing high. It means price made a lower high, a normal pullback in a downtrend, but the oscillator made a higher high. The oscillator pushed higher than price did. This is hidden bearish divergence. It often appears mid-trend during a bounce and can suggest the downtrend is likely to continue.
All four labels appear a few bars after the actual swing point because the pivot must be confirmed by subsequent bars before the label is placed. When you see a label appear, it is sitting on a past bar where the swing has already been validated. Nothing is marked in advance. The label was not there before, and it will not move or disappear after it appears.
---
How This Fits Into a Price Action Workflow
Here is one example of how the tool can layer into a real trade setup.
You are watching a 5-minute chart. Price has been consolidating in a tight range for the last hour. On the main price chart, you see a clean horizontal level being tested multiple times. That is your setup area. You are waiting for a breakout.
You glance at the oscillator pane. The regime label says COIL. The flux candles are small and alternating color near the zero line. The confluence histogram is rising and just reached 65. VRI in the dashboard shows -0.25, which is hard compression. COFP is positive and building.
This tells you the oscillator agrees with what you are seeing on price: the market is compressing. Volatility is contracting. Participation is starting to build in one direction. Confluence is improving, meaning the internal measurements are starting to agree.
You wait. Price breaks the consolidation upward on increased volume. At the same moment, the flux candle turns bright green with a strong border. The regime label flips to TREND UP. The confluence histogram jumps to 78. The cloud stacks bullish. The dashboard shows all four internal measurements turned positive.
You already know where your entry is from the price chart. The oscillator is not telling you to buy. The oscillator is telling you the conditions support the breakout you are watching. Efficiency turned positive, meaning price is traveling cleanly. Momentum confirmed. Volatility started expanding. Flow is directional. The environment is organized.
You take the trade based on your price-action plan. You manage the trade from price structure. But while you are in the trade, you glance at the oscillator occasionally. If the flux candle stays green and confluence stays high, conditions remain supportive. If the candle turns red and confluence drops, you tighten your management because the internal read is weakening.
A real chart example of what COIL into expansion looks like: Gold on the 3-minute chart shows a full cycle, a base building through the early session, a strong impulsive rally, then a controlled rollover where the oscillator hugs just above zero with the regime label reading COIL. The oscillator has compressed hard after the post-peak selloff, and the cyan ascending bull trendline is now acting as the floor of the oscillator structure. This is the compression phase the tool is designed to identify before the next directional move develops.
---
What This Tool Does Not Do
This script does not tell you where to enter or exit. It does not produce buy and sell signals. The flux candle, the regime label, the confluence score, and the structural overlays all describe conditions, not actions.
The zones and trendlines on the oscillator are not price levels. They are oscillator levels. They tell you where the oscillator has turned before, not where price will turn next.
The HTF oscillator is a simplified version of the current-timeframe calculation. It uses fixed parameters and reduced components for cross-timeframe stability. It is useful for context, but it is not identical to the full engine running on the higher timeframe.
Pivot-based elements appear after confirmation, which means they lag the actual pivot by the confirmation period . This is intentional. The tradeoff is fewer false signals at the cost of slightly delayed information.
Confluence measures environmental alignment, not trade direction. A high score means conditions are organized. A low score means they are not. Neither tells you to buy or sell.
---
Recommended Timeframes and Settings
This tool works best on intraday timeframes from 1 minute to 1 hour. For active scalping, use 1-minute to 5-minute charts with the HTF set to 15 minutes. For slightly slower intraday swings, use 15-minute to 60-minute charts with the HTF set to 4 hours or daily.
The multi-timeframe panel should show timeframes that are meaningfully different from your chart timeframe. If you are on 5 minutes, set the panel to 15 minutes, 60 minutes, and 240 minutes. If the panel shows timeframes that are too close together, the readings will be nearly identical and provide no additional information.
The default settings are balanced for general use. If the oscillator is too noisy, increase the DER length or the AMVS base period. If the oscillator is too slow, decrease them. If zones and trendlines are appearing too frequently, increase the minimum touch requirements. If they are not appearing enough, decrease them.
The adaptive weighting setting should generally stay on unless you have a specific reason to use fixed manual weights. The adaptive behavior is part of how the tool adjusts to different market conditions.
---
Understanding the Limitations
No indicator can predict the future . This tool shows you the current state of several internal measurements and how aligned they are. It does not know what will happen next.
Markets can shift from organized to chaotic in seconds. A high confluence reading can drop to low confluence on the next bar if one of the internal measurements changes direction. That is normal. The tool is reactive, not predictive .
The S/R zones and trendlines are based on past oscillator behavior. Just because the oscillator turned at a zone five times before does not mean it will turn there again. Past structure informs context but does not guarantee repetition.
Divergence suggests momentum quality is changing. It does not guarantee reversal. Many divergences resolve with price continuing in the original direction after a brief pause or consolidation.
Volume absorption detection is based on relative volume and body size. It identifies a specific bar condition but does not tell you how the market will respond to that condition.
---
A Note on Expectations
This script was built to give scalpers and intraday traders more clarity about market state. It was not built to replace chart reading, price action analysis, or trade management discipline.
If you are looking for a tool that tells you exactly when to enter and exit, this is not that tool. If you are looking for a tool that helps you see whether the current environment is organized or messy, whether internal measurements are aligned or conflicting, and whether higher-timeframe context supports or opposes your intended direction, this can help with that.
The best results come when the oscillator is used as confirmation for setups you are already identifying from price structure, not as a standalone signal generator. The flux candle, regime label, confluence score, and structural overlays are all context layers. They work best when layered on top of solid price action principles, not in place of them.
---
Disclaimer
This script is published for educational purposes. Trading involves substantial risk of loss. No indicator or tool can eliminate that risk. Past performance of any indicator does not predict future results. The author is not responsible for any trading decisions made using this script. Always apply your own risk management, test thoroughly on demo or simulation before live use, and never risk more than you can afford to lose.
- BullByte Indicator

Indicator

Equilibrium Momentum Shift + Divegence [BigBeluga]🔵 OVERVIEW
Equilibrium Momentum Shift is a range-based momentum oscillator designed to measure how far price has deviated from its current equilibrium.
Instead of focusing purely on trend direction or overbought/oversold conditions, this indicator evaluates price relative to the midpoint of its recent range and quantifies the strength of the shift away from that balance.
By combining normalized range deviation, smoothing techniques, and nonlinear compression, the indicator provides a clear view of when markets transition from equilibrium into directional momentum, now featuring Normal Divergence detection to spot potential trend reversals.
🔵 CONCEPT
Equilibrium Midpoint — The midpoint between the highest high and lowest low over the selected range length represents the equilibrium price.
Deviation Measurement — The indicator measures how far the current price has moved away from this midpoint.
Range Normalization — Deviations are normalized relative to the size of the current range, allowing the oscillator to remain consistent across different volatility conditions.
Momentum Compression — A hyperbolic tangent function compresses extreme values, stabilizing the oscillator and preventing runaway signals during large trends.
Divergence Identification — Automatically identifies discrepancies between price action and the oscillator to highlight weakening momentum in established trends.
🔵 HOW IT WORKS
1️⃣ Equilibrium Range Calculation
The indicator calculates the highest high and lowest low over the user-defined range length.
The midpoint between these two levels forms the equilibrium line.
This midline represents the center of balance for recent price activity.
2️⃣ Price Deviation Measurement
The distance between the current close and the equilibrium midpoint is calculated.
This deviation is then smoothed using a double EMA structure to reduce noise.
The smoothed value is normalized relative to half of the current range size.
3️⃣ Nonlinear Oscillator Transformation
A hyperbolic tangent function compresses normalized deviations into a stable range between -1 and +1.
This transformation prevents extreme outliers and creates a more interpretable oscillator.
4️⃣ Momentum Histogram
A signal line is generated using EMA smoothing.
The difference between the oscillator and the signal line forms a histogram.
The histogram behaves similarly to a MACD-style momentum indicator:
Expanding bars indicate strengthening momentum.
Contracting bars indicate weakening momentum.
5️⃣ Normal Divergence Logic
Bullish Divergence: Occurs when price makes a Lower Low , but the Equilibrium Oscillator makes a Higher Low . This suggests that despite the price drop, the selling pressure relative to equilibrium is fading.
Bearish Divergence: Occurs when price makes a Higher High , but the Equilibrium Oscillator makes a Lower High . This indicates that the buyers' ability to push price away from the midpoint is losing strength.
🔵 KEY FEATURES
Equilibrium midpoint plotted directly on the chart.
Range-normalized momentum oscillator.
Hyperbolic tangent compression to stabilize signals.
MACD-style histogram for momentum acceleration detection.
Automatic Normal Divergence labels to spot exhaustion.
Gradient-colored oscillator line reflecting directional bias.
Dashboard displaying real-time momentum metrics.
🔵 DASHBOARD METRICS
Shift — Current oscillator value showing how far price has moved from equilibrium.
State — Market regime derived from oscillator thresholds:
Bullish
Bearish
Neutral
Range Position — Location of price inside the current range expressed as a percentage.
Pressure — Magnitude of momentum deviation from equilibrium.
🔵 HOW TO USE
Use the equilibrium midline as a dynamic balance reference.
When the oscillator moves above zero, bullish momentum dominates.
When the oscillator moves below zero, bearish momentum dominates.
Trading Divergences: Watch for divergence labels when price is at historical range extremes. A bullish divergence near the "Lowest Low" of the range suggests a high-probability mean-reversion trade back toward equilibrium.
Histogram expansions highlight momentum acceleration.
Histogram contraction can signal potential momentum exhaustion.
🔵 INTERPRETING MOMENTUM SHIFTS
Oscillator near zero → Market is balanced around equilibrium.
Oscillator above 0.2 → Bullish momentum phase.
Oscillator below -0.2 → Bearish momentum phase.
Divergence Label + Oscillator Flatline → High probability of a trend reversal or deep pullback.
Rapid oscillator expansion → Strong directional pressure.
Oscillator flattening → Momentum compression or consolidation.
🔵 CONCLUSION
Equilibrium Momentum Shift offers a structured way to analyze how price behaves relative to its recent balance point.
By measuring normalized deviations from equilibrium and visualizing momentum shifts with a smoothed oscillator, histogram, and integrated divergence analysis , the indicator helps traders identify when markets transition from balance into directional movement.
This makes it especially useful for spotting early momentum expansions, trend continuation signals, and potential exhaustion points where price is likely to snap back to its equilibrium midpoint. Indicator

RSI Confluence Matrix**RSI Confluence Matrix**
A structured, multi-layer confirmation indicator designed to identify high-probability trade setups by combining momentum, exhaustion, and higher timeframe trend alignment.
---
### 🔍 Core Concept
This tool is built around a simple idea:
> **Trades are only valid when momentum shift aligns with broader trend direction.**
Instead of relying on a single signal, the RSI Confluence Matrix stacks three independent conditions:
---
### ⚙️ How It Works
**1. RSI Exhaustion (Setup Phase)**
* Detects when RSI reaches extreme levels:
* Below 30 (oversold)
* Above 70 (overbought)
* Requires this condition to occur **twice**, filtering out weak or premature signals.
**2. Momentum Shift (Trigger Phase)**
* Confirms direction using the RSI 50 level:
* Cross above 50 → bullish shift
* Cross below 50 → bearish shift
**3. Multi-Timeframe Trend Alignment (Filter Phase)**
* Tracks price position relative to the **EMA 200** across:
* 4H, 2H, 1H, 45M, 30M, 15M
* Each timeframe is classified as:
* **Green** → price above EMA 200
* **Red** → price below EMA 200
A valid trade requires **at least 5 timeframes aligned** in the same direction.
---
### 🟢 Signal Conditions
**BUY Setup**
* RSI crosses below 30 twice
* RSI crosses above 50
* At least 5 timeframes above EMA 200 (Green)
**SELL Setup**
* RSI crosses above 70 twice
* RSI crosses below 50
* At least 5 timeframes below EMA 200 (Red)
---
### 📊 Table Overview
The built-in matrix displays real-time trend alignment:
* Each column represents a timeframe
* Color-coded bias (Green / Red)
* Final column shows dominant direction:
* Majority Green → Bullish bias
* Majority Red → Bearish bias
* Equal → Neutral (No Trade)
---
### 🎯 How to Use
* Focus only on signals that align with the matrix bias
* Avoid trades when the table shows mixed or neutral conditions
* Best used in conjunction with key levels (structure, pivots, liquidity zones)
---
### ⚠️ Notes
* This indicator is designed to **filter noise and reduce low-quality trades**, not to increase trade frequency
* Signals may be less frequent but are intended to offer stronger confirmation
* This tool does not guarantee outcomes; proper risk management is essential
---
### 🤖 Development Note
This indicator includes enhancements developed with the assistance of AI to improve structure, clarity, and efficiency of the underlying logic.
Indicator

AI Predictive Flow (Zeiierman)█ Overview
AI Predictive Flow (Zeiierman) is a pattern-based oscillator that estimates future price direction by comparing the current market state to similar historical conditions.
Instead of relying on traditional indicators like momentum or moving averages alone, the script builds a multi-feature representation of price behavior and uses a k-Nearest Neighbors (kNN) model to identify past patterns that closely resemble the present.
From those matches, it derives an expected forward return, which is then transformed into a smooth oscillator and a predicted trend regime.
The result is a forward-looking signal that reflects a data-driven expectation based on similar past patterns, not just current price movement.
█ How It Works
⚪ Feature Extraction (Market State Model)
The script converts price into a compact feature set that describes the current market state.
It uses four core features:
Short-term return
Momentum
RSI bias
EMA spread
These are created inside the feature function:
feat(shift, mode) =>
c = close
c1 = close
cm = close
ef = ta.ema(close, fLen)
es = ta.ema(close, sLen)
r = ta.rsi(close, rsiLn)
float v = 0.0
if mode == 1
v := c1 != 0 ? math.log(c / c1) : 0.0
else if mode == 2
v := cm != 0 ? (c - cm) / cm : 0.0
else if mode == 3
v := (r - 50.0) / 50.0
else
v := c != 0 ? (ef - es) / c : 0.0
v
Each feature captures a different dimension of price behavior:
return measures immediate movement
momentum measures directional displacement
RSI bias measures internal pressure
EMA spread measures trend structure
These values are then stacked across multiple bars to form the pattern used for comparison.
⚪ Pattern Memory (Historical Pattern Library)
The script stores rolling sequences of each feature into separate matrices so the current market state can be compared against past states.
That process is built here:
pushFeat(mat, mode) =>
vals = array.new(tot, 0.0)
for i = 0 to tot - 1
array.set(vals, tot - 1 - i, feat(i, mode))
cur = array.slice(vals, tot - len, tot)
old = array.slice(vals, 0, len)
matrix out = matrix.new(1, len, 0.0)
for i = 0 to len - 1
matrix.set(out, 0, i, array.get(cur, i))
hist = array.new(len, 0.0)
for i = 0 to len - 1
array.set(hist, i, array.get(old, i))
if mat.rows() >= mem
mat.remove_row(0)
mat.add_row(mat.rows(), hist)
out
This creates:
a current feature row
a rolling history of prior feature patterns
So rather than comparing single-bar values, the model compares multi-bar pattern structure.
⚪ Pattern Matching Engine (kNN Distance Model)
Once the current feature pattern is built, it is compared to all stored historical patterns.
Distance is measured feature-by-feature across the full pattern length:
getDist(matrix a1, matrix a2, matrix a3, matrix a4, matrix b1, matrix b2, matrix b3, matrix b4) =>
out = array.new(b1.rows(), 0.0)
for i = 0 to b1.rows() - 1
s = 0.0
d1 = a1.diff(b1.submatrix(i, i + 1)).row(0)
d2 = a2.diff(b2.submatrix(i, i + 1)).row(0)
d3 = a3.diff(b3.submatrix(i, i + 1)).row(0)
d4 = a4.diff(b4.submatrix(i, i + 1)).row(0)
for j = 0 to len - 1
s += math.pow(d1.get(j), 2) * 0.25 +
math.pow(d2.get(j), 2) * 0.25 +
math.pow(d3.get(j), 2) * 0.25 +
math.pow(d4.get(j), 2) * 0.25
out.set(i, math.sqrt(s))
out
This produces a similarity score for every stored pattern. A smaller distance means the past setup looked more like the present one.
⚪ Prediction Model (kNN Forward Expectation)
After the distances are ranked, the script selects the nearest neighbors and averages their future outcomes.
The kNN model is implemented here:
knn(dist, n) =>
ix = dist.sort_indices()
useN = math.min(n, ix.size())
sumD = 0.0
avg = 0.0
for i = 0 to useN - 1
sumD += dist.get(ix.get(i))
if useN > 0
for i = 0 to useN - 1
d = dist.get(ix.get(i))
w = useN > 1 ? (sumD != 0 ? (1 - d / sumD) : 1.0) : 1.0
avg += Y.get(ix.get(i)) * w
avg
The forward return used for comparison is defined here:
y := math.log(base) - math.log(base )
This represents the forward return following each historical pattern. The result is a weighted expectation of future movement, not just a reading of current trend.
⚪ Predictive Oscillator
The raw kNN prediction is smoothed and transformed into the main oscillator and signal line.
pred_ = ta.ema(pred, smth)
if not na(pred)
predSm := smth > 1 ? pred_ : pred
osc = ta.ema(predSm, oscLn)
sig = ta.ema(osc, sigLn)
hist = osc - sig
This creates:
Oscillator = smoothed expected return
Signal line = secondary smoothing for crossover confirmation
Histogram = distance between oscillator and signal
⚪ Predicted Trend Regime
Beyond the oscillator, the script also builds a broader trend regime using the predicted price path.
First, the raw prediction is converted into a projected price line:
predLine := base + base * (math.exp(pred) - 1)
Then a regime band is created using ATR:
hiRef = predLine + bandM * atr
loRef = predLine - bandM * atr
if ta.highest(hiRef, regLn) == hiRef
trendUp := true
if ta.lowest(loRef, regLn) == loRef
trendUp := false
This background state represents:
bullish predicted regime when the projected path is pressing into new highs
bearish predicted regime when the projected path is pressing into new lows
So the background is not showing the raw price trend. It is showing the model’s predicted regime bias.
█ How to Use
⚪ Read the Oscillator
Above 0 → bullish expectation
Below 0 → bearish expectation
Near 0 → neutral/low conviction
Far from 0 → strong directional push
Use crossovers for entry timing:
Bullish crossover → potential upward continuation
Bearish crossover → potential downward continuation
⚪ Use the Predicted Trend Regime
The background highlights the model’s broader directional bias:
Green → predicted bullish regime
Red → predicted bearish regime
Regime shifts often indicate:
early trend transitions
continuation confirmation
structural changes in expectation
⚪ Combine Signals
Best use comes from alignment:
Oscillator above zero + bullish regime + signal → strong continuation bias
Oscillator below zero + bearish regime + signal → strong downside bias
Divergence between the two → caution / mixed signals
█ Settings
Pattern Length – Controls how many bars define the current pattern. Higher values capture more structure, lower values increase responsiveness.
Memory Size – Number of historical patterns stored for comparison. Larger values improve context but increase computation.
Neighbors (k) – Number of closest matches used in prediction. Lower values are more reactive, higher values are smoother.
Prediction Smoothing – EMA smoothing applied to the raw prediction. Reduces noise at the cost of lag.
Signal Length – Smoothing of the signal line used for crossover signals.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Schumann Spectrum Dynamic RSISchumann Spectrum Dynamic RSI
An adaptive RSI oscillator that draws inspiration from Earth's Schumann electromagnetic resonances to dynamically shift its calculation period based on real-time market efficiency. The indicator measures price "resonance" — the ratio of net displacement to total path traveled — and automatically locks onto the harmonic frequency that best matches current market energy, from the fast fundamental cavity to the slow fifth harmonic.
What It Does
The Schumann RSI replaces the traditional fixed RSI length with a spectrum of five harmonic periods derived from the Schumann resonance frequencies (7.83 Hz, 14.3 Hz, 20.8 Hz, 27.3 Hz, 33.8 Hz). Rather than displaying all five oscillators simultaneously, it calculates a Market Resonance score and dynamically selects the single most appropriate harmonic for the current regime:
High Resonance (>0.60) : Market is moving efficiently with minimal noise. The indicator locks onto the Fundamental frequency (~8 bars) for fast, responsive momentum readings.
Moderate-High Resonance (0.45–0.60) : Market shows directional character with some chop. The 2nd Harmonic (~14 bars) provides balanced smoothing.
Moderate Resonance (0.30–0.45) : Market is mixed. The 3rd Harmonic (~21 bars) filters out increasing noise.
Low Resonance (0.15–0.30) : Market is noisy and inefficient. The 4th Harmonic (~27 bars) applies heavy smoothing.
Very Low Resonance (<0.15) : Market is in maximum entropy/random walk. The 5th Harmonic (~34 bars) captures only the slowest, most dominant cyclical component.
Core Components
Custom RSI Engine : Uses Wilder's RMA smoothing on upward/downward price changes, calculated independently across all five harmonic lengths every bar.
Market Resonance (Signal-to-Noise) : Computed as net travel divided by total travel over the maximum cavity window (~34 bars). Net travel = |close − close |. Total travel = Σ|close − close |. A ratio near 1.0 means price moved directly to its destination (trending); near 0.0 means price wandered randomly (choppy).
Electromagnetic Cavity Analogy : Just as Earth's ionospheric cavity resonates at specific frequencies, this indicator treats the market as a resonant cavity where different wave lengths dominate depending on energy input. High energy (strong trends) excites the fundamental; low energy (chop) excites higher harmonics.
Dynamic Background Tinting : The chart background changes color to indicate which harmonic is actively driving the RSI line — blue for fundamental, purple for 2nd, red for 3rd, orange for 4th, yellow for 5th.
How to Read It
The White RSI Line: The dynamically selected RSI value (0–100). Because the lookback period changes bar-to-bar, the line adapts its responsiveness automatically — tight and fast in trending markets, smooth and stable in ranging markets.
Background Colors:
Blue : Locked onto Fundamental (~8) — expect sharp, rapid reversals at 30/70. Momentum signals are immediate but can whip.
Purple : Locked onto 2nd Harmonic (~14) — balanced sensitivity. Standard RSI behavior.
Red : Locked onto 3rd Harmonic (~21) — moderate lag. Better for swing entries, ignores minor pullbacks.
Orange : Locked onto 4th Harmonic (~27) — significant lag. Use for position trading; overbought/oversold signals are rare but high-conviction.
Yellow : Locked onto 5th Harmonic (~34) — maximum smoothing. Only extreme divergences and major regime shifts are visible.
Threshold Lines:
70 (Red Dashed): Overbought — consider profit-taking or shorts when RSI approaches from below, especially on blue/purple backgrounds.
30 (Green Dashed): Oversold — consider accumulation or longs when RSI approaches from above.
50 (Grey Dotted): Equilibrium — the zero-momentum line. Crosses above/below indicate bullish/bearish momentum shifts.
Practical Usage Guidelines
Trend Identification
When the background is blue and RSI holds above 50, the market is in a strong, efficient uptrend. Treat pullbacks to 50 as buying opportunities.
When the background shifts from blue → purple → red while RSI remains above 70, momentum is persistently overbought but the market is becoming noisier — tighten stops.
Reversal Trading
Blue/Purple backgrounds: Trade standard RSI reversals — buy near 30, sell near 70. The fast harmonic makes these levels reactive.
Orange/Yellow backgrounds: RSI extremes are rarer and more significant. A reading above 70 in yellow indicates an extended, long-duration overbought condition — higher probability reversal.
Regime Transition Filtering
Use background color transitions as early warnings. A shift from blue to red means the market is losing directional efficiency — reduce position size or switch to range-bound strategies.
A shift from yellow to blue indicates a sudden burst of directional energy — breakouts and trend initiations are more trustworthy.
Divergence Analysis
Because the RSI length adapts, traditional divergence analysis requires context. A bearish divergence on a blue background (fast RSI) is less reliable than one on a red/orange background where the oscillator has been smoothed over many bars.
Wait for the background to stabilize (2–3 bars same color) before trusting divergence signals.
Important Notes
Hardcoded Harmonics: The five frequencies are fixed at 7.83, 14.3, 20.8, 27.3, and 33.9 bars (displayed as 8, 14, 21, 27, 34). These map to the Earth's Schumann resonances and are not user-configurable in this version.
Resonance Calculation: The efficiency ratio uses the maximum window (f5, ~34 bars) as the denominator period. This means the resonance score has memory — it reflects the efficiency of the last ~34 bars, not just the current bar.
Dynamic Switching Behavior: The indicator selects the harmonic using a cascading if-else ladder (0.6 → 0.45 → 0.3 → 0.15). There is no interpolation between harmonics; it jumps directly from one RSI period to another. This can create small discontinuities in the line when resonance crosses a threshold.
RMA vs SMA: The custom RSI uses ta.rma2 (Wilder's smoothing) rather than standard SMA, giving more weight to recent bars within each harmonic window. This is mathematically identical to classic RSI.
No Repainting: All calculations use confirmed close prices and historical bar offsets. The resonance score and harmonic selection are determined at bar close and do not shift retrospectively.
Color Intensity: Background colors use 90% transparency to avoid obscuring price action. The active harmonic is readable at a glance without dominating the chart.
Net Travel Guard: If total travel equals zero (perfectly flat market over 34 bars), resonance defaults to 0.0 and the indicator selects the 5th harmonic to avoid division errors.
Indicator

Divergence Stack Scanner [AGPro Series]Divergence Stack Scanner
🔹 Overview
Divergence Stack Scanner scans five independent momentum and volume oscillators simultaneously — RSI, MACD Histogram, CCI, MFI, and OBV — and grades every confirmed pivot by how many of them show regular divergence at the same time. The result is a 0 to 5 STACK score that isolates rare, high-conviction reversal zones which single-divergence tools simply cannot surface.
Most divergence indicators track one oscillator at a time. Strong reversals, however, tend to leave fingerprints across momentum and volume at once. This tool quantifies that confluence in a single, objective number you can act on.
🔸 Unique Edge
What separates this script from the crowded divergence space:
1. Five-oscillator confluence in one engine — not one divergence, five divergences graded together.
2. Strict versus Window classification — a 5/5 STRICT stack (all five on the exact same pivot) is marked with a star flash, while a 5/5 WINDOW stack (all five within a small bar tolerance) is tagged separately. The distinction matters because strict stacks are statistically rarer and sharper.
3. Pressure Zones — a rectangular, SR-style zone is drawn forward from each qualifying pivot, so the reversal level stays visible long after the signal fires.
4. Rolling win-rate panel — the last N decided signals are evaluated N bars forward, and the win percentage is displayed live on the panel.
5. Per-oscillator live state — you see at a glance which oscillators are already in divergence and how long ago they triggered.
🔹 Methodology
Pivots are detected using the standard PulseWire pivot method with a configurable lookback (default 5 bars each side, confirmed, non-repainting).
When a pivot is confirmed, the script compares the current pivot price and oscillator value to the previous same-direction pivot:
- Regular bullish divergence: price prints a lower low while the oscillator prints a higher low.
- Regular bearish divergence: price prints a higher high while the oscillator prints a lower high.
This comparison runs independently for RSI, MACD Histogram, CCI, MFI, and OBV. Each oscillator stores the bar index of its most recent divergence. The stack engine then counts how many oscillators have fired within a tolerance window of the current pivot:
- Strict stack (window = 0): all counted oscillators fired on the exact same pivot bar.
- Window stack (window = 1 to N bars): oscillators fired within N bars of each other.
Pressure zones are drawn only when the stack meets a configurable minimum (default 4/5). Zone height is ATR-scaled so it stays proportional across instruments and timeframes. A proximity filter prevents label clutter: once a label is drawn in a given direction, a new label in the same direction within a short window is only drawn if its stack level is strictly higher.
🔸 Signals & Alerts
On-chart signals:
- ★ N/5 STACK label (filled color) — strict same-bar stack at level N.
- N/5 NEAR label (lighter color) — window stack (near-miss of strict).
- Pressure zone rectangle — drawn forward from the pivot for qualifying stacks.
Alerts available:
- 5/5 Strict Stack (bull and bear, separate) — the rarest and sharpest signal.
- Minimum Stack threshold — fires whenever the stack reaches your configured minimum level.
All alerts use alert.freq_once_per_bar_close and include ticker plus timeframe in the message.
🔹 Key Inputs
Core Engine:
- Pivot Lookback — bars each side to confirm a pivot (default 5).
- RSI, MACD, CCI, MFI lengths — standard defaults, all configurable.
Stack Configuration:
- Minimum Stack Level — display threshold (default 3/5).
- Window Tolerance — bar tolerance for near-stacks (default 3).
- Win-Rate Lookback — number of recent signals used for rolling win rate (default 20).
- Win Evaluation Bars — forward bars to decide win or loss (default 10).
Pressure Zones:
- Minimum Stack for Zone (default 4/5) — keeps the chart premium and uncluttered.
- Zone Extend and Height (ATR%) — tune the visual footprint to your taste.
- Max Active Zones — oldest zones are automatically trimmed.
Panel and Theme:
- Location (6 anchors), Dark or Light theme, font size presets.
- Fully brand-consistent AGPro color palette built in.
🔸 How to Use
- Treat 5/5 STRICT stacks as the headline signal. They are rare by construction and typically appear at genuine inflection points.
- Use 4/5 stacks as early-warning context around support, resistance, or higher-timeframe levels.
- Read the per-oscillator live state on the panel. When RSI, MACD, CCI, MFI are all in the same direction and OBV is the last holdout, a full stack is often imminent.
- Pressure zones work well as re-entry or invalidation levels after the initial signal fires.
- The rolling win rate is a sanity check for the current asset and timeframe — if it degrades meaningfully, raise the minimum stack level or widen the pivot lookback.
🔹 Limitations and Transparency
- This is a confluence tool, not a standalone trading system. Divergence by nature can persist in strong trends before any reversal.
- The engine is pivot-based and therefore delayed by the pivot lookback. Labels appear on the bar the pivot is confirmed, not on the pivot itself.
- Win rate is computed on the last N decided signals on the current chart. It is not a backtest, it is an evolving statistic and it does not include slippage, spread, or position sizing.
- Window stacks are lower-confidence than strict stacks by design. The visual distinction is intentional.
- Session-based "Today's Max" uses calendar-day rollover.
🔸 Risk Disclosure
This indicator is a technical analysis tool for research and education. It is not financial advice, not a signal service, and not a trading strategy. Past patterns do not guarantee future behavior. You are solely responsible for your trading decisions, risk management, and position sizing. Always combine any indicator with independent analysis, higher-timeframe context, and strict risk controls.
🔹 Technical Notes
- Pine Script v6, overlay indicator.
- Fully non-repainting. All divergences are evaluated only on confirmed pivots.
- Drawing objects (labels, boxes) are capped to avoid resource overruns.
- MPL 2.0 licensed — open source. Indicator

Indicator

Indicator

Indicator
