Multi-Oscillator Divergence Scanner [Quantum Algo]Multi-Oscillator Divergence Scanner
====================================================
🔶 OVERVIEW
Multi-Oscillator Divergence Scanner is a confluence-based divergence indicator that scans up to seven classic oscillators simultaneously — Relative Strength Index, Moving Average Convergence Divergence, Stochastic Oscillator, Commodity Channel Index, On Balance Volume, Money Flow Index, and Momentum — and displays the result on two synchronized canvases at once. Divergence lines, graded labels, and reaction zones are drawn directly on the price chart, while a dedicated pane below plots a Composite Oscillator built from every enabled engine, with the same divergence lines mirrored onto the composite itself. You see both slopes of every divergence — price disagreeing with momentum — in one glance.
The problem this script solves is selective divergence trading. Any single oscillator produces frequent divergences, and most of them fail. Requiring multiple mathematically independent engines — momentum-based, volume-based, and volatility-normalized — to diverge at the same confirmed swing filters the noise down to setups where disagreement between price and participation is broad, not incidental.
🔶 WHAT IS A DIVERGENCE?
A divergence occurs when price prints a new extreme but an oscillator refuses to confirm it. A regular bullish divergence forms when price makes a lower low while the oscillator makes a higher low — a classic reversal condition. A regular bearish divergence forms when price makes a higher high while the oscillator makes a lower high. Hidden divergences are the continuation counterparts: price makes a higher low while the oscillator makes a lower low (hidden bullish), or price makes a lower high while the oscillator makes a higher high (hidden bearish). This scanner detects all four types on confirmed swing pivots.
🔶 WHAT IS THE COMPOSITE OSCILLATOR?
The Composite Oscillator is the consensus reading of every engine you enable. Bounded oscillators (Relative Strength Index, Stochastic, Money Flow Index) contribute their native zero-to-one-hundred values; unbounded engines (Moving Average Convergence Divergence histogram, On Balance Volume, Momentum) are range-normalized over a configurable lookback; the Commodity Channel Index is rescaled onto the same axis. The average of all enabled engines plots as a single gradient line with overbought and oversold guides, a midline fill, and divergence lines drawn directly on it — so the pane shows aggregate momentum from the same engines that vote on every signal, not a separate calculation.
🔶 WHY THIS SCRIPT IS ORIGINAL
1. True multi-engine confluence. Divergences are not detected on one oscillator and decorated with others. All seven engines are evaluated independently at every confirmed pivot, and a signal only exists when the minimum confluence count you set is reached.
2. Dual-canvas mirroring. Every qualified divergence is drawn twice: on price, and on the Composite Oscillator in the pane, connected at the same two pivots. Both slopes of the disagreement are visible simultaneously — the visual proof that defines a divergence.
3. Consensus composite pane. The pane line is not one more oscillator; it is the averaged, normalized voice of the exact engines doing the scanning, colored by a gradient between the oversold and overbought guides.
4. Full transparency on every label. Each signal prints its strength as a diamond meter and lists the exact oscillators that diverged (for example: RSI · OBV · MFI). You always know why a signal exists — nothing is a black box.
5. Strength-scaled visuals. Divergence lines thicken with confluence on both canvases, and signals reaching the Strong threshold upgrade to the accent color, so chart hierarchy communicates quality instantly.
6. Reaction zones with a life cycle. Every regular divergence projects a volatility-sized zone around its pivot (measured in Average True Range). Zones gray out automatically the moment price invalidates them, so the chart always distinguishes live zones from dead ones.
7. Divergence pressure gauge. A decaying pressure model accumulates bullish and bearish divergence weight over time, giving a one-glance read on which side has been stacking disagreement with price.
🔶 HOW IT WORKS
Pivot scanning: Swing highs and swing lows are confirmed with a symmetric pivot lookback. All divergence checks are evaluated on closed bars at pivot confirmation, so historical signals do not repaint. Confirmation lag equals the right-side pivot length by design.
Confluence evaluation: At each confirmed pivot, every enabled oscillator's value at that pivot is compared against its value at the previous same-side pivot. The four divergence types are tested independently per oscillator, and contributions are counted.
Signal grading: Signals meeting the Minimum Oscillator Confluence print with strength diamonds (one per contributing oscillator). Signals reaching the Strong Signal Threshold upgrade to the accent color and thicker geometry on both the price chart and the composite pane.
Composite rendering: The pane plots the consensus line with a gradient fill to the midline, dashed overbought and oversold guides, tinted extreme bands, triangle marks at divergence bars, and the mirrored divergence lines.
Reaction zones: Each regular divergence projects a box around its pivot sized by Average True Range, extended a configurable number of bars. A bullish zone grays out when price closes below it; a bearish zone grays out when price closes above it.
Dashboard: A fully themeable panel on the price chart shows the last signal, a live divergence pressure meter, and one row per engine with its live value — color-coded for overbought, oversold, or directional state — plus each engine's most recent divergence side. Text size (four steps), position, and every color (title band, background, frame, grid, header, body, muted) are adjustable.
Chart hygiene: The number of divergences kept is capped by input, on both canvases. Older lines, labels, and zones are deleted automatically, keeping the chart readable and the auto-scale anchored to current price.
🔶 HOW TO USE IT
1. Works on any market — cryptocurrency, forex, gold, indices, stocks, futures — and any timeframe. Higher timeframes produce fewer, larger-structure signals.
2. Start with Minimum Oscillator Confluence at 2 and the Strong threshold at 4. Raise the minimum to 3 for a strict, low-frequency reversal tool; lower it to 1 to study single-oscillator behavior.
3. Read the pane and the chart together: a valid signal shows price sloping one way and the composite sloping the other, connected at the same pivots.
4. Regular divergences are reversal-oriented: treat them as exhaustion evidence at swing extremes, strongest when the composite is also inside an overbought or oversold band.
5. Hidden divergences are continuation-oriented: treat them as trend re-entry evidence during pullbacks, and do not read them like reversal signals.
6. Use the reaction zone as the decision area: a live zone holding on retest supports the signal; a grayed zone means the divergence failed.
7. The pressure meter is context, not a trigger — persistent one-sided pressure alongside fresh strong signals is the highest-quality condition.
🔶 SETTINGS
- Pivot Left / Right Length — swing size; larger values scan bigger structures.
- Independent toggles and lengths for all seven oscillator engines.
- Composite pane: normalization lookback, overbought and oversold levels, pane marks, and mirrored divergence lines toggle.
- Regular and hidden divergence toggles, minimum confluence, strong threshold.
- Reaction zone height (Average True Range ratio) and extension.
- Divergences To Keep — caps historical drawings on both canvases for chart cleanliness and stable auto-scale.
- Dashboard with adjustable text size, position, live oscillator values, and full color theming.
- Full color customization for all chart drawings and pivot markers.
🔶 ALERTS
- Bullish Divergence / Bearish Divergence — a regular divergence met the confluence minimum.
- Hidden Bullish Divergence / Hidden Bearish Divergence — a continuation divergence met the minimum.
- Strong Divergence — a regular divergence reached the strong threshold.
🔶 FREQUENTLY ASKED QUESTIONS
Does the indicator repaint? No. Divergences are evaluated only on confirmed pivots at bar close. The trade-off is intentional confirmation lag equal to the right-side pivot length.
Why does a pane divergence line sometimes start slightly off the composite's visual peak? Divergence is measured at price structure points. The line connects the composite's values at the two confirmed price pivots, which is the correct comparison even when the composite made its own extreme a bar or two away.
Why do some obvious divergences not print? Either the confluence minimum was not reached, the oscillator involved is disabled, or the swing did not confirm as a pivot under the current lengths.
Which oscillators should I enable? The default set mixes momentum and volume perspectives, which is the point of confluence: independent evidence, not seven copies of the same math.
Is a Strong signal a guaranteed reversal? No. Strength counts agreement between engines; it is a transparency measure, not a probability of profit.
🔶 CREDITS
This script builds its scanning and composite engine on classic, public-domain oscillators, and gratefully credits their creators: the Relative Strength Index by J. Welles Wilder Jr. (1978), Moving Average Convergence Divergence by Gerald Appel, the Stochastic Oscillator popularized by George C. Lane, the Commodity Channel Index by Donald Lambert (1980), On Balance Volume by Joseph Granville (1963), and the Money Flow Index by Gene Quong and Avrum Soudack. All oscillator calculations use standard built-in formulas. Drawing divergence lines on an oscillator is a long-established charting convention popularized by many community authors, acknowledged here as shared prior art. The multi-engine confluence scanner, the consensus Composite Oscillator, the dual-canvas mirroring, transparency labeling, strength grading, reaction zone life cycle, pressure model, and all code in this script are original work — no third-party or open-source script code was reused.
🔶 LIMITATIONS
Divergence can persist or fail entirely during strong trends; regular divergences against a powerful trend are the weakest application. Volume-based engines (On Balance Volume, Money Flow Index) are less meaningful on symbols with unreliable volume reporting. The composite's normalized components depend on the normalization lookback. Pivot confirmation introduces intentional delay. No indicator replaces independent analysis.
🔶 DISCLAIMER
This script is provided strictly for educational and informational purposes. It is not financial advice, an investment recommendation, or a solicitation to buy or sell any financial instrument. Past behavior of any signal does not guarantee future results. Trading involves substantial risk. Always do your own research and manage risk independently.
Indicator

EMA + Supertrend + OBV [StrixEDGE]Trend Engine EMA + Supertrend + OBV is a multi-timeframe trend scoring system that combines EMA structure, Supertrend direction, and OBV volume flow into a single overlay with a detailed heatmap dashboard. It evaluates four timeframes simultaneously and presents the results in a color-coded, section-organized table directly on the chart.
The indicator answers three questions per timeframe: Is the structure bullish or bearish? Is the directional signal confirmed? Is volume supporting the move? It then aggregates these into a confluence score and cross-timeframe alignment reading.
Components
EMA Stack (21 / 50 / 200)
Three exponential moving averages forming a structural hierarchy. The scoring logic evaluates both the EMA order and price position:
| Condition | Score | Label |
|---|---|---|
| 21 > 50 > 200, price above all | +2 | FULL BULL ▲▲ |
| 21 > 50 > 200 | +1 | BULLISH ▲ |
| Price above 200 but EMAs not ordered | +1 | BULLISH ▲ |
| No clear alignment | 0 | MIXED ◆ |
| Price below 200 but EMAs not ordered | −1 | BEARISH ▼ |
| 21 < 50 < 200 | −1 | BEARISH ▼ |
| 21 < 50 < 200, price below all | −2 | FULL BEAR ▼▼ |
The 200 EMA is separately tracked as "Price/200" in the heatmap, since institutional participants widely use this level as the dividing line between bull and bear regimes.
On the chart, all three EMAs turn green when bull-stacked and red when bear-stacked. A ribbon fill between the fast and mid EMA visualizes alignment strength. Golden Cross (50 above 200) and Death Cross events are marked with "GC" and "DC" labels.
Supertrend (10, 3)
An ATR-based trailing stop that produces a binary directional signal. When the Supertrend line is below price, it scores +1 (BULLISH). When above, it scores −1 (BEARISH). The line also serves as a dynamic stop-loss level. Triangle markers appear at each flip point.
OBV with 20-period SMA
On Balance Volume is calculated cumulatively — adding volume on up-closes, subtracting on down-closes. The heatmap evaluates two dimensions independently: OBV position relative to its SMA (above or below) and the SMA slope direction (rising, falling, or flat). This produces six distinct flow states:
| OBV vs MA | Slope | Label | Meaning |
|---|---|---|---|
| Above | Rising | ACCUM ▲ | Active accumulation — institutional buying |
| Above | Flat | ABOVE MA | Holding above average — neutral positive |
| Above | Falling | WEAKENING | Position eroding despite being above MA |
| Below | Rising | BUILDING | Recovery underway — improving flow |
| Below | Flat | BELOW MA | Holding below average — neutral negative |
| Below | Falling | DISTRIB ▼ | Active distribution — institutional selling |
OBV scores +1 when above MA and rising, −1 when below MA and falling, and 0 for all intermediate states.
The MTF Heatmap
The heatmap table is organized into four color-coded sections:
STRUCTURE (blue header) — EMA Stack alignment and Price vs EMA 200 for each timeframe. Shows whether the market's structural foundation is bullish, bearish, or mixed.
DIRECTION (purple header) — Supertrend signal per timeframe. A clean binary reading of whether the trailing stop is bullish or bearish.
VOLUME FLOW (teal header) — OBV flow state per timeframe. Shows whether volume is confirming the price trend, diverging from it, or transitioning.
CONFLUENCE (gold header) — The aggregated output:
- Score: total from −4 to +4 per timeframe
- Strength: visual dot bar (● ● ● ● ○) representing signal intensity
- Regime: classification label (STRONG BULL BULLISH NEUTRAL BEARISH STRONG BEAR )
At the bottom, an MTF Alignment summary shows how many timeframes agree (e.g., "▲ 3/4 BULLISH — Strong alignment www.tradingview.com or "◆ SPLIT 2/2 — No clear bias www.tradingview.com).
Every cell uses heatmap coloring — bright green for strong bullish, through gray for neutral, to deep red for strong bearish — providing an instant visual scan of market conditions.
| Component | Max bullish | Neutral | Max bearish |
|---|---|---|---|
| EMA Stack | +2 | 0 | −2 |
| Supertrend | +1 | — | −1 |
| OBV Flow | +1 | 0 | −1 |
| **Total** | +4 | 0 | −4 |
Classification per timeframe:
- +3 to +4 → STRONG BULL
- +1 to +2 → BULLISH
- 0 → NEUTRAL
- −1 to −2 → BEARISH
- −3 to −4 → STRONG BEAR
Reading the heatmap
The heatmap's primary value is showing cross-timeframe agreement at a glance:
All columns green — Full alignment across timeframes. This is the highest-probability environment for trend-following trades.
Higher TFs green, lower TFs red — A pullback within a larger uptrend. The structural trend is intact; the short-term weakness may represent an entry opportunity.
Lower TFs green, higher TFs red — A rally within a larger downtrend. Unless the higher timeframes are shifting, this is likely a counter-trend bounce.
Mixed colors — No clear directional edge. Reduce position size or wait for alignment to develop.
Section-level reading — If STRUCTURE and DIRECTION are green but VOLUME FLOW is red, the trend lacks volume confirmation and may be fragile. If VOLUME shows ACCUM but DIRECTION is bearish, smart money may be accumulating before a reversal.
Alerts
Seven alert conditions are available:
- Strong bullish trend detected (current TF)
- Strong bearish trend detected (current TF)
- Golden Cross — EMA 50 crosses above EMA 200
- Death Cross — EMA 50 crosses below EMA 200
- Supertrend flip bullish
- Supertrend flip bearish
- Any trend classification change
Disclaimer: This indicator is a technical analysis tool for educational and informational purposes. It does not constitute financial advice or a recommendation to buy or sell any security. No trading indicator can predict future price movements. Past performance is not indicative of future results. Always conduct your own analysis and consider your risk tolerance before making trading decisions. Indicator

