TTM Squeeze Pro Enhanced v1.5.1 [pyrevo]# TTM Squeeze Pro Enhanced
**Version:** 1.5.1
**Author:** pyrevo
**License:** MPL 2.0
## Credits
This indicator is a collective work based on the contributions of the TradingView community:
* **John Carter**: Creator of the original TTM Squeeze and TTM Squeeze Pro concepts.
* **Lazybear**: Original interpretation of the TTM Squeeze (Squeeze Momentum Indicator).
* **Makit0**: Evolution of Lazybear's script to factor in TTM Squeeze Pro upgrades (Squeeze PRO Arrows).
* **marsrides**: Some aesthetics solutions.
* **Beardy_Fred**: The base code from which this enhanced version was derived.
## Overview
**TTM Squeeze Pro Enhanced** is a professional-grade momentum and volatility indicator designed to identify explosive breakout opportunities. It is a refined version of the community's collective works, with amendments primarily to the Squeeze Conditions and visual aesthetics to provide a clearer, more actionable reading of market state.
### The Concept
For those unfamiliar with the TTM Squeeze, it is a visual way of seeing how Bollinger Bands (standard deviations from a simple moving average) relate to Keltner Channels (average true range bands) compared with the momentum of the price action.
The concept is that as Bollinger Bands compress within Keltner Channels, price volatility decreases, giving way for a potential explosive price movement up or down.
### TTM Squeeze vs. TTM Squeeze Pro
* **Original TTM Squeeze:** Uses a 1.5 ATR Keltner Channel.
* **TTM Squeeze Pro (Enhanced):** Uses 1.0, 1.5, and 2.0 ATR Keltner Channels.
This helps differentiate between levels of squeeze (compression). The greater the compression (Bollinger Bands moving deeper into tighter Keltner Channels), the more potential for explosive moves.
## Indicator Analysis
### 1. Squeeze Detection (Dots)
The colored dots along the zero line represent the state of market volatility. This enhanced version uses a distinct color palette to indicate compression levels:
* **🔴 Red Dots (High Compression):** Extreme squeeze. One or both Bollinger Bands are inside the 1.0 ATR Keltner Channel.
* **🟠 Orange Dots (Medium Compression):** Significant squeeze. One or both BBs are inside the 1.5 ATR Keltner Channel.
* **⚪ Gray Dots (Low Compression):** Standard squeeze. One or both BBs are inside the 2.0 ATR Keltner Channel.
* **◽ Light Gray Dots (No Squeeze):** Volatility is normal or expanding. Squeeze has "fired".
### 2. Momentum (Histogram)
The histogram bars show price momentum relative to the squeeze:
* **Bright Green:** Positive, increasing momentum (Bullish).
* **Dark Green:** Positive, decreasing momentum (Bullish exhaustion).
* **Bright Red:** Negative, increasing momentum (Bearish).
* **Dark Red:** Negative, decreasing momentum (Bearish exhaustion).
### 3. Dual Momentum System
An optional secondary system to gauge trend strength:
* **Fast & Slow Momentum Lines:** Moving averages of the momentum to help identify crossovers.
* **Trend Crossovers:** Triangle markers indicate when fast momentum crosses slow momentum.
## Ideal Scenario
As the ticker enters the squeeze, **Gray dots** would warn of the beginning of a low compression squeeze. As the Bollinger bands continue to constrict, **Orange dots** would highlight a medium compression. As the price action and momentum continues to compress, a **Red dot** shows warning of high compression.
As price action leaves the squeeze, the coloring would reverse (Red → Orange → Gray → Light Gray). Any compression squeeze is considered "fired" at the first Light Gray dot that appears.
*Note: This is an ideal progression, however any type of squeeze sequence may appear at anytime.*
## Entry and Exit Guide
* **Entry:** John Carter recommends entering a position after at least 5 dots of compression (Gray/Orange/Red) or waiting for the first "No Squeeze" dot (Light Gray) to appear with confirming momentum.
* **Exit:** Exit on the second bar of decreasing momentum (Dark Green or Dark Red), or remain in the position after confirming a continuing trend through a separate indicator.
## Settings & Customization
* **Timeframe:** Built-in Multi-Timeframe (MTF) support allowing you to view higher-timeframe squeeze signals on lower-timeframe charts.
* **Appearance Modes:**
* **Default:** Standard enhanced palette.
* **Modern:** High-contrast palette (Teal/Red/Gold).
* **Classic MACD:** Traditional Blue/Orange line configuration.
* **Dashboard:** An on-chart table providing real-time data on squeeze status, momentum value, and trend strength.
Indicador de Momentum (MOM)
Profitable Pair Correlation Divergence Scanner v6This strategy identifies divergence opportunities between two correlated assets using a combination of Z-Score spread analysis, trend confirmation, RSI & MACD momentum checks, correlation filters, and ATR-based stop-loss/take-profit management. It’s optimized for positive P&L and realistic trade execution.
Key Features:
Pair Divergence Detection:
Measures deviation between returns of two assets and identifies overbought/oversold spread conditions using Z-Score.
Trend Alignment:
Trades only in the direction of the primary asset’s trend using a fast EMA vs slow EMA filter.
Momentum Confirmation:
Confirms trades with RSI and MACD to reduce false signals.
Correlation Filter:
Ensures the pair is strongly correlated before taking trades, avoiding noisy signals.
Risk Management:
Dynamic ATR-based stop-loss and take-profit ensures proper reward-to-risk ratio.
Exit Conditions:
Automatically closes positions when Z-Score normalizes, or ATR-based exits are hit.
How It Works:
Calculate Returns:
Computes returns for both assets over the selected timeframe.
Z-Score Spread:
Calculates the spread between returns and normalizes it using moving average and standard deviation.
Trend Filter:
Only takes long trades if the fast EMA is above the slow EMA, and short trades if the fast EMA is below the slow EMA.
Momentum Confirmation:
Confirms trade direction with RSI (>50 for longs, <50 for shorts) and MACD alignment.
Correlation Check:
Ensures the pair’s recent correlation is strong enough to validate divergence signals.
Trade Execution:
Opens positions when Z-Score crosses thresholds and all conditions align. Positions close when Z-Score normalizes or ATR-based SL/TP is hit.
Plot Explanation:
Z-Score: Blue line shows divergence magnitude.
Entry Levels: Red/Green lines mark long/short thresholds.
Exit Zone: Gray lines show normalization zone.
EMA Trend Lines: Purple (fast), Orange (slow) for trend alignment.
Correlation: Teal overlay shows current correlation strength.
Usage Tips:
Use highly correlated pairs for best results (e.g., EURUSD/GBPUSD).
Run on higher timeframe charts (1h or 4h) to reduce noise.
Adjust ATR multiplier based on volatility to avoid premature stops.
Combine with alerts for automated notifications or webhook execution.
Conclusion:
The Profitable Pair Correlation Divergence Scanner v6 is designed for traders who want systematic, low-risk, positive P&L trading opportunities with minimal manual monitoring. By combining trend alignment, momentum confirmation, correlation filters, and dynamic exits, it reduces false signals and improves execution reliability.
Run it on TradingView and watch how it captures divergence opportunities while maintaining positive P&L across trades.
US Market Long Horizon Momentum Summary in one paragraph
US Market Long Horizon Momentum is a trend following strategy for US index ETFs and futures built around a single eighteen month time series momentum measure. It helps you stay long during persistent bull regimes and step aside or flip short when long term momentum turns negative.
Scope and intent
• Markets. Large cap US equity indices, liquid US index ETFs, index futures
• Timeframes. 4h/ Daily charts
• Default demo used in the publication. SPY on 4h timeframe chart
• Purpose. Provide a minimal long bias index timing model that can reduce deep drawdowns and capture major cycles without parameter mining
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique concept or fusion. One unscaled multiple month log return of an external benchmark symbol drives all entries and exits, with optional volatility targeting as a single risk control switch.
• Failure mode addressed. Fully passive buy and hold ignores the sign of long horizon momentum and can sit through multi year drawdowns. This script offers a way to step down risk in prolonged negative momentum without chasing short term noise.
• Testability. All parameters are visible in Inputs and the momentum series is plotted so users can verify every regime change in the Tester and on price history.
• Portable yardstick. The log return over a fixed window is a unit that can be applied to any liquid symbol with daily data.
Method overview in plain language
The method looks at how far the benchmark symbol has moved in log return terms over an eighteen month window in our example. If that long horizon return is positive the strategy allows a long stance on the traded symbol. If it is negative and shorts are enabled the strategy can flip short, otherwise it goes flat. There is an optional realised volatility estimate on the traded symbol that can scale position size toward a target annual volatility, but in the default configuration the model uses unit leverage and only the sign of momentum matters.
Base measures
Return basis. The core yardstick is the natural log of close divided by the close eighteen months ago on the benchmark symbol. Daily log returns of the traded symbol feed the realised volatility estimate when volatility targeting is enabled.
Components
• Component one Momentum eighteen months. Log of benchmark close divided by its close mom_lookback bars ago. Its sign defines the trend regime. No extra smoothing is applied beyond the long window itself.
• Component two Realised volatility optional. Standard deviation of daily log returns on the traded symbol over sixty three days. Annualised by the square root of 252. Used only when volatility targeting is enabled.
• Optional component Volatility targeting. Converts target annual volatility and realised volatility into a leverage factor clipped by a maximum leverage setting.
Fusion rule
The model uses a simple gate. First compute the sign of eighteen month log momentum on the benchmark symbol. Optionally compute leverage from volatility. The sign decides whether the strategy wants to be long, short, or flat. Leverage only rescales position size when enabled and does not change direction.
Signal rule
• Long suggestion. When eighteen month log momentum on the benchmark symbol is greater than zero, the strategy wants to be long.
• Short suggestion. When that log momentum is less than zero and shorts are allowed, the strategy wants to be short. If shorts are disabled it stays flat instead.
• Wait state. When the log momentum is exactly zero or history is not long enough the strategy stays flat.
• In position. In practice the strategy sits IN LONG while the sign stays positive and flips to IN SHORT or flat only when the sign changes.
Inputs with guidance
Setup
• Momentum Lookback (months). Controls the horizon of the log return on the benchmark symbol. Typical range 6 to 24 months. Raising it makes the model slower and more selective. Lowering it makes it more reactive and sensitive to medium term noise.
• Symbol. External symbol used for the momentum calculation, SPY by default. Changing it lets you time other indices or run signals from a benchmark while trading a correlated instrument.
Logic
• Allow Shorts. When true the strategy will open short positions during negative momentum regimes. When false it will stay flat whenever momentum is negative. Practical setting is tied to whether you use a margin account or an ETF that supports shorting.
Internal risk parameters (not exposed as inputs in this version) are:
• Target Vol (annual). Target annual volatility for volatility targeting, default 0.2.
• Vol Lookback (days). Window for realised volatility, default 63 trading days.
• Max Leverage. Cap on leverage when volatility targeting is enabled, default 2.
Usage recipes
Swing continuation
• Signal timeframe. Use the daily chart.
• Benchmark symbol. Leave at SPY for US equity index exposure.
• Momentum lookback. Eighteen months as a default, with twelve months as an alternative preset for a faster swing bias.
Properties visible in this publication
• Initial capital. 100000
• Base currency. USD
• Default order size method. 5% of the total capital in this example
• Pyramiding. 0
• Commission. 0.03 percent
• Slippage. 3 ticks
• Process orders on close. On
• Bar magnifier. Off
• Recalculate after order is filled. Off
• Calc on every tick. Off
• All request.security calls use lookahead = barmerge.lookahead_off
Realism and responsible publication
The strategy is for education and research only. It does not claim any guaranteed edge or future performance. All results in Strategy Tester are hypothetical and depend on the data vendor, costs, and slippage assumptions. Intrabar motion is not modeled inside daily bars so extreme moves and gaps can lead to fills that differ from live trading. The logic is built for standard candles and should not be used on synthetic chart types for execution decisions.
Performance is sensitive to regime structure in the US equity market, which may change over time. The strategy does not protect against single day crash risk inside bars and does not model gap risk explicitly. Past behavior of SPY and the momentum effect does not guarantee future persistence.
Honest limitations and failure modes
• Long sideways regimes with small net change over eighteen months can lead to whipsaw around the zero line.
• Very sharp V shaped reversals after deep declines will often be missed because the model waits for momentum to turn positive again.
• The sample size in a full SPY history is small because regime changes are infrequent, so any test must be interpreted as indicative rather than statistically precise.
• The model is highly dependent on the chosen lookback. Users should test nearby values and validate that behavior is qualitatively stable.
Legal
Education and research only. Not investment advice. You are responsible for your own decisions. Always test on historical data and in simulation with realistic costs before any live use.
Point of Control + Momentum CandlesPOINT OF CONTROL + MOMENTUM CANDLES
A multi-feature indicator combining volume-based POC detection, 6-level momentum candle coloring, higher timeframe buy/sell signals, and order block identification.
FEATURES
Point of Control (POC)
Calculates the price level with highest traded volume over a customizable lookback period. Includes break and rejection detection with visual signals.
Momentum Candle Coloring
Colors candles based on EMA positioning and RSI values across 6 momentum levels:
- Bull 3/2/1: Strong to weak bullish momentum (Blue/Cyan/Green)
- Bear 1/2/3: Weak to strong bearish momentum (Yellow/Orange/Red)
- Neutral: No clear momentum (White)
Buy/Sell Signals
Generates signals from a user-selectable timeframe using EMA crossovers and RSI conditions. Signals appear on your current chart for multi-timeframe analysis.
Order Blocks
Detects potential institutional entry zones:
- Bullish OB: Last bearish candle before bullish impulse
- Bearish OB: Last bullish candle before bearish impulse
Blocks extend forward and optionally delete when mitigated.
Dashboard
Displays POC price, distance, RSI, momentum level, signal timeframe, and active order block count.
ALERTS
10 conditions available: POC breaks, rejections, buy/sell signals, and order block formations.
HOW TO USE
- Trade POC breaks for trend continuation
- Trade POC rejections for reversals
- Use candle colors to gauge momentum strength
- Confirm entries with higher timeframe signals
- Watch for price returning to order blocks
SETTINGS
All parameters are fully customizable including lookback periods, thresholds, timeframes, colors, and visual styles.
DISCLAIMER
For educational purposes only. Not financial advice. Trading involves risk. Always conduct your own analysis before making trading decisions.
Point of Control + Momentum CandlesPOINT OF CONTROL + MOMENTUM CANDLES
A comprehensive technical analysis indicator combining volume-based Point of Control detection, momentum-graded candle coloring, higher timeframe buy/sell signals, and order block identification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS INDICATOR DOES
This indicator identifies key price levels where the most trading activity has occurred (Point of Control), colors candles based on momentum strength, generates buy/sell signals from a user-selected timeframe, and detects order blocks that may act as future support/resistance zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FEATURES
1. POINT OF CONTROL (POC)
The POC represents the price level with the highest traded volume over a lookback period. This indicator calculates a volume profile by distributing volume across price levels and identifying where the most activity occurred.
- Orange horizontal line shows the current POC level
- Yellow box highlights the candles used in the POC calculation
- Break detection identifies when price closes decisively beyond the POC
- Rejection detection identifies when price tests but fails to break the POC
2. MOMENTUM CANDLE COLORING
Candles are colored based on a 6-level momentum system using EMA positioning and RSI values:
Bullish Levels (price above both EMAs):
- Bull Level 3 (Royal Blue): Strong momentum, RSI above 70
- Bull Level 2 (Cyan): Medium momentum, RSI above 60
- Bull Level 1 (Green): Weak momentum, above EMAs
Bearish Levels (price below both EMAs):
- Bear Level 1 (Yellow): Weak momentum, below EMAs
- Bear Level 2 (Orange): Medium momentum, RSI below 40
- Bear Level 3 (Red): Strong momentum, RSI below 30
Neutral (White): No clear directional momentum
3. BUY/SELL SIGNALS
Signals are generated from a user-selectable timeframe (default: 10 minutes) and appear on your current chart. This allows you to see higher timeframe signals while trading on lower timeframes.
Buy Signal Conditions:
- EMA crossover (fast crosses above slow) OR RSI exits oversold
- Bullish candle on the signal timeframe
- Close above both EMAs
Sell Signal Conditions:
- EMA crossunder (fast crosses below slow) OR RSI exits overbought
- Bearish candle on the signal timeframe
- Close below both EMAs
4. ORDER BLOCKS
Order blocks identify potential institutional entry zones that may act as future support or resistance.
- Bullish Order Block (Green zone): The last bearish candle before a bullish impulse move
- Bearish Order Block (Red zone): The last bullish candle before a bearish impulse move
- Blocks automatically extend forward and can be set to delete when mitigated (price closes through the zone)
5. DASHBOARD
A customizable info panel displays:
- Current POC price
- Distance from POC (percentage)
- Position relative to POC (Above/Below/At)
- Lookback period
- Current RSI value
- Current momentum level
- Signal timeframe
- Active order block count
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
POC Trading:
- Watch for breaks above POC for potential long entries
- Watch for breaks below POC for potential short entries
- Rejections at POC can indicate reversal opportunities
Momentum Reading:
- Use candle colors to gauge trend strength at a glance
- Level 3 colors indicate strong momentum (potential continuation)
- Level 1 colors indicate weakening momentum (potential reversal)
- Neutral/white candles suggest consolidation or indecision
Signal Confirmation:
- Use buy/sell signals from a higher timeframe to confirm entries on your trading timeframe
- Combine signals with POC breaks/rejections for higher probability setups
Order Block Strategy:
- Look for price to return to bullish order blocks for potential long entries
- Look for price to return to bearish order blocks for potential short entries
- Mitigated blocks (price closes through) lose their significance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS OVERVIEW
POC Settings:
- Lookback Period: Number of bars for POC calculation (default: 20)
- Volume Resolution: Price level granularity (default: 50)
- Recalculation Frequency: How often POC updates (default: every 3 bars)
Break/Rejection Detection:
- Break Threshold: Minimum percentage move to confirm a break (default: 0.3%)
- Rejection Wick Ratio: Minimum wick-to-body ratio for rejections (default: 0.5)
Momentum Settings:
- Fast/Slow EMA lengths for trend determination
- RSI length and threshold levels for momentum grading
Buy/Sell Signals:
- Signal Timeframe: The timeframe used for signal calculation
- Separate EMA and RSI parameters for signal generation
Order Blocks:
- Order Block Timeframe: Timeframe for OB detection
- Max Blocks Per Side: Limits displayed order blocks
- Delete Mitigated: Automatically removes invalidated blocks
All visual elements (colors, sizes, line styles) are fully customizable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
10 alert conditions are available:
- Bullish/Bearish POC Break
- Bullish/Bearish POC Rejection
- Any POC Break
- Any POC Rejection
- Buy Signal
- Sell Signal
- Bullish Order Block Formed
- Bearish Order Block Formed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
- The indicator uses request.security() to fetch data from the signal and order block timeframes. This is designed to work when viewing charts at timeframes equal to or lower than your selected signal/OB timeframes.
- POC calculations are based on the visible volume data. Assets with limited volume data may produce less reliable POC levels.
- Order blocks are detected using a simplified algorithm based on candle patterns and displacement. They represent potential zones of interest, not guaranteed support/resistance levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own analysis and consider your risk tolerance before making trading decisions. Use this tool as part of a comprehensive trading strategy, not as a standalone signal generator.
VWAP Reclaim System_FinaldiTraderVWAP Reclaim System
This script gives you:
VWAP
EMA 9 & EMA 20
Premarket high & low (4:00–9:30am ET)
Optional HOD line
Background highlight when VWAP + EMA trend are bullish (your long zone)
Smart Divergence Engine [ChartNation]SMART DIVERGENCE ENGINE — REPAINTING-PROOF RSI DIVERGENCE WITH EXHAUSTION CONFIRMATION
═══════════════════════════════════════════
Smart Divergence Engine solves three critical problems that plague free RSI divergence indicators:
PROBLEM 1: REPAINTING DIVERGENCES
Most divergence scripts detect divergence in real-time as bars form. This causes signals to appear, disappear, and reappear unpredictably—making them unusable for alerts or systematic trading.
OUR SOLUTION: Pivot-Locked Detection
Smart Divergence Engine evaluates RSI at the exact bar where price structure confirms (rsi ), not at the current bar. Once a divergence prints, it NEVER disappears. This is implemented via:
Full swing confirmation (Pivot Left + Pivot Right bars must complete)
RSI evaluation at historical bar: rsi , not rsi
Divergence triggers AFTER structure lock, not during formation
Technical implementation: The script stores RSI values at confirmed pivot bars using var floats (lowRsiPrev, lowRsiCurr, highRsiPrev, highRsiCurr), then compares these locked values when new pivots confirm. This prevents any possibility of historical repaint.
PROBLEM 2: FALSE POSITIVE OVERLOAD
Divergence scripts trigger on ANY price-RSI mismatch, flooding charts with weak signals during choppy conditions. No filtering means traders must manually screen out noise.
OUR SOLUTION: Shark Fin Exhaustion Filter
Before any divergence can be considered actionable, Smart Divergence Engine requires RSI to demonstrate genuine momentum exhaustion through our proprietary "Shark Fin" detection:
Shark Fin Logic (Not Found in Free Scripts):
RSI must pierce the outer volatility band by a configurable buffer (default 1.5 RSI points)
RSI must re-enter the band with directional confirmation (positive slope for bullish, negative slope for bearish)
Band width must exceed minimum standard deviation threshold (volatility qualification)
Cooldown period enforced (default 25 bars) to prevent signal clustering
This multi-condition filter dramatically reduces false divergences by requiring RSI to physically demonstrate exhaustion BEFORE structure confirmation matters.
Technical implementation: The Shark Fin state machine uses boolean flags (bullFinForming, bearFinForming) to track when RSI is stretched beyond bands, then validates re-entry using ta.crossover(rsi, lower) / ta.crossunder(rsi, upper) with slope checks (ta.change(rsi) > 0 / < 0) and volatility gates (dev >= finMinDev).
PROBLEM 3: NO VOLATILITY CONTEXT
Divergence scripts use fixed RSI levels (30/70 or similar) that fail to adapt to changing market conditions. What's "overbought" in a low-volatility regime differs drastically from high-volatility conditions.
OUR SOLUTION: Adaptive Volatility Bands
Smart Divergence Engine calculates dynamic overbought/oversold zones using:
34-period SMA of RSI as basis
1.618 standard deviation multiplier (golden ratio expansion)
Real-time band expansion/contraction based on RSI volatility
The bands provide three advantages:
Shark Fin events only qualify when RSI breaches ADAPTIVE thresholds, not arbitrary fixed levels
Band width (standard deviation) serves as volatility filter—narrow bands = low conviction moves get rejected
50-line midline provides regime context (above 50 = bullish bias, below 50 = bearish bias)
Technical implementation: basis = ta.sma(rsi, 34), dev = ta.stdev(rsi, 34), upper/lower = basis ± dev * 1.618. Shark Fin logic requires rsi < (lower - finBuffer) or rsi > (upper + finBuffer) to trigger, ensuring exhaustion is measured relative to CURRENT volatility, not historical constants.
═══════════════════════════════════════════
METHODOLOGY COMPARISON VS FREE ALTERNATIVES
═══════════════════════════════════════════
STANDARD DIVERGENCE SCRIPTS:
Detection timing: Real-time (current bar)
Historical stability: Repaints continuously
Signal filtering: None or minimal
Volatility adaptation: Fixed levels (30/70)
Exhaustion confirmation: Not implemented
Confirmation layers: 1 (divergence only)
Alert reliability: Unreliable (signals disappear)
SMART DIVERGENCE ENGINE:
Detection timing: Pivot-confirmed (rsi )
Historical stability: Locked at structure bar
Signal filtering: Shark Fin + cooldown + stdev gate
Volatility adaptation: Dynamic bands (34-SMA + 1.618σ)
Exhaustion confirmation: Required via Shark Fin
Confirmation layers: 3 (structure + exhaustion + volatility)
Alert reliability: Stable (never repaints)
═══════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════
RSI ENGINE:
Base calculation: ta.rsi(src, 14)
Smoothing: ta.rma(rsiRaw, 2) — reduces whipsaw noise
Source: Configurable (default close)
VOLATILITY BANDS:
Basis: 34-period SMA of RSI
Multiplier: 1.618 (golden ratio)
Upper band: basis + (stdev * 1.618)
Lower band: basis - (stdev * 1.618)
Purpose: Creates adaptive overbought/oversold zones
DIVERGENCE DETECTION:
Pivot confirmation: 10 left bars + 10 right bars (default)
RSI evaluation: Locked at rsi (historical bar, never current)
Bullish divergence: price lower low + RSI higher low
Bearish divergence: price higher high + RSI lower high
Rendering: Lines drawn between last two confirmed pivots with labels
SHARK FIN EXHAUSTION FILTER:
Depth buffer: 1.5 RSI points (penetration threshold beyond band)
Min band stdev: 1.0 (volatility qualification)
Cooldown: 25 bars minimum between Shark Fin confirmations
Slope validation: Requires ta.change(rsi) > 0 (bullish) or < 0 (bearish)
State tracking: Boolean flags prevent premature confirmations
VISUAL CUSTOMIZATION:
Beauty Mode: Six-layer gradient fill anchored at 50-line
• Purple regime (above 50) with configurable opacity
• Green regime (below 50) with configurable opacity
• Gradient layers: 33%, 66%, 100% intensity
Divergence lines: Glow effect (6px) + core line (3px), both configurable
Shark Fin rendering: 20% fill between RSI and violated band (ephemeral)
Labels: Compact "Bull"/"Bear" markers with dot indicators
═══════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════
Four distinct alert conditions (configure once, fires on all intervals):
"RSI Shark Fin — Bullish"
Triggers when: RSI re-enters lower band from below with slope + stdev + cooldown confirmation
Use case: Momentum exhaustion at oversold extreme
Reliability: No repaint (confirmation locked at re-entry bar)
"RSI Shark Fin — Bearish"
Triggers when: RSI re-enters upper band from above with slope + stdev + cooldown confirmation
Use case: Momentum exhaustion at overbought extreme
Reliability: No repaint (confirmation locked at re-entry bar)
"Bullish Divergence (Panel)"
Triggers when: Pivot-confirmed bullish divergence completes (price LL + RSI HL)
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Reliability: Never repaints (divergence locked at rsi )
"Bearish Divergence (Panel)"
Triggers when: Pivot-confirmed bearish divergence completes (price HH + RSI LH)
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Reliability: Never repaints (divergence locked at rsi )
═══════════════════════════════════════════
TRADING IMPLEMENTATION
═══════════════════════════════════════════
CONFLUENCE FRAMEWORK:
Highest-probability setups occur when three conditions align:
Bullish Setup:
Shark Fin confirms below lower band (exhaustion)
Bullish divergence prints at pivot (structure)
RSI reclaims 50 line (regime shift to bullish)
→ Entry consideration at next price structure (support, swing low)
Bearish Setup:
Shark Fin confirms above upper band (exhaustion)
Bearish divergence prints at pivot (structure)
RSI loses 50 line (regime shift to bearish)
→ Entry consideration at next price structure (resistance, swing high)
TREND CONTEXT:
Strong uptrends: Prioritize bullish divergence + lower band Shark Fins (buy dips)
Strong downtrends: Prioritize bearish divergence + upper band Shark Fins (sell rallies)
Range-bound markets: Use 50-line crossovers as additional confirmation filter
RISK MANAGEMENT:
Smart Divergence Engine provides CONTEXT, not entries:
Wait for price confirmation (engulfing candle, rejection wick, structure break)
Place stops below/above pivot structure that triggered divergence
Size positions based on distance to invalidation level
Divergence + Shark Fin = elevated probability, not certainty
═══════════════════════════════════════════
CONFIGURATION PARAMETERS
═══════════════════════════════════════════
RSI SETTINGS:
RSI Length: 14 (default, standard momentum window)
Price Source: close (configurable to any price source)
Note: 2-period RMA smoothing is hardcoded (reduces noise)
VOLATILITY BAND SETTINGS:
Band Length: 34 (SMA period for RSI basis)
Band Multiplier: 1.618 (golden ratio, adjustable)
Show Bands: Toggle visibility (true/false)
DIVERGENCE SETTINGS:
Pivot Left: 10 bars (left-side swing confirmation)
Pivot Right: 10 bars (right-side swing confirmation)
Overbought Level: 68 (reference line, does not affect logic)
Oversold Level: 32 (reference line, does not affect logic)
SHARK FIN SETTINGS:
Fin Depth Buffer: 1.5 RSI points (penetration threshold)
Min Band Stdev: 1.0 (volatility qualification gate)
Min Bars Between Fins: 25 (cooldown period)
VISUAL SETTINGS (Beauty Mode):
Enable Beauty Mode: true/false (gradient rendering)
Divergence Glow: true/false (glow effect on lines)
Glow Width: 3-10 px (glow layer thickness)
Main Line Width: 1-6 px (divergence core line)
Top Color: Purple (configurable, above-50 regime)
Bottom Color: Green (configurable, below-50 regime)
Top Opacity: 0-100% (gradient base transparency)
Bottom Opacity: 0-100% (gradient base transparency)
═══════════════════════════════════════════
PERFORMANCE & LIMITATIONS
═══════════════════════════════════════════
RESOURCE ALLOCATION:
max_lines_count: 500 (divergence + Shark Fin lines)
max_labels_count: 500 (divergence markers)
max_bars_back: 500 (historical pivot lookback)
Suitable for most timeframes; reduce limits if performance degrades on low-end devices
SIGNAL TIMING:
Divergences print AFTER Pivot Right bars complete. This is intentional:
Delayed signals are more reliable than real-time signals
Structure confirmation requires waiting for swing completion
Users demanding instant signals should use free real-time divergence indicators
Users demanding reliable signals that never disappear should use this
PANEL VS OVERLAY:
This is the panel version (overlay=false):
Renders in separate pane below price chart
RSI, bands, divergence lines, and Shark Fin fills appear in this pane
For price-chart annotations, use the companion overlay version (same logic, different rendering)
═══════════════════════════════════════════
This script implements proprietary methodology not available in regular community scripts:
REPAINTING-PROOF ARCHITECTURE
The pivot-locked detection system (rsi evaluation) is a non-trivial implementation that requires:
State management across bars using var variables
Historical RSI value storage at pivot confirmation
Divergence comparison between stored values (not current bar)
This architecture eliminates the #1 complaint with free divergence indicators: disappearing signals.
SHARK FIN EXHAUSTION LOGIC
The multi-condition state machine that validates momentum exhaustion is not found in free scripts:
Penetration threshold (buffer beyond band)
Directional slope confirmation on re-entry
Volatility gate (minimum standard deviation)
Cooldown enforcement (prevents clustering)
This filter layer was developed through extensive backtesting to reduce false divergences during choppy conditions.
ADAPTIVE VOLATILITY FRAMEWORK
The dynamic band system (34-SMA + 1.618σ) provides context-aware overbought/oversold detection:
Bands expand in volatile markets → signals adapt to conditions
Bands contract in ranging markets → tighter detection thresholds
50-line regime framework → directional bias context
This approach outperforms fixed-level systems (30/70) that ignore market context.
CONFLUENCE METHODOLOGY
The three-layer confirmation system (structure + exhaustion + volatility) was engineered to answer: "When is a divergence actually tradeable?" Free scripts detect divergence and stop there. Smart Divergence Engine asks: "Did RSI show exhaustion? Is volatility sufficient? Did structure confirm?"
This level of methodological depth—combined with repainting-proof architecture and professional-grade visual implementation—justifies closed-source protection and paid access.
═══════════════════════════════════════════
Smart Divergence Engine is engineered for traders who demand institutional-grade divergence detection without the noise, repainting, and false positives that plague free alternatives.
Access is restricted to maintain signal quality as methodology evolves.
Affirmify AI — Entry PrecisionAffirmify AI — Entry Precision is a multi-factor directional model with entry-quality filter and ATR-based SL/TP, synced with the Affirmify core engine.
What is Affirmify AI — Entry Precision?
Affirmify AI — Entry Precision is the TradingView front-end of the Affirmify core model.
It combines:
multi-timeframe trend filters
momentum & volatility conditions
an entry-quality check (candle body vs ATR)
ATR-based SL/TP engine
The script is designed to mirror the logic of the Affirmify Python backend used on AffirmifyHub.com.
Core idea
1.Score (core direction):
Built from ADX, EMA trend, RSI zone, MACD histogram, DI+/DI- and ATR volatility penalty.
Score ≥ +2 → BUY bias
Score ≤ −2 → SELL bias
Between −1 and +1 → no clear direction.
2.Higher-timeframe (MTF) confirmation:
Same style of scoring on a higher TF (default 4H).
If MTF direction conflicts with the main timeframe, the script will show “MTF conflict / NO TRADE” and block signals.
3.Entry quality filter:
Checks if the candle body is large enough vs ATR (Min body size (x ATR)).
Output:
CONFIRMED – direction + volatility + body are aligned
WAIT FOR BETTER ENTRY – direction ok, but body is too small
NO QUALITY ENTRY – conditions are not met.
4.ATR-based SL/TP engine:
Internal engine (uses ATR × multiplier or minimal tick distance).
Values are shown on the panel only (no lines drawn on chart), so the chart stays clean.
Panel overview
The panel in the top-right shows:
Action – BUY / SELL / NO TRADE
Status – CONFIRMED / WAIT FOR BETTER ENTRY / NO SIGNAL / MTF conflict
Entry – last confirmed entry price
SL / TP – suggested ATR-based stop-loss and take-profit
Higher TF – higher timeframe filter state (ON/OFF and TF used)
Score – core multi-factor score on the current timeframe
Vol – “Normal volatility” or “Low volatility (ATR penalized)”
Inputs – quick guide
Trend & Filters
EMA Fast / Mid / Slow – EMAs used for trend & bias detection
ADX Length – period for ADX (trend strength)
RSI Length – period for RSI zone filter
ATR Length – ATR used for volatility & body/SL/TP logic
Low ATR threshold (% of price) – defines when the market is considered “low volatility”.
Higher timeframe confirmation
Use higher timeframe filter – enable / disable MTF confirmation
Higher TF – e.g. 240 (4H), 60 (1H), etc.
Entry Precision
Min body size (x ATR) – minimum body vs ATR required for a CONFIRMED entry.
SL / TP
Min SL = ATR x – minimal ATR distance for SL
Min TP = ATR x – minimal ATR distance for TP
Min SL in ticks / Min TP in ticks – hard floor, based on instrument tick size.
Visuals
Show info panel – show / hide the top-right dashboard
Show status badges – textual badges above the last candle
Draw ENTRY/SL/TP (panel only, legacy) – kept for compatibility; does not draw lines in this version.
Alerts
The script provides three alert conditions:
Affirmify: BUY confirmed
Triggered when BUY direction is aligned and entry quality is CONFIRMED (no MTF conflict).
Affirmify: SELL confirmed
Triggered when SELL direction is aligned and entry quality is CONFIRMED (no MTF conflict).
Affirmify: wait for better entry
Direction is valid, but candle body is not yet strong enough – potential setup forming.
You can connect these alerts to your own automation, bots or dashboards.
How to use it (typical workflow)
Select your symbol and timeframe (most users focus on 1H / 4H).
Wait for the panel to show a clear Action (BUY or SELL) with a solid Score (≥ +2 or ≤ −2).
Look for Status = CONFIRMED for actual entries.
Use the panel SL / TP values as a starting point for your own risk management.
Avoid trades when:
Status shows “NO SIGNAL” or “NO CLEAR DIRECTION”
MTF conflict is active
Volatility is extremely low for your style.
Access & subscription
This is an invite-only script connected to the AffirmifyHub ecosystem.
Access is managed via private subscription on AffirmifyHub.com.
After activation you will receive TradingView access to this indicator from the author account.
For questions about access, licensing or private use, please contact the author via TradingView DM or through AffirmifyHub.
Important notice
This tool does not guarantee profits and should never be used as a standalone decision engine.
Always combine it with:
your own price action reading
multi-timeframe context
strict position sizing and risk management.
Markets are risky – never trade money you cannot afford to lose.Multi-factor directional model with entry-quality filter and ATR-based SL/TP levels, synced with the Affirmify core Python engine.
Relative Value & Risk Analytics DashboardThis is your risk-adjusted alpha analysis tool - exactly what hedge fund and insurance company clients want to see.
Attractiveness Score | Composite score combining RV and Risk (0-100)
Relative Performance | vs Benchmark (SET/SPY), RS Ratio Trend, 52W Position, Spread Z-Score
Risk Metrics | Beta, Alpha, Sharpe, Sortino, Information Ratio, Volatility
Correlation | Benchmark Correlation, R-Squared, Regime Change Detection
Pair Trade | Peer Correlation, Pair Z-Score, Long/Short Signals
Factor Exposure | Momentum (1/3/6M), Mean Reversion Signal, Distance from SMA50
Drawdown | Current DD, Max DD, Recovery Needed, Ulcer Index, Calmar, VaR
Key Features:
Benchmark-Relative Analysis: Compare any stock vs SET Index or any other benchmark
Pair Trade Signals: Automatically generates long/short signals based on Z-score
Risk-Adjusted Returns: Sharpe, Sortino, Information Ratio - what your clients actually care about
Regime Change Detection: Alert when correlation dynamics shift
Drawdown Risk: VaR, Ulcer Index, Calmar Ratio for risk-conscious clients
Meme Cluster Strength Scanner [Ambrosia] 📌 Cluster Strength Watchlist – Leaders / Pack / Followers
A cluster overview for Memecoins & Altcoins – designed as a companion to your existing trading system.
⚠️ Note: Currently available for Bitget only
This indicator is built exclusively for the Bitget exchange.
All symbols, clusters, and strength scores are mapped to Bitget trading pairs.
📩 If you want the same logic for another exchange (e.g., Binance, Bybit, OKX):
Just leave a comment. If enough traders ask for a specific exchange, I will create a free add-on.
🧠 What this indicator is – and what it is not
This indicator:
❌ does not generate entry signals
❌ does not replace your trading system
❌ does not include SL/TP rules
It is a cluster and watchlist tool you use alongside your main system to answer questions like:
“Is my coin currently the strongest in the pack, or just a follower?”
“Are there 1–2 other coins in the same narrative worth splitting my position into?”
“How strong is the overall cluster right now – bullish, neutral, or bearish?”
Your entry comes from your main indicator.
The Cluster Strength Indicator helps you afterwards with position sizing and risk distribution.
🧩 Which clusters are included?
The indicator groups selected coins into fixed narrative clusters:
🟣 Solana Meme Cluster
BONK, WIF, POPCAT, DEGEN, GRASS, ORCA, PIXEL, ROAM, TRU
🟢 PEPE / NewGen Meme Cluster
PEPE, BOME, MEME, TURBO, PENGU, TOSHI, NEIROCTO, MEW, 10000ELON
🐕 Dog Meme Cluster
DOGE, SHIB, FLOKI, BABYDOGE, HMSTR
🔵 Layer-1 / High-Throughput Cluster
SOL, SUI, NEAR, SEI, INJ, ATOM
🟠 Layer-2 / Scaling Cluster
ARB, OP, IMX, AEVO, MANTA
🟡 Utility / CEX / Payment Cluster
BNB, XRP, ADA, DOT, TRX, LTC
Whichever chart you currently have open — the indicator automatically displays the matching cluster.
📊 What the indicator actually calculates
For each coin inside the selected cluster, the script calculates:
a structure-based strength score (0–100%)
a colored strength emoji (🟥🟧🟨🟩)
a direction arrow (↑ bullish, → neutral, ↓ weakening)
a mini sparkline showing how the score developed over the last bars
Important:
The exact internal calculation method is intentionally not disclosed.
The goal is to support your strategy — not to invite comparison with other indicator types.
The score simply answers:
"How constructive or fragile is this coin’s current structure compared to others in the same cluster?"
Additionally, the indicator calculates the overall cluster strength:
average score of all coins in the cluster
with traffic-light interpretation:
🔹 Bullish (strong average)
🟧 Neutral / mixed
🔻 Bearish / weak
You also see:
the analysis timeframe (1m, 5m, 15m, 1h, 4h, 1D — choose only one to avoid an error)
the lookback depth, adjustable per timeframe
🧭 How the table is structured
The table is divided into three columns:
Leaders – coins with high influence in the cluster
Pack – coins that tend to move in sync with the leaders
Followers – narrative participants with secondary influence
Your current symbol is highlighted, so you immediately see:
"Where does my coin stand inside the pack?"
At the top, you find:
Title / Cluster Name / Current Symbol
Cluster Strength (in % + bullish/neutral/bearish classification)
Column headers: Leader / Pack / Follower
Below that, the coins of your active cluster appear with:
ticker
strength score %
strength emoji
arrow indicator
mini sparkline
💸 Example: How this indicator helps you trade smarter
You have a 100 € risk budget for your next trade.
Your main indicator gives a long signal — let’s say on PEPE.
Without the cluster indicator:
You go 100 € all-in on PEPE (e.g., 10× leverage → 1000 € position).
If it hits SL immediately → the whole setup is lost.
With the Cluster Strength Indicator:
You open the PEPE / NewGen Meme Cluster and see:
PEPE → 78% 🟩 ↑
BOME → 74% 🟩 ↑
NEIROCTO → 71% 🟩 ↑
You decide to split:
50 € on PEPE
25 € on BOME
25 € on NEIROCTO
🔻 If the trade fails:
PEPE hits SL → others often weaken simultaneously.
The indicator shows declining scores → you can exit all positions early.
Result: smaller loss than a full single-coin position.
🔺 If the trade runs well:
PEPE hits TP, BOME and NEIRO still strong →
you adjust TPs to capture more profit from the cluster momentum.
👥 Who is this indicator for?
Traders with their own entry/strategy system
Meme, Altcoin and narrative traders
Traders who prefer sector-wide confirmation rather than a single-coin view
Anyone who doesn’t want to risk everything on a single asset
🛡️ Important Disclaimer
This is:
not a signal generator
not financial advice
not a profit guarantee
It is a watchlist and decision-support tool for:
cluster strength evaluation
leader/pack/follower identification
risk distribution within a narrative
And now:
Good luck and good profits — yours, Ambrosia.
BK AK-Momentum Pivot Wolf🐺⚔️ BK AK–Momentum Pivot Wolf — The Court of Price. ⚔️🐺
Not prophecy. Procedure. Not prediction. Judgment.
Most indicators sell you a feeling: “it’s going up.”
Pivot Wolf is built to do the opposite: make the market prove it—under rules.
Price lies. Not maliciously—mechanically.
It prints motion whether there’s intent behind it or not. That’s why traders get slaughtered: they treat movement like truth.
Pivot Wolf treats movement like a defendant.
⚖️ The Law of the Tool (What It Refuses to Do)
This script does not exist to “call tops and bottoms.”
It exists to remove the sin that ruins traders:
answering before hearing.
If you trade before testimony, you’re not trading—you’re volunteering.
So Pivot Wolf is designed to withhold permission until three things line up:
Pivots = Boundary Stones
Where price must answer. Where excuses die. Where decisions become visible.
Momentum = Witness
Not what price did—what it carried. Force behind the move, not the costume of the candle.
Acceleration = Confession
The moment intent leaks. The early tell that strength is arriving—or that strength is bleeding out.
You’re not hunting “signals.”
You’re watching a case get built.
🪨 Solomon’s Hidden Layer (Why This Is a Wisdom Tool)
Solomon’s world wasn’t obsessed with forecasting. It was obsessed with right judgment.
He didn’t ask, “What do I want to happen?”
He asked, “What’s true—and what is counterfeit?”
That’s why his writing keeps returning to the same themes:
Weights & measures (standardization over vibes)
Witnesses (confirmation over impulse)
Gates & boundaries (permissioned action over chaos)
Silence (restraint as intelligence)
Pivot Wolf is built in that spirit: it’s a weights-and-witness engine disguised as an indicator.
It’s trying to keep you from trading counterfeit strength at the edge of a boundary.
🐺 How to Use It Like You Actually Respect Capital
1) Campaign Mode (Trend):
Boundaries tell you where business is allowed. Momentum/acceleration tell you whether business is justified. You press when testimony is clean—not when price is exciting.
2) Verdict Mode (Turns):
Reversals aren’t vibes. They’re a collapse of testimony: momentum fails at the boundary, acceleration flips, and the move confesses exhaustion.
3) Stand-Down Mode (The Feature Tourists Hate):
When the script goes quiet, it’s not “missing trades.”
It’s telling you: the court is not in session.
That’s the part that keeps your P&L alive.
🏷️ BK / AK
BK is the mark I’m building.
AK is honor—my mentor’s standard: clarity, patience, no shortcuts.
Above that: gratitude to Gd, the true source of wisdom, restraint, and endurance.
📜 King Solomon Lens
“Solomon didn’t predict. He judged. He built tests that made truth show itself. Pivot Wolf is that: pivots as boundary stones, momentum as witness, acceleration as the confession. No hammer in the Temple — rules are cut before entry. When it’s quiet, it’s saving you. When it speaks, it’s a ruling.”
This is not financial advice. This is structure.
If you wanted a fortune teller, you’ll hate this script.
If you wanted a system that makes the market prove itself before you strike—welcome to the Wolf.
Kurtosis with Skew Crossover Focused OscillatorDescription:
This indicator highlights Skewness/Kurtosis crossovers for short-term trading:
Green upward arrows: Skew crosses above Kurtosis → potential long signal.
Red downward arrows: Skew crosses below Kurtosis → potential short signal.
Yellow upward arrows: Extreme negative skew (skew ≤ -1.7) → potential oversold/reversal opportunity.
Oscillator Pane:
Orange = Skewness (smoothed)
Blue = Kurtosis (adjusted, smoothed)
Zero line = visual reference
Usage:
Primarily for 2–5 minute charts, highlighting statistical anomalies and potential short-term reversals that can be used in conjunction with OBV and/or CVD
Arrows signal potential entries based on skew/kurt dynamics.
Potential ideas???????
---------------------------------------
Add Supporting Market Context
---------------------------------------
Currently, signals are purely based on skew/kurt crossovers. Adding supporting indicators could improve reliability:
Volume / CVD: Identify when crossovers occur with real buying/selling pressure.
Wick Imbalance: Detect forced moves in price structure.
Volatility Regime (Parkinson / ATR): Filter signals during high volatility spikes or compressions.
Experimentation: Try weighting these supporting signals to dynamically confirm or filter skew/kurt crossovers and see if false signals decrease on 2–5 minute charts.
--------------------------------------
Dynamic Thresholds & Scaling
--------------------------------------
Right now, the extreme skew signal is triggered at a fixed level (skew ≤ -1.7). Future improvements could include:
Adaptive thresholds: Scale extreme skew levels based on recent standard deviation or intraday volatility.
Kurtosis thresholds: Introduce a cutoff for kurtosis to identify “fat-tail” events.
Experimentation: Backtest different adaptive thresholds for both skew and kurt, and see how it affects the precision vs. frequency of signals.
--------------------------------------------------
Multi-Timeframe or Combined Oscillator
--------------------------------------------------
Skew/kurt signals could be combined across multiple intraday timeframes (e.g., 1-min, 3-min, 5-min) to improve confirmation.
Create a composite oscillator that blends short-term and slightly longer-term skew/kurt values to reduce noise.
Experimentation: Compare a single timeframe approach vs multi-timeframe composite, and measure signal reliability and lag.
I'm leaving this open so anyone can experiment with it as this project may be on the backburner, but these are my thoughts so far
Currency Strength Meter (8 Majors) — invincible3
📊 Currency Strength Meter (8 Majors) — Description
The Currency Strength Meter (8 Majors) calculates the relative performance of the major global currencies — USD, EUR, GBP, JPY, AUD, NZD, CAD, CHF — using aggregated logarithmic returns across all major FX pairs. Strength values are normalized on every bar, allowing users to quickly identify the strongest and weakest currencies at any moment in time.
Each currency’s strength is computed from a basket of 7 related currency pairs, smoothed with EMA, converted into z-scores, and finally normalized to a 0–100 scale for easy comparison.
A built-in table displays the real-time strength for all currencies, along with bar-to-bar delta and directional arrows.
🔶 SETTINGS
General
Broker Prefix
Select the broker symbol prefix used for pair requests (e.g., OANDA:, FX_IDC:).
Calculation Timeframe
Timeframe used to calculate the log returns of currency pairs.
Higher timeframes reduce noise, lower timeframes increase sensitivity.
Lookback Bars
Number of bars (on the calculation timeframe) used to measure logarithmic performance.
Smoothing (EMA)
Smooths currency strength with an EMA of selectable length.
Plot Lines
Option to display the normalized strength of each currency (0–100) directly on the chart.
🔹 Strength Meter Table
Show Table
Enables the on-chart strength meter table.
Show ▲▼ Delta Arrows
Displays directional arrows indicating bar-over-bar momentum:
▲ increasing strength
▼ decreasing strength
• neutral
Size
Controls the table text size (Tiny → Huge).
Layout
Shows:
Currency name & flag
Strength (0–100)
Delta (current – previous bar)
🔶 USAGE
This indicator helps traders quickly determine which currencies are strong and which are weak , and how that strength evolves over time.
Because currencies are evaluated relative to one another , trend strength becomes easier to identify across FX pairs.
Use cases include:
Finding strong vs. weak currency pair combinations
Confirming trend continuation or exhaustion
Identifying momentum shifts through the delta column
Spotting early reversals when strength begins to diverge
Comparing currency performance over multiple timeframes
📈 Example Interpretation
If the USD shows:
Strength = 82
Delta = +3 (▲)
…USD is not only strong, but also getting stronger relative to the previous bar.
If AUD shows:
Strength = 22
Delta = -5 (▼)
…AUD is weak and weakening further.
This makes strong/weak pairing intuitive:
Prefer strong vs weak pairs (e.g., USD/AUD if USD strong & AUD weak)
Avoid neutral or mixed-strength pairs
🔶 DETAILS
Currency Strength Calculation
For each currency pair, the indicator calculates the log-return over the selected lookback window.
Each currency aggregates 7 major related pairs to form a composite strength value.
The aggregated value is smoothed using EMA.
All 8 currencies are converted into z-scores, then normalized to a 0–100 scale for cross-sectional comparison.
A bar-to-bar delta is computed to reveal strengthening or weakening momentum.
This structure ensures the indicator remains stable, consistent, and highly responsive for intraday and higher-timeframe trading.
CRT EngineContrarian Reversal Timing Engine (CRT Engine) is a precision tool designed to highlight moments when market conditions become favorable for reversal trades, specifically in areas where liquidity, volatility, and institutional flow behavior tend to converge.
This indicator does not use traditional oscillators, lagging signals, or simple pattern recognition.
Instead, it synthesizes several internal market dynamics into two simple, actionable signals.
🔹 How to Use
Buy Reversal Signal (Green Triangle)
A green upward‑pointing triangle appears below the candle when internal conditions align in a way that historically precedes short‑term upward reversals.
This signal tends to appear after:
Downside exhaustion
Aberrant selling behavior
A shift in underlying order‑flow balance
A short‑term reversion in market microstructure
How to trade it:
Consider long entries on or immediately after the signal bar.
Works best during sharp pullbacks, liquidity sweeps, forced unwinds, and algorithmic overextensions.
Sell Reversal Signal (Red Triangle)
A red downward‑facing triangle appears above the candle when an upward move is likely nearing its limit and conditions favor a downward reversal.
This typically occurs when:
Buying pressure overextends
Internal volatility begins contracting
Upward thrust loses structural support
Short‑term flow shifts direction
How to trade it:
Consider short entries on or immediately after the signal bar.
Particularly effective near blow‑off moves, stop‑runs, or aggressive squeezes.
🔹 Background Color Highlights (Optional Filter)
Faint Green Background: Market environment is favorable for upside reversal.
Faint Red Background: Market environment is favorable for downside reversal.
These zones can help avoid trading against stronger conditions.
🔹 Recommended Usage
Works on any timeframe, but intraday periods (1m–15m) often show the cleanest signals.
Pairs well with VWAP, liquidity sweeps, key levels, and structural displacement.
Designed for traders who favor contrarian, mean‑reversion, or liquidity‑based setups.
🔹 What This Indicator Does Not Do
It does not follow trends.
It does not measure overbought/oversold like RSI.
It does not use MACD, moving average crosses, or classical oscillators.
Instead, it focuses on internal flow conditions, extreme extension behavior, and short‑term market inefficiencies that often precede reversals driven by liquidity algorithms and institutional positioning.
🔹 Important Notes
Signals do not repaint once the candle closes.
This is not a high‑frequency timing tool; it identifies high‑probability reversal zones, not exact bottoms/tops.
Works best when combined with good execution, structure awareness, and market context AND IS NOT DESIGNED TO OPERATE AS A STANDALONE.
Pro Trader SystemPro Trader System is a comprehensive trading indicator that combines multiple technical analysis tools into one powerful system. It provides clear BUY/SELL signals with a proprietary scoring system (0-100) to help traders make informed decisions across all timeframes and markets.
options millionaireOptions Millionaire is an advanced market-timing indicator designed to identify high-probability turning points by combining volatility analysis with momentum exhaustion levels.
The script uses the Bollinger Band Width Percentage (BBW%) to detect volatility compression (low volatility) and expansion phases (high volatility), and it colors the chart background accordingly.
Green background highlights favorable bullish expansion conditions, while red background signals bearish expansion phases.
How the indicator works (concept overview)
Volatility Model:
BBW% is used to measure how “tight” or “wide” the Bollinger Bands are.
• Low BBW% = volatility compression (potential breakout zone)
• High BBW% = expansion (trend acceleration)
Momentum Exhaustion:
The Stochastic %K identifies overbought and oversold conditions.
Turning-point signals occur when the market reaches an exhaustion level and volatility enters a specific phase.
Signal Generation:
• CALL signals appear when the market is oversold during a bullish or expanding volatility phase.
• PUT signals appear when the market is overbought during a bearish or expanding volatility phase.
How to use it
Works well for options strategies, reversal setups, and mean-reversion entries.
Effective across multiple assets (stocks, crypto, forex).
Best performance on 5m–1h timeframes.
Use with market structure or confirmation indicators to refine entry points.
What makes it original
While BBW% and Stochastic are classic tools, Options Millionaire combines them into a turning-point engine that focuses specifically on volatility compression → expansion transitions aligned with momentum exhaustion.
This dual-filter approach helps identify reversals with better timing compared to using standard indicators separately.
Buyer-Seller Locomotive IndexBuyer-Seller Locomotive Index (BSLI)
An original indicator that measures buyer and seller pressure, momentum shifts, and structural control in the market.
Overview
The Buyer-Seller Locomotive Index evaluates candle-level positioning relative to an adaptive EMA-based reference price. It calculates bull vs bear strength percentages and Total Power momentum using fast and slow EMAs, providing insight into which side currently dominates market structure. By combining pressure analysis with momentum smoothing, BSLI highlights both the intensity and direction of market control.
Features
Bull/Bear Strength Percentages: Normalized 0–100 values showing current dominance and threshold-based high-strength alerts.
Total Power Momentum: Fast and slow EMA crossover signals with a histogram to visualize expansion or contraction of pressure.
Visual Markers: Optional fight diamonds highlight candles intersecting the reference price, while dynamic labels show the exact strength percentages.
Crossover Signals: Circles mark potential shifts in momentum, helping to identify early transitions in market control.
Customizable Display: Users can toggle labels, markers, and histogram visibility for a clean or detailed chart view.
How to Use
BSLI provides traders with a multi-layered view of market structure:
Observe shifts in buyer vs seller dominance.
Spot early momentum transitions before trends become obvious.
Confirm price structure with Total Power and strength percentages.
Highlight periods of compression, conflict, or indecision for additional context.
This indicator is intended as a supportive analysis tool. Traders should combine it with personal methodology, risk management, and other analysis techniques. It is not a standalone trade signal.
Important Notes
Measures relative pressure, not absolute volume.
Percentages reflect current structure, not predicted price direction.
Signals are contextual; do not rely solely on crossovers for trading decisions.
Uses no lookahead; all calculations are based on completed bars.
Results may vary by asset, timeframe, and market volatility.
Originality
BSLI uniquely combines adaptive pressure extraction, normalized strength percentages, dual-EMA power momentum, conflict detection, and integrated labeling. This multi-component approach provides a clear and actionable view of the evolving balance between buyers and sellers, supporting both short-term and structural analysis.
Overbought Oversold Strategy - SPY-SPX-QQQ 0DTEOverbought / oversold strategy designed for scalping. Configured to run for scalps at end of day.
The Overbought Oversold Strategy calculates a custom oscillator using exponential moving averages and standard deviation on a weighted price to identify momentum shifts.
Entry and Exit are tunable for back testing your style of trading.
It allows users to restrict trading to a specified session, defaulting to NY market hours (9:30 AM to 4:00 PM), and optionally flattens all positions at a user-defined time like market close to manage overnight risk. Entry strategies include buying only on buy signals, selling only on sell signals, or mean-reverting toward the NY open price or a custom target by entering long if below or short if above when signals align. Exit options comprise fixed tick-based profit targets and stop losses, closing on the next opposing signal, or holding until the flatten time, ensuring flexible risk management.
RSI Median DeviationRSI Median Deviation
Thank you to @QuantumResearch for part of the code and inspiration!
Introduction:
With my first published indicator i wanted to start simple, so i created a RSI that has no static OB/OS signals and can act as a Momentum-Strength-Gauge.
Inspiration came from the Median Deviation Bands indicator by QuantumResearch!
TL;DR:
Traditional RSI says "70 is overbought" like it's a universal law. Guess what: it's not .
This indicator figures out where overbought and oversold actually are for your specific chart and timeframe, using real statistics.
What Makes it Different
Most RSI indicators slap horizontal lines at 70/30 and call it a day. Problem is, that works great... until it doesn't. In a strong trend, RSI can camp out above 70 for weeks. In choppy markets, it'll ping-pong across those levels.
RSI Median Deviation takes a smarter approach:
1. Adaptive zones that move with your data
2. Median + standard deviation bands (the 50th percentile ±2σ) that show where RSI is statistically extreme
3. Rare signals that actually mean something
4. Optional smoothed bands that adapt to current market conditions in real-time
Think of it like this: instead of asking "is RSI above 70?", we're asking "is RSI acting weird compared to its recent behavior?"
Key Features
- Statistical bands built from the RSI's actual median and standard deviation
- Multiple MA options (TEMA, WMA, HMA, ALMA, etc.) for smoothing.
- Dual detection modes: Pure stats OR MA bands
- Background highlighting when something genuinely extreme happens
- Diamond markers for ultra-rare RSI readings (<25 or >85)
- 9 color themes
- Works on all timeframes
How to Actually Use This Thing
1. Trend Bias
RSI line turns green above 60 (bullish bias), red below 47 (bearish bias).
2. Mean-Reversion Plays
Dark green background = RSI dropped below the lower 2σ band → statistically oversold
Dark magenta background = RSI spiked above the upper 2σ band → statistically overbought
3. Momentum Strength Gauge
Watch the distance between the smoothed RSI and the median line:
Wide gap = strong trend in play
Converging = momentum dying, consolidation likely
4. Extra Confirmation
Those diamond shapes at the top/bottom? That's RSI hitting <25 or >85 – genuinely extreme territory.
Recommended Settings:
RSI Length: 10
Median Length: 28
SD Length: 27
RSI MA Type: TEMA
RSI MA Length: 27
Band MA Type: WMA
Band Length: 37
The standard settings are optimized to have maximum use on all assets.
Works on everything, especially on daily or 4h charts for swing/position trading.
Last words:
RSI Median Deviation is the version that only gives signals if the ROC of your data is on the extreme side.
It'll give you fewer, better signals based on what's actually happening in the markets.
Perfect for traders who'd rather have quality over quantity.
CSI Cycle Swing MomentumAdaptive Ultra-Smooth Momentum (Cycle-Swing Indicator – CSI)
The Cycle-Swing Indicator (CSI) is an advanced, adaptive momentum oscillator designed to extract clean, reliable signals from market data by focusing on the swing of the dominant market cycle rather than raw momentum. By identifying and aligning with the current dominant cycle, the CSI produces a momentum curve that is exceptionally smooth, responsive, and context-aware.
Key Advantages
The CSI offers several improvements over traditional momentum-based indicators:
Ultra-smooth signal line without sacrificing responsiveness
Zero-lag behavior, enabling timely entries and exits
Pronounced turning-point precision, enhancing signal clarity
Adaptive to real market cycles, automatically adjusting to changing conditions
Reliable deviation and divergence detection, even in noisy environments
Why Standard Indicators Fall Short
Conventional oscillators often struggle in real-world market conditions:
Excessive noise leads to frequent false signals.
Added smoothing reduces noise but introduces significant lag, delaying actionable insights.
Fixed-length parameters make indicators highly sensitive to user settings—you never truly know the "right" length.
The CSI solves all these challenges through its adaptive cyclic algorithm, which automatically aligns itself with the market’s dominant cycle—no manual tuning required.
Practical Example
In the example chart, the CSI highlights clear turning points and deviations with far less noise than the standard momentum indicator, demonstrating its superior clarity and responsiveness.
How to Use
The CSI is fully adaptive and requires no parameters. Simply apply it to any symbol and timeframe—the indicator automatically detects the dominant cycle and produces an ultra-smooth, cycle-aligned momentum curve.
Included features:
Adaptive upper and lower bands identifying extreme conditions
Automatic divergence detection (toggle on/off)
Works on any timeframe and any asset
Adaptive length - no input parameter required
How to Read the Indicator
The CSI functions similarly to a traditional momentum oscillator but with enhanced adaptive context:
Look for divergences between price and the CSI signal line — powerful early warnings of weakening trends or impending shifts.
Note on Divergence Signals:
The divergence markers displayed on the chart are generated using embedded pivot-based detection. Because pivots must be confirmed by price action, divergence signals can only be plotted after a pivot forms. For real-time monitoring on the latest bar, users should watch for early-forming divergences as they develop, since confirmed pivot-based divergences will always appear with a slight delay. Script parameters are available for precise adjustment of pivot detection behaviour.
Info: Legacy vs. Pro Version
This is the actively maintained and continuously enhanced edition of my free, open-source indicator “Cycle Swing Momentum”. The Pro Version will remain fully up to date with the latest Pine Script standards and will receive ongoing refinements and feature improvements, all while preserving the core logic and intent of the original tool. The legacy version will continue to be available for code review and educational purposes, but it will no longer receive updates. The legacy open-source version is always available in the public TV indicator repository.
Script pago
CSI Cycle Swing Momentum Indicator ProAdaptive Ultra-Smooth Momentum (Cycle-Swing Indicator – CSI)
The Cycle-Swing Indicator (CSI) is an advanced, adaptive momentum oscillator designed to extract clean, reliable signals from market data by focusing on the swing of the dominant market cycle rather than raw momentum. By identifying and aligning with the current dominant cycle, the CSI produces a momentum curve that is exceptionally smooth, responsive, and context-aware.
Key Advantages
The CSI offers several improvements over traditional momentum-based indicators:
Ultra-smooth signal line without sacrificing responsiveness
Zero-lag behavior, enabling timely entries and exits
Pronounced turning-point precision, enhancing signal clarity
Adaptive to real market cycles, automatically adjusting to changing conditions
Reliable deviation and divergence detection, even in noisy environments
Why Standard Indicators Fall Short
Conventional oscillators often struggle in real-world market conditions:
Excessive noise leads to frequent false signals.
Added smoothing reduces noise but introduces significant lag, delaying actionable insights.
Fixed-length parameters make indicators highly sensitive to user settings—you never truly know the "right" length.
The CSI solves all these challenges through its adaptive cyclic algorithm, which automatically aligns itself with the market’s dominant cycle—no manual tuning required.
Practical Example
In the example chart, the CSI highlights clear turning points and deviations with far less noise than the standard momentum indicator, demonstrating its superior clarity and responsiveness.
How to Use
The CSI is fully adaptive and requires no parameters. Simply apply it to any symbol and timeframe—the indicator automatically detects the dominant cycle and produces an ultra-smooth, cycle-aligned momentum curve.
Included features:
Adaptive upper and lower bands identifying extreme conditions
Automatic divergence detection (toggle on/off)
Works on any timeframe and any asset
Adaptive length - no input parameter required
How to Read the Indicator
The CSI functions similarly to a traditional momentum oscillator but with enhanced adaptive context:
Look for divergences between price and the CSI signal line — powerful early warnings of weakening trends or impending shifts.
Note on Divergence Signals:
The divergence markers displayed on the chart are generated using embedded pivot-based detection. Because pivots must be confirmed by price action, divergence signals can only be plotted after a pivot forms. For real-time monitoring on the latest bar, users should watch for early-forming divergences as they develop, since confirmed pivot-based divergences will always appear with a slight delay. Script parameters are available for precise adjustment of pivot detection behaviour.
Info: Legacy vs. Pro Version
This is the actively maintained and continuously enhanced edition of my free, open-source indicator “Cycle Swing Momentum”. The Pro Version will remain fully up to date with the latest Pine Script standards and will receive ongoing refinements and feature improvements, all while preserving the core logic and intent of the original tool. The legacy version will continue to be available for code review and educational purposes, but it will no longer receive updates. The legacy open-source version is always available in the public TV indicator repository.
Momentum Structural AnalysisMomentum Structural Analysis (MSA‑style Oscillator)
This indicator implements a simple, MSA‑style momentum oscillator that measures how far price has moved above or below its own long‑term trend on the active timeframe, expressed in percentage terms. Instead of looking at raw price, it "oscillates" price around a timeframe‑appropriate simple moving average (SMA) and plots the percentage distance from that SMA as an orange line around a zero baseline. Zero means price is exactly at its structural trend; positive values mean price is extended above trend; negative values mean it is trading below trend.
The script automatically selects the SMA length based on the chart timeframe:
On daily charts it uses the configurable Daily SMA Length (default 252 trading days, roughly 1 year).
On weekly charts it uses Weekly SMA Length (default 208 weeks).
On monthly charts it uses Monthly SMA Length (default 120 months).
This approach is inspired by the ideas behind Momentum Structural Analysis (MSA), which studies where a market trades relative to long‑term moving averages and then treats the momentum line (the oscillator) as the primary object of analysis. The goal is to highlight structural overbought/oversold conditions and regime changes that are often clearer on momentum than on the raw price chart.
--------------------------------------------------
What the script computes and how it works
For each bar, the indicator:
Chooses an SMA length based on the current timeframe (daily/weekly/monthly).
Calculates the SMA of the close.
Computes the percentage distance:
\text{Diff %} = \frac{\text{Close} - \text{SMA}}{\text{SMA}} \times 100
Plots this Diff % as an orange line, with a dashed horizontal zero line as the base.
This produces a momentum oscillator that oscillates around zero and reflects the "structural" position of price versus its own long‑term mean.
--------------------------------------------------
How to use it on index charts (e.g., NIFTY50)
On indices like NIFTY50, use the indicator to see how stretched the index is versus its structural trend.
Typical uses:
Identify extremes: a). Historically high positive readings can signal euphoric, late‑stage conditions where risk is elevated. b). Deep negative readings can highlight panic/capitulation zones where downside may be exhausted.
Draw structural levels: a). Mark horizontal bands on the oscillator where past turns have occurred (e.g., +15%, −10%, etc. specific to NIFTY50). b). Watch how price behaves when the oscillator revisits these zones: repeated rejections can validate them as structural bounds; clean breaks can indicate a change of regime.
This is not a buy/sell signal generator by itself; it is a framework to understand where the index sits within its long‑term momentum structure and to support risk‑management decisions.
--------------------------------------------------
How to use it on ratio charts
Apply the same indicator to ratio symbols such as NIFTY50/GOLD, BANKNIFTY/NIFTY50, sector vs index, or any spread you plot as a ratio.
On a ratio chart:
The oscillator now measures relative momentum: how far that ratio is above or below its own long‑term mean.
High positive readings = strong outperformance of the numerator vs the denominator (e.g., equities strongly outperforming gold).
Deep negative readings = strong underperformance (e.g., equities structurally lagging gold).
This is very much in the spirit of MSA’s work on spreads between asset classes: it helps visualize major rotations (equities → gold, financials → commodities, etc.) and whether a relative‑performance trend is stretched, reverting, or breaking into a new phase.
--------------------------------------------------
Using multiple timeframes for better decisions
You can stack information across timeframes to get a more robust view:
Monthly : a). Use monthly charts to see secular/structural phases. b). Long multi‑year stretches above or below zero, and large bases or trendline breaks on the monthly oscillator, can mark major bull or bear cycles and big rotations between asset classes.
Weekly : a). Use weekly charts for the primary trend. b). Weekly structures (multi‑month highs/lows, channels, or trendlines on the oscillator) are useful for medium‑term positioning and for confirming or rejecting signals seen on the monthly view.
Daily : a). Use daily charts mainly for timing entries/exits once the higher‑timeframe direction is clear. b). Short‑term extremes on the daily oscillator that align with the larger weekly/monthly structure can offer better‑timed opportunities, while signals that contradict higher‑timeframe momentum are more likely to be noise.
--------------------------------------------------
VMDM - Volume, Momentum & Divergence Master [BullByte]VMDM - Volume, Momentum and Divergence Master
Educational Multi-Layer Market Structure Analysis System
Multi-factor divergence engine that scores RSI momentum, volume pressure, and institutional footprints into one non-repainting confluence rating (0-100).
WHAT THIS INDICATOR IS
VMDM is an educational indicator designed to teach traders how to recognize high-probability reversal and continuation patterns by analyzing four independent market dimensions simultaneously. Instead of relying on a single indicator that may produce frequent false signals, VMDM creates a confluence-based scoring system that weights multiple confirmation factors, helping you understand which setups have stronger technical backing and which are lower quality.
This is NOT a trading system or signal generator. It is a learning tool that visualizes complex market structure concepts in an accessible format for both coders and non-coders.
THE PROBLEM IT SOLVES
Most traders face these common challenges:
Challenge 1 - Indicator Overload: Running RSI, volume analysis, and divergence detection separately creates chart clutter and conflicting signals. You waste time cross-referencing multiple windows trying to determine if all factors align.
Challenge 2 - False Divergences: Standard divergence indicators trigger on every minor pivot, creating noise. Many divergences fail because they lack supporting evidence from volume or market structure.
Challenge 3 - Missed Context: A bullish RSI divergence means nothing if it occurs during weak volume or in the middle of strong distribution. Context determines quality.
Challenge 4 - Repainting Confusion: Many divergence scripts repaint, showing perfect historical signals that never actually triggered in real-time, leading to false confidence.
Challenge 5 - Institutional Pattern Recognition: Absorption zones, stop hunts, and exhaustion patterns are taught in trading education but difficult to identify systematically without manual analysis.
VMDM addresses all five challenges by combining complementary analytical layers into one transparent, non-repainting, confluence-weighted system with visual clarity.
WHY THIS SPECIFIC COMBINATION - MASHUP JUSTIFICATION
This indicator is NOT a random mashup of popular indicators. Each of the four layers serves a specific analytical purpose and together they create a complete market structure assessment framework.
THE FOUR ANALYTICAL LAYERS
LAYER 1 - RSI MOMENTUM DIVERGENCE (Trend Exhaustion Detection)
Purpose: Identifies when price momentum is weakening before price itself reverses.
Why RSI: The Relative Strength Index measures momentum on a bounded 0-100 scale, making divergence detection mathematically consistent across all assets and timeframes. Unlike raw price oscillators, RSI normalizes momentum regardless of volatility regime.
How It Contributes: Divergence between price pivots and RSI pivots reveals early momentum exhaustion. A lower price low with a higher RSI low (bullish regular divergence) signals sellers are losing strength even as price makes new lows. This is the PRIMARY signal generator in VMDM.
Limitation If Used Alone: RSI divergence by itself produces many false signals because momentum can remain weak during continued trends. It needs confirmation from volume and structural evidence.
LAYER 2 - VOLUME PRESSURE ANALYSIS (Buying vs Selling Intensity)
Purpose: Quantifies whether the current bar's volume reflects buying pressure or selling pressure based on where price closed within the bar's range.
Methodology: Instead of just measuring volume size, VMDM calculates WHERE in the bar range the close occurred. A close near the high on high volume indicates strong buying absorption. A close near the low indicates selling pressure. The calculation accounts for wick size (wicks reduce pressure quality) and uses percentile ranking over a lookback period to normalize pressure strength on a 0-100 scale.
Formula Concept:
Buy Pressure = Volume × (Close - Low) / (High - Low) × Wick Quality Factor
Sell Pressure = Volume × (High - Close) / (High - Low) × Wick Quality Factor
Net Pressure = Buy Pressure - Sell Pressure
Pressure Strength = Percentile Rank of Net Pressure over lookback period
Why Percentile Ranking: Absolute volume varies by asset and session. Percentile ranking makes 85th percentile pressure on low-volume crypto comparable to 85th percentile pressure on high-volume forex.
How It Contributes: When a bullish divergence occurs at a pivot low AND pressure strength is above 60 (strong buying), this adds 25 confluence points. It confirms that the divergence is occurring during actual accumulation, not just weak selling.
Limitation If Used Alone: Pressure analysis shows current bar intensity but cannot identify trend exhaustion or reversal timing. High buying pressure can exist during a strong uptrend with no reversal imminent.
LAYER 3 - BEHAVIORAL FOOTPRINT PATTERNS (Volume Anomaly Detection)
CRITICAL DISCLAIMER: The terms "institutional footprint," "absorption," "stop hunt," and "exhaustion" used in this indicator are EDUCATIONAL LABELS for specific price and volume behavioral patterns. These patterns are detected through technical analysis of publicly available price, volume, and bar structure data. This indicator does NOT have access to actual institutional order flow, market maker data, broker stop-loss locations, or any non-public data source. These pattern names are used because they are common terminology in trading education to describe these technical behaviors. The analysis is interpretive and based on observable price action, not privileged information.
Purpose: Detect volume anomalies and price patterns that historically correlate with potential reversal zones or trend continuation failure.
Pattern Type 1 - Absorption (Labeled as "ACCUMULATION" or "DISTRIBUTION")
Detection Criteria: Volume is more than 2x the moving average AND bar range is less than 50 percent of the average bar range.
Interpretation: High volume compressed into a tight range suggests large participants are absorbing supply (accumulation) or distribution (distribution) without allowing price to move significantly. This often precedes directional moves once absorption completes.
Visual: Colored box zone highlighting the absorption area.
Pattern Type 2 - Stop Hunt (Labeled as "BULL HUNT" or "BEAR HUNT")
Detection Criteria: Price penetrates a recent 10-bar high or low by a small margin (0.2 percent), then closes back inside the range on above-average volume (1.5x+).
Interpretation: Price briefly spikes beyond recent structure (likely triggering stop losses placed just beyond obvious levels) then reverses. This is a classic false breakout pattern often seen before reversals.
Visual: Label at the wick extreme showing hunt direction.
Pattern Type 3 - Exhaustion (Labeled as "SELL EXHAUST" or "BUY EXHAUST")
Detection Criteria: Lower wick is more than 2.5x the body size with volume above 1.8x average and RSI below 35 (sell exhaustion), OR upper wick more than 2.5x body size with volume above 1.8x average and RSI above 65 (buy exhaustion).
Interpretation: Large wicks with high volume and extreme RSI suggest aggressive buying or selling was met with equally aggressive rejection. This exhaustion often marks short-term extremes.
Visual: Label showing exhaustion type.
How These Contribute: When a divergence forms at a pivot AND one of these behavioral patterns is active, the confluence score increases by 20 points. This confirms the divergence is occurring during structural anomaly activity, not just normal price flow.
Limitation If Used Alone: These patterns can occur mid-trend and do not indicate direction without momentum context. Absorption in a strong uptrend may just be continuation accumulation.
LAYER 4 - CONFLUENCE SCORING MATRIX (Quality Weighting System)
Purpose: Translate all detected conditions into a single 0-100 quality score so you can objectively compare setups.
Scoring Breakdown:
Divergence Present: +30 points (primary signal)
Pressure Confirmation: +25 points (volume supports direction)
Behavioral Footprint Active: +20 points (structural anomaly present)
RSI Extreme: +15 points (RSI below 30 or above 70 at pivot)
Volume Spike: +10 points (current volume above 1.5x average)
Maximum Possible Score: 100 points
Why These Weights: The weights reflect reliability hierarchy based on backtesting observation. Divergence is the core signal (30 points), but without volume confirmation (25 points) many fail. Behavioral patterns add meaningful context (20 points). RSI extremes and volume spikes are secondary confirmations (15 and 10 points).
Quality Tiers:
90-100: TEXTBOOK (all factors aligned)
75-89: HIGH QUALITY (strong confluence)
60-74: VALID (meets minimum threshold)
Below 60: DEVELOPING (not displayed unless threshold lowered)
How It Contributes: The confluence score allows you to filter noise. You can set your minimum quality threshold in settings. Higher thresholds (75+) show fewer but higher-quality patterns. Lower thresholds (50-60) show more patterns but include lower-confidence setups. This teaches you to distinguish strong setups from weak ones.
Limitation: Confluence scoring is historical observation-based, not predictive guarantee. A 95-point setup can still fail. The score represents technical alignment, not future certainty.
WHY THIS COMBINATION WORKS TOGETHER
Each layer addresses a limitation in the others:
RSI Divergence identifies WHEN momentum is exhausting (timing)
Volume Pressure confirms WHETHER the exhaustion is accompanied by opposite-side accumulation (confirmation)
Behavioral Footprint shows IF structural anomalies support the reversal hypothesis (context)
Confluence Scoring weights ALL factors into an objective quality metric (filtering)
Using only RSI divergence gives you timing without confirmation. Using only volume pressure gives you intensity without directional context. Using only pattern detection gives you anomalies without trend exhaustion context. Using all four together creates a complete analytical framework where each layer compensates for the others' weaknesses.
This is not a mashup for the sake of combining indicators. It is a structured analytical system where each component has a defined role in a multi-dimensional market assessment process.
HOW TO READ THE INDICATOR - VISUAL ELEMENTS GUIDE
VMDM displays up to five visual layer types. You can enable or disable each layer independently in settings under "Visual Layers."
VISUAL LAYER 1 - MARKET STRUCTURE (Pivot Points and Lines)
What You See:
Small labels at swing highs and lows marked "PH" (Pivot High) and "PL" (Pivot Low) with horizontal dashed lines extending right from each pivot.
What It Means:
These are CONFIRMED pivots, not real-time. A pivot low appears AFTER the required right-side confirmation bars pass (default 3 bars). This creates a delay but prevents repainting. The pivot only appears once it is mathematically confirmed.
The horizontal lines represent support (from pivot lows) and resistance (from pivot highs) levels where price previously found significant rejection.
Color Coding:
Green label and line: Pivot Low (potential support)
Red label and line: Pivot High (potential resistance)
How To Use:
These pivots are the foundation for divergence detection. Divergence is only calculated between confirmed pivots, ensuring all signals are non-repainting. The lines help you see historical structure levels.
VISUAL LAYER 2 - PRESSURE ZONES (Background Color)
What You See:
Subtle background color shading on bars - light green or light red tint.
What It Means:
This visualizes volume pressure strength in real-time.
Color Coding:
Light Green Background: Pressure Strength above 70 (strong buying pressure - price closing near highs on volume)
Light Red Background: Pressure Strength below 30 (strong selling pressure - price closing near lows on volume)
No Color: Neutral pressure (pressure between 30-70)
How To Use:
When a bullish divergence pattern appears during green pressure zones, it suggests the divergence is forming during accumulation. When a bearish divergence appears during red zones, distribution is occurring. Pressure zones help you filter divergences - those forming in supportive pressure environments have higher probability.
VISUAL LAYER 3 - DIVERGENCE LINES (Dotted Connectors)
What You See:
Dotted lines connecting two pivot points (either two pivot lows or two pivot highs).
What It Means:
A divergence has been detected between those two pivots. The line connects the price pivots where RSI showed opposite behavior.
Color Coding:
Bright Green Line: Bullish divergence (regular or hidden)
Bright Red Line: Bearish divergence (regular or hidden)
How To Use:
The divergence line appears ONLY after the second pivot is confirmed (delayed by right-side confirmation bars). This is intentional to prevent repainting. When you see the line appear, it means:
For Bullish Regular Divergence:
Price made a lower low (second pivot lower than first)
RSI made a higher low (RSI at second pivot higher than first)
Interpretation: Downtrend losing momentum
For Bullish Hidden Divergence:
Price made a higher low (second pivot higher than first)
RSI made a lower low (RSI at second pivot lower than first)
Interpretation: Uptrend continuation likely (pullback within uptrend)
For Bearish Regular Divergence:
Price made a higher high (second pivot higher than first)
RSI made a lower high (RSI at second pivot lower than first)
Interpretation: Uptrend losing momentum
For Bearish Hidden Divergence:
Price made a lower high (second pivot lower than first)
RSI made a higher high (RSI at second pivot higher than first)
Interpretation: Downtrend continuation likely (bounce within downtrend)
If "Show Consolidated Analysis Label" is disabled, a small label will appear on the divergence line showing the divergence type abbreviation.
VISUAL LAYER 4 - BEHAVIORAL FOOTPRINT MARKERS
What You See:
Boxes, labels, and markers at specific bars showing pattern detection.
ABSORPTION ZONES (Boxes):
Colored rectangular boxes spanning one or more bars.
Purple Box: Accumulation absorption zone (high volume, tight range, bullish close)
Red Box: Distribution absorption zone (high volume, tight range, bearish close)
If absorption continues for multiple consecutive bars, the box extends and a counter appears in the label showing how many bars the absorption lasted.
What It Means: Large volume is being absorbed without significant price movement. This often precedes directional breakouts once the absorption phase completes.
STOP HUNT MARKERS (Labels):
Small labels below or above wicks labeled "BULL HUNT" or "BEAR HUNT" (may show bar count if consecutive).
What It Means:
BULL HUNT : Price spiked below recent lows then reversed back up on volume - likely triggered sell stops before reversing
BEAR HUNT : Price spiked above recent highs then reversed back down on volume - likely triggered buy stops before reversing
EXHAUSTION MARKERS (Labels):
Labels showing "SELL EXHAUST" or "BUY EXHAUST."
What It Means:
SELL EXHAUST : Large lower wick with high volume and low RSI - aggressive selling met with strong rejection
BUY EXHAUST : Large upper wick with high volume and high RSI - aggressive buying met with strong rejection
How To Use:
These markers help you identify WHERE structural anomalies occurred. When a divergence signal appears AT THE SAME TIME as one of these patterns, the confluence score increases. You are looking for alignment - divergence + behavioral pattern + pressure confirmation = high-quality setup.
VISUAL LAYER 5 - CONSOLIDATED ANALYSIS LABEL (Main Pattern Signal)
What You See:
A large label appearing at pivot points (or in real-time mode, at current bar) containing full pattern analysis.
Label Appearance:
Depending on your "Use Compact Label Format" setting:
COMPACT MODE (Single Line):
Example: "BULLISH REGULAR | Q:HIGH QUALITY C:82"
Breakdown:
BULLISH REGULAR: Divergence type detected
Q:HIGH QUALITY: Pattern quality tier
C:82: Confluence score (82 out of 100)
FULL MODE (Multi-Line Detailed):
Example:
PATTERN DETECTED
-------------------
BULLISH REGULAR
Quality: HIGH QUALITY
Price: Lower Low
Momentum: Higher Low
Signal: Weakening Downtrend
CONFLUENCE: 82/100
-------------------
Divergence: 30
Pressure: 25
Institutional: 20
RSI Extreme: 0
Volume: 10
Breakdown:
Top section: Pattern type and quality
Middle section: Divergence explanation (what price did vs what RSI did)
Bottom section: Confluence score with itemized breakdown showing which factors contributed
Label Position:
In Confirmed modes: Label appears AT the pivot point (delayed by confirmation bars)
In Real-time mode: Label appears at current bar as conditions develop
Label Color:
Gold: Textbook quality (90+ confluence)
Green: High quality (75-89 confluence)
Blue: Valid quality (60-74 confluence)
How To Use:
This is your primary decision-making label. When it appears:
Check the divergence type (regular divergences are reversal signals, hidden divergences are continuation signals)
Review the quality tier (textbook and high quality have better historical win rates)
Examine the confluence breakdown to see which factors are present and which are missing
Look at the chart context (trend, support/resistance, timeframe)
Use this information to assess whether the setup aligns with your strategy
The label does NOT tell you to buy or sell. It tells you a technical pattern has formed and provides the quality assessment. Your trading decision must incorporate risk management, market context, and your strategy rules.
UNDERSTANDING THE THREE DETECTION MODES
VMDM offers three signal detection modes in settings to accommodate different trading styles and learning objectives.
MODE 1: "Confluence Only (Real-Time)"
How It Works: Displays signals AS THEY DEVELOP on the current bar without waiting for pivot confirmation. The system calculates confluence score from pressure, volume, RSI extremes, and behavioral patterns. Divergence signals are NOT required in this mode.
Delay: ZERO - signals appear immediately.
Use Case: Real-time scanning for high-confluence zones without divergence requirement. Useful for intraday traders who want immediate alerts when multiple factors align.
Tradeoff: More frequent signals but includes setups without confirmed divergence. Higher false signal rate. Signals can change as the bar develops (not repainting in historical bars, but current bar updates).
Visual Behavior: Labels appear at the current bar. No divergence lines unless divergence happens to be present.
MODE 2: "Divergence + Confluence (Confirmed)" - DEFAULT RECOMMENDED
How It Works: Full system engagement. Signals appear ONLY when:
A pivot is confirmed (requires right-side confirmation bars to pass)
Divergence is detected between current pivot and previous pivot
Total confluence score meets or exceeds your minimum threshold
Delay: Equal to your "Pivot Right Bars" setting (default 3 bars). This means signals appear 3 bars AFTER the actual pivot formed.
Use Case: Highest-quality, non-repainting signals for swing traders and learners who want to study confirmed pattern completion.
Tradeoff: Delayed signals. You will not receive the signal until confirmation occurs. In fast-moving markets, price may have already moved significantly by the time the signal appears.
Visual Behavior: Labels appear at the historical pivot location (in the past). Divergence lines connect the two pivots. This is the most educational mode because it shows completed, confirmed patterns.
Non-Repainting Guarantee: Yes. Once a signal appears, it never disappears or changes.
MODE 3: "Divergence + Confluence (Relaxed)"
How It Works: Same as Confirmed mode but with adaptive thresholds. If confluence is very high (10 points above threshold), the signal may appear even if some factors are weak. If divergence is present but confluence is slightly below threshold (within 10 points), it may still appear.
Delay: Same as Confirmed mode (right-side confirmation bars).
Use Case: Slightly more signals than Confirmed mode for traders willing to accept near-threshold setups.
Tradeoff: More signals but lower average quality than Confirmed mode.
Visual Behavior: Same as Confirmed mode.
DASHBOARD GUIDE - READING THE METRICS
The dashboard appears in the corner of your chart (position selectable in settings) and provides real-time market state analysis.
You can choose between four dashboard detail levels in settings: Off, Compact, Optimized (default), Full.
DASHBOARD ROW EXPLANATIONS
ROW 1 - Header Information
Left: Current symbol and timeframe
Center: "VMDM "
Right: Version number
ROW 2 - Mode and Delay
Shows which detection mode you are using and the signal delay.
Example: "CONFIRMED | Delay: 3 bars"
This reminds you that signals in confirmed mode appear 3 bars after the pivot forms.
ROW 3 - Market Regime
Format: "TREND UP HV" or "RANGING NV"
First Part - Trend State:
TREND UP: 20 EMA above 50 EMA with strong separation
TREND DOWN: 20 EMA below 50 EMA with strong separation
RANGING: EMAs close together, low trend strength
TRANSITION: Between trending and ranging states
Second Part - Volatility State:
HV: High Volatility (current ATR more than 1.3x the 50-bar average ATR)
NV: Normal Volatility (current ATR between 0.7x and 1.3x average)
LV: Low Volatility (current ATR less than 0.7x average)
Third Column: Volatility ratio (example: "1.45x" means current ATR is 1.45 times normal)
How To Use: Regime context helps you interpret signals. Reversal divergences are more reliable in ranging or transitional regimes. Continuation divergences (hidden) are more reliable in trending regimes. High volatility means wider stops may be needed.
ROW 4 - Pressure
Shows current volume pressure state.
Format: "BUYING | ██████████░░░░░░░░░"
States:
BUYING : Pressure strength above 60 (closes near highs)
SELLING : Pressure strength below 40 (closes near lows)
NEUTRAL : Pressure strength between 40-60
Bar Visualization: Each block represents 10 percentile points. A full bar (10 filled blocks) = 100th percentile pressure.
Color: Green for buying, red for selling, gray for neutral.
How To Use: When pressure aligns with divergence direction (bullish divergence during buying pressure), confluence is stronger.
ROW 5 - Volume and RSI
Format: "1.8x | RSI 68 | OB"
First Value: Current volume ratio (1.8x = volume is 1.8 times the moving average)
Second Value: Current RSI reading
Third Value: RSI state
OB: Overbought (RSI above 70)
OS: Oversold (RSI below 30)
Blank: Neutral RSI
How To Use: Volume spikes (above 1.5x) during divergence formation add confluence. RSI extremes at pivots add confluence.
ROW 6 - Behavioral Footprint
Format: "BULL HUNT | 2 bars"
Shows the most recent behavioral pattern detected and how long ago.
States:
ACCUMULATION / DISTRIBUTION: Absorption detected
BULL HUNT / BEAR HUNT: Stop hunt detected
SELL EXHAUST / BUY EXHAUST: Exhaustion detected
SCANNING: No recent pattern
NOW: Pattern is active on current bar
How To Use: When footprint activity is recent (within 50 bars) or active now, it adds context to divergence signals forming in that area.
ROW 7 - Current Pattern
Shows the divergence type currently detected (if any).
Examples: "BULLISH REGULAR", "BEARISH HIDDEN", "Scanning..."
Quality: Shows pattern quality (TEXTBOOK, HIGH QUALITY, VALID)
How To Use: This tells you what type of signal is active. Regular divergences are reversal setups. Hidden divergences are continuation setups.
ROW 8 - Session Summary
Format: "14 events | A3 H8 E3"
First Value: Total institutional events this session
Breakdown:
A: Absorption events
H: Stop hunt events
E: Exhaustion events
How To Use: High event counts suggest an active, volatile session with frequent structural anomalies. Low counts suggest quiet, orderly price action.
ROW 9 - Confluence Score (Optimized/Full mode only)
Format: "78/100 | ████████░░"
Shows current real-time confluence score even if no pattern is confirmed yet.
How To Use: Watch this in real-time to see how close you are to pattern formation. When it exceeds your threshold and divergence forms, a signal will appear (after confirmation delay).
ROW 10 - Patterns Studied (Optimized/Full mode only)
Format: "47 patterns | 12 bars ago"
First Value: Total confirmed patterns detected since chart loaded
Second Value: How many bars since the last confirmed pattern appeared
How To Use: Helps you understand pattern frequency on your selected symbol and timeframe. If many bars have passed since last pattern, market may be trending without reversal opportunities.
ROW 11 - Bull/Bear Ratio (Optimized/Full mode only)
Format: "28:19 | BULL"
Shows count of bullish vs bearish patterns detected.
Balance:
BULL: More bullish patterns detected (suggests market has had more bullish reversals/continuations)
BEAR: More bearish patterns detected
BAL: Equal counts
How To Use: Extreme imbalances can indicate directional bias in the studied period. A heavily bullish ratio in a downtrend might suggest frequent failed rallies (bearish continuation). Context matters.
ROW 12 - Volume Ratio Detail (Optimized/Full mode only)
Shows current volume vs average volume in absolute terms.
Example: "1.4x | 45230 / 32300"
How To Use: Confirms whether current activity is above or below normal.
ROW 13 - Last Institutional Event (Full mode only)
Shows the most recent institutional pattern type and how many bars ago it occurred.
Example: "DISTRIBUTION | 23 bars"
How To Use: Tracks recency of last anomaly for context.
SETTINGS GUIDE - EVERY PARAMETER EXPLAINED
PERFORMANCE SECTION
Enable All Visuals (Master Toggle)
Default: ON
What It Does: Master kill switch for ALL visual elements (labels, lines, boxes, background colors, dashboard). When OFF, only plot outputs remain (invisible unless you open data window).
When To Change: Turn OFF on mobile devices, 1-second charts, or slow computers to improve performance. You can still receive alerts even with visuals disabled.
Impact: Dramatic performance improvement when OFF, but you lose all visual feedback.
Maximum Object History
Default: 50 | Range: 10-100
What It Does: Limits how many of each object type (labels, lines, boxes) are kept in memory. Older objects beyond this limit are deleted.
When To Change: Lower to 20-30 on fast timeframes (1-minute charts) to prevent slowdown. Increase to 100 on daily charts if you want more historical pattern visibility.
Impact: Lower values = better performance but less historical visibility. Higher values = more history visible but potential slowdown on fast timeframes.
Alert Cooldown (Bars)
Default: 5 | Range: 1-50
What It Does: Minimum number of bars that must pass before another alert of the same type can fire. Prevents alert spam when multiple patterns form in quick succession.
When To Change: Increase to 20+ on 1-minute charts to reduce noise. Decrease to 1-2 on daily charts if you want every pattern alerted.
Impact: Higher cooldown = fewer alerts. Lower cooldown = more alerts.
USER EXPERIENCE SECTION
Show Enhanced Tooltips
Default: ON
What It Does: Enables detailed hover-over tooltips on labels and visual elements.
When To Change: Turn OFF if you encounter Pine Script compilation errors related to tooltip arguments (rare, platform-specific issue).
Impact: Minimal. Just adds helpful hover text.
MARKET STRUCTURE DETECTION SECTION
Pivot Left Bars
Default: 3 | Range: 2-10
What It Does: Number of bars to the LEFT of the center bar that must be higher (for pivot low) or lower (for pivot high) than the center bar for a pivot to be valid.
Example: With value 3, a pivot low requires the center bar's low to be lower than the 3 bars to its left.
When To Change:
Increase to 5-7 on noisy timeframes (1-minute charts) to filter insignificant pivots
Decrease to 2 on slow timeframes (daily charts) to catch more pivots
Impact: Higher values = fewer, more significant pivots = fewer signals. Lower values = more frequent pivots = more signals but more noise.
Pivot Right Bars
Default: 3 | Range: 2-10
What It Does: Number of bars to the RIGHT of the center bar that must pass for confirmation. This creates the non-repainting delay.
Example: With value 3, a pivot is confirmed 3 bars AFTER it forms.
When To Change:
Increase to 5-7 for slower, more confirmed signals (better for swing trading)
Decrease to 2 for faster signals (better for intraday, but still non-repainting)
Impact: Higher values = longer delay but more reliable confirmation. Lower values = faster signals but less confirmation. This setting directly controls your signal delay in Confirmed and Relaxed modes.
Minimum Confluence Score
Default: 60 | Range: 40-95
What It Does: The threshold score required for a pattern to be displayed. Patterns with confluence scores below this threshold are not shown.
When To Change:
Increase to 75+ if you only want high-quality textbook setups (fewer signals)
Decrease to 50-55 if you want to see more developing patterns (more signals, lower average quality)
Impact: This is your primary signal filter. Higher threshold = fewer, higher-quality signals. Lower threshold = more signals but includes weaker setups. Recommended starting point is 60-65.
TECHNICAL PERIODS SECTION
RSI Period
Default: 14 | Range: 5-50
What It Does: Lookback period for RSI calculation.
When To Change:
Decrease to 9-10 for faster, more sensitive RSI that detects shorter-term momentum changes
Increase to 21-28 for slower, smoother RSI that filters noise
Impact: Lower values make RSI more volatile (more frequent extremes and divergences). Higher values make RSI smoother (fewer but more significant divergences). 14 is industry standard.
Volume Moving Average Period
Default: 20 | Range: 10-200
What It Does: Lookback period for calculating average volume. Current volume is compared to this average to determine volume ratio.
When To Change:
Decrease to 10-14 for shorter-term volume comparison (more sensitive to recent volume changes)
Increase to 50-100 for longer-term volume comparison (smoother, less sensitive)
Impact: Lower values make volume ratio more volatile. Higher values make it more stable. 20 is standard.
ATR Period
Default: 14 | Range: 5-100
What It Does: Lookback period for Average True Range calculation used for volatility measurement and label positioning.
When To Change: Rarely needs adjustment. Use 7-10 for faster volatility response, 21-28 for slower.
Impact: Affects volatility ratio calculation and visual label spacing. Minimal impact on signals.
Pressure Percentile Lookback
Default: 50 | Range: 10-300
What It Does: Lookback period for calculating volume pressure percentile ranking. Your current pressure is ranked against the pressure of the last X bars.
When To Change:
Decrease to 20-30 for shorter-term pressure context (more responsive to recent changes)
Increase to 100-200 for longer-term pressure context (smoother rankings)
Impact: Lower values make pressure strength more sensitive to recent bars. Higher values provide more stable, long-term pressure assessment. Capped at 300 for performance reasons.
SIGNAL DETECTION SECTION
Signal Detection Mode
Default: "Divergence + Confluence (Confirmed)"
Options:
Confluence Only (Real-time)
Divergence + Confluence (Confirmed)
Divergence + Confluence (Relaxed)
What It Does: Selects which detection logic mode to use (see "Understanding The Three Detection Modes" section above).
When To Change: Use Confirmed for learning and non-repainting signals. Use Real-time for live scanning without divergence requirement. Use Relaxed for slightly more signals than Confirmed.
Impact: Fundamentally changes when and how signals appear.
VISUAL LAYERS SECTION
All toggles default to ON. Each controls visibility of one visual layer:
Show Market Structure: Pivot markers and support/resistance lines
Show Pressure Zones: Background color shading
Show Divergence Lines: Dotted lines connecting pivots
Show Institutional Footprint Markers: Absorption boxes, hunt labels, exhaustion labels
Show Consolidated Analysis Label: Main pattern detection label
Use Compact Label Format
Default: OFF
What It Does: Switches consolidated label between single-line compact format and multi-line detailed format.
When To Change: Turn ON if you find full labels too large or distracting.
Impact: Visual clarity vs. information density tradeoff.
DASHBOARD SECTION
Dashboard Mode
Default: "Optimized"
Options: Off, Compact, Optimized, Full
What It Does: Controls how much information the dashboard displays.
Off: No dashboard
Compact: 8 rows (essential metrics only)
Optimized: 12 rows (recommended balance)
Full: 13 rows (every available metric)
Dashboard Position
Default: "Top Right"
Options: Top Right, Top Left, Bottom Right, Bottom Left
What It Does: Screen corner where dashboard appears.
HOW TO USE VMDM - PRACTICAL WORKFLOW
STEP 1 - INITIAL SETUP
Add VMDM to your chart
Select your detection mode (Confirmed recommended for learning)
Set your minimum confluence score (start with 60-65)
Adjust pivot parameters if needed (default 3/3 is good for most timeframes)
Enable the visual layers you want to see
STEP 2 - CHART ANALYSIS
Let the indicator load and analyze historical data
Review the patterns that appear historically
Examine the confluence scores - notice which patterns had higher scores
Observe which patterns occurred during supportive pressure zones
Notice the divergence line connections - understand what price vs RSI did
STEP 3 - PATTERN RECOGNITION LEARNING
When a consolidated analysis label appears:
Read the divergence type (regular or hidden, bullish or bearish)
Check the quality tier (textbook, high quality, or valid)
Review the confluence breakdown - which factors contributed
Look at the chart context - where is price relative to structure, trend, etc.
Observe the behavioral footprint markers nearby - do they support the pattern
STEP 4 - REAL-TIME MONITORING
Watch the dashboard for real-time regime and pressure state
Monitor the current confluence score in the dashboard
When it approaches your threshold, be alert for potential pattern formation
When a new pattern appears (after confirmation delay), evaluate it using the workflow above
Use your trading strategy rules to decide if the setup aligns with your criteria
STEP 5 - POST-PATTERN OBSERVATION
After a pattern appears:
Mark the level on your chart
Observe what price does after the pattern completes
Did price respect the reversal/continuation signal
What was the confluence score of patterns that worked vs. those that failed
Learn which quality tiers and confluence levels produce better results on your specific symbol and timeframe
RECOMMENDED TIMEFRAMES AND ASSET CLASSES
VMDM is timeframe-agnostic and works on any asset with volume data. However, optimal performance varies:
BEST TIMEFRAMES
15-Minute to 1-Hour: Ideal balance of signal frequency and reliability. Pivot confirmation delay is acceptable. Sufficient volume data for pressure analysis.
4-Hour to Daily: Excellent for swing trading. Very high-quality signals. Lower frequency but higher significance. Recommended for learning because patterns are clearer.
1-Minute to 5-Minute: Works but requires adjustment. Increase pivot bars to 5-7 for filtering. Decrease max object history to 30 for performance. Expect more noise.
Weekly/Monthly: Works but very infrequent signals. Increase confluence threshold to 70+ to ensure only major patterns appear.
BEST ASSET CLASSES
Forex Majors: Excellent volume data and clear trends. Pressure analysis works well.
Crypto (Major Pairs): Good volume data. High volatility makes divergences more pronounced. Works very well.
Stock Indices (SPY, QQQ, etc.): Excellent. Clean price action and reliable volume.
Individual Stocks: Works well on high-volume stocks. Low-volume stocks may produce unreliable pressure readings.
Commodities (Gold, Oil, etc.): Works well. Clear trends and reactions.
WHAT THIS INDICATOR CANNOT DO - LIMITATIONS
LIMITATION 1 - It Does Not Predict The Future
VMDM identifies when technical conditions align historically associated with potential reversals or continuations. It does not predict what will happen next. A textbook 95-confluence pattern can still fail if fundamental events, news, or larger timeframe structure override the setup.
LIMITATION 2 - Confirmation Delay Means You Miss Early Entry
In Confirmed and Relaxed modes, the non-repainting design means you receive signals AFTER the pivot is confirmed. Price may have already moved significantly by the time you receive the signal. This is the tradeoff for non-repainting reliability. You can use Real-time mode for faster signals but sacrifice divergence confirmation.
LIMITATION 3 - It Does Not Tell You Position Sizing or Risk Management
VMDM provides technical pattern analysis. It does not calculate stop loss levels, take profit targets, or position sizing. You must apply your own risk management rules. Never risk more than you can afford to lose based on a technical signal.
LIMITATION 4 - Volume Pressure Analysis Requires Reliable Volume Data
On assets with thin volume or unreliable volume reporting, pressure analysis may be inaccurate. Stick to major liquid assets with consistent volume data.
LIMITATION 5 - It Cannot Detect Fundamental Events
VMDM is purely technical. It cannot predict earnings reports, central bank decisions, geopolitical events, or other fundamental catalysts that can override technical patterns.
LIMITATION 6 - Divergence Requires Two Pivots
The indicator cannot detect divergence until at least two pivots of the same type have formed. In strong trends without pullbacks, you may go long periods without signals.
LIMITATION 7 - Institutional Pattern Names Are Interpretive
The behavioral footprint patterns are named using common trading education terminology, but they are detected through technical analysis, not actual institutional data access. The patterns are interpretations based on price and volume behavior.
CONCEPT FOUNDATION - WHY THIS APPROACH WORKS
MARKET PRINCIPLE 1 - Momentum Divergence Precedes Price Reversal
Price is the final output of market forces, but momentum (the rate of change in those forces) shifts first. When price makes a new low but the momentum behind that move is weaker (higher RSI low), it signals that sellers are losing strength even though they temporarily pushed price lower. This precedes reversal. This is a fundamental principle in technical analysis taught by Charles Dow, widely observed in market behavior.
MARKET PRINCIPLE 2 - Volume Reveals Conviction
Price can move on low volume (low conviction) or high volume (high conviction). When price makes a new low on declining volume while RSI shows improving momentum, it suggests the new low is not confirmed by participant conviction. Adding volume pressure analysis to momentum divergence adds a confirmation layer that filters false divergences.
MARKET PRINCIPLE 3 - Anomalies Mark Structural Extremes
When volume spikes significantly but range contracts (absorption), or when price spikes beyond structure then reverses (stop hunt), or when aggressive moves are met with large-wick rejection (exhaustion), these anomalies often mark short-term extremes. Combining these structural observations with momentum analysis creates context.
MARKET PRINCIPLE 4 - Confluence Improves Probability
No single technical factor is reliable in isolation. RSI divergence alone fails frequently. Volume analysis alone cannot time entries. Combining multiple independent factors into a weighted system increases the probability that observed patterns have structural significance rather than random noise.
THE EDUCATIONAL VALUE
By visualizing all four layers simultaneously and breaking down the confluence scoring transparently, VMDM teaches you to think in terms of multi-dimensional analysis rather than single-indicator reliance. Over time, you will learn to recognize these patterns manually and understand which combinations produce better results on your traded assets.
INSTITUTIONAL TERMINOLOGY - IMPORTANT CLARIFICATION
This indicator uses the following terms that are common in trading education:
Institutional Footprint
Absorption (Accumulation / Distribution)
Stop Hunt
Exhaustion
CRITICAL DISCLAIMER:
These terms are EDUCATIONAL LABELS for specific price action and volume behavior patterns detected through technical analysis of publicly available chart data (open, high, low, close, volume). This indicator does NOT have access to:
Actual institutional order flow or order book data
Market maker positions or intentions
Broker stop-loss databases
Non-public trading data
Proprietary institutional information
The patterns labeled as "institutional footprint" are interpretations based on observable price and volume behavior that educational trading literature often associates with potential large-participant activity. The detection is algorithmic pattern recognition, not privileged data access.
When this indicator identifies "absorption," it means it detected high volume within a small range - a condition that MAY indicate large orders being filled but is not confirmation of actual institutional participation.
When it identifies a "stop hunt," it means price briefly penetrated a structural level then reversed - a pattern that MAY have triggered stop losses but is not confirmation that stops were specifically targeted.
When it identifies "exhaustion," it means high volume with large rejection wicks - a pattern that MAY indicate aggressive participation meeting strong opposition but is not confirmation of institutional involvement.
These are technical analysis interpretations, not factual statements about market participant identity or intent.
DISCLAIMER AND RISK WARNING
EDUCATIONAL PURPOSE ONLY
This indicator is designed as an educational tool to help traders learn to recognize technical patterns, understand multi-factor analysis, and practice systematic market observation. It is NOT a trading system, signal service, or financial advice.
NO PERFORMANCE GUARANTEE
Past pattern behavior does not guarantee future results. A pattern that historically preceded price movement in one direction may fail in the future due to changing market conditions, fundamental events, or random variance. Confluence scores reflect historical technical alignment, not future certainty.
TRADING INVOLVES SUBSTANTIAL RISK
Trading financial instruments involves substantial risk of loss. You can lose more than your initial investment. Never trade with money you cannot afford to lose. Always use proper risk management including stop losses, position sizing, and portfolio diversification.
NO PREDICTIVE CLAIMS
This indicator does NOT predict future price movement. It identifies when technical conditions align in patterns that historically have been associated with potential reversals or continuations. Market behavior is probabilistic, not deterministic.
BACKTESTING LIMITATIONS
If you backtest trading strategies using this indicator, ensure you account for:
Realistic commission costs
Realistic slippage (difference between signal price and actual fill price)
Sufficient sample size (minimum 100 trades for statistical relevance)
Reasonable position sizing (risking no more than 1-2 percent of account per trade)
The confirmation delay inherent in the indicator (you cannot enter at the exact pivot in Confirmed mode)
Backtests that do not account for these factors will produce unrealistic results.
AUTHOR LIABILITY
The author (BullByte) is not responsible for any trading losses incurred using this indicator. By using this indicator, you acknowledge that all trading decisions are your sole responsibility and that you understand the risks involved.
NOT FINANCIAL ADVICE
Nothing in this indicator, its code, its description, or its visual outputs constitutes financial, investment, or trading advice. Consult a licensed financial advisor before making investment decisions.
FREQUENTLY ASKED QUESTIONS
Q: Why do signals appear in the past, not at the current bar
A: In Confirmed and Relaxed modes, signals appear at confirmed pivots, which requires waiting for right-side confirmation bars (default 3). This creates a delay but prevents repainting. Use Real-time mode if you want current-bar signals without pivot confirmation.
Q: Can I use this for automated trading
A: You can create alert-based automation, but understand that Confirmed mode signals appear AFTER the pivot with delay, so your entry will not be at the pivot price. Real-time mode signals can change as the current bar develops. Automation requires careful consideration of these factors.
Q: How do I know which confluence score to use
A: Start with 60. Observe which patterns work on your symbol/timeframe. If too many false signals, increase to 70-75. If too few signals, decrease to 55. Quality vs. quantity tradeoff.
Q: Do regular divergences mean I should enter a reversal trade immediately
A: No. Regular divergences indicate momentum exhaustion, which is a WARNING sign that trend may reverse, not a confirmation that it will. Use confluence score, market context, support/resistance, and your strategy rules to make entry decisions. Many divergences fail.
Q: What's the difference between regular and hidden divergence
A: Regular divergence = price and momentum move in opposite directions at extremes = potential reversal signal. Hidden divergence = price and momentum move in opposite directions during pullbacks = potential continuation signal. Hidden divergence suggests the pullback is just a correction within the larger trend.
Q: Why does the pressure zone color sometimes conflict with the divergence direction
A: Pressure is real-time current bar analysis. Divergence is confirmed pivot analysis from the past. They measure different things at different times. A bullish divergence confirmed 3 bars ago might appear during current selling pressure. This is normal.
Q: Can I use this on stocks without volume data
A: No. Volume is required for pressure analysis and behavioral pattern detection. Use only on assets with reliable volume reporting.
Q: How often should I expect signals
A: Depends on timeframe and settings. Daily charts might produce 5-10 signals per month. 1-hour charts might produce 20-30. 15-minute charts might produce 50-100. Adjust confluence threshold to control frequency.
Q: Can I modify the code
A: Yes, this is open source. You can modify for personal use. If you publish a modified version, please credit the original and ensure your publication meets TradingView guidelines.
Q: What if I disagree with a pattern's confluence score
A: The scoring weights are based on general observations and may not suit your specific strategy or asset. You can modify the code to adjust weights if you have data-driven reasons to do so.
Final Notes
VMDM - Volume, Momentum and Divergence Master is an educational multi-layer market analysis system designed to teach systematic pattern recognition through transparent, confluence-weighted signal detection. By combining RSI momentum divergence, volume pressure quantification, behavioral footprint pattern recognition, and quality scoring into a unified framework, it provides a comprehensive learning environment for understanding market structure.
Use this tool to develop your analytical skills, understand how multiple technical factors interact, and learn to distinguish high-quality setups from noise. Remember that technical analysis is probabilistic, not predictive. No indicator replaces proper education, risk management, and trading discipline.
Trade responsibly. Learn continuously. Risk only what you can afford to lose.
-BullByte






