Divergence Hunter [Proozac]# Divergence Hunter — RSI · MACD · OBV
**Pine Script v5 — Overlay Indicator**
---
## What It Does
Scans three oscillators simultaneously — RSI, MACD, and OBV — and draws labelled lines directly on the price chart whenever a divergence is detected between price action and oscillator momentum.
Two divergence types are covered per oscillator:
- **Regular divergence** — signals a potential trend reversal
- **Hidden divergence** — signals a potential trend continuation
---
## Divergence Types Explained
### Regular Bullish Divergence
```
Price: Lower Low (LL)
Oscillator: Higher Low (HL)
Signal: Potential reversal UP
```
Price is making lower lows but the oscillator is making higher lows — sellers are losing momentum. The downtrend is weakening.
### Regular Bearish Divergence
```
Price: Higher High (HH)
Oscillator: Lower High (LH)
Signal: Potential reversal DOWN
```
Price is making higher highs but the oscillator is making lower highs — buyers are losing momentum. The uptrend is weakening.
### Hidden Bullish Divergence
```
Price: Higher Low (HL) ← trend is up
Oscillator: Lower Low (LL)
Signal: Continuation UP
```
Price holds higher lows (uptrend structure intact) while the oscillator dips lower — a temporary oscillator pullback during a healthy uptrend. A continuation signal.
### Hidden Bearish Divergence
```
Price: Lower High (LH) ← trend is down
Oscillator: Higher High (HH)
Signal: Continuation DOWN
```
Price is making lower highs (downtrend structure intact) while the oscillator makes higher highs — a temporary oscillator bounce during a healthy downtrend.
---
## The Three Oscillators
| Oscillator | What it measures | Why it diverges |
|-----------|-----------------|-----------------|
| **RSI** | Relative momentum of closes | Classic divergence tool — very reliable at extremes |
| **MACD** | Trend + momentum combined | Useful in trending markets, less noise than RSI |
| **OBV** | Cumulative volume flow | Measures whether volume confirms the price move |
Each oscillator runs through the same `detect_divs()` function. You can enable or disable each one independently. When multiple oscillators show the same divergence simultaneously, that is a high-conviction signal.
---
## Detection Logic
The indicator uses `ta.pivothigh` and `ta.pivotlow` on the **price** series to find swing points, then reads the **oscillator value at that same bar** to compare:
```
For each new pivot high in price:
Compare price level vs previous pivot high price
Compare oscillator vs previous pivot high oscillator
→ Regular Bear: price HH + osc LH
→ Hidden Bear: price LH + osc HH
For each new pivot low in price:
Compare price level vs previous pivot low price
Compare oscillator vs previous pivot low oscillator
→ Regular Bull: price LL + osc HL
→ Hidden Bull: price HL + osc LL
```
When detected, a **line** is drawn connecting the two price pivot points and a **label** marks the divergence type and oscillator name.
---
## Inputs
| Input | Default | Description |
|-------|---------|-------------|
| **RSI Divergence** | true | Enable RSI divergence scanning |
| **RSI Length** | 14 | RSI calculation period |
| **MACD Divergence** | true | Enable MACD line divergence scanning |
| **MACD Fast** | 12 | MACD fast EMA length |
| **MACD Slow** | 26 | MACD slow EMA length |
| **MACD Signal** | 9 | MACD signal line length |
| **OBV Divergence** | true | Enable OBV divergence scanning |
| **Pivot Lookback (left bars)** | 5 | Bars to the left required to confirm a swing point |
| **Pivot Lookback (right bars)** | 5 | Bars to the right required to confirm a swing point |
| **Show Hidden Divergences** | true | Toggle hidden divergence lines on/off |
| **Bullish Regular** | Bright green | Line/label color for regular bullish divergences |
| **Bearish Regular** | Bright red | Line/label color for regular bearish divergences |
| **Bullish Hidden** | Faded green | Line/label color for hidden bullish divergences |
| **Bearish Hidden** | Faded red | Line/label color for hidden bearish divergences |
---
## Visual Output
| Element | Meaning |
|---------|---------|
| Solid bright green line + label `"RSI Bull Div"` | Regular bullish divergence on RSI |
| Solid bright red line + label `"RSI Bear Div"` | Regular bearish divergence on RSI |
| Dashed faded green line + label `"RSI Hid Bull"` | Hidden bullish divergence on RSI |
| Dashed faded red line + label `"RSI Hid Bear"` | Hidden bearish divergence on RSI |
| Same patterns with `"MACD"` or `"OBV"` prefix | Divergence from that oscillator |
| Green background flash | Any bullish regular divergence firing |
| Red background flash | Any bearish regular divergence firing |
Lines connect the **two price swing points** that form the divergence, making it immediately clear which highs or lows are being compared.
---
## How to Use
**Entry logic:**
- Regular divergence → look for a reversal entry after the divergence confirms (pivot right bars have closed).
- Hidden divergence → look for a continuation entry in the direction of the main trend.
- Always wait for the pivot to fully confirm — the signal appears `pivot_rb` bars after the actual swing point.
**Confluence filter:**
A divergence is most reliable when:
1. Two or more oscillators show the same divergence simultaneously
2. Price is at a key structural level (support/resistance, Order Block, session high/low)
3. The MTF Dashboard (indicator 02 in this suite) confirms the higher timeframe trend
**Reducing noise:**
- Increase `Pivot Lookback` (left/right bars) to 8–10 for cleaner, less frequent signals
- Disable OBV if trading Forex (OBV is volume-dependent and FX volume data is tick-based)
- Disable hidden divergences if you only want reversal signals
---
## Configuration Tips
| Scenario | Recommended settings |
|----------|---------------------|
| Fast scalping (1–5m) | Pivot: 3/3, RSI only |
| Day trading (15m–1H) | Pivot: 5/5, RSI + MACD |
| Swing trading (4H–D) | Pivot: 8/8, all three oscillators |
| Crypto (high volatility) | Pivot: 7/7 to filter noise |
---
## Alerts
Two built-in `alertcondition` entries:
- `Bullish Divergence` — fires when any enabled oscillator confirms a regular bullish divergence
- `Bearish Divergence` — fires when any enabled oscillator confirms a regular bearish divergence
Set up in TradingView: Alerts → Condition → Divergence Hunter → select the desired condition.
Indicator

RSI Divergence (Bull/Bear) RSI Divergence (Bull/Bear) is an advanced momentum analysis indicator that automatically detects bullish and bearish RSI divergence between price action and the Relative Strength Index (RSI). These divergence signals can help traders identify potential market reversals, trend exhaustion, and high-probability trading opportunities across multiple financial markets.
The indicator continuously analyzes swing highs and swing lows in both price and RSI, highlighting areas where momentum no longer confirms the current price movement. These conditions often appear before significant trend reversals or corrective moves.
Features
• Automatic Bullish RSI Divergence Detection
• Automatic Bearish RSI Divergence Detection
• Swing High & Swing Low Analysis
• Visual Buy & Sell Signal Labels
• Divergence Confirmation Zones
• Optional RSI Sensitivity Settings
• Clean & Lightweight Chart Layout
• Multi-Timeframe Compatible
• Non-Repainting Divergence Detection
• Customizable Signal Display
How It Works
The indicator monitors price swings alongside RSI momentum.
When price forms a **Lower Low** while RSI forms a **Higher Low**, a **Bullish Divergence** is detected, suggesting weakening selling pressure and a possible bullish reversal.
When price forms a **Higher High** while RSI forms a **Lower High**, a **Bearish Divergence** is detected, indicating weakening buying momentum and a potential bearish reversal Signals are displayed directly on the chart, allowing traders to quickly identify possible turning points.
Signal Types
🟢 Bullish Divergence
• Price makes a Lower Low
• RSI makes a Higher Low
• Possible bullish reversal
• Momentum strengthening
🔴 Bearish Divergence
• Price makes a Higher High
• RSI makes a Lower High
• Possible bearish reversal
• Momentum weakening
Best Markets
• Forex • Gold (XAUUSD) • Silver (XAGUSD)
• Crypto • Indices • Stocks • Futures
Recommended Timeframes
Scalping • M5 • M15
Intraday • M30 • H1
Swing Trading • H4 • Daily
Indicator Highlights
• Automatic RSI Divergence Detection
• Early Reversal Identification
• Visual Buy & Sell Signals
• High-Probability Momentum Analysis
• Non-Repainting Logic
• Adjustable RSI Parameters
• Beginner Friendly
• Professional Trading Tool
• Works in Trending and Ranging Markets
Suggested Trading Workflow
1. Identify the overall market trend.
2. Wait for a Bullish or Bearish RSI Divergence signal.
3. Confirm the setup using market structure, support/resistance, or candlestick confirmation.
4. Enter the trade with proper risk management and position sizing.
Notes
This indicator is designed to assist traders in identifying potential momentum shifts through RSI divergence analysis. It should be used alongside market structure, price action, and sound risk management principles. Like all technical analysis tools, it does not predict future price movements or guarantee profitable trades. Indicator

OBV Trend CandlesOBV Trend Candles
This indicator colors your candles based on the relationship between On-Balance Volume (OBV) and a moving average of OBV. It's a simple way to keep volume-based trend context visible directly on the price chart, without having to watch a separate OBV pane.
How it works
OBV accumulates volume on up-closes and subtracts it on down-closes, so a rising OBV means volume is flowing into the asset and a falling OBV means it's flowing out. This script takes that OBV line and compares it to a simple moving average of itself:
When OBV is above its SMA, volume momentum is building → candles are painted green.
When OBV is below its SMA, volume momentum is fading → candles are painted red.
The idea is that volume often shifts before or alongside price, so the color flips can give you a read on whether the current move is backed by participation.
The Sensitivity input
The single setting that matters is Sensitivity, which is the length of the SMA applied to OBV. Lower values make the indicator react faster to changes in volume flow (more color flips, more noise), while higher values smooth things out and only flip on more established shifts. Tune it to your timeframe and trading style — there's no universally "correct" value.
Notes
It works on any timeframe and any asset, as long as that asset reports volume data. On symbols without volume (some forex pairs and certain indices), OBV can't be calculated and the script will let you know. Colors are fully customizable in the settings.
This is a context/confirmation tool, not a standalone signal — it tells you about volume flow, not where to enter or exit. Use it alongside your own analysis. Indicator

RSI Overpowered [Cartel Console]# RSI Overpowered
RSI Overpowered is a momentum and volume-pressure analysis tool designed to provide a broader view of market strength by combining multiple volume-based market internals into a single composite oscillator framework.
Instead of relying solely on traditional price-based RSI calculations, this indicator incorporates Relative Strength Index calculations derived from Positive Volume Index (PVI), Negative Volume Index (NVI), and On-Balance Volume (OBV). These components are blended into a Composite RSI that aims to highlight shifts in participation, accumulation, distribution, and momentum conditions.
The indicator includes multiple layers of analysis:
• Composite RSI built from PVI, NVI, and OBV RSI values
• Smoothed signal line for trend and momentum comparison
• Secondary RSI oscillator derived from the composite calculation
• Configurable overbought and oversold zones
• Trend filtering using Supertrend methodology
• Bullish and bearish momentum signals with trend confirmation
• Divergence detection between price and the Composite RSI
• Dynamic area fills and visual momentum shading
• Built-in alert conditions for key events
### How It Works
The script first calculates three independent volume-based indexes:
• Positive Volume Index (PVI)
• Negative Volume Index (NVI)
• On-Balance Volume (OBV)
An RSI is then calculated for each component. The average of these values forms the Composite RSI, which is subsequently smoothed to reduce noise and improve readability.
A secondary RSI oscillator is generated from the Composite RSI itself, creating an additional layer of momentum analysis that can help identify shifts in directional strength.
### Trend Confirmation
To reduce counter-trend signals, the indicator incorporates a Supertrend-based trend filter.
Bullish momentum signals are generated only when the trend filter indicates a bullish environment.
Bearish momentum signals are generated only when the trend filter indicates a bearish environment.
This approach helps align momentum events with broader directional market conditions.
### Divergence Detection
The indicator automatically searches for potential divergences between price action and the Composite RSI.
Bullish divergence may occur when price forms a lower low while the Composite RSI forms a higher low.
Bearish divergence may occur when price forms a higher high while the Composite RSI forms a lower high.
Divergence signals are visualized directly on the oscillator using pivot-based detection logic.
### Visualization Features
• Composite RSI line
• Smoothed signal line
• Dynamic momentum fills
• Overbought and oversold markers
• Trend-filtered signal circles
• Divergence labels and connecting lines
• Momentum gradient visualization
### Alerts Included
• Bullish Momentum Signal
• Bearish Momentum Signal
• Overbought Event
• Oversold Event
### Notes
This indicator is intended for market analysis and educational purposes only. Signals, divergences, trend filters, and oscillator conditions should be used alongside a complete trading plan and appropriate risk management techniques.
No indicator can guarantee future market outcomes, and all market decisions remain the responsibility of the user.
Indicator

Booker - Relative Volume SignalsBooker RVOL is a momentum breakout indicator designed to identify stocks experiencing unusual buying pressure during the regular trading session.
The indicator looks for a very specific setup often seen in high-momentum small-cap stocks:
* Trading between a user-defined price range (default: $1–$20)
* Up significantly on the day (default: +30% or greater)
* Trading with meaningful liquidity (default: 500,000+ shares)
* Relative Volume (RVOL) above a minimum threshold (default: 4x normal volume)
* Price trading above both VWAP and the 9 EMA
* A breakout above the premarket high
* A bullish “drop-and-pop” pattern, where a red candle is immediately followed by a breakout candle
When all conditions align, the indicator generates an LB RVOL signal and marks the chart.
Included Features
* Relative Volume (RVOL) calculation
* Premarket high tracking
* VWAP and 9 EMA trend confirmation
* Daily gain and volume filtering
* Customizable price range filters
* Entry markers and RVOL labels
* Alert support for automated notifications
Default Philosophy
The default settings are optimized for identifying explosive small-cap momentum stocks that are:
* Gapping higher
* Trading heavy volume
* Holding above key intraday support levels
* Breaking through important resistance levels
Rather than generating frequent signals, LB RVOL focuses on finding rare, high-conviction momentum setups where multiple bullish factors are aligned at the same time.
Signal Interpretation
A signal does not guarantee a successful trade. Instead, it highlights a stock exhibiting:
1. Exceptional relative volume
2. Strong intraday trend structure
3. A breakout above premarket resistance
4. Evidence of continued buying pressure
Many traders use these signals as a starting point for further analysis, including risk management, dilution risk assessment, chart pattern review, and broader market context.
LB RVOL was built to help traders quickly identify stocks attracting institutional and speculative attention before significant intraday moves develop. Indicator

Smart Market Dashboard PRO Gap Trader EditionA comprehensive intraday dashboard designed specifically for Borsa Istanbul (BIST) equity traders. This indicator focuses on opening gap analysis, combining volume, delta, and price action to help traders make informed decisions at market open.
Key Features:
Gap Detection & Classification – Automatically identifies and labels opening gaps (Full Gap Up/Down, Partial Gap Up/Down) with configurable minimum gap % threshold
Volume & Delta Analysis – Displays real-time cumulative delta, buy/sell volume ratio, and VWAP deviation
Multi-Timeframe Data – Fetches previous day’s OHLCV data to calculate gap reference levels accurately
Visual Dashboard – A clean on-chart table showing key metrics: gap size, volume trend, delta direction, and gap fill probability
Smart Alerts – Configurable alerts for gap setups, gap fill events, and volume anomalies
How It Works:
Gap levels are calculated using End-of-Day (previous session close) as the reference price
All calculations are based on confirmed bar data (barmerge.lookahead_off) to prevent repainting on historical bars
Recommended Usage:
Timeframe: 1–15 minute charts
Market: BIST stocks (optimized for Turkish market open at 10:00 AM)
Works best during the first 30–60 minutes of the trading session
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Always manage your risk accordingly.
Note: As with all intraday indicators, values may update within the current live bar until it closes Indicator

Indicator

Indicator

P&D Short Signal v4.0 [4H]═══════════════════════════════════════════════════════════
TRADINGVIEW PUBLISH — P&D Short Signal v4.0
Author: Kevko87 | Open Source
═══════════════════════════════════════════════════════════
TITLE:
P&D Short Signal v4.0 — Pump & Dump Distribution Detector
───────────────────────────────────────────────────────────
SHORT DESCRIPTION (shown in search):
───────────────────────────────────────────────────────────
Detects post-pump distribution phases on crypto futures using
OBV, RSI divergence, MFI, and Delta-Volume across 4H / 1H / Daily.
Generates Tier 1 and Tier 2 short signals with auto TP/SL levels.
───────────────────────────────────────────────────────────
FULL DESCRIPTION:
───────────────────────────────────────────────────────────
## P&D Short Signal v4.0
This indicator identifies **post-pump distribution phases** on crypto
perpetual futures, designed to catch the dump after a Pump & Dump cycle.
Built and validated on Bitget Futures over 30+ live trading sessions.
---
### How it works
The indicator uses a **multi-timeframe confluence approach**:
- **4H** — Base timeframe (OBV slope, RSI, MFI, Delta-Volume)
- **1H** — OBV confirmation
- **Daily** — Gate-keeper: coins with Daily OBV > 500M are skipped
(high OBV = genuine buying pressure = no short)
A signal fires only when multiple conditions align simultaneously,
filtering out noise and false setups.
---
### Signal Tiers
**🔴 TIER 1 — High Confidence (≥85%)**
- Daily OBV < 500M (gate-keeper passes)
- 4H OBV falling + 1H OBV falling (distribution confirmed)
- RSI > 65 AND (bearish divergence OR below MA)
- MFI > 75 AND falling for 2+ bars
- Delta-Volume negative (optional, toggleable)
**🟠 TIER 2 — Moderate Confidence (~70%)**
- Daily OBV < 500M
- 4H OBV falling
- RSI > 65
- MFI > 65 AND falling
**🔴 MFI Extreme Background Alert**
- MFI ≥ 85 and falling with valid Daily OBV
- Precursor warning — check OBV manually
---
### Auto TP / SL
On every signal, the indicator automatically plots:
- **SL**: Entry High + ATR × 3 (default)
- **TP1**: −15% | **TP2**: −25% | **TP3**: −40% | **TP4**: −60%
All levels fully adjustable via inputs.
---
### Status Table (top right)
Live dashboard showing the current state of all filters:
D-OBV · OBV 4H · OBV 1H · RSI · MFI · Delta · D-RSI · Signal · Trade
---
### Alerts
Three built-in alert conditions:
- 🔴 TIER 1 SHORT
- 🟠 TIER 2 SHORT
- ⚠️ MFI EXTREME
Set alerts via TradingView's alert manager on any ticker.
---
### Recommended Usage
- **Market**: Crypto perpetual futures (Bitget, Bybit, Binance)
- **Timeframe**: 4H (indicator is built for 4H, do not use on other TFs)
- **Best targets**: Low-cap coins after +30–50% pumps within 24h
- **Risk management**: Always use the auto-generated SL. DCA entries
recommended for high-ATR setups.
---
### Key Filter: Daily OBV Gate
The most important filter in this system. If Daily OBV > 500M,
the move has genuine buying pressure behind it — shorting against
that is high risk. The indicator automatically skips these coins.
---
### Inputs
| Parameter | Default | Description |
|-----------|---------|-------------|
| Daily OBV Max | 500M | Skip coins above this OBV |
| OBV Slope Bars | 3 | Lookback for OBV direction |
| RSI Length | 14 | Standard RSI period |
| RSI Min for Entry | 65 | Minimum RSI for overbought |
| Divergence Lookback | 5 | Bars for price/RSI divergence |
| MFI Length | 14 | Standard MFI period |
| MFI Min Tier 1 | 75 | MFI threshold for Tier 1 |
| MFI Min Tier 2 | 65 | MFI threshold for Tier 2 |
| MFI Extreme | 85 | Background alert level |
| SL ATR Multiplier | 3.0 | Stop loss distance |
| TP1–TP4 | 15/25/40/60% | Take profit levels |
---
### Changelog
**v4.0**
- Base timeframe changed from 1H to 4H (higher win rate in backtesting)
- 5 bars on 4H = 20h = one full pump cycle captured
- Tier 1: RSI divergence OR below MA (previously required both)
- MTF structure: 4H base / 1H confirmation / Daily gate-keeper
- Status table added
---
*Open source. Use at your own risk. Not financial advice.*
*Built by Kevko87 — validated on live crypto futures trading.*
Indicator

Trend Pulse OBVTrend Pulse OBV Strategy
Trend Pulse OBV is an educational long-only strategy designed to study trend-channel breakouts that are confirmed by volume flow and a higher-level regime filter.
The strategy combines three main ideas:
1. A Trend Pulse Channel breakout.
2. OBV confirmation using On-Balance Volume relative to its EMA.
3. A regime filter using price relative to an EMA.
The purpose of the script is to test whether upside breakouts above an adaptive channel are more selective when confirmed by both volume accumulation and broader trend direction.
This is a strategy script for research, backtesting, and forward-testing only. It is not financial advice, does not predict future price movement, and does not guarantee profitable results. Historical strategy results are hypothetical and can differ significantly from live trading because of slippage, commissions, liquidity, spread, execution quality, timeframe selection, and market regime changes.
Core concept
The strategy is built around a Trend Pulse Channel. The channel uses a smoothed filter based on the selected source price and a filtered true-range calculation to create an upper breakout band.
A long entry can occur when price crosses above the Trend Pulse Channel upper band, but only if the selected confirmation filters are satisfied.
The strategy does not open short positions.
Entry logic
A long entry occurs when all selected conditions are satisfied:
* Price crosses above the Trend Pulse Channel upper band.
* Price is within the selected date range.
* The regime filter is satisfied, if enabled.
* The OBV confirmation filter is satisfied, if enabled.
* No long position is already open.
The strategy is designed to avoid entering every channel breakout. Instead, it requires confirmation that price is breaking out while broader trend and volume conditions support the move.
Trend Pulse Channel
The Trend Pulse Channel is calculated from:
* A selected source price, default HLC3.
* A multi-pole smoothing filter.
* A filtered true-range stream.
* A range multiplier used to define the upper band.
The upper channel band is used as the breakout trigger.
The midline is used as a possible exit reference when the midline exit is enabled.
OBV confirmation filter
The OBV filter compares On-Balance Volume to an EMA of OBV.
When the filter is enabled, long entries are allowed only when OBV is above its EMA. This is intended to require evidence that volume flow supports the upside breakout.
This does not guarantee continuation. It only adds a volume-based confirmation condition to the channel breakout.
Regime filter
The regime filter compares price to a selected EMA.
When enabled, long entries require price to be above the regime EMA. This is intended to reduce long entries during weaker or downward market environments.
The regime EMA can also be used as an exit condition if the regime exit is enabled.
Lag Mode
Lag Mode applies a zero-lag style pre-transform to both the price source and the true-range stream before they are filtered.
This can make the Trend Pulse Channel respond faster to new price movement, but it can also increase sensitivity and may create more false signals in choppy markets.
Exit logic
The strategy has multiple exit mechanisms:
1. ATR stop
At entry, the script calculates a fixed stop price using the previous bar’s ATR multiplied by the selected ATR stop multiplier. This stop remains fixed after entry.
2. Midline exit
When enabled, the strategy exits if price closes below the Trend Pulse Channel midline.
3. Regime EMA exit
When enabled, the strategy exits if price closes below the regime EMA.
The first active exit condition to trigger can close the position.
Risk and position sizing
The default strategy uses percent-of-equity position sizing.
Users should review the default order size carefully before publishing or relying on backtest results. A large percent-of-equity allocation can make historical results look stronger or weaker than they would under more conservative risk assumptions.
For public publication, users should use realistic position sizing, commission, and slippage assumptions that match the market being tested.
Default strategy properties
The script uses the following strategy properties:
* Initial capital: 1,000
* Position sizing: percent of equity
* Default order size: 70% of equity
* Commission: 0.1%
* Slippage: defined in the strategy settings
* Pyramiding: 1
* Fill orders on standard OHLC: enabled
* Calculate on every tick: disabled
* Calculate on order fills: disabled
* Bar magnifier: disabled
* Process orders on close: disabled
* Long-only execution
These values are provided for testing and can be changed by the user. They should not be interpreted as recommended risk settings.
Important backtesting note
TradingView strategy results are simulations based on historical chart data. They are not live trading results.
Backtest results can change significantly depending on:
* Symbol.
* Timeframe.
* Date range.
* Liquidity.
* Spread.
* Commission.
* Slippage.
* Position size.
* Trend Pulse period.
* Number of poles.
* Range multiplier.
* Lag Mode setting.
* OBV EMA length.
* Regime EMA length.
* ATR length.
* ATR stop multiplier.
* Exit settings.
* Market regime.
Users should test the strategy on a sufficiently large number of trades and across different market conditions before drawing conclusions. A small sample of trades is not enough to evaluate a strategy reliably.
How to use it
A practical workflow is:
1. Select the symbol and timeframe to test.
2. Use a realistic date range that includes different market regimes.
3. Confirm that the strategy produces a sufficient number of trades.
4. Adjust commission and slippage to reflect the market being tested.
5. Review whether the percent-of-equity order size is suitable.
6. Compare results with the OBV filter on and off.
7. Compare results with the regime filter on and off.
8. Compare exits using the midline exit, regime exit, and ATR stop behavior.
9. Forward-test before considering any real-world use.
Inputs
Date Range
* Start Date: first date included in the backtest.
* End Date: last date included in the backtest.
Trend Pulse Channel
* Source: price source used in the channel calculation.
* Poles: smoothing pole count used by the filter.
* Period: main channel smoothing period.
* Range Multiplier: controls the distance of the upper channel band.
* Lag Mode: applies the zero-lag pre-transform before filtering.
OBV Confirmation Filter
* Require OBV > EMA(OBV, N): enables or disables OBV confirmation.
* OBV EMA Length: EMA length applied to OBV.
Regime Filter
* Require close > regime EMA: enables or disables the regime filter.
* Regime EMA Length: EMA length used for the regime filter.
Exit Logic
* Exit on close < TPC midline: exits when price closes below the channel midline.
* Exit on close < regime EMA: exits when price closes below the regime EMA.
Risk — ATR Stop
* ATR Length: ATR period used for stop calculation.
* ATR Stop Multiplier: ATR multiplier used to set the fixed stop distance at entry.
Visual elements
The strategy plots:
* Trend Pulse Channel upper band.
* Trend Pulse Channel midline.
* Regime EMA.
* Long entry markers.
* Long exit markers.
Limitations
This strategy is long-only and does not evaluate short trades.
The strategy can underperform during sideways, choppy, low-volume, or news-driven conditions.
OBV confirmation can reduce some weak breakouts, but it cannot eliminate false breakouts.
The regime EMA is a lagging trend filter and may delay entries or exits.
The ATR stop is fixed at entry and may not adapt to changing volatility after the trade opens.
A breakout above the channel does not guarantee trend continuation.
No backtest can guarantee future performance.
Recommended use
Trend Pulse OBV is used as an educational framework for studying channel breakout behavior with volume-flow confirmation and regime filtering.
It should be used with realistic backtesting assumptions, conservative position sizing, and independent validation before any trading decision.
Strategy

Compass | AnonycryptousCompass | Anonycryptous
Description & user manual
Credits
The weekly psychological level calculation in this indicator is based on open-source code originally published on TradingView. The original script was created by plasmapug. Continued development was done by infernixx, Peshocore, and xtech5192 in collaboration with TradersReality. Significant modifications have been made to integrate this component into the Compass framework.
Why this indicator is different
Most indicators answer one question. A moving average tells you the trend direction. An oscillator tells you momentum. A session box tells you the time. A volume indicator tells you participation. Each one is useful. None of them tells you where you are.
Before placing a trade, a trader needs to answer several questions simultaneously. What session is active and what does that mean for the type of price action to expect? Where does the macro trend stand? Is volume confirming the move or contradicting it? Are there open imbalances nearby that price may return to? How much of the day's expected range has already been consumed? Where are the key structural levels — pivots, the daily open, prior week references?
Answering each of these questions separately requires stacking tool after tool until the chart becomes unreadable. Compass answers all of them at once.
It is not a signal indicator. It does not fire arrows or tell you when to buy or sell. What it does is something more fundamental: it gives you a complete read of the market environment before any decision is made. Sessions, trend, volume, imbalances, range levels, pivots, psychological references — all in one overlay, all configurable, all on one chart.
The design philosophy is orientation first. Decision second. Compass tells you where you are. What you do with that is your responsibility.
Important notice
Compass does not generate trading signals.
It does not tell you when to buy or sell.
It does not predict market direction.
It does not replace your trading strategy or your own analysis.
All illustrative examples in this manual are for educational purposes only and are not trading recommendations.
All trading decisions remain entirely with the user.
Always apply your own judgment and manage your own risk.
1. Overview
Compass is a comprehensive market context indicator that combines eleven independent analysis frameworks into one unified overlay. Every component is individually toggleable. Six presets are included for different trading styles, from fast scalping to full multi-component analysis.
What it includes:
- Five-EMA suite with adaptive cloud around the EMA 50
- EMA crossover system with configurable signals and candle coloring
- Stochastic RSI background alerts with four alert types and RSI divergence detection
- PVSRA volume vector candle analysis with zone tracking and configurable thresholds
- Eight global market sessions with automatic DST awareness
- Average daily, weekly, and monthly range levels with 50% midpoints
- Classic pivot points with mid-point levels
- Daily open reference line with historical opens
- Fair value gap detection with partial absorption tracking
- Weekly psychological level tracking
- Live dashboard with eighteen data points across all active components
2. EMA suite
Five exponential moving averages are plotted simultaneously: EMA 5, EMA 13, EMA 50, EMA 200, and EMA 800. Together they cover short-term momentum, medium-term trend direction, macro trend, and long-term structural bias.
The EMA 50 is wrapped in a dynamic cloud calculated from two standard deviations of price. The cloud expands during volatility and contracts during consolidation. A widening cloud indicates active price discovery. A thinning cloud indicates equilibrium or compression before a directional move.
The EMA 200 is the primary macro bias filter. Price above it defines a broadly bullish environment. Price below it defines a broadly bearish environment. This is shown in the dashboard at all times.
The EMA 800 provides long-term structural context, particularly useful on mid to higher timeframes where it marks the gravitational center of multi-month price structure.
All five EMA lengths are configurable. Each has individual color and transparency controls. An EMA label option displays the current value at the right edge of each line.
3. EMA cross system
The EMA cross tracks a configurable fast EMA crossing a configurable slow EMA and marks the crossover bar. All candles after a cross continue in the direction of that cross until the opposite cross fires.
Three display modes are available: show both the fast and slow EMA lines, show a single consolidated EMA line, or hide the EMA lines entirely while keeping the crossover signals visible.
This component is a trend state indicator, not a trade trigger. A bull cross does not mean buy. It means the short-term trend has shifted upward relative to the medium-term average.
Signals and candle coloring can be toggled independently.
4. Stochastic RSI
The stochastic RSI component runs a standard stochastic RSI calculation and generates background color alerts based on crossover conditions at configurable band levels.
Four alert types are available, each independently toggleable:
Middle band crossover — K line crosses D line near the 50 level. Indicates a possible trend shift in momentum.
Overbought/oversold crossover — K line crosses D line from overbought or oversold territory. Indicates a potential reversal from an extreme.
Entering overbought — K line crosses above the upper band. Indicates that momentum has moved into overbought territory.
Entering oversold — K line crosses below the lower band. Indicates that momentum has moved into oversold territory.
The dashboard displays the current stochastic RSI state and the RSI value. RSI appears in green when above the midline and in red when below. Regular bullish and bearish divergence is detected automatically and shown in the dashboard as a directional label. When divergence is active, a thin reference line appears on the price chart marking the divergence candles.
5. PVSRA volume vector analysis
PVSRA analysis colors candles based on volume relative to the 10-bar average and the relationship between volume and candle spread.
Four vector types:
Green vector — bullish bar where volume is at or above the green/red threshold (default 200% of the 10-bar average), or where volume multiplied by spread is the highest of the last 10 bars. Indicates strong bullish institutional participation.
Red vector — same conditions on a bearish bar. Indicates strong bearish institutional participation.
Blue vector — bullish bar where volume is at or above the blue/violet threshold (default 150% of average). Indicates elevated bullish volume below the institutional threshold.
Violet vector — same conditions on a bearish bar. Indicates elevated bearish volume.
Grey — no vector conditions met. Normal volume.
Both thresholds are configurable directly from the settings panel. Blue and violet signals are strictly exclusive from green and red — a bar cannot qualify for both simultaneously.
Vector candle zones draw boxes at each vector candle location and remain active until price moves through the zone, marking areas where elevated institutional activity was detected at the time the candle formed.
The PVSRA override input allows a different symbol to be used for the volume calculation. This is useful when the charted instrument has unreliable volume data, such as CFDs, perpetual swaps, or instruments where the primary volume is on a related market.
6. Market sessions
Eight global trading sessions are tracked simultaneously, each with automatic DST awareness. Sessions are displayed as expanding boxes with high and low lines and a real-time label showing the session open.
Sessions included:
- London: 08:00–16:30 UTC
- New York: 14:30–21:00 UTC
- Tokyo: 00:00–06:00 UTC
- Hong Kong: 01:30–08:00 UTC
- Sydney: 22:00–06:00 UTC
- EU brinks: 08:00–09:00 UTC
- US brinks: 14:00–15:00 UTC
- Frankfurt: 07:00–16:30 UTC
DST is handled automatically for London, New York, and Sydney. No manual adjustment is needed. Each session can be toggled individually, and box color, transparency, and label color are fully configurable per session.
Session context matters because market behavior differs significantly depending on which participants are active. London and New York overlap produces the highest volume and fastest price movement. Tokyo and Sydney sessions tend to consolidate. The brinks windows mark the transition periods where session highs and lows often form.
7. Range levels
Three statistical range frameworks measure the expected price range for the current period based on historical averages.
Average daily range (ADR) — the expected high and low for the current trading day. When price reaches the ADR level, the day's expected range has been consumed. Moves beyond the ADR are extension moves that occur with lower statistical probability and often mean-revert. The dashboard shows ADR % used — how much of today's expected range has already been consumed. Above 80% indicates the day is approaching its expected limit.
Average weekly range (AWR) — the same concept applied to the current week. Useful for assessing how much room the week has left to move.
Average monthly range (AMR) — the same concept applied to the current month. Provides macro context for position sizing and target expectations.
Each framework includes a 50% midpoint level marking the center of the expected range. The ADR measure from daily open option calculates the range starting from that day's open price rather than the statistical high, making the levels static for the entire day.
All three frameworks have individual lookback period inputs, color controls, line styles, and label toggles.
8. Pivot points
Classic pivot points are calculated from the prior day's high, low, and close. Levels include PP, R1/S1, R2/S2, R3/S3, and M mid-point levels between each major level.
Pivot points provide structural reference for the current session. Price above PP defines a broadly bullish day structure. R levels act as potential resistance targets. S levels act as potential support targets. M levels provide intermediate precision references between major pivots.
All levels can be toggled individually. Lines extend rightward from the prior session and can optionally extend in both directions. Each level has individual color and line style controls.
9. Daily open
A horizontal line marks the current day's opening price. This is one of the most referenced structural levels among short-term traders because it defines the starting point for the day's price discovery.
Price above the daily open reflects a bullish session bias. Price below reflects a bearish session bias. When price oscillates around the daily open without committing direction, the session is in balance — a lower probability environment for trend trades.
Historical daily opens can optionally be shown as reference for prior day context.
10. Fair value gaps
A fair value gap is a three-bar imbalance where price moved through a range without leaving two-sided trade — the low of the upper candle is above the high of the lower candle (bullish gap) or vice versa (bearish gap). These areas represent unfinished business where the market may return to achieve balance.
Gaps are filtered by a minimum width threshold expressed as a multiple of ATR. Gaps narrower than the threshold are excluded. Partial absorption is tracked — as price returns into the gap, the fill color changes to show how much of the imbalance has been recovered.
Fully mitigated gaps can be kept on the chart as historical reference or deleted automatically to maintain a clean view.
11. Psychological levels
Weekly psychological levels mark the prior week's high and low as calculated by a specific session-anchored method. These levels represent deliberate structural references where participants have previously committed size — breakouts and rejections around these levels tend to be more intentional than random price noise.
Three GMT offset options accommodate the session anchor calculation for different global market structures. Two mode options are available: crypto (weekly reset on Saturday Sydney open) and forex (weekly reset on Monday Tokyo open).
12. Settings reference
Preset
- Custom: full manual control over all settings.
- Clean scalper: sessions, EMA suite, FVG, subtle candle coloring. Low noise.
- Full context: everything on, medium transparency. Best for analysis.
- Signal focus: EMA cross, stoch RSI background, PVSRA bar color prominent. Rest subtle.
- Minimal: sessions, daily open, ADR only. No signals.
- PVSRA pro: PVSRA and vector candle zones central. EMA 200 and 800 only.
Global settings
- Master opacity offset (custom preset only): shifts all transparency values simultaneously.
- Show bull/bear label text: shows or hides text on EMA cross signal triangles.
EMA suite
- Show EMA suite and labels
- Individual EMA color and transparency controls
- EMA cloud fill and border transparency
- EMA line width
EMA cross
- Show EMA cross signals
- Fast EMA, slow EMA, and consolidated EMA lengths
- Show both EMAs or consolidated only
- Bull, bear, and neutral colors and transparency
- Cross EMA line width
Stochastic RSI
- Show stochastic RSI background alerts
- RSI length and stochastic length
- Overbought and oversold band levels
- Individual alert type toggles (four types)
- Alert colors and transparency
- RSI divergence lookback period
- Divergence line color and width
PVSRA
- Vector colors (red, green, violet, blue, regular up/down)
- Green/red threshold (× average volume, default 2.0)
- Blue/violet threshold (× average volume, default 1.5)
- Include spread filter for green/red classification
- Override symbol toggle and input
- Show vector candle zones with transparency and width settings
Candle coloring
- Enable candle coloring
- Coloring mode: EMA cross / PVSRA / EMA 200 / off
- Bull and bear candle color and transparency
Market sessions
- Show market sessions
- Session timezone
- Show sessions on weekends
- Session high/low line style and width
- Per session: toggle, box color, transparency, label color
Range levels
- Show ADR, AWR, AMR (individual toggles)
- Lookback periods for each
- Show 50% midpoint levels
- Measure from daily open (ADR only)
- Color, transparency, line width, line style, labels
Pivot points
- Show PP, R1/S1, R2/S2, R3/S3, M levels individually
- Show labels
- Extend lines both directions
- Individual level colors and line styles
- Pivot line width
Daily open
- Show daily open
- Show label
- Show historical daily opens
- Color, transparency, line width
Fair value gaps
- Show fair value gaps
- Width filter (ATR multiplier)
- Extend to current bar
- Bullish and bearish FVG colors
- Mitigation fill colors
- Keep historical FVGs after mitigation
Psychological levels
- Show psy levels and labels
- Show historical psy levels
- GMT offset (GMT+1, GMT+2, GMT+3)
- Psy type: crypto or forex
- High and low colors and transparency
Dashboard
- Show dashboard
- Position: top left, top right, bottom left, bottom right
- Size: tiny, small, normal
13. Dashboard reference
The dashboard provides eighteen live data points across all active components:
Session — the currently active market session.
EMA cross — current EMA cross direction: bull or bear.
EMA 200 — whether price is above or below the EMA 200.
Stoch RSI — current stochastic RSI condition.
RSI — current RSI value, colored green above midline and red below.
RSI divergence — active bullish or bearish divergence, or none.
PVSRA — current candle vector type.
ADR % used — how much of today's expected daily range has been consumed.
FVG active — count of open unmitigated fair value gaps and mitigation percentage.
Psy level — whether price is above or below the prior week's psychological level.
Timezone — active session timezone setting.
VCZ active — count of active vector candle zones above and below current price.
Pivot PP — current pivot point value.
Daily open — current daily open price and direction.
14. How to use
14.1 Initial setup
Select a preset that matches your primary trading style. Adjust the session timezone to match your location or your primary exchange. If you trade an instrument with unreliable volume data, enable the PVSRA override and set it to a correlated liquid instrument. Set the ADR lookback period to your preference — 14 days is a standard starting point. For FVGs, set the width filter to 0.5 or higher to exclude minor gaps.
14.2 Reading the dashboard
The dashboard is the fastest way to orient yourself on a new chart or a new session. Check session, EMA cross direction, EMA 200 position, stoch RSI state, and ADR consumed before anything else. Five seconds to a full picture of where the market stands.
14.3 Reading the chart
Check EMA alignment. When EMA 13, EMA 50, and EMA 200 are stacked in the same direction, the trend is more significant than a single crossover. Divergence between them reflects a transition or competing timeframe pressures.
Check ADR percentage. Below 50% means the day has statistical room to move. Above 80% means the day is near its expected limit and extension moves are less probable.
Look for open FVGs near current price. An unmitigated FVG in the direction of the prevailing trend is a precision reference area where price has historically returned.
Check the psy level. If price is approaching the prior week's high or low, be aware that participant behavior around those references tends to be deliberate.
14.4 Timeframe guide
1 minute to 3 minutes — clean scalper preset, candle coloring set to EMA cross.
5 minutes to 15 minutes — clean scalper or signal focus preset.
30 minutes to 1 hour — full context preset, use ADR and pivot points.
4 hours to daily — full context or minimal preset.
14.5 Tips
PVSRA override — use when your broker's volume data is unreliable, when you trade a CFD or derivative with synthetic volume, or when you want spot market volume for a futures chart.
Master opacity offset — adding 10 to 20 increases overall transparency and dims the chart if it feels cluttered. Subtracting 10 to 20 makes all elements more prominent. This shifts all transparency values simultaneously without changing individual settings. Only active in custom preset.
Not every component needs to be active at once. Most traders will find three to four components provide the context they need for their specific setup.
15. Disclaimer
This indicator is provided for educational and informational purposes only.
Nothing in this document constitutes financial advice or any form of trading recommendation.
Trading financial instruments involves substantial risk of loss.
Past performance is not indicative of future results.
You may lose all of your invested capital.
All trading decisions are made entirely by the user.
Use at your own discretion.
Indicator

MTF Market State DashboardA multi-timeframe market context dashboard designed to classify market conditions using three independent analytical layers: Trend direction, Trend strength and Participation / Volume flow
Instead of relying on a single indicator or isolated signal, this script combines multiple forms of market information into a structured decision framework intended to help traders evaluate the quality and maturity of a market condition.
The goal of the dashboard is not to predict tops or bottoms, but to help identify:
• aligned market conditions
• conflicting conditions
• strengthening trends
• weakening trends
• and low-conviction environments
Core Idea Behind The Script
Many indicators work well in certain environments and poorly in others.
For example:
• Trend indicators may continue showing bullish conditions during weakening momentum.
• Momentum indicators may react aggressively inside consolidations.
• Volume indicators may show temporary spikes without broader trend confirmation.
This script was built to reduce that fragmentation by separating market behavior into three independent layers:
1. Direction
Defines where the market is currently biased.
2. Strength
Measures whether the move has enough momentum to sustain itself.
3. Participation
Evaluates whether price movement is supported by broader volume-flow behavior.
The dashboard then combines these layers into a unified market-state classification system.
What The Dashboard Tracks
1. Trend Structure Layer
The script evaluates directional bias using:
EMA 200
Used as the higher-level directional filter.
Typical interpretation:
• Price above EMA 200 → bullish macro bias
• Price below EMA 200 → bearish macro bias
EMA 50
Tracks intermediate trend behavior and shorter-term structural changes.
Supertrend
Used as a dynamic trend confirmation layer.
Unlike a static moving average, the Supertrend adapts to volatility and helps identify directional transitions more quickly.
Each trend component is displayed as:
• BULL
• BEAR
along with an “age” value showing how many bars have passed since the last state change.
This allows traders to distinguish between:
• fresh transitions
• mature trends
• and potentially exhausted conditions
2. Trend Strength Layer
ADX (via DMI)
ADX is used to measure trend strength, not trend direction.
Typical interpretation:
• Low ADX → weak or ranging environment
• Rising / high ADX → stronger directional environment
This distinction matters because bullish conditions inside weak trend environments often behave differently from bullish conditions inside expanding trends.
The script uses ADX as a confirmation filter inside the Market State logic.
3. Participation & Volume-Flow Layer
This layer attempts to measure whether directional movement is being supported by participation and flow behavior.
CMF (Chaikin Money Flow)
CMF estimates buying versus selling pressure by evaluating closing location relative to range and volume.
General interpretation:
• Positive CMF → accumulation pressure
• Negative CMF → distribution pressure
CDV (Cumulative Delta Volume Proxy)
Pine Script does not provide true bid/ask delta data.
This script therefore uses a candle-based directional volume proxy to estimate cumulative directional participation.
The CDV layer classifies conditions as:
• Rising
• Falling
• Neutral
Adaptive filtering is included to reduce minor fluctuations and noise.
OBV Breakout Detection
The script also evaluates whether On-Balance Volume is breaking above or below recent ranges.
This is used to identify:
• expanding participation
• weakening participation
• or neutral flow conditions
The OBV component is not intended as a standalone signal generator, but rather as an additional confirmation layer inside the broader market-state framework.
Market State Classification
One of the main purposes of the script is to convert multiple independent readings into a simplified market-state output.
The dashboard derives a “Market State” by combining:
• Trend direction
• Trend strength
• Participation / flow confirmation
Possible classifications include:
• Strong Bull Context
• Bull Context
• Mixed / Wait
• Bear Context
• Strong Bear Context
The classification is not predictive and should not be interpreted as financial advice.
Instead, it is intended to provide a structured summary of current market conditions.
How Market State Is Derived
The logic combines three internal scoring groups:
Trend Score
Built from:
• EMA 200 state
• EMA 50 state
• Supertrend state
Participation Score
Built from:
• CMF bias
• CDV direction
• OBV breakout state
Strength Filter
Built from:
• ADX threshold validation
Example:
• bullish trend structure
• bullish participation
• and strong ADX
→ may classify as “Strong Bull Context”
Whereas:
• bullish trend structure
• weak participation
• and weak ADX
→ may classify as “Mixed / Wait”
This allows the dashboard to identify agreement and disagreement between independent analytical layers.
Multi-Timeframe Logic
The script supports:
• single timeframe mode
• dual timeframe mode
Typical usage example:
• Lower timeframe → execution context
• Higher timeframe → broader directional context
This allows traders to compare:
• local conditions
• against higher timeframe structure
without switching charts repeatedly.
Age Tracking
Each directional state includes an “age” measurement representing the number of bars since the last directional transition.
This is included because newer transitions and older trends may behave differently.
Example:
• Low age → newer condition
• High age → more mature condition
The script does not assume older trends will reverse, but age can provide additional context about trend maturity.
Practical Interpretation
Example: Higher-Conviction Bullish Environment
Possible characteristics:
• EMA structure bullish
• Supertrend bullish
• ADX elevated
• CMF positive
• CDV rising
• OBV breakout bullish
This may indicate alignment between:
• trend
• momentum
• and participation
Example: Mixed Environment
Possible characteristics:
• bullish EMA structure
• falling CDV
• weak ADX
• neutral OBV behavior
This may indicate:
• weakening momentum
• transition behavior
• or lower-conviction conditions
Intended Usage
The script is designed as:
• a context tool
• a filtering framework
• and a market-state dashboard
It is not intended to replace:
• risk management
• execution models
• or broader trading plans
The dashboard is generally most useful when combined with:
• breakout systems
• pullback systems
• trend-following models
• or discretionary execution methods
Customization Options
The script includes:
• 1TF / 2TF modes
• configurable EMA lengths
• Supertrend settings
• ADX threshold controls
• CDV sensitivity adjustment
• OBV breakout lookback settings
• Table themes
• Text sizing
• Dashboard positioning
Notes
• CDV uses a candle-based proxy because true bid/ask delta data is unavailable in Pine Script.
• The dashboard focuses on contextual interpretation rather than direct entry signals.
• The Market State classification is derived from internal scoring logic and should be interpreted as a contextual summary, not a prediction engine.
Summary
This dashboard was designed to organize multiple forms of market information into a single structured framework.
Rather than treating trend, momentum, and participation separately, the script attempts to evaluate how they interact with each other across one or more timeframes.
The result is a compact market-context tool intended to help traders:
• identify alignment
• recognize conflict
• filter weaker conditions
• and evaluate overall market structure more efficiently.
Indicator

Flow-RegimeFlow-Regime
A multi-source flow oscillator. It normalizes three independent measures of
market flow to a unified ±100 scale and combines them into a conviction-
weighted composite line, so you can see at a glance whether OBV, A/D, and
price flow are agreeing or diverging.
▌ What's plotted
Three normalized lines, each computed through the same pipeline
(CCI → percentrank → linear map to ±100):
• OBV-Flow — On-Balance Volume (signed cumulative volume)
• AD-Flow — Chaikin Accumulation/Distribution
• Price-Regime — price flow (ohlc4)
Plus a Fitted composite — the average of the three, amplified by |conviction|,
where conviction = average ÷ mean(|x|, |y|, |z|). When all three lines agree
the composite is amplified; when they conflict it is suppressed toward zero.
The Fitted line uses 5-tier coloring driven by how many of the three exceed
the neutral threshold (default ±20): solid green/red = all three agree, lighter
shades = two of three, gray = no consensus.
▌ Two lookback modes
Linear (default) — TF-specific lookback with sensible per-timeframe defaults
(1m=60, 5m=24, 15m=16, 1h=24, 4h=18, 1d=7, 1w=12, 1M=12), all editable.
Anchored — pick an anchor timestamp; the percentrank window grows from 0 at
that bar to (current_bar − anchor_bar) at the right edge of the chart. Use
this to lock the statistical baseline to a specific event — a regime start,
a major breakout, a news release. The anchor bar is marked with a yellow
diamond at fitted = 0.
▌ How to read it
The OB zone (≥ +70) and OS zone (≤ −70) are shaded — these are statistically
stretched conditions. Bars where the Fitted line reaches ±99 get a soft red/
green background tint as an "at the extreme" warning. Two corresponding alert
conditions are exposed for use with TV alerts.
This indicator does NOT emit trade signals. Per-line reversal dots and
confluence triangles are intentionally absent: those patterns can fit
historical noise convincingly without generalizing forward. Treat extremes
as flags to investigate, not entries to take.
Useful interpretive frames:
• All three lines extreme in the same direction = strongest evidence of
flow consensus.
• One or two lines diverging from the others at extremes = a divergence
worth examining on the chart.
• Fitted approaching ±99 = statistical extreme, regardless of direction.
▌ Notes
In Anchored mode, the first few bars after the anchor have very few historical
points to rank against, so percentrank values can swing to ±100 from sparse
data — read these bars with caution. CCI itself always uses the full real
price history regardless of mode, so its 20-bar internal window is never
distorted by the anchor.
Enable the Debug label in settings to verify which mode and lookback are
currently active on the chart. Indicator

Conflux Engine | AnonycryptousConflux Engine | Anonycryptous
Description & user manual
Why this indicator is different?
Most signal indicators work the same way. One condition triggers. One signal fires. The trader either takes it or does not.
The problem is that a single condition — a crossover, a level break, a momentum read — is almost never enough to define a genuinely high-quality trade. Markets are too complex and too noisy for that.
Conflux Engine works differently.
It does not fire on one condition. It requires multiple independent market forces to align simultaneously before a signal appears. Structure has to agree. Volume has to confirm. Momentum has to support. Volatility has to be in the right zone. Session positioning has to be favorable. And optionally, the higher timeframe trend and the ribbon have to be aligned too.
Only when enough of these forces agree — and agree clearly — does the indicator produce a signal.
This is what confluence means in practice. Not one thing being right. Multiple independent things being right at the same time.
The result is fewer signals. But the signals that do appear carry more weight than anything a single-condition system can produce.
Important notice
Conflux Engine generates trading signals based on a multi-factor scoring engine.
These signals are not financial advice.
They do not predict the future.
They do not guarantee profitability.
They are a systematic read of current market conditions across multiple dimensions.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
Conflux Engine is a scoring-based signal indicator for traders who want structured, high-conviction entries rather than frequent, noisy ones.
Six independent pillars evaluate the market continuously. Each pillar scores independently. The scores combine into a total out of 100. When the total exceeds the signal threshold — and the dominant direction leads the opposite direction by a minimum gap — a signal fires.
Additional hard gates can be enabled: an ADX noise filter to block signals during choppy markets, a VWMA filter to ensure macro trend alignment, a Supertrend filter for dynamic trend confirmation, and an Ultra Ribbon filter using 15 Hull Moving Averages for the fastest momentum read.
The result is an indicator that is selective by design. It is not built to fire constantly. It is built to fire well.
2. The six pillars
2.1 Structure
Evaluates market structure using swing pivot highs and lows. A higher high combined with a higher low defines a bullish structure. A lower high combined with a lower low defines a bearish structure.
This pillar answers the most fundamental question in trading: is the market making progress in a direction, or is it deteriorating?
Weight: up to 16 points.
2.2 Volume
Uses OBV slope via linear regression to determine whether volume is accumulating in the direction of price or diverging from it.
Rising OBV slope on a bullish signal means participation supports the move. Falling OBV slope on a bullish signal is a warning. This pillar separates moves with institutional backing from moves without it.
Weight: up to 16 points.
2.3 Momentum
Evaluates three independent momentum reads: KAMA position (a Kaufman adaptive moving average that adjusts its speed to market conditions), RSI relative to the 50 midline with slope direction, and Williams %R for price positioning within the recent range.
Two of three aligned scores partial points. All three aligned scores full points.
Weight: up to 16 points.
2.4 Liquidity
Detects sweep events — moments where price wicks beyond a recent swing high or low and closes back inside. These events mark liquidity grabs and often precede directional moves.
A confirmed bull sweep sets up a long bias context. A confirmed bear sweep sets up a short bias context. The context remains active for a configurable number of bars, decaying over time.
Weight: up to 16 points.
2.5 Volatility
Measures ATR relative to its own moving average to identify the volatility sweet spot. Signals during dead, flat markets carry less meaning. Signals during chaotically explosive moves are harder to execute cleanly. This pillar rewards the in-between: active, directional, manageable volatility.
Weight: up to 16 points.
2.6 Session
Evaluates price positioning within the current day's developing range. Price in the lower portion of the range (discount) favors long bias. Price in the upper portion (premium) favors short bias.
This pillar can be toggled independently from the session time filter — you can use session scoring without restricting signals to specific hours, or vice versa.
Weight: up to 20 points.
3. Hard gates
Beyond the six scoring pillars, Conflux Engine includes four optional hard gates. These do not add points. They block signals entirely when their condition is not met.
3.1 ADX noise filter
Blocks signals when ADX is below a configurable threshold. ADX measures trend strength. A low ADX means the market is ranging and directionless — exactly the environment where momentum signals fail most often. Default threshold: 35. Adjustable up to 100 for maximum selectivity.
3.2 VWMA filter
Price must be above the Volume Weighted Moving Average for long signals, and below it for short signals. The VWMA is slower than a standard EMA and reflects the average price weighted by volume — a more meaningful macro reference than a simple average. Default length: 200.
3.3 Supertrend filter
The Supertrend must confirm the signal direction. This is a dynamic trend line based on ATR bands that flips cleanly between bull and bear states. It acts as an additional structural confirmation that the trend environment supports the entry.
3.4 Ultra Ribbon filter
The fastest gate. Built from 15 Hull Moving Averages spanning a range of lengths. When the fastest HMA is above the slowest HMA, the ribbon is bullish. When below, bearish. Because Hull MAs minimize lag, this gate reacts to trend changes earlier than most moving average systems.
The ribbon also serves as a trailing stop option in the backtest — the slowest HMA tracks trend without being too reactive.
4. Signal scoring
Every bar, both a bullish and bearish score are computed from the six pillars. The scores are added together.
A signal fires when:
- The dominant score meets or exceeds the signal threshold (default 70)
- The dominant score exceeds the opposite score by at least the directional lead (default 20)
- All enabled hard gates are cleared
This two-condition check — threshold plus gap — prevents marginal signals from appearing when the market is ambiguous. Both bull and bear can score reasonably high during mixed conditions. The gap requirement ensures the dominant direction is meaningfully ahead.
Pillar weights are individually adjustable. The system allows traders to prioritize the factors most relevant to their trading style and instrument.
The Extreme Threshold (default 90) flags signals where the confluence score is exceptionally high. These are the highest-conviction setups in the system.
5. The Ultra Ribbon
The Ultra Ribbon is a 15-layer Hull Moving Average ribbon that sits on the chart as both a visual trend tool and a momentum gate. Three themes are available:
Classic — green and red. Clear, functional, no ambiguity.
Phantom — cyan and pink with purple exhaustion. A darker, stylized read of the same data. (the default)
Custom — full color control for bull, bear, and exhaustion states.
The ribbon color adapts dynamically. When the spread between the fastest and slowest HMA is wide relative to its historical average, the ribbon fades toward the exhaustion color — a visual signal that the trend may be overextended. When the spread is moderate, the ribbon shows its full trend color.
Candle coloring follows the ribbon's bull/bear state continuously, giving an immediate read of trend direction on every bar.
The dashboard accent color and signal indicators follow the active theme, giving the entire indicator a unified visual identity across chart and panel.
6. Multi-timeframe filter
When enabled, the MTF filter evaluates the trend on a higher timeframe using a 50-period EMA. If the higher timeframe trend agrees with the signal direction, a weight bonus is added to the total score. If it disagrees, no bonus is added — but the signal is not blocked unless the score falls below threshold as a result.
This behavior is intentional. The HTF filter adds weight to aligned signals without making every counter-trend setup impossible. It rewards confluence with the bigger picture without enforcing hard alignment.
Default timeframe: 240 (4-hour).
Default weight bonus: 20 points.
7. Backtest and performance tracking
Confluence Engine includes a built-in performance tracker that logs every signal, applies configurable stop and target multipliers based on the current regime, and tracks wins, losses, and win rate across the visible history.
Stop loss modes:
- ATR — a fixed multiple of ATR from the entry price. Simple and consistent.
- Pivot — stop placed at the most recent swing low (for longs) or swing high (for shorts). Respects structure.
- Supertrend — stop placed at the dynamic Supertrend level at the time of entry. Tighter and adaptive.
- Trailing (h15) — stop follows the slowest HMA of the Ultra Ribbon. Trends with the market and gives winners more room.
Target multipliers are adjustable for each regime: Scalp, Intraday, and Swing. The regime is determined by the current ADX value.
Recent log shows the last three trade results in R multiples. This gives a quick read on recent system performance without requiring a separate journaling tool.
Note: the backtest uses bar close logic and approximated fill prices. It is a directional performance reference, not a precise simulation. Session filtering does not retroactively apply to historical trades — enabling session filtering after a test period will affect forward signals but not past performance data.
8. Dashboard reference
The dashboard updates on every bar and shows:
- Header: indicator name and current timeframe
- Pillar rows 1–6: score per pillar, colored by direction
- HTF Trend: higher timeframe alignment and weight (when MTF enabled)
- Signal: LONG / SHORT / WAIT with direction color
- Win Rate: percentage of tracked signals that hit target
- Recent Log: last three results in R multiples
- Score: total confluence score out of 100
- Session: OPEN or FILTERED
The dashboard header and accent colors follow the active ribbon theme.
Tiny, Small, and Normal size options are available.
9. Settings reference
General Settings
- Signal Threshold: minimum score to trigger a signal (50–95, default 70)
- Extreme Threshold: score above which extreme confluence is flagged (80–100, default 90)
- Directional Lead: minimum gap between bull and bear score (default 20)
Multi-Timeframe Trend
- Enable MTF Filter
- HTF Timeframe (default 240)
- HTF Weight (default 20)
Quality Filters (Noise Reduction)
- Enable ADX Noise Filter
- Min ADX Value (0–100, default 35)
Trend Confirmation
- Enable VWMA Filter + length
- Enable Supertrend Filter + ATR length + multiplier
- Show/hide Supertrend and VWMA lines
Pillar Weights
- Individual weight for each of the six pillars
Session Filtering
- Filter Entries by Session (time gate)
- Enable Session Pillar Scoring (premium/discount scoring)
- Trading Session input
Trade Suggestions (ATR Multipliers)
- SL and TP multipliers for Scalp, Intraday, and Swing regimes
Ultra Ribbon
- Enable Ribbon Filter
- Show Ribbon on Chart
- Base Length and Length Step
- Theme: Classic / Phantom / Custom
- Custom color inputs (bull, bear, elite)
Backtest & UI
- Enable Performance Tracking
- Start Year
- Show Active Trade Lines
- Show Recent Trade Log
- Stop Loss Mode: ATR / Pivot / Supertrend / Trailing (h15)
UI Settings
- Show Dashboard
- Dashboard Position
- Dashboard Size: Tiny / Small / Normal
10. How to use
10.1 Initial setup
1. Load the indicator on your preferred chart and timeframe.
2. Select a ribbon theme that matches your visual preference.
3. Set the signal threshold based on your desired selectivity. Start at 70.
4. Set the directional lead. 15–20 is a balanced starting point.
5. Enable the hard gates relevant to your style. For intraday trading, ADX + Supertrend is a strong combination. For swing trading, VWMA + MTF adds macro context.
6. Configure the session scoring if you trade specific sessions. NY traders: set session to 1330–2000 UTC (or your local equivalent).
7. Set your backtest start year and stop mode preference.
10.2 Reading a signal
When a signal appears:
- Check the dashboard. Which pillars are active? A signal with Structure + Volume + Momentum all scoring is stronger than one carried primarily by Session and Volatility.
- Check the score. A signal at 72 with a 20-point gap is valid but tight. A signal at 88 with a 30-point gap is a high-conviction setup.
- Check the ribbon. Is it cleanly bullish or bearish? Is it near exhaustion color? Signals during ribbon exhaustion carry more risk.
- Check the hard gates. They cleared — but were they close? A signal that barely cleared ADX 35 is different from one with ADX at 55.
10.3 Managing entries
Confluence Engine does not tell you the exact entry price. It tells you when conditions align. Your entry technique — pullback, breakout, limit at structure — remains your decision.
Use the stop mode that fits your trade: ATR for consistency, Pivot for structure-respect, Supertrend for dynamic adaptation, Trailing h15 for trend trades you want to hold.
10.4 Interpreting win rate
The built-in win rate is a useful reference, not a guarantee of future performance. A 65% win rate over 50 signals on a specific asset and timeframe tells you the system has been profitable in that environment. It does not guarantee the next signal wins.
Win rate should always be evaluated alongside average RR. A 60% win rate at 2R average beats a 70% win rate at 0.8R average. Use the recent log and the trade lines together to assess both dimensions.
10.5 Optimizing settings
If you see too many signals: raise the threshold, raise the directional lead, raise the ADX minimum, or enable additional hard gates.
If you see too few signals: lower the threshold slightly, reduce the directional lead, or disable one or two hard gates.
Do not optimize purely for win rate without considering signal frequency. A system that fires once per week at 80% win rate is different in practice from one that fires daily at 65%. Both can be profitable. Choose what fits your trading style.
11. Timeframe guide
1m–5m — Ultra Ribbon filter on, ADX threshold 30–40, Supertrend on, session scoring on. Focus on fast momentum signals during active sessions.
15m–30m — Full filter stack recommended. Threshold 70–75. Strong balance of frequency and quality.
1H–4H — VWMA and MTF filter add significant value. Threshold 75–80. Fewer signals, higher conviction.
Daily — Disable session scoring. Enable VWMA and MTF only. Use as swing context, not scalp tool.
12. What this indicator does not do
- Does not predict price direction with certainty
- Does not guarantee profitability
- Does not replace your own risk management
- Does not account for news events, gaps, or liquidity voids
- Does not track open positions in real time
- Does not connect to any broker or execution system
- Does not replace the Risk Management Engine for position sizing and account compliance
For position sizing, drawdown compliance, and trade logging, pair with Risk Management Engine | Anonycryptous.
For complete session analysis and market context, pair with Environment | Anonycryptous.
Together, the three tools cover strategy context, signal generation, and risk execution — a complete framework for structured trading.
13. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document constitutes financial advice or any form of recommendation.
All trading decisions are made entirely by the user. The indicator provides signal analysis based on configurable parameters — the relevance of any output depends on how those parameters are set and the market conditions in which the indicator is used.
Trading financial instruments involves substantial risk of loss. Past performance of the backtest function is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator or any content in this manual.
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 TradingView 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

Multi-Indicator Screener: 30 Assets🎯 Multi-Indicator Screener: 30 Assets
Catagories:
Stocks & ETFs (default), Cryptocurrency, Commodities, Global Indices, or Custom.
Indicators:
RSI, MACD, EMA Slope, OBV Trend, Supertrend, VWAP, ADX/DMI, BB %B, Stoch RSI, Vol Delta
OVERVIEW
This indicator simultaneously monitors 30 customizable assets across a single chart panel, classifying each asset's momentum as Strong Bullish, Weak Bullish, Weak Bearish, or Strong Bearish — updated bar by bar. It does this across 10 selectable technical indicators, giving you a real-time breadth map of the entire market without switching charts.
Every asset is displayed as a horizontal color-coded zone stacked vertically, so you can read the mood of the full market in a single glance.
The screener is designed for traders who want to understand market-wide momentum — not just one symbol — so they can make higher-conviction decisions based on whether the broader market is confirming or diverging from their trade thesis.
Asset Categories & Watchlists
The screener includes 4 built-in asset categories that you can switch between instantly: Stocks & ETFs (default), Cryptocurrency, Commodities, and Global Indices. Each category loads a carefully curated list of 30 relevant tickers with meaningful group breakdowns in the detailed table (e.g., Mega Cap / Large Cap for crypto, Energy / Precious Metals for commodities, USA / Europe / Asia for global indices). You can also select Custom mode to manually enter any 30 symbols you want to monitor. This makes the indicator extremely versatile whether you trade stocks, crypto, futures, or international markets.
THE 10 INDICATOR MODES
You select one active indicator from the settings panel. That indicator is applied identically to all 30 assets simultaneously. The following describes exactly how each indicator classifies an asset into its four states:
RSI (Relative Strength Index)
The RSI is calculated using a user-defined length (default: 14 periods) and then compared against its own Simple Moving Average (default: 14-period SMA of the RSI).
Strong Bull — RSI is above both the 50 midline and its SMA
Weak Bull — RSI is above only one of those conditions
Strong Bear — RSI is below both the 50 midline and its SMA
Weak Bear — RSI is below only one of those conditions
This two-condition filter removes many of the false signals that a raw RSI threshold produces.
MACD (Moving Average Convergence Divergence)
Uses the standard MACD histogram (default 12/26/9).
Strong Bull — histogram is positive and increasing bar-over-bar (accelerating bullish momentum)
Weak Bull — histogram is positive but flat or declining
Strong Bear — histogram is negative and decreasing bar-over-bar (accelerating bearish momentum)
Weak Bear — histogram is negative but flat or recovering
The directional change of the histogram is the key differentiator here.
EMA Slope
Calculates a 20-period EMA and measures the actual geometric slope angle (in degrees), normalized against the asset’s 200-bar price range.
Formula: atan(ema_change / (pts_per_bar × slope_period)) × 180 / π
Strong Bull — slope angle ≥ Reference Angle (default: 45°)
Weak Bull — slope angle positive but below the threshold
Strong Bear — slope angle ≤ -Reference Angle
Weak Bear — slope angle negative but above the negative threshold
Tip: The default 45° is aggressive. Lower it to 10–15° for more frequent Strong signals. Includes division-by-zero protection for flat markets.
OBV Trend (On-Balance Volume)
Applies short and long moving averages to raw OBV (default Short=2, Long=14). MA type is user-selectable (SMA, EMA, SMMA, WMA, VWMA).
Strong Bull — short OBV MA > long OBV MA and long MA is rising
Weak Bull — short > long, but long MA is flat or declining
Strong Bear — short < long and long MA is declining
Weak Bear — short < long, but long MA is flat or rising
Pure volume-flow based momentum detection.
Supertrend
Uses Pine’s built-in Supertrend (default Factor=3.0, ATR Length=10).
Strong Bull — price above Supertrend line and rising (moving away)
Weak Bull — price above line but falling (drifting toward it)
Strong Bear — price below line and falling
Weak Bear — price below line but rising
VWAP (Volume Weighted Average Price)
Uses session VWAP (resets daily).
Best on intraday charts (1min–4H). On daily+ charts it only reflects that session’s VWAP.
Strong Bull — price > VWAP and rising
Weak Bull — price > VWAP but falling
Strong Bear — price < VWAP and falling
Weak Bear — price < VWAP but rising
ADX / DMI
Manual Wilder's calculation for independent ADX per asset (default threshold 25).
Strong Bull — +DI > -DI and ADX ≥ 25
Weak Bull — +DI > -DI but ADX < 25
Strong Bear — -DI > +DI and ADX ≥ 25
Weak Bear — -DI > +DI but ADX < 25
BB %B (Bollinger Band Percent B)
Shows where price sits inside the Bollinger Bands (default 20,2).
Strong Bull — %B ≥ 1.0 (above upper band)
Weak Bull — %B between 0.5 and 1.0
Strong Bear — %B ≤ 0.0 (below lower band)
Weak Bear — %B between 0.0 and 0.5
Stochastic RSI
Stochastic applied to RSI (defaults: RSI 14, Stoch 14, Smooth K=3, D=3).
Strong Bull — K > D and K > 50
Weak Bull — K > D or K > 50
Strong Bear — K < D and K < 50
Weak Bear — K < D or K < 50
Vol Delta
A bar-level volume delta approximation: normalized delta = (2×close − high − low) / (high − low). This value is smoothed with an EMA (default length 3) and ranges roughly from -1 to +1.
Strong Bull — smoothed delta > threshold (default 0.3) and accelerating upward
Weak Bull — smoothed delta > 0 but below threshold or decelerating
Strong Bear — smoothed delta < -threshold and accelerating downward
Weak Bear — smoothed delta < 0 but above -threshold or decelerating
This mode approximates institutional buying/selling pressure within each bar and becomes more accurate on higher-resolution charts.
THE VISUAL SYSTEM
Stacked Zone Layout: 30 horizontal step-lines with adjustable height and gap.
Streak-Based Color Intensity: Color strength reflects how many consecutive closed bars an asset has stayed in its current state.
4 Color Palettes: Classic, Colorblind Safe, Ice & Fire, Monochrome.
3 Color Styles: Standard, Traffic Light, Hue Shift.
Divergence Highlighting: Assets moving against the overall market are highlighted in gold (solid for strong, semi-transparent for weak).
Total Market Line: Thick line at the top showing aggregate market momentum.
Dashboard Table: Momentum score (0–100), market status (including true “MIXED”), counts with delta arrows, and optional detailed sector/group breakdown.
Mini Heatmap: Compact 30-cell color strip at the bottom with ticker labels.
ALERTS
Four configurable alerts (all individually togglable):
Strong Bullish momentum (minimum number of assets)
Strong Bearish momentum
Market sentiment shift
Extreme conditions (≥60% assets in Strong Bull or Strong Bear)
Alerts fire only on confirmed bars.
DEFAULT ASSETS
The built-in presets include Stocks & ETFs (default), Cryptocurrency, Commodities, and Global Indices. In “Stocks & ETFs” mode you get a balanced mix of broad market, sectors, Magnificent 7, key stocks, thematic, and macro assets. All 30 tickers are fully customizable.
INTENDED USE
This is a market breadth and momentum classification tool, not a direct signal generator. Use it to:
Confirm broad market support for your trade direction
Spot early sector rotation
Identify diverging assets
Compare how different indicators are reading the same market
Time entries/exits based on momentum score and delta changes
Works on any timeframe. For best results with VWAP and Vol Delta, prefer intraday charts. Indicator

Swing + Value Setup [Marcos]Swing + Value Setup — Descripción para TradingView
Título sugerido
Swing + Value Setup — Multi-Filter Entry Signal
Descripción (inglés — recomendado para mayor alcance)
🎯 What is this indicator?
Swing + Value Setup is a multi-condition entry filter designed for swing traders looking for high-quality setups in stocks with strong technical and structural foundations. Instead of relying on a single signal, this indicator requires 6 simultaneous conditions to be met before printing an entry label — dramatically reducing false signals and noise.
It also features a real-time status panel that shows exactly which conditions are passing or failing on any given bar, so you always know how close a setup is to triggering.
⚙️ How it works
The indicator combines trend, momentum, volume, and structure analysis into a single unified signal:
✅ 6 Required Conditions (all must be true simultaneously):
Price above EMA 200 — confirms the stock is in a long-term uptrend
Supertrend bullish — active trend filter, eliminates choppy/sideways markets
RSI between 40–55 — entry during healthy pullback, not extreme oversold
MACD signal — bullish crossover OR histogram rising below zero (momentum recovering)
OBV above its EMA — confirms institutional accumulation behind the move
Pullback to EMA 21 or EMA 50 (±1.5%) — optimal entry zone, not chasing price
⭐ High Conviction Bonus:
When a bullish RSI divergence is also detected (price making lower lows while RSI makes higher lows), the label upgrades to a High Conviction signal — historically the strongest setups.
📊 Visual elements
EMA 21 / 50 / 200 plotted directly on price
Supertrend line changes color with trend direction
Green background shading when a valid setup is active
Brighter shading for high conviction entries
Labels printed at signal candles (standard ✅ or high conviction 🎯)
Status table (top-right corner) showing live ✅/❌ for each condition
🔔 Built-in Alerts (3 total)
AlertTriggerSetup Swing/ValueAll 6 conditions met for the first timeSetup ALTA CONVICCIÓN ⭐Full setup + RSI divergence confirmedDivergencia RSI BullishBullish divergence in uptrend (early warning)
Set alerts from the indicator menu → Add Alert → select the condition.
🕐 Recommended Timeframes
TimeframePurposeWeeklyOverall bias and macro structureDailyPrimary signal timeframe (recommended)4H / 1HEntry timing and fine-tuning
Best results on Daily charts for swing positions of 5–30 days.
📐 Trade Management (suggested)
Stop Loss: Below the signal candle low or EMA 50
Target 1: Prior resistance / VPVR high-volume node
Target 2: Fibonacci 1.272 or 1.618 extension
Minimum R:R: 1:2.5
⚠️ Disclaimer
This indicator is a technical analysis tool only. It does not constitute financial advice. Always manage your risk, use stop losses, and do your own research before entering any trade. Past performance of any indicator does not guarantee future results.
Descripción (español — versión alternativa)
🎯 ¿Qué es este indicador?
Swing + Value Setup es un filtro de entrada multi-condición diseñado para swing traders que buscan setups de alta calidad en acciones con estructura técnica sólida. En lugar de depender de una sola señal, el indicador exige que 6 condiciones se cumplan simultáneamente antes de generar una señal — reduciendo drásticamente las falsas entradas y el ruido del mercado.
Incluye un panel de estado en tiempo real que muestra exactamente qué condiciones están activas o fallando en cualquier vela, para que siempre sepas qué tan cerca está un setup de activarse.
⚙️ Cómo funciona
✅ 6 Condiciones obligatorias (todas deben cumplirse a la vez):
Precio sobre EMA 200 — confirma tendencia alcista de largo plazo
Supertrend alcista — filtra mercados laterales y tendencias bajistas
RSI entre 40 y 55 — entrada en pullback sano, sin sobreventa extrema
Señal MACD — cruce alcista O histograma subiendo bajo cero
OBV sobre su media — confirma acumulación institucional detrás del movimiento
Pullback a EMA 21 o EMA 50 (±1.5%) — zona de entrada óptima sin perseguir precio
⭐ Bonus Alta Convicción:
Cuando además se detecta una divergencia bullish en RSI (precio haciendo mínimos más bajos mientras el RSI hace mínimos más altos), la señal se convierte en Alta Convicción — históricamente los setups más fuertes.
🔔 Alertas incluidas
Setup Swing/Value — cuando se cumplen las 6 condiciones
Setup Alta Convicción ⭐ — setup completo + divergencia RSI
Divergencia RSI Bullish — aviso temprano de posible giro
⚠️ Aviso legal
Este indicador es únicamente una herramienta de análisis técnico. No constituye asesoramiento financiero. Gestiona siempre tu riesgo y realiza tu propio análisis antes de operar.
swing trading value ema supertrend rsi macd obv multi-condition stocks entry signal divergence trend following pullback screener alerts Indicator

OBV with Kalman Filter Improv [TechnicalZen]Reversals, Breakouts & Re-Entries: OBV with Kalman Filter Improv
What This Indicator Does
This indicator transforms On-Balance Volume into a visual momentum instrument. Raw OBV is normalized to a 0-100 scale, rendered as stair-step candles with a continuous color gradient, and overlaid with a dual Kalman-filtered ribbon that tracks the flow trend with adaptive precision.
The result is a single pane that answers three questions at a glance: Is volume flow accumulating or distributing? How strong is the conviction? Where are the reversal, breakout, and re-entry points?
No footprint data required. No premium subscription needed. Pure price action and volume.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Why OBV Matters More Than Raw Volume
Raw volume bars tell you how much traded. They do not tell you which direction the volume was pushing. A high-volume bar during a selloff looks identical to a high-volume bar during a breakout rally.
On-Balance Volume assigns direction. When price closes up, the bar's volume is added. When price closes down, it is subtracted. The running total — OBV — reveals the persistent pressure beneath the surface. Rising OBV with flat price means accumulation. Falling OBV with rising price means distribution. These divergences are invisible on a standard volume histogram.
This indicator takes OBV further by normalizing it into a bounded oscillator, smoothing it for clarity, and applying Kalman filtering for adaptive trend detection.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How It Works
The indicator processes OBV through four stages.
Stage 1 — Normalize to 0-100
Raw OBV is an unbounded cumulative number that grows indefinitely. This makes it difficult to compare across time periods or instruments. The indicator applies a rolling min-max normalization over a configurable lookback window (default 100 bars), mapping OBV into a 0-100 scale.
At 100, OBV is at its highest point within the lookback. At 0, its lowest. At 50, it sits at the midpoint of its recent range. This creates a bounded oscillator from a trending series.
Stage 2 — Stair-Step Candles
The normalized OBV is rendered as candles where each bar's open equals the previous bar's close. This creates seamless stair-step blocks with no gaps and no overlaps. The candles show the direction and magnitude of each bar's contribution to the flow — a tall green block means a strong volume push upward, a tall red block means aggressive selling pressure.
Stage 3 — Position-Based Color Gradient
Candle color is determined by where the candle sits in the 0-100 range, not merely whether it went up or down:
Bright green (above 70) — strong bullish accumulation zone
Yellow-green (50-70) — moderate bullish flow
Yellow (around 50) — neutral, transition zone
Orange (30-50) — weakening flow, bearish lean
Red (below 30) — strong bearish distribution zone
This gradient reveals the market's volume state at a glance. Candles clustered at the top in green signal sustained accumulation. Candles dropping through yellow into red signal a regime shift.
Stage 4 — Dual Kalman Ribbon
Two Kalman-filtered lines track the normalized OBV at different speeds:
Short KF (default 20) — responsive to recent flow shifts
Long KF (default 80) — tracks the underlying flow trend
When the short line is above the long line, the ribbon fills bullish. When below, bearish. The Kalman filter adapts its responsiveness automatically — smoothing through noise while responding quickly to genuine regime changes. This is fundamentally superior to any fixed-length moving average.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Reading the Three Signals
Reversals
A reversal signal appears when candles have been clustered at one extreme (above 70 or below 30) and begin migrating toward the midline. The color gradient shifts — green fading to yellow, or red fading to orange. The Kalman ribbon begins to narrow as the short line approaches the long line. When the ribbon flips color, the reversal is confirmed by volume flow, not just price action.
Breakouts
A breakout appears as a large candle that punches through the 70 or 30 threshold line with expanding body size. The Kalman ribbon is already aligned in the breakout direction (short above long for bullish, below for bearish). This confirms that volume flow is supporting the price move — not just a wick or a fake breakout.
Re-Entries
After a breakout, price often pulls back. During a healthy pullback, the candles dip toward the midline (50) but the Kalman ribbon stays in the trend direction . Candles may turn yellow briefly but do not reach the opposite extreme. When candles resume their original color and move away from the midline, that is the re-entry — volume flow confirms the trend is intact.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Why Kalman Filtering — Not EMA, SMA, or Hull
Traditional moving averages apply a fixed smoothing recipe regardless of market conditions. In a quiet market, they lag. In a volatile market, they whipsaw. The trader is forced to manually change the length setting as conditions change.
The Kalman filter solves this structurally. It maintains an internal estimate of both the value and its uncertainty . On every bar, it computes a gain that automatically balances between trusting the new data and trusting its prediction. When data is noisy, the gain drops and the filter smooths aggressively. When a genuine shift occurs, the gain rises and the filter responds immediately.
Two parameters control this behavior:
R (Measurement Noise) — how much noise is expected in each bar's data. Higher values produce smoother output.
Q (Process Noise) — how quickly the underlying trend is expected to change. Higher values allow faster adaptation.
The dual-line ribbon (short KF vs long KF) combines the adaptive smoothing with trend direction detection. The crossover of two Kalman-filtered lines is more reliable than traditional MA crossovers because the filter has already absorbed the noise before the crossover happens.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Reading the Indicator
The Candles
Green blocks at top — strong sustained buying pressure. Trend is healthy.
Red blocks at bottom — strong sustained selling. Downtrend confirmed by volume.
Yellow/orange blocks at midline — indecision. Flow is balanced. Wait for direction.
Color transition — the gradient shift (green to yellow, or red to orange) often leads price by several bars.
The Kalman Ribbon
Green fill (short above long) — volume flow trend is bullish
Red fill (short below long) — volume flow trend is bearish
Ribbon narrowing — trend weakening, potential flip ahead
Ribbon widening — trend conviction increasing
The Threshold Lines
70 line — overbought in volume flow terms. Sustained presence above = strong trend, not necessarily a sell signal.
50 line — equilibrium. Transitions through this level signal regime changes.
30 line — oversold in volume flow terms. Sustained presence below = strong downtrend.
Line colors match the candle gradient — they shift with the regime.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Settings
Normalization Lookback (default: 100)
Rolling window for min-max scaling. Higher values produce smoother oscillation with fewer extremes. Lower values make the indicator more reactive to recent volume changes.
HA Smoothing Passes (default: 1)
Number of additional smoothing passes on the normalized OBV. 1 = standard stair-step. 2-3 = smoother candles with less noise.
Short KF / Long KF Length (default: 20 / 80)
Controls the responsiveness of the two Kalman lines. The gap between them determines how quickly the ribbon detects trend changes.
Measurement Noise R (default: 0.01)
Higher = smoother Kalman output. Lower = more reactive to each bar.
Process Noise Q (default: 0.10)
Higher = faster adaptation to regime shifts. Lower = more rigid trend following.
Upper / Lower Threshold (default: 70 / 30)
Defines the overbought/oversold boundaries for the volume flow oscillator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Divergence — The Most Powerful Signal
When price makes a new high but the OBV candles fail to reach the upper zone (or are falling), volume is not confirming the move. This bearish divergence often precedes reversals by several bars. The Kalman ribbon will begin narrowing before the price chart shows any weakness.
Conversely, when price makes a new low but OBV candles hold above the lower zone or begin rising, that is bullish divergence — accumulation is happening beneath the surface.
The gradient coloring makes these divergences immediately visible. Price may look strong, but if the candles are orange instead of green, the volume story disagrees.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
What This Indicator Is Not
It does not generate automated buy or sell signals . It provides visual regime information for the trader to interpret.
It does not use footprint or order flow data . It is built on standard OBV which infers direction from price close. For actual bid/ask decomposition, a footprint-based indicator is required.
It does not predict future price direction . It reveals the current state and trend of volume flow. What the market does with that flow is never guaranteed.
It is not a standalone trading system . It is a confirmation and divergence detection tool designed to complement price action analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, and it does not constitute a recommendation to buy, sell, or hold any financial instrument.
All trading involves risk. Past performance of any signal, regime detection system, or volume analysis mechanism does not guarantee future results. The normalized OBV readings, Kalman-filtered trend lines, and color gradient zones represent a computational assessment of publicly available price and volume data. They are not predictions and should not be treated as certainties.
On-Balance Volume assigns all of a bar's volume to one direction based solely on whether the close was higher or lower than the previous close. This is an approximation. A bar that closes up by one tick with heavy selling throughout will register as entirely bullish volume in OBV. Traders should be aware of this limitation.
The Kalman filter parameters (R and Q) affect responsiveness. Poorly tuned parameters can produce either excessive lag or excessive noise. The default values are designed for general use but may require adjustment for specific instruments or timeframes.
No indicator, algorithm, or model can account for all market variables including liquidity events, news-driven gaps, exchange outages, or sudden regime changes. Traders should always use independent risk management, position sizing, and their own judgment before entering any trade.
By using this indicator, you acknowledge that you are solely responsible for your own trading decisions and that the authors accept no liability for any losses incurred.
Indicator

Indicator

OBV Linear Regression Multi-Slope [HYPR-run]DESCRIPTION:
Three linear regression slopes fitted to On-Balance Volume. Measures whether accumulation or distribution is accelerating, decelerating, or reversing across short, medium, and long lookbacks simultaneously. Raw OBV tells you the cumulative direction of volume flow. Fitting a linear regression to it gives you the rate of change: the slope. Three slopes at different lookbacks show the structure of volume commitment. When all three agree, volume flow is structurally committed in one direction. When they disagree, the timeframes are in conflict.
DISCOVERING EDGE
Dual and triple slope alignment has proven to be a staple confirmation signal in our most reliable automated strategies for both entries and exits. When two or three independent lookbacks agree on the direction of volume flow, the commitment is structural, not noise. When alignment breaks, the first slope to flip tells you exactly where conviction cracked. We built this indicator to surface that alignment as a first-class signal rather than something you eyeball across separate panes.
THREE LR SLOPES vs RAW OBV LINE
Three slopes at different lookbacks show whether all timeframes of volume flow agree or conflict. Dual alignment (short + long) is the entry signal; triple (all three) confirms later for pyramids. When triple breaks, that's the exit. Values above 0.3 mean the slope is steeper than one standard deviation per bar (very strong trend). Sigma/bar above 0.1 means the slope is statistically strong; below 0.05 is weak.
FEATURES
- Three linear regression slope lines on OBV (short 9, medium 26, long 50)
- Optional adaptive short lookback (ATR-scaled for low timeframes)
- Slope alignment detection: dual (short+long) and triple (all three)
- Universal angle normalization (slope/sigma x 45 degrees)
- Sigma/Bar ratio: slope strength relative to OBV noise
- Auto-adjusts all lookbacks by timeframe (weekly/monthly compress)
- Webhook alerts on slope flip or triple alignment
- Full bar filter rejects doji/wick-heavy bars
- Dashboard with lookback, angle, and sigma/bar for all three lines
HOW IT WORKS
Linear regression calculates the best-fit line through OBV values over a lookback window. The slope of that line is the rate of volume flow. Positive slope = accumulation accelerating. Negative slope = distribution accelerating. The universal angle normalizes raw slope by OBV standard deviation so the dashboard reads consistently across any asset (BTC's OBV in millions, a low-cap's in thousands, same angle scale).
UNIVERSAL ANGLE
Slope divided by OBV standard deviation per bar, multiplied by 45. A value of 45 degrees means the slope equals one standard deviation per bar. Makes angle comparable across any asset and timeframe: 30 degrees on BTC means the same relative strength as 30 degrees on SOL.
ALERT MODES
Slope Flip: fires when selected lookback crosses zero. Negative to positive = accumulation starting (LONG). Positive to negative = distribution starting (SHORT). Triple Alignment: fires when all three slopes agree on direction. Fewer signals, higher conviction. Alert payload is built into the script as JSON; works with any webhook receiver.
CREDITS
On-Balance Volume: Joseph Granville, Granville's New Key to Stock Market Profits (1963) Indicator
