On Balance Volume ModA/D doesnt take into account the opening price, it just sees the difference in high to close wik vs close to low wik and adds volume
however if the closing price is above the opening price then arguably there was more buying action than selling
so adjusting A/D formula so that if close > open then it adds to volume not subtract
Effectively this becomes something in bw OBV and A/D
also we need not worry about gaps, since no tradding happens in gaps, so just a gap up / gap down doesnt have any accumulation / distribution effect
Volumen
EGX30 Advance/Decline Line🇪🇬 EGX30 Advance/Decline & Market Breadth Suite
This comprehensive indicator provides a deep dive into the market breadth of the EGX30 index, allowing traders and analysts to monitor underlying buying and selling pressure across its constituents. It offers five distinct metrics for a holistic view of market health, ranging from traditional Advance/Decline analysis to advanced McClellan Oscillators and TRIN (Arms Index) readings.
Key Features and Metrics
The indicator is selectable via the 'Select Metric' input and can display the following on your chart:
1. Advance/Decline Line: A cumulative measure of the difference between the number of advancing stocks and declining stocks (Advancing Stocks−Declining Stocks). It helps confirm the market's trend strength.
2. McClellan Oscillator: Calculated using the Advance/Decline Ratio (AD Ratio) smoothed by two Exponential Moving Averages (EMAs). It acts as a momentum measure of the A/D Line, highlighting potential overbought/oversold conditions and trend turns.
Climax Levels: Horizontal lines are plotted at +0.1 (Buy Climax) and −0.1 (Sell Climax).
3. Arms Index (TRIN): A volume-based indicator that measures the ratio of the Advance/Decline Ratio to the Advancing Volume/Declining Volume Ratio. A value above 1.0 is generally bearish (more volume in declining stocks), while a value below 1.0 is bullish.
Bands: Upper and Lower deviation bands are calculated and plotted for advanced analysis of extremes.
4. Total Volume: The raw, aggregated volume of all EGX30 constituent stocks.
5. Total Liquidity (Total Traded Value): The sum of (Price × Volume) for all EGX30 constituent stocks, giving a more accurate representation of capital flow.
⚙️ Customizable & Smart Configuration
The indicator is designed for maximum flexibility and accuracy across different chart timeframes:
Automatic Timeframe Configuration: When enabled (default), the script automatically selects optimized lookback periods for the Moving Average (MA), McClellan EMAs, and TRIN Lookback based on whether the chart is Intraday, Daily, Weekly, or other.
Manual Overrides: Disable the auto-configuration to manually set the MA Length, McClellan Fast/Slow EMAs, and TRIN Lookback/StdDev Multiplier for custom analysis.
📊 Advanced Data Table (Market Breakdown)
When the 'Show Table' input is toggled ON, a detailed statistics table appears on the chart's top-right corner, providing real-time market insights.
Top Performance (Contributors): Ranks and displays the Top N (customizable) stocks that are contributing the most to the index's movement, calculated as Weight × Percentage Change.
Top Liquidity: Ranks and displays the Top N stocks by their current-bar traded value (Price×Volume), expressed as a percentage of the Total Traded Value.
Horizontal Stats (Row 3): Provides a comprehensive summary of the current market state:
Adv, Decl, Unch: Count of advancing, declining, and unchanged stocks.
Net Adv: The difference between advancing and declining stocks.
Net Vol / Net Liq: Net Volume/Liquidity as a percentage of Total Volume/Liquidity.
Primary Metric/Volume Stats: Depending on the selected metric, it displays the current value of TRIN or the raw Total Volume and Total Liquidity.
This tool is indispensable for traders needing a clear, quantified understanding of the EGX30's underlying market dynamics.
EGX30 Advance/Decline v1.1
In this improved version, the relative weights of the index components have been adjusted, some stocks have been removed from the index, and new stocks have been added based on the latest update of the Egyptian Exchange's EGX30 index. Some visual improvements have also been made.
DeltaBurst Locator ## DeltaBurst Locator
DeltaBurst Locator is a sponsorship detector that divides OBV impulse by price thrust, normalizes the ratio, and cross-checks it against a higher timeframe confirmation stream. The oscillator turns the abstract "is this move real?" question into a precise number, exposing accumulation, distribution, and exhaustion across futures and stocks.
HOW IT WORKS
OBV Impulse vs. Price Change – Smoothed deltas of On-Balance Volume and price are ratioed, then normalized using a hyperbolic tangent function to prevent single prints from dominating.
Signal vs. Confirmation – A short EMA produces the execution signal while a higher-timeframe request.security() feed validates whether broader flows agree.
Spectrum Classification – Expansion/compression metrics grade whether current aggression is intense or fading, while ±0.65 bands define exhaust/vacuum zones.
Slope Divergences – Linear regression slopes on both price and the ratio expose bullish/bearish sponsorship mismatches before candles reverse.
HOW TO USE IT
Breakout Validation : Only chase breakouts when both local and higher-timeframe ratios are on the same side of zero; mixed signals suggest liquidity is fading.
Absorption Trades : When the histogram spikes beyond ±0.65 but the EMA lags, expect absorption; combine with price structure for pinpoint reversals.
News/Event Monitoring : During earnings or macro releases, watch for ratio collapses with price still rising—this flags forced moves driven by hedging rather than real demand.
VISUAL FEATURES
Color logic: Positive sponsorship fills teal, negative fills crimson against the zero line, making intent obvious at a glance.
Optional markers: Burst triangles and divergence dots can be enabled when you need explicit annotations or left off for a minimalist panel.
Compression heatmap: Background shading communicates whether the market is coiling (high compression) or erupting (low compression).
Dashboard: Displays the live ratio, higher-timeframe ratio, and agreement state to speed up scanning across tickers.
PARAMETERS
Fast Pulse Length (default: 5): Controls the smoothing window for price change detection.
Slow Equilibrium Length (default: 34): Window for expansion/compression calculation.
OBV Smooth (default: 8): Smoothing period for OBV impulse calculation.
Ratio Ceiling (default: 3.0): Controls how aggressively values saturate; raise for high-volatility tickers.
Signal EMA (default: 4): EMA period for the signal line.
Confirmation Timeframe (default: 240): Pick a higher anchor (e.g., 4H) to validate intraday moves.
Divergence Window (default: 21): Window for slope-based divergence detection.
Show Burst Markers (default: disabled): Toggle burst triangles on demand.
Show Divergence Markers (default: disabled): Toggle divergence dots on demand.
Show Delta Dashboard (default: enabled): Hide when screen space is limited; leave on for desk broadcasts.
ALERTS
The indicator includes four alert conditions:
DeltaBurst Bull: Spotted a bullish liquidity burst
DeltaBurst Bear: Spotted a bearish liquidity burst
DeltaBurst Bull Div: Detected bullish sponsorship divergence
DeltaBurst Bear Div: Detected bearish sponsorship divergence
Hope you enjoy!
Price Volume Heatmap [MHA Finverse]Price Volume Heatmap - Advanced Volume Profile Analysis
Unlock the power of institutional-level volume analysis with the Price Volume Heatmap indicator. This sophisticated tool visualizes market structure through volume distribution across price levels, helping you identify key support/resistance zones, high-probability reversal areas, and optimal entry/exit points.
🎯 What Makes This Indicator Unique?
Unlike traditional volume indicators that only show volume over time, this heatmap displays volume distribution across price levels , revealing where the most significant trading activity occurred. The gradient coloring system instantly highlights high-volume nodes (areas of strong interest) and low-volume nodes (potential breakout zones).
📊 Core Features
1. Dynamic Volume Heatmap
- Visualizes volume concentration across 250 customizable price levels
- Gradient color scheme from high volume (white) to low volume (teal/green)
- Adjustable brightness multiplier for enhanced contrast and clarity
- Real-time updates as market conditions evolve
2. Point of Control (POC)
- Automatically identifies the price level with the highest traded volume
- Acts as a magnetic price level where markets often return
- Critical for identifying fair value areas and potential reversal zones
- Customizable line style, width, and color
3. Flexible Lookback Settings
- Lookback Bars: Set any value from 1-5000 bars to control analysis depth
- Visible Range Mode: Analyze only what's currently visible on your chart
- Timeframe-Specific Settings: Different lookback periods for 1m, 5m, 15m, 30m, 1h, Daily, and Weekly charts
- Adapts to your trading style - scalping to position trading
4. Session Separation Analysis
- Tokyo Session: 00:00-09:00 UTC
- London Session: 07:00-16:00 UTC
- New York Session: 13:00-22:00 UTC
- Sydney Session: 21:00-06:00 UTC
- Daily Reset: Analyze each trading day independently
Session separation allows you to understand volume distribution specific to each major trading session, revealing institutional order flow patterns and session-specific support/resistance levels.
5. Profile Width Options
- Dynamic: Profile width adjusts based on lookback period
- Fixed Bars: Set a specific bar count for consistent profile width
- Extend Forward: Project the profile into future bars for planning trades
6. Smart Alerts
- POC crossover/crossunder alerts
- New session start notifications
- Never miss critical price action at high-volume nodes
📈 How to Use This Indicator Professionally
Understanding Market Structure:
High Volume Nodes (HVN):
- Appear as bright/white areas in the heatmap
- Represent price levels where significant trading occurred
- Act as strong support/resistance zones
- Markets often consolidate or bounce from these levels
- Trading Strategy: Look for entries when price tests HVN areas with confluence from other indicators
Low Volume Nodes (LVN):
- Appear as darker/teal areas in the heatmap
- Represent price levels with minimal trading activity
- Price tends to move quickly through these areas
- Often form "gaps" in the volume profile
- Trading Strategy: Expect rapid price movement through LVN zones; avoid placing stop losses here
Point of Control (POC):
- The single most important price level in your analysis window
- Represents the fairest price where maximum volume traded
- Price gravitates toward POC like a magnet
- Trading Strategy:
* When price is above POC: bullish bias, POC acts as support
* When price is below POC: bearish bias, POC acts as resistance
* POC breaks often lead to significant trend changes
Session-Based Analysis:
Use session separation to understand how different market participants trade:
Asian Session (Tokyo/Sydney):
- Typically lower volatility and range-bound
- Volume profiles often show tight, balanced distribution
- Use for identifying overnight ranges and gap fill zones
London Session:
- Highest volume session for forex pairs
- Often shows strong directional bias
- Look for breakouts from Asian ranges during London open
New York Session:
- Maximum participation when overlapping with London
- Institutional order flow most visible
- POC during NY session often becomes key level for following sessions
🎯 Practical Trading Applications
1. Identifying Support & Resistance:
High volume nodes from the heatmap are far more reliable than traditional swing highs/lows. When price approaches an HVN, expect reaction - either a bounce or a significant breakout if breached.
2. Trend Confirmation:
- Healthy uptrend: POC rising over time, HVN forming at higher levels
- Healthy downtrend: POC falling over time, HVN forming at lower levels
- Consolidation: POC relatively flat, volume balanced across range
3. Breakout Trading:
When price breaks through a Low Volume Node with momentum, it often continues to the next High Volume Node. Use LVN areas as measured move targets.
4. Reversal Zones:
Multiple HVN stacking on top of each other creates a "volume shelf" - an extremely strong support/resistance zone where reversals are highly probable.
5. Risk Management:
- Place stops beyond HVN areas (not within LVN zones)
- Size positions based on distance to nearest HVN
- Use POC as trailing stop level in trending markets
⚙️ Recommended Settings
For Day Trading (Scalping/Intraday):
- Lookback: 200-500 bars
- Rows: 200-250
- Enable session separation for your primary trading session
- Profile Width: Dynamic or Fixed Bars (30-50)
For Swing Trading:
- Lookback: 500-1000 bars
- Rows: 250
- Session separation: Daily Reset
- Profile Width: Dynamic
For Position Trading:
- Lookback: 1000-3000 bars
- Rows: 250
- Use timeframe-specific settings
- Profile Width: Extend Forward (20-50 bars)
💡 Pro Tips
1. Combine this indicator with price action analysis - volume confirms what price is telling you
2. Watch for POC convergence with other technical levels (fibonacci, pivot points, moving averages)
3. Volume at extremes (tops/bottoms of heatmap) often indicates exhaustion
4. Session POC from previous sessions often acts as magnet for current session
5. Increase brightness multiplier (1.5-2.5) for clearer visualization on busy charts
6. Use "Number of Sessions to Display" to analyze consistency of volume levels across multiple sessions
🎨 Customization
Fully customizable visual appearance:
- Gradient colors for volume visualization
- POC line thickness, color, and style
- Session line colors and visibility
- All settings organized in intuitive groups
⚠️ Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Always combine volume analysis with proper risk management, fundamental analysis, and other technical indicators. Past performance does not guarantee future results.
---
Support & Updates
Regular updates and improvements are made to enhance functionality. For questions, suggestions, or bug reports, please use the comments section below.
Happy Trading! 📊💹
Imbalance Volume Trend📌 Imbalance Volume Trend — Fair Value Gaps + Volume Imbalance + Trend Shifts
Imbalance Volume Trend is a price-action-driven indicator that automatically detects Fair Value Gaps (FVGs), measures the volume imbalance inside each gap, and builds a dynamic trend structure based on the sequence and strength of imbalances.
It visualizes the true power behind impulsive moves and provides early signals of potential trend reversals.
🔍 Core Concept
A Fair Value Gap appears when the market moves aggressively in one direction, leaving an “unfair” price zone caused by a strong imbalance between buyers and sellers.
These zones are often revisited by price, providing high-probability trading opportunities.
This indicator not only marks FVGs but also evaluates how strong the imbalance truly was by analyzing buy/sell volume dominance on the breakout candle.
📘 How the Indicator Works
1. Automatic Fair Value Gap Detection
The indicator scans for the classic 3-candle FVG pattern:
Bullish Imbalance
Candle 2 forms the bullish impulse.
A gap remains between the High of Candle 1 and the Low of Candle 3.
The indicator draws a bullish rectangle covering this area.
Bearish Imbalance
Candle 2 forms the bearish impulse.
A gap remains between the Low of Candle 1 and the High of Candle 3.
A bearish rectangle is drawn around the imbalance.
The breakout candle (the middle candle) forms the core of the imbalance and shows the directional expansion of price.
2. Volume Imbalance Percentage (%)
A unique feature of this tool is the calculation of buyer vs seller volume dominance inside each imbalance.
Can analyze lower-timeframe volumes or tick volumes.
The indicator computes how much buyers or sellers dominated during the formation of the FVG.
A colored percentage label appears near every imbalance, showing:
Buyer dominance % for bullish gaps
Seller dominance % for bearish gaps
This helps traders understand the strength of each imbalance.
Often, during late stages of a trend, the percentage value starts to weaken — giving early warning of trend exhaustion.
3. Imbalance-Based Trend Structure
Another powerful component is the Imbalance Trend Engine, which builds a trend direction using consecutive FVGs.
A trend continues as long as new imbalances form in the same direction.
A trend reversal is detected when:
A new imbalance appears in the opposite direction, and
Its body breaks through a specified level of the previous imbalance of the current trend.
When this event occurs, the indicator plots a colored arrow marking the change in Imbalance Trend.
This creates a clean and logical price-action trend model built entirely on institutional-style imbalances.
4. Alerts & Notifications
The indicator supports TradingView alerts for:
New Imbalance Detected
Imbalance Trend Reversal
RSI Analytic Volume Matrix [RAVM] Overview
RSI Analytic Volume Matrix is an overlay indicator that turns classic RSI into a multi-layered market-reading engine. Instead of treating RSI 30 and 70 as simple buy/sell lines, RAVM combines RSI geometry (angle and acceleration), statistical volume analysis, and a 5×5 VSA-inspired matrix to describe what is really happening inside each candle.
The script is designed as an educational and analytical tool. It does not generate trading signals. Instead, it helps you read the market context, understand where the pressure is coming from (buyers vs. sellers), and see how price, momentum, and volume interact in real time.
Concept & Philosophy
RAVM is built around a hierarchical logic and a few core ideas:
• Hierarchical State Machine: First, RSI defines a context (where we are in the 0–100 range). Then the geometric engine evaluates the angle-of-turn of RSI using a Z-Score. Only after a meaningful geometric event is detected does the system promote a bar to a potential setup (warning vs. confirmed).
• Geometric Primacy: The angle and acceleration of RSI (RSI geometry) are more important than the raw RSI level itself. RAVM uses a geometric veto: if the geometric trigger is not confirmed, the confidence score is capped below 50%, even if volume looks interesting.
• RSI Beyond 30 and 70: Being above 70 or below 30 is not treated as an automatic overbought/oversold signal. RAVM treats those zones as contextual factors that contribute only a partial portion of the final score, alongside geometry, total volume expansion, buy/sell balance, and delta power.
• Volume Decomposition: Volume is decomposed into total, buy-side, sell-side, and delta components. Each of these is normalized with a Z-Score over a shared statistical window, so RSI geometry and volume live in the same statistical context.
• Educational Scoring Pipeline: RAVM builds a 0–100 "Quantum Score" for each detected setup. The score expresses how strong the story is across four dimensions: geometry (RSI angle-of-turn), total volume expansion, which side is driving that volume (buyers vs. sellers), and the power of delta. The score is designed for learning and weighting, not for mechanical trade entries.
• VSA Matrix Engine: A 5×5 matrix combines momentum states and volume dynamics. Each cell corresponds to an interpreted VSA-style scenario (Absorption, Distribution, No Demand, Stopping Volume, Strong Reversal, etc.), shown both as text and as a heatmap dashboard on the chart.
How RAVM Works
1. RSI Context & Geometry
RAVM starts with a classic RSI, but it does not stop at simple level checks. It computes the velocity and acceleration of RSI and normalizes them via a Z-Score to produce an Angle-of-Turn metric (Z-AoT). This Z-AoT is then mapped into a 0–1 intensity value called MSI (Momentum Shift Intensity).
The script monitors both classic RSI zones (around 30 and 70) and geometric triggers. Entering the lower or upper zone is treated as a contextual event only. A setup becomes "confirmed" when a significant geometric turn is detected (based on Z-AoT thresholds). Otherwise, the bar is at most a warning.
2. Volume & Statistical Engine
The volume engine can work in two modes: a geometric approximation (based on candle structure) or a more precise intrabar mode using up/down volume requests. In both cases, RAVM builds a volume packet consisting of:
• Total volume
• Buy-side volume
• Sell-side volume
• Delta (buy – sell)
Each of these series is normalized using a Z-Score over the same statistical window that is used for RSI geometry. This allows RAVM to answer questions such as: Is total volume exceptional on this bar? Is the expansion mostly coming from buyers or from sellers? Is delta unusually strong or weak compared to recent history?
3. Scoring System (Quantum Score)
For each bar where a setup is active, RAVM computes a 0–100 score intended as an educational confidence measure. The scoring pipeline follows this sequence:
A. RSI Geometry (MSI): Measures the strength of the RSI angle-of-turn via Z-AoT. This has geometric primacy over simple level checks.
B. RSI Zone Context: Being below 30 or above 70 contributes only a partial bonus to the score, reflecting the idea that these zones are context, not automatic signals. Mildly supportive zones (e.g., RSI below 50 for bullish contexts) can also contribute with lower weight.
C. Total Volume Expansion: A normalized Volume Power term expresses how exceptional the total volume is relative to its recent distribution. If there is no meaningful volume expansion, the score remains modest even if RSI geometry looks interesting.
D. Which Side Is Driving the Volume: RAVM then checks whether the expansion is primarily on the buy side or the sell side, using Z-Score statistics for buy and sell volume separately. This stage does not yet rely on delta as a power metric; it simply answers the question: "Is this expansion mostly driven by buyers, sellers, or both?"
E. Delta as Final Power: Only at the final stage does the script bring in delta and its Z-Score as a measure of how one-sided the pressure really is. A strong negative delta during a bullish context, for example, can highlight absorption, while a strong positive delta against a bearish context can highlight distribution or a buying climax.
If a setup is not geometrically confirmed (for example, a simple entry into RSI 30/70 without a strong geometric turn), RAVM caps the final score below 50%. This "Geometric Veto" enforces the idea that RSI geometry must confirm before a scenario can be considered high-confidence.
4. Overlay UI & Smart Labels
RAVM is an overlay indicator: all information is drawn directly on the price chart, not in a separate pane. When a setup is active, a smart label is attached to the bar, together with a vertical connector line. Each label shows:
• Direction of the setup (bullish or bearish)
• Trigger type (classic OS/OB vs. geometric/hidden)
• Status (warning vs. confirmed)
• Quantum Score as a percentage
Confirmed setups use stronger colors and solid connectors, while warnings use softer colors and dotted connectors. The script also manages label placement to avoid overlap, keeping the chart clean and readable.
In addition to labels, a dashboard table is drawn on the chart. It displays the currently active matrix scenario, the dominant bias, a short textual interpretation, the full 5×5 heatmap, and summary metrics such as RSI, MSI, and Volume Power.
RSI Is Not Just 30 and 70
One of the central design decisions in RAVM is to treat RSI 30 and 70 as context, not as fixed buy/sell buttons. Many traders mechanically assume that RSI below 30 means "buy" and RSI above 70 means "sell". RAVM explicitly rejects this simplification.
Instead, the script asks a series of deeper questions: How sharp is the angle-of-turn of RSI right now? Is total volume expanding or contracting? Is that expansion dominated by buyers or sellers? Is delta confirming the move, or is there a hidden absorption or distribution taking place?
In the scoring logic, being in a lower or upper RSI zone contributes only part of the final score. Geometry, volume expansion, the buy/sell split, and delta power all have to align before a high-confidence scenario emerges. This makes RAVM much closer to a structured market-reading tool than a classic overbought/oversold indicator.
Matrix User Manual – Reading the 5×5 Grid
The heart of RAVM is its 5×5 matrix, where the vertical axis represents momentum states (M1–M5) and the horizontal axis represents volume dynamics (V1–V5). Each cell in this grid corresponds to a VSA-style scenario. The dashboard highlights the currently active cell and prints a textual description so you can read the story at a glance.
1. Confirmation Scenarios
These scenarios occur when momentum direction and volume expansion are aligned:
• Bullish Confirmation / Strong Reversal: Momentum is shifting strongly upward (often from a depressed RSI context), and expanded volume is driven mainly by buyers. Often seen as a strong bullish reversal or continuation signal from a VSA perspective.
• Bearish Confirmation / Strong Drop: Momentum is turning decisively downward, and expanded volume is driven mainly by sellers. This maps to strong bearish continuation or sharp reversal patterns.
2. Absorption & Stopping Volume
• Absorption: Total volume expands, but the dominant flow is opposite to the recent price move or the geometric bias. For example, heavy selling volume while the geometric context is bullish. This can indicate smart money quietly absorbing orders from the crowd.
• Stopping Volume: Exceptionally high volume appears near the end of an extended move, while momentum begins to decelerate. Price may still print new extremes, but the effort vs. result relationship signals potential exhaustion and the possibility of a turn.
3. Distribution & Buying Climax
• Distribution: Heavy buying volume appears within a bearish or topping context. Rather than healthy accumulation, this often represents larger players offloading inventory to late buyers. The matrix will typically flag this as a bearish-leaning scenario despite strong upside prints.
• Buying Climax: A surge of buy-side volume near the end of a strong uptrend, with momentum starting to weaken. From a VSA point of view, this is often the last push where retail aggressively buys what smart money is selling.
4. No Demand & No Supply
• No Demand: Price attempts to rise but does so on low, non-expansive volume. The market is not interested in following the move, and the lack of participation often precedes weakness or sideways action.
• No Supply: Price tries to push lower on thin volume. Selling pressure is limited, and the lack of supply can precede stabilization or recovery if buyers step back in.
5. Trend Exhaustion
• Uptrend Exhaustion: Momentum remains nominally bullish, but the quality of volume deteriorates (e.g., more effort, less net result). The matrix marks this as an uptrend losing internal strength, often after a series of aggressive moves.
• Downtrend Exhaustion: Similar logic in the opposite direction: strong prior downtrend, but increasingly inefficient downside progress relative to the volume invested. This can precede accumulation or a relief rally.
6. Effort vs. Result Scenarios
• Bullish Effort, Little Result: Buyers invest notable volume, but price progress is limited. This may reveal hidden selling into strength or a lack of follow-through from the broader market.
• Bearish Effort, Little Result: Sellers push volume, but price does not decline proportionally. This can indicate absorption of selling pressure and potential underlying demand.
7. Neutral, Churn & Thin Markets
• Neutral / Thin Market: Momentum and volume both remain muted. RAVM marks these as neutral cells where aggressive decision-making is usually less attractive and observing the broader structure is more important.
• High Volume Churn / Volatility: Both sides are active with high volume but limited directional progress. This can correspond to battle zones, local ranges, or high volatility rotations where the main message is conflict rather than clear trend.
Inputs & Options
RAVM includes several input groups to adapt the tool to your preferences:
• Localization: Multiple language options for all labels and dashboard text (e.g., English, Farsi, Turkish, Russian).
• RSI Core Settings: RSI length, source, and upper/lower contextual zones (typically around 30 and 70).
• Geometric Engine: Z-AoT sigma thresholds, confirmation ratios, and normalization window multiplier. These control how sensitive the script is to RSI angle-of-turn events.
• Volume Engine: Choice between geometric approximation and intrabar up/down volume, Z-Score thresholds for volume expansion, and related parameters.
• Visual Interface: Toggles for smart labels, dashboard table, font sizes, dashboard position, and color themes for bullish, bearish, and warning states.
Disclaimer
RSI Analytic Volume Matrix is provided for educational and research purposes only. It does not constitute financial advice and is not a signal generator. Any trading decisions you make based on this tool, or any other, are entirely your own responsibility. Always consider your own risk management rules and conduct your own analysis.
MSSM - Multi-Session Structural Map (Precision Sweeps)MSSM – Multi-Session Structural Map (Precision Sweeps)
This indicator provides a structured view of the market based on four key components:
1). Previous session levels
2). Confirmed fractal swing points
3). Volume pocket highlights
4). Non-repainting precision liquidity sweep markers
It is designed to help analyze how price interacts with important reference areas and structural points. This tool does not generate signals or predictions. All information is visual and educational only.
HOW THE INDICATOR WORKS
PREVIOUS SESSION LEVELS
The script plots the previous session’s High, Low, and Mid. These levels help observe how the current session behaves around the prior day’s range. They act as reference areas only.
FRACTAL SWING MAP (NON-REPAINTING)
Confirmed fractals are used to mark historical swing highs and swing lows. Since fractals confirm after a certain number of bars, the swings do not repaint once formed. These swings provide a clearer view of market structure.
VOLUME POCKETS
The indicator highlights areas where volume expands relative to a rolling volume average. These regions show increased participation or activity. The highlights are informational and do not imply direction.
PRECISION LIQUIDITY SWEEPS (NON-REPAINTING)
A sweep is tagged only when:
• Price trades beyond a confirmed swing high or swing low
• Price closes back inside the previous swing level
• A wick rejection occurs
• Volume expands relative to a recent rolling average
These markers simply show where price interacted with liquidity around prior structural levels. They do not indicate a trading signal or bias.
HOW TO ADD THE INDICATOR
Open the Pine Editor in TradingView
Search the indicator name and add to favorites.
Click “Add to chart”
Adjust settings as needed (fractals, sweeps, volume pockets, or session levels)
HOW TO READ AND USE THE INDICATOR
SESSION LEVELS
Observe whether price respects, rejects, compresses around, or expands beyond the previous session high, low, or midpoint. These are observational reference levels only.
FRACTALS
Fractal highs and lows help visualize structural turning points. They provide a clearer picture of where liquidity may rest above or below past swing levels.
VOLUME POCKETS
When volume expands compared to the recent average, the candle is shaded. These areas may show increased participation, but no directional meaning is implied.
PRECISION SWEEPS
Sweeps highlight when price reaches beyond a prior confirmed swing level and then rejects that area with displacement. These markers identify interactions with liquidity, but they are not signals and do not forecast future outcomes.
CUSTOMIZATION OPTIONS
Users can adjust:
• Session level visibility
• Fractal sensitivity
• Volume pocket threshold
• Sweep sensitivity and visibility
• Transparency and styling
This makes the tool flexible across different symbols and timeframes.
IMPORTANT NOTES AND POLICY COMPLIANCE
• The indicator does not provide buy or sell signals
• The indicator does not predict price or direction
• All plotted elements are based on past price behavior
• All components are informational only
• Users should perform their own analysis and risk evaluation
• Past behavior does not guarantee future performance
SUMMARY
MSSM provides a structured view of price by combining previous session levels, confirmed swing structure, volume expansion zones, and non-repainting sweep identification. Its purpose is to assist traders in visually analyzing market structure while staying fully aligned with TradingView’s House Rules and content policies.
Linear Trajectory & Volume StructureThe Linear Trajectory & Volume Structure indicator is a comprehensive trend-following system designed to identify market direction, volatility-adjusted channels, and high-probability entry points. Unlike standard Moving Averages, this tool utilizes Linear Regression logic to calculate the "best fit" trajectory of price, encased within volatility bands (ATR) to filter out market noise.
It integrates three core analytical components into a single interface:
Trend Engine: A Linear Regression Curve to determine the mean trajectory.
Volume Verification: Filters signals to ensure price movement is backed by market participation.
Market Structure: Identifies previous high-volume supply and demand zones for support and resistance analysis.
2. Core Components and Logic
The Trajectory Engine
The backbone of the system is a Linear Regression calculation. This statistical method fits a straight line through recent price data points to determine the current slope and direction.
The Baseline: Represents the "fair value" or mean trajectory of the asset.
The Cloud: Calculated using Average True Range (ATR). It expands during high volatility and contracts during consolidation.
Trend Definition:
Bullish: Price breaks above the Upper Deviation Band.
Bearish: Price breaks below the Lower Deviation Band.
Neutral/Chop: Price remains inside the cloud.
Smart Volume Filter
The indicator includes a toggleable volume filter. When enabled, the script calculates a Simple Moving Average (SMA) of the volume.
High Volume: Current volume is greater than the Volume SMA.
Signal Validation: Reversal signals and structure zones are only generated if High Volume is present, reducing the likelihood of trading false breakouts on low liquidity.
Volume Structure (Smart Liquidity)
The script automatically plots Support (Demand) and Resistance (Supply) boxes based on pivot points.
Creation: A box is drawn only if a pivot high or low is formed with High Volume (if the volume filter is active).
Mitigation: The boxes extend to the right. If price breaks through a zone, the box turns gray to indicate the level has been breached.
3. Signal Guide
Trend Reversals (Buy/Sell Labels)
These are the primary signals indicating a potential change in the macro trend.
BUY Signal: Appears when price closes above the upper volatility band after previously being in a downtrend.
SELL Signal: Appears when price closes below the lower volatility band after previously being in an uptrend.
Pullbacks (Small Circles)
These are continuation signals, useful for adding to positions or entering an existing trend.
Long Pullback: The trend is Bullish, but price dips momentarily below the baseline (into the "discount" area) and closes back above it.
Short Pullback: The trend is Bearish, but price rallies momentarily above the baseline (into the "premium" area) and closes back below it.
4. Configuration and Settings
Trend Engine Settings
Trajectory Length: The lookback period for the Linear Regression. This is the most critical setting for tuning sensitivity.
Channel Multiplier: Controls the width of the cloud.
1.0: Aggressive. Results in narrower bands and earlier signals, but more false positives.
1.5: Balanced (Default).
2.0+: Conservative. Creates a wide channel, filtering out significant noise but delaying entry signals.
Signal Logic
Show Trend Reversals: Toggles the main Buy/Sell labels.
Show Pullbacks: Toggles the re-entry circle signals.
Smart Volume Filter: If checked, signals require above-average volume. Unchecking this yields more signals but removes the volume confirmation requirement.
Volume Structure
Show Smart Liquidity: Toggles the Support/Resistance boxes.
Structure Lookback: Defines how many bars constitute a pivot. Higher numbers identify only major market structures.
Max Active Zones: Limits the number of boxes on the chart to prevent clutter.
5. Timeframe Optimization Guide
To maximize the effectiveness of the Linear Trajectory, you must adjust the Trajectory Length input based on your trading style and timeframe.
Scalping (1-Minute to 5-Minute Charts)
Recommended Length: 20 to 30
Multiplier: 1.2 to 1.5
Logic: Fast-moving markets require a shorter lookback to react quickly to micro-trend changes.
Day Trading (15-Minute to 1-Hour Charts)
Recommended Length: 55 (Default)
Multiplier: 1.5
Logic: A balance between responsiveness and noise filtering. The default setting of 55 is standard for identifying intraday sessions.
Swing Trading (4-Hour to Daily Charts)
Recommended Length: 89 to 100
Multiplier: 1.8 to 2.0
Logic: Swing trading requires filtering out intraday noise. A longer length ensures you stay in the trade during minor retracements.
6. Dashboard (HUD) Interpretation
The Head-Up Display (HUD) provides a summary of the current market state without needing to analyze the chart visually.
Bias: Displays the current trend direction (BULLISH or BEARISH).
Momentum:
ACCELERATING: Price is moving away from the baseline (strong trend).
WEAKENING: Price is compressing toward the baseline (potential consolidation or reversal).
Volume: Indicates if the current candle's volume is HIGH or LOW relative to the average.
Disclaimer
*Trading cryptocurrencies, stocks, forex, and other financial instruments involves a high level of risk and may not be suitable for all investors. This indicator is a technical analysis tool provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of profit. Past performance of any trading system or methodology is not necessarily indicative of future results.
Oscillator Matrix ScreenerOscillator Matrix Screener
Oscillator Matrix Screener is a multi asset, multi timeframe dashboard that lets you quickly compare momentum, money flow, and exhaustion conditions across up to 10 symbols in a single table. It is designed as a visual screener so you can spot strength, weakness, reversals, and confluence at a glance without flipping charts.
Core Logic
For each enabled ticker and timeframe the script calculates:
Money Flow
Uses MFI to estimate buying vs selling pressure relative to volume and price movement.
HyperWave Oscillator
Uses RSI to classify the market into regimes such as Overbought Down, Oversold Up, and intermediate up or down states.
Overflow Oscillator
Uses Stochastic to show how extended price is within its recent range.
Reversal Signals
Detects potential bullish and bearish reversal events using RSI crossovers around key zones.
Strong Reversal Up
Reversal Up
Strong Reversal Down
Reversal Down
Divergence
Flags simple bullish or bearish divergence between price and RSI.
Composite Rating and Confluence
Combines multiple components into a single rating:
Strong Bullish
Bullish
Neutral
Bearish
Strong Bearish
That rating is then translated into a confluence label such as Strong, Weak or Mixed to summarize overall pressure.
Table Layout
All results are displayed in a compact table:
Ticker
Last price
Volume
Percent change from the current daily open
Absolute change from the current daily open
Rating
HyperWave signal text
Money Flow value
Overflow value
HyperWave value
Reversal status
Divergence status
Confluence status
Rows alternate background colors for readability, and key cells use context based coloring. For example:
HyperWave cell background shifts between red and green families depending on overbought or oversold states.
Percent change and change columns are green for positive moves and red for negative moves.
Bullish and bearish conditions use distinct color accents so you can scan quickly.
Filters and Controls
You can tailor what appears in the table with several filters:
Rating Filter
Show only symbols that match a chosen rating band such as Strong Bullish, Any Bullish, Bearish, or Strong Bearish.
Money Flow Filter
Restrict results to Money Flow values above, below, or very close to a chosen level.
Ticker and Timeframe Selection
Enable or disable up to 10 tickers, each with its own timeframe input. Examples of lists could be any of these for example:
Same symbol across multiple timeframes
A watchlist of different symbols on the same timeframe
Mixed layout that matches your personal workflow
Display Settings
Choose table position, text size, background and header colors to fit your chart layout.
How to Use
Add your preferred tickers and timeframes.
Optionally apply rating or money flow filters to focus on only the strongest or weakest setups.
Use the table as a top down scanner to:
Find symbols with strong bullish or bearish confluence.
Spot reversals that align with oversold or overbought zones.
Identify divergence backed by supportive money flow or overflow readings.
Oscillator Matrix Screener is intended as a decision support tool. It does not generate direct buy or sell signals by itself. Always combine it with your own technical knowledge and risk mitigation skills
RVol based Support & Resistance ZonesDescription:
This indicator is designed to help traders identify significant price levels based on institutional volume. It monitors two higher timeframes (defined by the user) simultaneously. When a candle on these higher timeframes exhibits unusually high volume—known as high Relative Volume (RVol)—the indicator automatically draws a "Zone of Interest" box on your current chart.
These zones are defined by:
Up candle : from candle open to low of candle
Down candle : from candle open to high of candle
Key Features:
Multi-Timeframe Monitoring: You can trade on a lower timeframe (e.g., 5-minute) while the indicator monitors the 30-minute and 1-hour charts for volume spikes.
RVol Boxes: Automatically draws boxes extending from high-volume candles.
Up Candles: Box covers Low to Open.
Down Candles: Box covers High to Open.
Live Dashboard: A neat, color-coded table displays the current Volume, Average Volume, and RVol percentage for your watched timeframes.
Real-Time vs. Confirmed: Choose whether to see boxes appear immediately as volume spikes (Live) or only after the candle has closed and confirmed the volume (Candle Close).
Settings Guide:
1. General Settings
Relative Volume Length: The number of past candles used to calculate the "Average Volume." (Default is 20).
Max Days Back to Draw: To keep your chart clean, this limits how far back in history the script looks for high-volume zones. (e.g., set to 5 to only see zones created in the last 5 days).
Draw Mode:
- Live (Real-time): Draws the box immediately if the current developing candle hits the volume threshold. (Note: The box may disappear if the volume average shifts before the candle closes).
- Candle Close: The box only appears once the candle has finished and permanently confirmed the volume spike.
2. Table Settings
Show Info Table: Toggles the dashboard on or off.
Text Size & Position: Customise where the table appears on your screen and how large the text is.
Colours: Fully customisable colours for the Table Header (Top row) and Data Rows (Bottom rows).
3. Timeframe 1 & 2 Settings
You have two identical sections to configure two different timeframes (e.g., 30m and 1H).
Timeframe: The chart interval to monitor (e.g., "30" for 30 minutes, "60" for 1 Hour, "240" for 4 Hours).
Threshold %: The "Trigger" for drawing a box based on relative candle volume in that timeframe.
Example:
100% = Candle Volume is equal to the average volume for the specified timeframe.
200% = Candle Volume is 2x the average volume for the specified timeframe.
300% = Candle Volume is 3x the average volume for the specified timeframe.
Box & Edge Colour: Distinct colours for each timeframe so you can easily tell which timeframe created the zone.
Flow Dynamics Pro [ChartNation]Flow Dynamics Pro - Institutional Order Flow Zones
Detect high-probability institutional rejection zones with advanced volume analysis and confluence scoring.
Flow Dynamics Pro identifies institutional order flow zones where smart money enters and defends positions. Unlike traditional order blocks or supply/demand indicators, this tool combines multiple confirmation factors into a single confluence score, helping you focus on the highest-quality setups.
🎯 KEY FEATURES
Institutional Zone Detection
Volume spike analysis (customizable threshold)
Rejection wick detection (upper/lower wick ratios)
Market structure validation (swing high/low alignment)
Multi-factor confluence scoring (0-100 scale)
Visual Volume Distribution
Bull/bear volume split displayed inside each zone
See the exact buying vs selling pressure at institutional levels
Percentage breakdowns for quick analysis
Toggle on/off based on preference
Smart Zone Management
Automatic zone invalidation when broken with volume
Zone test tracking (shows how many times zones held)
Visual strengthening (borders thicken after successful tests)
Overlap prevention (maintains minimum spacing between zones)
Maximum zone limit (keeps chart clean)
Confluence Scoring System
Zones are scored 0-100 based on:
Volume Strength (30 points) - How significant was the volume spike
Market Structure (25 points) - Alignment with swing points
Zone Quality (25 points) - Wick ratio and pressure imbalance
Size Quality (20 points) - Optimal zone size relative to ATR
Zones are categorized as:
⚡ PREMIUM (80+) - Highest quality setups
🔥 STRONG (60-79) - Solid institutional zones
✓ MODERATE (40-59) - Valid but lower confluence
Timeframe Adaptive
Automatically adjusts detection sensitivity based on timeframe:
On 1H and lower: Stricter requirements (reduces noise)
On 4H and higher: Standard sensitivity (catches major zones)
Works on all timeframes from 1-minute to Monthly
Multi-Timeframe Context
Display higher timeframe zones for broader market context
Customizable HTF timeframe selection
Dashed visualization to distinguish from current timeframe zones
Comprehensive Alerts
Premium zone created (score 80+)
Price entering zone
Price exiting zone
Zone tested successfully
Zone invalidated
⚙️ SETTINGS OVERVIEW
Detection Settings
Volume Spike Threshold (default: 1.2x)
Minimum Wick Ratio (default: 0.3)
Structure Validation toggle
Detection Lookback period
Invalidation Settings
Require volume for invalidation (toggle)
Invalidation volume threshold (default: 1.2x)
Customizable to match your trading style
Display Settings
Maximum zones to display (default: 8)
Show/hide labels
Show/hide volume data
Volume distribution toggle
Label size adjustment (Small/Normal/Large)
Minimum zone spacing % (prevents overlaps)
Minimum confluence score filter (default: 55)
Visual Customization
Bullish zone color and opacity
Bearish zone color and opacity
Border colors
Multi-timeframe zone colors
📊 HOW TO USE
For Swing Traders (4H, Daily)
Focus on PREMIUM zones (score 80+)
Look for zones with multiple successful tests
Enter on retests with confirmation
Use HTF zones for broader context
For Intraday Traders (1H, 15m)
Use higher confluence minimum (60-65)
Increase zone spacing to reduce clutter
Focus on zones with clear volume distribution
Combine with price action for entries
Zone Test Interpretation
Tested 0x: Fresh zone, untested
Tested 1-2x: Gaining strength
Tested 3+x: Highly defended level (thicker borders)
Volume Distribution Guide
80%+ on one side: Strong directional bias
60-70% dominance: Moderate bias
50-50 split: Contested area, use caution
🔧 BEST PRACTICES
Combine with trend: Trade zones in direction of higher timeframe trend
Wait for confirmation: Don't enter blindly at zone touch
Respect invalidation: When zones break with volume, they're done
Use confluence scores: Prioritize scores 70+ for highest win rate
Manage spacing: Adjust spacing % if chart feels cluttered
Check timeframe: Lower timeframes may need stricter settings
🎓 UNDERSTANDING THE INDICATOR
What are Institutional Zones?
Areas where large players (institutions, market makers, smart money) have entered positions and actively defend them. These show up as:
High volume rejection wicks
Multiple tests that hold
Clear buying/selling pressure imbalance
Why Confluence Scoring?
Not all zones are equal. The 0-100 scoring system helps you quickly identify which zones have the most confirmation factors aligned, saving time and improving trade selection.
Why Zone Spacing Matters
Too many overlapping zones create analysis paralysis. The spacing filter ensures you see only distinct, meaningful levels.
📈 TECHNICAL DETAILS
Indicator Type: Overlay
Max Boxes: 500
Max Labels: 500
Pine Script Version: 6
Real-time Updates: Yes
Alerts: 5 types available
Repainting: Zones finalize on bar close
🚀 GET STARTED
Add indicator to chart
Adjust confluence minimum (55-65 recommended)
Set volume threshold for your instrument (1.2-1.5)
Customize colors to match your theme
Enable alerts for your preferred signals
Trade with proper risk management
💡 TIPS
Start with default settings and adjust based on results
Higher timeframes = more reliable zones
Premium zones (80+) have best risk/reward
Tested zones (3+) show strong institutional defense
Use zone invalidation as stop-loss reference
Flow Dynamics Pro is part of the ChartNation indicator suite - delivering institutional-grade tools for serious traders.
EGX30 Advance/Decline Line
📈 EGX30 Advance/Decline Line Indicator: Overview and Usage
The EGX30 Advance/Decline Line indicator is a comprehensive tool designed to analyze the market breadth and sentiment of the EGX30 index by aggregating and visualizing statistics from its 29 component stocks. It goes beyond simple price action to provide deeper insights into the underlying strength or weakness of the index's movers.
This script allows users to select from five primary metrics and includes advanced features like automatic parameter configuration based on the chart's timeframe and a detailed information table summarizing the day's market activity.
Key Features and Available Metrics
You can select one of the following primary metrics from the 'Select Metric' dropdown menu:
1. Advance/Decline Line (A/D Line):
Plots the cumulative total of Net Advances (Advancing Issues - Declining Issues).
It is used to confirm the index's trend or warn of divergences, where the index is rising but the A/D line is falling (suggesting fewer stocks are participating in the rally).
Includes a Zero Line and a configurable Simple Moving Average (SMA).
2. McClellan Oscillator (MCC):
A breadth oscillator based on the difference between two Exponential Moving Averages (EMAs) of the Advance/Decline Ratio.
It measures the speed and direction of market breadth momentum.
Includes a Buy Climax (0.1) and Sell Climax (-0.1) dotted lines to identify overbought/oversold conditions.
3. Arms Index (TRIN - TRading INdex):
A volume-based oscillator that compares the ratio of Advancing Issues/Declining Issues to the ratio of Advancing Volume/Declining Volume.
A reading above 1.0 (Neutral Level) suggests selling pressure (Declining Volume is relatively high), while a reading below 1.0 suggests buying pressure (Advancing Volume is relatively high).
Includes a Neutral Level (1.0) and Upper/Lower Bands based on Standard Deviation to identify Overbought/Oversold extremes.
4. Total Volume:
Plots the aggregated total volume for all 29 EGX30 component stocks.
Includes a SMA for trend comparison.
5. Total Liquidity:
Plots the aggregated total traded value (Price * Volume) for all 29 component stocks.
A measure of overall capital movement in the index components.
Includes a SMA for trend comparison.
⚙️ Configuration Settings
The indicator includes two primary configuration groups:
Timeframe Configuration
▶️ Enable Automatic Timeframe Configuration: When enabled (default), the script automatically optimizes the lookback lengths for the Moving Averages (MA), McClellan Oscillator, and TRIN based on whether the chart is set to an Intraday, Daily, or Weekly timeframe.
⚙️ Manual Overrides: Disable the automatic configuration to manually set the lengths for MA Length, McClellan Fast EMA, McClellan Slow EMA, and TRIN Lookback.
Table Settings
The indicator displays a table in the top-right corner summarizing key market breadth statistics.
Number of Top Contributors: Sets the number of top stocks (up to 29) to display in the table.
Show Top Contributors (Performance): Shows the stocks with the largest absolute index-weighted contribution to the EGX30's movement.
Show Top Contributors (Volume): Shows the stocks with the highest traded value (liquidity), displayed as a percentage of the total traded value.
The table also provides a persistent summary of:
Advancing, Declining, and Unchanged Issues.
Net Advancements (unless TRIN is selected).
Net Volume % and Net Liquidity %.
Mode-specific statistics like Total Volume/Liquidity or Advancing/Declining Volume.
ZScore SemiConductoresZ-Score of Semiconductor Sector Volume
This custom Pine Script indicator applies a Z-Score calculation to the aggregated trading volume of leading semiconductor companies. The goal is to highlight statistical extremes in sector activity that may signal unusual market behavior.
🔧 How it works
- Fixed ticker list: NVDA, AVGO, TSM, AMD, ASML, MU, ARM, ON, TXN, QCOM, INTC.
- Aggregate volume: The script sums the trading volume of all tickers in the list for the selected timeframe.
- Z-Score calculation:
- Moving average and standard deviation are computed over a configurable window (default = 50 bars).
- Formula:
Z= (Current Volume - Mean) / Standard Deviation
Visualization:
- Z-Score plotted in green.
- Reference lines at 0, ±1σ, ±2σ.
- Labels (triangles) mark critical signals when Z > +2 or Z < -2.
📈 Why it matters
- Detects abnormal surges or drops in sector-wide volume.
- Highlights potential euphoria (+2σ) or panic (-2σ) moments.
- Useful as a filter for trading strategies or as a sector-level alert system.
⚠️ Disclaimer: This script is for educational purposes only and not financial advice
PoC Migration Map [BackQuant]PoC Migration Map
A volume structure tool that builds a side volume profile, extracts rolling Points of Control (PoCs), and maps how those PoCs migrate through time so you can see where value is moving, how volume clusters shift, and how that aligns with trend regime.
What this is
This indicator combines a classic volume profile with a segmented PoC trail. It looks back over a configurable window, splits that window into bins by price, and shows you where volume has concentrated. On top of that, it slices the lookback into fixed bar segments, finds the local PoC in each segment, and plots those PoCs as a chain of nodes across the chart.
The result is a "migration map" of value:
A side volume profile that shows how volume is distributed over the recent price range.
A sequence of PoC nodes that show where local value has been accepted over time.
Lines that connect those PoCs to reveal the path of value migration.
Optional trend coloring based on EMA 12 and EMA 21, so each PoC also encodes trend regime.
Used together, this gives you a structural read on where the market has actually traded size, how "value" is moving, and whether that movement is aligned or fighting the current trend.
Core components
Lookback volume profile - a side histogram built from all closes and volumes in the chosen lookback window.
Segmented PoC trail - rolling PoCs computed over fixed bar segments, plotted as nodes in time.
Trend heatmap - optional color mapping of PoC nodes using EMA 12 versus EMA 21.
PoC labels - optional labels on every Nth PoC for easier reading and referencing.
How it works
1) Global lookback and binning
You choose:
Lookback Bars - how far back to collect data.
Number of Bins - how finely to split the price range.
The script:
Finds the highest high and lowest low in the lookback.
Computes the total price range and divides it into equal binCount slices.
Assigns each bar's close and volume into the appropriate price bin.
This creates a discretized volume distribution across the entire lookback.
2) Side volume profile
If "Show Side Profile" is enabled, a right-hand volume profile is drawn:
Each bin becomes a horizontal bar anchored at a configurable "Right Offset" from the current bar.
The horizontal width of each bar is proportional to that bin's volume relative to the maximum volume bin.
Optionally, volume values and percentages are printed inside the profile bars.
Color and transparency are controlled by:
Base Profile Color and its transparency.
A gradient that uses relative volume to modulate opacity between lower volume and higher volume bins.
Profile Width (%) - how wide the maximum bin can extend in bars.
This gives you an at-a-glance view of the volume landscape for the chosen lookback window.
3) Segmenting for PoC migration
To build the PoC trail, the lookback is divided into segments:
Bars per Segment - bars in each local cluster.
Number of Segments - how many segments you want to see back in time.
For each segment:
The script uses the same price bins and accumulates volume only from bars in that segment.
It finds the bin with the highest volume in that segment, which is the local PoC for that segment.
It sets the PoC price to the center of that bin.
It finds the "mid bar" of the segment and places the PoC node at that time on the chart.
This is repeated for each segment from older to newer, so you get a chain of PoCs that shows how local value has migrated over time.
4) Trend regime and color coding
The indicator precomputes:
EMA 12 (Fast).
EMA 21 (Slow).
For each PoC:
It samples EMA 12 and EMA 21 at the mid bar of that segment.
It computes a simple trend score as fast EMA minus slow EMA.
If trend heatmap is enabled, PoC nodes (and the lines between them) are colored by:
Trend Up Color if EMA 12 is above EMA 21.
Trend Down Color if EMA 12 is below EMA 21.
Trend Flat Color if they are roughly equal.
If the trend heatmap is disabled, PoC color is instead based on PoC migration:
If the current PoC is above the previous PoC, use the Up PoC Color.
If the current PoC is below the previous PoC, use the Down PoC Color.
If unchanged, use the Flat PoC Color.
5) Connecting PoCs and labels
Once PoC prices and times are known:
Each PoC is connected to the previous one with a dotted line, using the PoC's color.
Optional labels are placed next to every Nth PoC:
Label text uses a simple "PoC N" scheme.
Label background uses a configurable label background color.
Label border is colored by the PoC's own color for visual consistency.
This turns the PoCs into a visual path that can be read like a "value trajectory" across the chart.
What it plots
When fully enabled, you will see:
A right-sided volume profile for the chosen lookback window, built from volume by price.
Colored horizontal bars representing each price bin's relative volume.
Optional volume text showing each bin's volume and its percentage of the profile maximum.
A series of PoC nodes spaced across the chart at the mid point of each segment.
Dotted lines connecting those PoCs to show the migration path of value.
Optional PoC labels at each Nth node for easier reference.
Color-coding of PoCs and lines either by EMA 12 / 21 trend regime or by up/down PoC drift.
Reading PoC migration and market pressure
Side profile as a pressure map
The side profile shows where trading has been most active:
Thick, opaque bars represent high volume zones and possible high interest or acceptance areas.
Thin, faint bars represent low volume zones, potential rejection or transition areas.
When price trades near a high volume bin, the market is sitting on an area of prior acceptance and size.
When price moves quickly through low volume bins, it often does so with less friction.
This gives you a static map of where the market has been willing to do business within your lookback.
PoC trail as a value migration map
The PoC chain represents "where value has lived" over time:
An upward sloping PoC trail indicates value migrating higher. Buyers have been willing to transact at increasingly higher prices.
A downward sloping trail indicates value migrating lower and sellers pushing the center of mass down.
A flat or oscillating trail indicates balance or rotational behaviour, with no clear directional acceptance.
Taken together, you can interpret:
Side profile as "where the volume mass sits", a static pressure field.
PoC trail as "how that mass has moved", the dynamic path of value.
Trend heatmap as a regime overlay
When PoCs are colored by the EMA 12 / 21 spread:
Green PoCs mark segments where the faster EMA is above the slower EMA, that is, a local uptrend regime.
Red PoCs mark segments where the faster EMA is below the slower EMA, that is, a local downtrend regime.
Gray PoCs mark flat or ambiguous trend segments.
This lets you answer questions like:
"Is value migrating higher while the trend regime is also up?" (trend confirming value).
"Is value migrating higher but most PoCs are red?" (value against the prevailing trend).
"Has value started to roll over just as PoCs flip from green to red?" (early regime transition).
Key settings
General Settings
Lookback Bars - how many bars back to use for both the global volume profile and segment profiles.
Number of Bins - how many price bins to split the high to low range into.
Profile Settings
Show Side Profile - toggle the right-hand volume profile on or off.
Profile Width (%) - how wide the largest volume bar is allowed to be in terms of bars.
Base Profile Color - the starting color for profile bars, with transparency.
Show Volume Values - if enabled, print volume and percent for each non-zero bin.
Profile Text Color - color for volume text inside the profile.
PoC Migration Settings
Show PoC Migration - toggle the PoC trail plotting.
Bars per Segment - the number of bars contained in each segment.
Number of Segments - how many segments to build backwards from the current bar.
Horizontal Spacing (bars) - spacing between PoC nodes when drawn. (Used to separate PoCs horizontally.)
Label Every Nth PoC - draw labels at every Nth PoC (0 or 1 to suppress labels).
Right Offset (bars) - horizontal offset to anchor the side profile on the right.
Up PoC Color - color used when a PoC is higher than the previous one, if trend heatmap is off.
Down PoC Color - color used when a PoC is lower than the previous one, if trend heatmap is off.
Flat PoC Color - color used when the PoC is unchanged, if trend heatmap is off.
PoC Label Background - background color for PoC labels.
Trend Heatmap Settings
Color PoCs By Trend (EMA 12 / 21) - when enabled, overrides simple up/down coloring and uses EMA-based trend colors.
Fast EMA - length for the fast EMA.
Slow EMA - length for the slow EMA.
Trend Up Color - color for PoCs in a bullish EMA regime.
Trend Down Color - color for PoCs in a bearish EMA regime.
Trend Flat Color - color for neutral or flat EMA regimes.
Trading applications
1) Value migration and trend confirmation
Use the PoC path to see if value is following price or lagging it:
In a healthy uptrend, price, PoCs, and trend regime should all lean higher.
In a weakening trend, price may still move up, but PoCs flatten or start drifting lower, suggesting fewer participants are accepting the new highs.
In a downtrend, persistent downward PoC migration confirms that sellers are winning the value battle.
2) Identifying acceptance and rejection zones
Combine the side profile with PoC locations:
High volume bins near clustered PoCs mark strong acceptance zones, good areas to watch for re-tests and decision points.
PoCs that quickly jump across low volume areas can indicate rejection and fast repricing between value zones.
High volume zones with mixed PoC colors may signal balance or prolonged negotiation.
3) Structuring entries and exits
Use the map to refine trade location:
Fade trades against value migration are higher risk unless you see clear signs of exhaustion or regime change.
Pullbacks into prior PoC zones in the direction of the current PoC slope can offer higher quality entries.
Stops placed beyond major accepted zones (clusters of PoCs and high volume bins) are less likely to be hit by random noise.
4) Regime transitions
Watch how PoCs behave as the EMA regime changes:
A flip in EMA 12 versus EMA 21, coupled with a turn in PoC slope, is a strong signal that value is beginning to move with the new trend.
If EMAs flip but PoC migration does not follow, the trend signal may be early or false.
A weakening PoC path (lower highs in PoCs) while trend colors are still green can warn of a late-stage trend.
Best practices
Start with a moderate lookback such as 200 to 300 bars and a moderate bin count such as 20 to 40. Too many bins can make the profile overly granular and sparse.
Align "Bars per Segment" with your trading horizon. For example, 5 to 10 bars for intraday, 10 to 20 bars for swing.
Use the profile and PoC trail as structural context rather than as a direct buy or sell signal. Combine with your existing setups for timing.
Pay attention to clusters of PoCs at similar prices. Those are areas where the market has repeatedly accepted value, and they often matter on future tests.
Notes
This is a structural volume tool, not a complete trading system. It does not manage execution, position sizing or risk management. Use it to understand:
Where the bulk of trading has occurred in your chosen window.
How the center of volume has migrated over time.
Whether that migration is aligned with or fighting the current trend regime.
By turning PoC evolution into a visible path and adding a trend-aware heatmap, the PoC Migration Map makes it easier to see how value has been moving, where the market is likely to feel "heavy" or "light", and how that structure fits into your trading decisions.
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
Momentum Breakout Pro (Zeiierman)█ Overview
Momentum Breakout Pro (Zeiierman) is a breakout-focused quantitative system engineered to identify only the strongest momentum expansions in the market. Instead of reacting to price movement, it reconstructs a refined momentum signal, evaluates its strength and persistence, and validates each breakout against the broader market context. Only when momentum pressure aligns with structural direction, trend state, candle behavior, and spacing requirements will a breakout be considered qualified.
The result is a clean and context-aware signal flow that removes noise and highlights only the breakouts with the highest probability of continuation. Traders receive precise Break signals at qualified points, adaptive trend lines, candle-based trend visualization, structure levels, and volatility-driven confirmation markers. Internally, the system operates as a layered confirmation model designed to enforce directional consensus and filter out the shallow or unreliable moves that typically weaken breakout strategies.
In short, Momentum Breakout Pro offers a refined breakout selection system that focuses on quality over quantity, designed for traders who want clean and well-supported breakout signals backed by structured technical logic.
⚪ Why This One Is Unique
Momentum Breakout Pro’s uniqueness comes from its multi-layered confirmation process. The internal momentum reconstruction ensures that only sustained directional pressure is considered meaningful. Optional filters such as Dynamic Trend, SuperTrend, Average Trend, VWAP, and Market Structure provide an adjustable decision stack, allowing traders to decide how strict or flexible the validation should be. Breakouts are released only when the enabled components agree.
█ Main Features
⚪ Breakout Signals
The Breakout Signals are the core feature of the indicator. They help traders identify high probability breakouts that are more likely to follow through. With built-in confirmation levels, it becomes much easier to judge whether a breakout is strong or likely to fail. Combined with the suggested take profit points, traders can quickly find confirmed breakout opportunities with realistic first profit targets.
⚪ Breakout Filters
The indicator includes multiple filters that align each breakout with the current trend, structure, and momentum. This is essential for identifying only the strongest and most reliable breakout setups.
⚪ Dynamic Trend
The Dynamic Trend is a volatility-aware long-term trend filter. It removes noise and adapts to sharp volatility swings, staying focused on the true underlying trend direction. This helps traders avoid false signals and remain aligned with the broader market drift.
⚪ Moving Average
A standard moving average with a user-defined length. Simple, effective, and easy to understand. It acts as a clean trend filter for both beginners and advanced traders.
⚪ Super Trend
A Super Trend filter that restricts breakout signals to appear only in the direction of the active SuperTrend. This adds an additional layer of directional confirmation.
⚪ VWAP
VWAP (Volume Weighted Average Price) is a powerful anchor, especially on lower timeframes. It serves as a dynamic support or resistance level and a highly reliable trend filter.
⚪ Candle Coloring
The candle coloring engine tracks how long the price has moved in one direction and translates that persistence into a graded bull, mid, or bear color spectrum. This helps traders quickly understand trend strength, confirm momentum, and allow the market enough space to move before a larger breakout occurs.
⚪ Momentum
The momentum filter identifies bursts of momentum and highlights the strongest correlations between price and movement strength. It filters out weak breakouts that are not backed by real momentum, improving accuracy significantly.
⚪ Market Structure
Trading with the current market structure is crucial. This filter ensures that breakout signals appear only when they align with the existing structure, helping traders stay on the right side of the market.
█ How to Use
⚪ Breakouts
Use this tool to identify high-quality breakouts. To increase accuracy, combine the breakout signals with the trend, structure, and momentum filters. When these elements align, the probability of a successful breakout increases significantly.
⚪ Confirmation Levels
The indicator includes three confirmation levels that adapt based on current market volatility.
These levels help you judge the strength of the breakout:
When the three levels are tight and close to the price, it indicates strong conditions. Price is more likely to break through all levels quickly and confirm the breakout.
When the levels are spread out and far from the price, the breakout becomes weaker. Price must travel too far to confirm the move, which lowers the probability of a clean follow-through.
What you want to see is a breakout where all three confirmation levels are penetrated within the next few candles. That is the ideal scenario, indicating a confirmed breakout with a higher chance of continuation in that direction.
⚪ Take Profit Strategy
The indicator includes built-in take profit levels, which act as your first two targets after a confirmed breakout:
Once Take Profit 1 is hit, move your stop loss to break even.
When Take Profit 2 is hit, move your stop loss to the first take profit level.
From there, allow the position to run until the candle coloring shifts, signaling that momentum may be slowing or reversing.
This approach helps you secure profits early, reduce risk, and stay in the trade for larger moves when the trend is strong.
█ Setting Realistic Expectations: Win-Rate and Risk–Reward
Research on breakout systems, trend-following strategies, and directional volatility all show the same behavioral pattern. Win rates tend to be moderate, while risk and reward are positively skewed. Most breakout attempts are tested quickly by the market and may result in small losses or breakeven trades. The real edge comes from the smaller group of breakouts that expand into multi-stage moves and generate significantly larger gains. This is a well-established characteristic of momentum-driven price dynamics.
Momentum Breakout Pro is designed to work within this framework. It is not built to win on every signal, but to highlight conditions that historically align with stronger follow-through. The tool provides structure levels, confirmation lines, and initial target markers to help traders measure extension and manage risk objectively. Actual results will vary depending on the filters enabled, the markets traded, and how stops and exits are managed. However, the overall expectation remains consistent with established breakout research: frequent smaller outcomes combined with fewer but more impactful winners.
█ How It Works
⚪ Breakout System
The breakout system detects emerging directional expansions by transforming price movement into a stabilized signal curve. It evaluates localized impulse strength, directional bias, and short-term acceleration to determine when the price is exerting statistically meaningful pressure in one direction. When this pressure breaches the system’s internal thresholds, a breakout candidate is registered.
Calculation: Price is processed through a multi-stage smoothing pipeline to construct a normalized signal curve. The script analyzes the curve’s gradient and micro-momentum characteristics within a compact evaluation window. A breakout event is triggered when these combined directional metrics exceed the system’s momentum-pressure threshold.
⚪ Momentum Confirmation
To prevent weak or premature breakouts, the system verifies that momentum behavior aligns with the directional expansion. This ensures that only breakouts supported by sustained impulse strength are considered.
Calculation: The script evaluates the strength, stability, and directional consistency of momentum over the developing move. Instead of reacting to isolated shifts, it assesses whether momentum maintains a coherent and persistent trajectory that reinforces the breakout direction. A breakout is confirmed only when momentum structure and directional pressure are synchronized.
⚪ Confirmation Levels
Once a breakout is detected, three confirmation levels indicate how far the price must travel to confirm the breakout's strength.
Calculation: The levels are spaced using a volatility-adjusted distance formula. A breakout is considered strong when the price clears all three levels within a short time window.
⚪ Targets
Targets provide simple reference points for early take profits and risk management.
Calculation: The distance to a nearby structural or volatility-based reference is measured, then projected outward as proportional 1R / 2R style levels.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Double Whammy Stop‑Run IndicatorThis indicator simulates the institutional "Double Whammy" order flow setup—for order flow traders—using standard Price Action and Volume analysis.
Since TradingView does not provide native access to Level 3 data (Stop Orders and Iceberg Orders), this script uses a proprietary algorithm to create a "proxy" for these events using relative volume anomalies, candle body strength, and market structure breaks.
The Concept
The "Double Whammy" is a reversal pattern that relies on the interaction between trapped retail traders and institutional absorption. It occurs in two specific phases:
The Stop Run (The Trap): Price aggressively breaks a significant recent High or Low on high volume. This represents retail stop-losses being triggered or breakout traders getting trapped.
The Absorption (The Whammy): Instead of continuing in the direction of the breakout, price is immediately absorbed by "Iceberg" orders (limit orders) and reverses with high intensity.
How It Works (The Logic)
This script identifies these two phases using the following logic:
1. Identifying the Stop-Run Proxy
The script monitors for a specific set of conditions to identify a potential trap:
Market Structure: The price must make a new High or Low based on the user-defined Lookback period (default 50 bars).
Volume Spike: The bar must have a volume significantly higher than the average (defined by the Volume Multiplier), suggesting a capitulation or stop-cascade.
Candle Strength: The bar must be a strong trend bar (large body relative to wicks) to mimic the look of a breakout.
2. Identifying the Absorption
Once a Stop-Run is detected, the script opens a "Window of Opportunity" (shaded background). For a valid signal to generate, a reversal must occur within Max Bars (default 3):
Reversal: A candle of the opposite color must appear.
Engulfing Logic: The reversal candle must close back inside the range (below the High of a bullish trap, or above the Low of a bearish trap).
Momentum: The reversal candle must also show significant volume and body strength.
Visual Guide
Background Shading (Green/Red): Indicates a Stop-Run has just occurred. This is a warning zone. Do not trade yet.
"DW" Label (Double Whammy): An immediate reversal occurred on the very next bar after the stop run.
"DDW" Label (Delayed Double Whammy): The reversal occurred 2 or 3 bars later, but still within the valid window.
Settings
Lookback Bars: The range used to determine significant Support/Resistance levels (Default: 50).
Max Bars to Absorption: How many bars the market has to reverse before the setup is considered invalid (Default: 3).
Volume Multiplier: How much larger current volume must be compared to the SMA to qualify as a "Stop Run" (Default: 1.5x).
Body/Range Ratio: Filters out Doji candles or weak moves. Higher numbers require stronger candles.
Disclaimer
This tool is intended for educational purposes and to assist in identifying high-volatility reversal zones. It uses price and volume proxies to estimate order flow events and does not track actual Level 3 limit orders. Always combine this indicator with your own risk management and market analysis.
Use Arrow Up and Arrow Down to select a turn, Enter to jump to it, and Escape to return to the chat.
Brian Shannon Market Structure + Reversal Engine Shannon Market Structure & Reversal Engine
This indicator is based on the concepts from Brian Shannon's book, *Technical Analysis Using Multiple Timeframes*. It focuses on **Market Structure**, **Trend Alignment**, and **Volume Weighted Average Price (VWAP)** to identify low-risk, high-probability trade setups. It automates the identification of the 4 Market Stages and provides actionable entry/exit signals based on momentum shifts and institutional value levels.
**Key Visuals:**
1. **Trend Ribbon:**
* **Green:** Stage 2 Markup (Bullish). The 10, 20, and 50 SMAs are aligned upward. Look for LONGS.
* **Red:** Stage 4 Decline (Bearish). The 10, 20, and 50 SMAs are aligned downward. Look for SHORTS.
* **Gray:** Stage 1 or 3 (Neutral). Moving averages are tangled. Avoid trading or reduce size.
2. **VWAP (Orange Line):** The "Institutional Truth." Used as a dynamic support/resistance level.
3. **Signals:**
* **"L" (Green):** Long Entry. Triggered when price reclaims the VWAP while the intermediate trend is bullish.
* **"S" (Red):** Short Entry. Triggered when price loses the VWAP while the intermediate trend is bearish.
* **"Rev" (X):** Reversal Warning. Triggered when the Short-Term trend (10 SMA) crosses the Intermediate-Term trend (20 SMA), signaling a loss of momentum.
-----
### **Instructions: How to Trade This**
**1. The Setup (Context)**
* **Check the Dashboard:** Look at the "Daily Trend" box in the top right. If it says "Stage 2 (Bull)," you are primarily looking for **Long** trades. Do not fight the Daily trend.
* **Check the Ribbon:** On your trading timeframe (e.g., 5m, 15m, 30m), wait for the ribbon to turn **Green**.
**2. The Entry (Timing)**
* **Wait for the "L":** Do not buy just because the ribbon is green. Wait for price to pull back towards the Orange VWAP line and then cross back above it.
* **The Signal:** When the **"L"** label appears, it means price has reclaimed value and momentum is aligned. This is your trigger.
**3. The Exit / Defense (Risk Management)**
* **Stop Loss:** Place your stop below the most recent swing low or below the VWAP.
* **Reversal Warning:** If you see an **Orange "Rev" X** appear at the top of a candle, the fast momentum is breaking down. This is not a signal to short, but a signal to **take profits** or tighten your stop loss immediately.
**4. The Rules (Brian Shannon's Philosophy)**
* **Innocent Until Proven Guilty:** If the ribbon is Green and rising, stay with the trend.
* **Guilty Until Proven Innocent:** If the ribbon is Red and falling, stay short or in cash.
* **Don't Predict:** Do not buy at the absolute bottom. Wait for the ribbon to turn and the VWAP to be reclaimed. Better to buy higher with confirmation than lower with hope.
Timeframe, Rating, Adjustments Needed
Intraday (1m - 4h), Perfect, "Use exactly as is. This is the ""sweet spot"" for this script."
Daily (1D),Good, "Turn OFF ""Show Session VWAP"" in settings. Use the Ribbon for Stage Identification."
Weekly/Monthly, Okay, "Turn OFF VWAP. Ignore the ""L/S"" entry signals (as they rely on VWAP). Use strictly for the Ribbon color (Green = Long Term Bull Market)."
FAIRPRICE_VWAP_RDFAIRPRICE_VWAP_RD
This script plots an **anchored VWAP (Volume Weighted Average Price)** that resets
based on the user-selected anchor period. It acts as a dynamic “fair value” line
that reflects where the market has actually transacted during the chosen period.
FEATURES
- Multiple anchor options: Session, Week, Month, Quarter, Year, Decade, Century,
Earnings, Dividends, or Splits.
- Intelligent handling of the “Session” anchor so it works correctly on both 1m
(resets each new day) and 1D (continuous, non-resetting VWAP).
- Manual VWAP calculation using cumulative(price * volume) and cumulative(volume),
ensuring the line is stable and works on all timeframes.
- Optional hiding of VWAP on daily or higher charts.
- Offset input for horizontal shifting if desired.
- VWAP provides a true “fair price” reference for trend, mean-reversion,
and institutional-level analysis.
PURPOSE
This indicator solves the common problem of VWAP behaving incorrectly on higher
timeframes, on synthetic data, or with unusual anchors. By implementing VWAP
manually and allowing flexible reset conditions, it functions reliably as
an institutional-style fair value benchmark across any timeframe.
Watchlist Volume Surge AlertOverview
This indicator is designed for traders who monitor large watchlists and need instant notification when a stock is experiencing unusual volume activity relative to its recent history.
Standard volume indicators often include the current day's volume in the average calculation. This causes a problem: if a stock is having a massive breakout, that high volume pulls the average up immediately, making it harder to hit the "relative" threshold.
This script solves that by comparing the current volume against the Simple Moving Average (SMA) of the previous n bars. This ensures a clean baseline and accurate alerts, even during massive volatility.
Key Features
Smart RVOL Calculation: Calculates Relative Volume (RVOL) based on the previous 30 bars (adjustable), ensuring the current breakout doesn't skew the average.
Visual Clarity:
Bars: Normal volume is transparent. Surge volume turns bright Teal (Bullish Close) or Red (Bearish Close).
Background: The indicator panel background highlights when a surge is active, making it impossible to miss when scanning visually.
Data Window: Displays the exact RVOL ratio (e.g., 2.11) in the Data Window for verification.
Watchlist Alert Optimized: Specifically designed to work with TradingView's "Any alert function call" or standard condition alerts across multiple tickers.
How to Set Up Alerts
This script is perfect for setting a single alert on a large watchlist to catch breakouts as they happen.
Add the indicator to your chart.
Go to the Alerts menu and create a new alert.
Condition: Select Watchlist Volume Surge Alert.
Trigger: Select "Once Per Bar".
Note: Using "Once Per Bar" ensures you are notified the moment the volume crosses the threshold during the trading day, rather than waiting for the market to close.
Message: The script includes a dynamic message: "Volume Surge! {{ticker}} volume is {{plot("RVOL Ratio")}}x the average."
Settings
Average Length (Days): The lookback period for the volume average (Default: 30).
Alert Threshold (x Average): The multiple required to trigger an alert (Default: 1.5x).
Note: This works better when you have a watchlist with similar volatility and/or market cap
Nexural QWAPQWAP - Quantitative Weighted Average Price with True Order Flow Analysis
INTRODUCTION
This is legit one of the best indicators I can possibly make. Since I don't have access to tick data on tradingview I can't claim it's as accurate as possible but it is a very polished indicator for VWAP based trading and the bands are VERY useful for mean reverting trading.
QWAP Elite is an advanced Volume Weighted Average Price indicator that incorporates true order flow analysis through intrabar data decomposition. Unlike traditional VWAP indicators that simply calculate price multiplied by volume divided by total volume, this indicator attempts to identify the directional intent behind that volume by analyzing whether buying or selling pressure dominated each bar at a granular level.
The fundamental premise of this indicator is that not all volume is created equal. A bar with 10000 contracts where 8000 were aggressive buyers tells a very different story than a bar with 10000 contracts where 8000 were aggressive sellers, even if both bars close at the same price. Traditional VWAP treats these identically. QWAP attempts to weight the VWAP calculation based on this directional flow information.
This indicator was designed for traders who believe that institutional order flow leaves detectable footprints in price and volume data, and that identifying these footprints can provide an edge in determining likely future price direction. It is not a holy grail and it is not a replacement for proper risk management and trading discipline.
HOW THE INDICATOR WORKS
The True CVD Engine
The core of this indicator is its Cumulative Volume Delta calculation. Most indicators on TradingView approximate buying and selling volume by looking at whether a bar closed higher or lower than it opened. If the bar closed green, they assign all volume as buying volume. If it closed red, they assign all volume as selling volume. This is a crude approximation that misses significant nuance.
QWAP Elite uses the request security lower tf function to pull actual intrabar data. This means if you are on a 5 minute chart, the indicator is looking at the individual ticks or smaller timeframe bars that occurred within that 5 minute period. It then calculates how much volume occurred on up moves versus down moves within that bar, giving a much more accurate picture of whether buyers or sellers were more aggressive.
The Delta Ratio is calculated as the net delta divided by total volume, resulting in a value between negative one and positive one. A value of positive 0.6 means that 80 percent of volume was buying and 20 percent was selling. A value of negative 0.4 means that 70 percent was selling and 30 percent was buying. This ratio is then used to weight the VWAP calculation.
The intrabar precision is displayed in the dashboard as the number of bars analyzed. More bars means more granular data and theoretically more accurate delta calculation. The indicator automatically selects an appropriate lower timeframe based on your chart timeframe to balance accuracy with computational performance.
VIX Integration and Volatility Intelligence
The indicator pulls live VIX data and uses it to adjust its calculations dynamically. The VIX or CBOE Volatility Index represents the market expectation of 30 day forward looking volatility derived from SP500 option prices. When VIX is elevated, markets behave differently than when VIX is compressed.
Specifically, the indicator uses VIX to adjust the standard deviation bands around VWAP. In high volatility environments where VIX is above 25 or 30, the bands automatically widen to account for larger price swings. In low volatility environments where VIX is below 15, the bands tighten. This prevents false signals that would occur if static band widths were used across all market conditions.
The indicator also pulls VVIX which is the volatility of the VIX itself and VIX9D which is the 9 day VIX. By comparing VIX to VIX9D, the indicator can identify term structure conditions. When short term VIX is higher than longer term VIX, this is called backwardation and often indicates fear or stress in the market. When short term VIX is lower, this is contango and indicates complacency.
The VIX regime classification in the dashboard shows CALM when VIX is below 12, NORMAL between 12 and 20, ELEVATED between 20 and 30, and FEAR when above 30. Each regime suggests different trading approaches and position sizing considerations.
DETECTION SYSTEMS
Absorption Detection
Absorption occurs when large volume enters the market but price barely moves. This happens when one side is absorbing all the aggression from the other side. For example, if aggressive sellers are hitting the bid repeatedly but price is not dropping, it suggests there is a large buyer absorbing all that selling pressure. This often precedes reversals.
The indicator detects absorption by looking for bars with above average volume, below average range, and high wick ratios. A high wick ratio means the bar has long wicks relative to its body, indicating price moved but was pushed back. When these conditions coincide with strong delta in one direction, it suggests institutional absorption.
Liquidity Sweep Detection
Liquidity sweeps, also known as stop hunts, occur when price briefly exceeds a recent high or low to trigger stop losses, then reverses. Large traders need liquidity to fill their orders, and stops clustered above swing highs or below swing lows represent pools of liquidity they can tap into.
The indicator identifies sweeps by detecting when price exceeds the 5 or 20 bar high or low but closes back inside. A bull trap is identified when price sweeps above recent highs but closes below them, suggesting sellers trapped buyers who bought the breakout. A bear trap is the opposite, where price sweeps lows but closes above, trapping shorts.
Sweep detection is most useful when combined with delta analysis. A sweep with strong opposing delta, meaning price swept highs but delta was heavily negative, is a higher probability reversal signal than a sweep alone.
CVD Divergence Detection
Divergence between price and cumulative delta is one of the most reliable signals the indicator produces. When price is making higher highs but cumulative delta is making lower highs, it suggests that buying pressure is weakening even though price is still rising. This bearish divergence often precedes pullbacks or reversals.
Conversely, bullish divergence occurs when price makes lower lows but cumulative delta makes higher lows. This suggests that even though price is dropping, buying pressure is actually increasing, and sellers may be exhausted. These divergences are calculated over a 5 bar lookback period.
Stacked Imbalance Detection
Stacked imbalances occur when there are three or more consecutive bars with strong delta in the same direction. This represents sustained aggressive positioning by one side of the market. Three consecutive bars with delta above 0.5 suggests aggressive institutional buying. Three consecutive bars below negative 0.5 suggests aggressive institutional selling.
The count of consecutive imbalanced bars is displayed in the detection section. Four or more stacked imbalances is considered highly significant. This pattern often precedes continuation moves in the direction of the imbalance, as it suggests a committed directional player has entered the market.
Institutional Flow Detection
The indicator attempts to identify institutional activity by looking for the convergence of multiple factors. Specifically, it requires strong delta above 0.5 or below negative 0.5, volume persistence across multiple bars meaning above average volume for at least 2 to 3 bars in a row, and delta persistence meaning delta in the same direction for multiple consecutive bars.
When these factors align, the dashboard displays INST BUY or INST SELL instead of RETAIL. This classification should be viewed as a probability estimate rather than a certainty. Retail traders can produce similar patterns, and institutions can hide their activity. The designation is meant to highlight periods where the characteristics of flow are consistent with larger players.
ADAPTIVE WEIGHT SYSTEM
The indicator includes an adaptive system that automatically adjusts how much weight the CVD analysis has on the VWAP calculation. In quiet, low volatility markets, the CVD weight is reduced because the signal to noise ratio is lower. In active, high volatility markets with clear directional flow, the weight is increased.
The adaptation considers multiple factors including VIX regime, delta clarity meaning how strong and consistent the delta readings are, volume persistence, and time of day session weighting. The current adaptive weight is displayed in the dashboard and typically ranges from 0.05 to 0.50.
The adaptation speed setting controls how quickly the weight responds to changing conditions. A higher speed means faster adaptation but potentially more noise. A lower speed means smoother adaptation but potentially slower response to regime changes.
SESSION AWARENESS
Not all trading hours are equal. The indicator applies different weights to different trading sessions based on typical liquidity and reliability patterns. The open drive, which covers 9 30 to 10 30 AM Eastern time, receives a 1.4x weight multiplier because this is typically the highest volume and most directionally significant period of the day.
Power hour from 3 00 to 4 00 PM Eastern receives a 1.3x multiplier as institutional traders often execute their daily positioning in this final hour. The lunch hour from 11 00 AM to 2 00 PM receives a 0.9x multiplier due to typically lower volume and more choppy price action. Premarket receives 0.7x and after hours receives 0.5x due to thin liquidity and unreliable signals.
The current session is displayed in the dashboard header. Traders should consider reducing position sizes and widening stops during lower weight sessions, particularly premarket and after hours where the indicator readings are less reliable.
COMPOSITE SCORES
Bias Score
The Bias Score ranges from negative 100 to positive 100 and represents the indicators overall directional lean. It synthesizes delta analysis, VWAP momentum, and multi-timeframe confluence into a single number. A score above 50 indicates strong bullish bias. A score below negative 50 indicates strong bearish bias. Scores between negative 20 and positive 20 are considered neutral.
The visual bias meter in the dashboard shows this score as a bar that leans left for bearish or right for bullish. This provides an at a glance summary of the indicators current directional reading without needing to interpret multiple individual metrics.
Setup Quality Score
The Setup Quality Score ranges from 0 to 100 and measures how many factors are aligning to support a potential trade. It awards points for strong delta readings, volume persistence, multi-timeframe confluence, detection events like absorption or divergence, and favorable session timing. A score above 60 suggests multiple factors are confirming. A score below 30 suggests the setup lacks confirmation.
This score is designed to help traders filter trades. Rather than acting on every signal, traders can set a minimum quality threshold. For example, only taking trades when quality is above 50 will filter out lower probability setups. Higher thresholds mean fewer trades but potentially higher win rates.
Heat Score
The Heat Score measures overall market activity intensity and ranges from 0 to 100. It combines volume heat meaning how elevated current volume is relative to average, volatility heat based on ATR expansion or VIX levels, delta heat meaning how strong the current delta reading is, and deviation heat meaning how far price is from VWAP.
Markets with heat above 75 are classified as EXTREME and typically represent high opportunity but also high risk environments. Heat between 50 and 75 is ACTIVE and represents good trading conditions. Heat between 25 and 50 is NORMAL. Heat below 25 is QUIET and suggests range bound conditions where mean reversion strategies may outperform trend following.
DASHBOARD GUIDE
Header Row
The header row displays QWAP with a lightning bolt icon, the current session abbreviation like OPEN or POWER or LUNCH, the current regime classification, and VIX status with a colored indicator. Green indicates low VIX and favorable conditions. Yellow indicates elevated VIX. Red indicates high VIX or that VIX data is unavailable.
Signal Row
The signal row is the largest and most prominent element. It displays the primary signal which will be LONG, SHORT, REVERSAL, or WAIT. LONG appears when bias is strongly bullish and quality is high. SHORT appears when bias is strongly bearish and quality is high. REVERSAL appears when divergence or absorption is detected at an extreme sigma level. WAIT appears when conditions do not meet the threshold for a signal.
Next to the signal is the quality score displayed as Q followed by a number out of 100. This helps traders quickly assess how confirmed the signal is. A LONG signal with Q 72 is more compelling than a LONG signal with Q 45.
Order Flow Section
The delta row shows the current delta direction as BUY or SELL, the percentage strength, a visual indicator of strength with filled or empty circles, and an arrow indicating whether delta is accelerating or decelerating. The flow row shows whether activity is classified as INST BUY, INST SELL, or RETAIL, along with the number of intrabar data points used in the calculation.
Market Section
The heat row displays the heat score as a visual bar and numeric value. The vol row shows volatility state as EXPAND, COMPRESS, or NORMAL along with relative volume. The dist row shows distance from VWAP in sigmas and percentage, plus momentum direction.
Detection Section
This section only appears when detections are active. It displays warning icons next to detection types like BUY ABS, SELL ABS, BULL TRAP, BEAR TRAP, BULL DIV, BEAR DIV, BUY STACK, or SELL STACK. Each detection includes a score representing its strength or significance.
HOW TO USE THIS INDICATOR
Recommended Workflow
First, check the regime and session. If VIX is in FEAR mode or you are in premarket or after hours, consider reduced position sizing or waiting for better conditions.
Second, look at the primary signal and quality score. Signals with quality below 40 are low conviction. Consider requiring quality above 50 or 60 before acting.
Third, check the bias meter for overall directional lean. Ensure it aligns with your intended trade direction.
Fourth, review active detections. Absorption and divergence near VWAP bands increase reversal probability. Stacked imbalances support continuation.
Fifth, use VWAP and sigma bands for entry, stop, and target placement. The bands provide natural support and resistance levels based on statistical distribution.
Sixth, monitor for changes in delta and flow classification. Institutional activity transitioning to retail or delta reversing direction are warning signs.
TRADE EXAMPLES
Mean Reversion Setup
Price extended to 2.5 sigma above VWAP. Signal shows REVERSAL. Quality is 55. Absorption detected with BUY ABS showing score of 2.3. Delta is showing SELL at 45 percent despite price being elevated. This suggests buyers are being absorbed and a pullback to VWAP is likely. Enter short with stop above the 3 sigma band and target at VWAP or 1 sigma band.
Trend Continuation Setup
Signal shows LONG with quality 68. Bias meter shows STRONG BULL. BUY STACK detected with 4 consecutive imbalanced bars. Flow shows INST BUY. Price has pulled back to VWAP and is finding support. Heat is at 62 indicating ACTIVE conditions. Enter long on VWAP touch with stop below 1 sigma band and target at 2 sigma band.
Liquidity Sweep Setup
BEAR TRAP detected with score of 1.8. Price swept below recent lows but closed back above. Delta is showing BUY at 52 percent on the sweep bar. BULL DIV also active as price made lower low but delta made higher low. Signal shows REVERSAL with quality 58. Enter long with stop below the sweep low and target at VWAP.
HONEST ASSESSMENT OF STRENGTHS AND WEAKNESSES
Strengths
True CVD calculation using intrabar data is significantly more accurate than close greater than open approximations used by most indicators. This provides genuine insight into buying versus selling pressure.
VIX integration with term structure analysis is institutional grade thinking applied to a retail tool. Dynamic band adjustment prevents false signals in different volatility regimes.
Multiple detection systems provide different perspectives on the same market. Absorption, sweeps, divergence, and imbalances each capture different footprints of institutional activity.
Composite scores synthesize complex information into actionable numbers. Traders do not need to mentally integrate 15 different metrics. The quality score and bias score do this automatically.
Session awareness prevents trading during low quality periods. The automatic weighting helps filter out noise from premarket, after hours, and lunch periods.
Adaptive system self adjusts to market conditions. Traders do not need to manually tune parameters as volatility and activity change.
Weaknesses and Limitations
Intrabar data is still an approximation of true tick level order flow. Without actual tick data showing individual trades hitting bid versus lifting offer, even this calculation has error bars. Professional platforms like Sierra Chart or Quantower with direct exchange feeds will always have more accurate delta.
The indicator is computationally heavy. Users may experience slower chart loading particularly on lower end hardware or when viewing many bars. The optimization features help but cannot eliminate this cost entirely.
Institutional detection is probabilistic not definitive. Retail traders in aggregate can produce patterns that look institutional. Institutions can and do hide their activity. The INST BUY and INST SELL labels should be viewed as probability shifts not certainties.
The indicator works best on liquid instruments with significant volume. On thinly traded stocks or during illiquid periods, delta calculations become noisy and unreliable. The indicator is optimized for ES, NQ, SPY, QQQ, and similar high volume instruments.
VIX integration only works for US equity index products. If trading forex, crypto, or other asset classes, the VIX data is not directly applicable and should be disabled.
No indicator can predict the future. Order flow analysis shows what happened and what is happening. It cannot guarantee what will happen next. Large players can and do reverse their positioning. News events can invalidate any technical setup instantly.
The complexity of the indicator means there is a learning curve. New users may be overwhelmed by the number of metrics displayed. It takes time to develop intuition for what combinations of readings are significant.
The indicator does not include automated backtesting or historical performance statistics. Users cannot easily quantify the win rate or expected value of following its signals without manual journaling and analysis.
RISK MANAGEMENT GUIDELINES
This indicator is a tool not a trading system. It provides information that may help inform trading decisions but it does not make those decisions for you. Proper risk management is essential regardless of how compelling the indicator readings appear.
Position Sizing
Never risk more than 1 to 2 percent of your account on any single trade regardless of how high the quality score is. High quality setups still fail regularly. A setup with 70 percent win rate still loses 30 percent of the time, and those losses can come in clusters.
Consider reducing position size when VIX is in ELEVATED or FEAR regime, when trading during premarket or after hours sessions, when quality score is below 50, and when multiple detection systems are conflicting with each other.
Stop Loss Placement
The sigma bands provide natural levels for stop placement. For mean reversion trades, stops should typically be placed beyond the next sigma level. For example, if entering short at 2 sigma, place stop beyond 3 sigma. For trend trades entering at VWAP, consider stops beyond 1 sigma in the opposite direction.
Stops should also respect market structure. If there is a recent swing high or low near your calculated stop level, extend the stop beyond that swing point. Placing stops at obvious levels invites stop hunting.
In high VIX environments, consider wider stops. The VIX band multiplier automatically widens the sigma bands, and your stops should reflect this increased volatility. A stop that works in a 15 VIX environment may be too tight when VIX is 30.
Taking Profits
The sigma bands also provide natural profit targets. For mean reversion trades, VWAP itself is often the first target with the opposite 1 sigma band as an extended target. For trend trades, each sigma band can serve as a scaling point.
Pay attention to delta and flow changes as price approaches targets. If delta is weakening or flow classification shifts from institutional to retail, consider taking profits early. Conversely, if delta is strengthening into the target, consider holding for extension.
When to Avoid Trading
Consider sitting out when the signal shows WAIT and quality is below 30. In these conditions, the indicator is essentially saying there is no clear edge. Trading anyway is gambling not trading.
Avoid trading during major news events. The indicator cannot account for sudden information shocks. Economic releases, Fed announcements, earnings reports, and geopolitical events can invalidate any technical setup instantly.
Consider avoiding the first and last 5 minutes of regular trading hours. These periods often have erratic price action and unreliable delta calculations due to order imbalances at open and close.
SETTINGS REFERENCE
Core Engine Settings
VWAP Source determines what price is used for the VWAP calculation. The default HLC3 uses the average of high, low, and close which provides a balanced representation. HL2 uses just high and low average. Close uses only the closing price. Most traders should leave this at HLC3.
True CVD Engine should remain enabled for accurate order flow analysis. Disabling it falls back to close greater than open estimation which is significantly less accurate. Only disable if you are experiencing performance issues.
CVD Impact controls how much the delta analysis affects the VWAP calculation. Higher values mean delta has more influence. The default 0.2 provides a balance. Increase toward 0.5 if you want delta to have stronger effect. Decrease toward 0.1 if you want something closer to traditional VWAP.
Detection Sensitivity offers three presets. Conservative produces fewer signals but higher confidence. Balanced is the default middle ground. Aggressive produces more signals but with more false positives. New users should start with Balanced and adjust based on experience.
VIX Settings
VIX Integration should be enabled when trading US equity index products like ES, NQ, SPY, or QQQ. Disable it when trading forex, crypto, commodities, or individual stocks where VIX is not directly applicable.
VIX Symbol allows selection between VIX for SP500 volatility, VXN for Nasdaq volatility, and RVX for Russell 2000 volatility. Choose the one most relevant to your trading instrument.
VIX Baseline sets the historical average VIX level used for normalization. The default 16 represents the long term average. If trading in a persistently higher or lower VIX environment, adjusting this can help calibrate the regime classifications.
Display Settings
Dashboard Style offers three options. Compact shows only the signal and bias meter for minimal screen footprint. Elite adds order flow and market sections for balanced information. Full adds VIX details, detections, and adaptive system information for complete visibility.
FREQUENTLY ASKED QUESTIONS
Why does the indicator sometimes show WAIT when there is an obvious trend
The signal system is designed to identify high probability entry points not to constantly indicate trend direction. A strong uptrend may show WAIT because price is extended from VWAP and a pullback is likely before continuation. The indicator is trying to prevent you from buying the top of an impulse move.
Why is my delta reading different from another order flow tool
Different platforms calculate delta differently. Some use tick data. Some use time based aggregation. Some use volume based aggregation. The timeframe being analyzed matters as well. QWAP uses intrabar data which is more accurate than close versus open approximations but less accurate than true tick data from professional platforms.
Can I use this indicator for scalping
The indicator can be used on lower timeframes but becomes less reliable. On 1 minute charts, the intrabar decomposition has fewer data points to work with. For scalping, consider using 3 to 5 minute charts as a minimum. Also note that the session weighting and detection systems are calibrated for swing and intraday trading, not ultra short term scalping.
Does this indicator repaint
The VWAP line and sigma bands can adjust slightly as intrabar data comes in during a live bar. Once a bar closes, those values are fixed. The signals and detections are calculated on closed bars and do not repaint. For live trading, wait for bar close confirmation before acting on signals.
What markets does this work best on
The indicator is optimized for high liquidity US equity index products including ES, NQ, SPY, QQQ, IWM, and DIA. It can work on other liquid instruments but the VIX integration should be disabled for non equity products. Avoid using on low volume stocks or illiquid markets where delta calculations will be noisy.
DISCLAIMER
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance of any trading methodology is not indicative of future results. Trading futures, options, and other derivatives involves substantial risk of loss and is not suitable for all investors.
The creator of this indicator makes no guarantees about its accuracy or profitability. All trading decisions are the sole responsibility of the user. Before trading with real money, thoroughly test any strategy in simulation and ensure you understand the risks involved.
Order flow analysis provides information about market microstructure but cannot predict future price movements with certainty. Markets are complex adaptive systems influenced by countless variables including news events, economic data, central bank policy, geopolitical developments, and collective human psychology. No indicator can fully capture this complexity.
Use this tool as one input among many in your trading process. Combine it with sound risk management, proper position sizing, and continuous education. The best traders are those who remain humble about what they do not know and disciplined about protecting their capital.
Market Internals Dashboard: Trend, Breadth, Volume PressureOverview
The Market Internals Dashboard Pro is a professional-grade toolkit modeled after what prop firms and institutional desks use to understand real intraday market conditions.
Instead of relying solely on price, this indicator analyzes three critical internal forces:
USI:TICK : Microstructure buying/selling pressure
USI:ADD : Market breadth participation (advancers vs decliners proxy)
USI:VOLD : Volume pressure (buying vs selling volume)
These internals determine whether the market is:
Trending or ranging
Bullish or bearish
Likely to follow through or mean-revert
Favoring continuation trades or fade setups
The script also produces a Market Environment Score (–3 to +3) and a real-time Trade Recommendation Table that updates every bar. This helps answer the single most important question in intraday trading: “What type of trades should I be taking right now given current market conditions?”
1. TICK Proxy: Microstructure Pressure
Measures buying vs. selling aggressiveness across the market This proxy simulates the NYSE TICK index by evaluating whether bars close above or below the prior bar.
Positive TICK → Buyers lifting offers
Negative TICK → Sellers hitting bids
Neutral TICK → No microstructure conviction
Why it matters:
Strong TICK is often the earliest sign of:
Trend initiation
Algorithmic buy/sell programs
Shifts in short‑term sentiment
Weak or choppy TICK often signals:
Range conditions
Failed breakouts
Low‑quality trend attempts
2. ADD Proxy: Market Breadth Strength
Shows how many stocks are participating in a move Because real USI:ADD data isn't available for all users, this script uses a self-contained breadth approximation built from:
Price slope
Volatility expansion
Volume‑weighted directional pressure
Why it matters? Breadth reveals whether the move is:
Broad and healthy → likely to continue
Narrow and weak → vulnerable to reversal
Strong trends require strong breadth. Weak breadth often precedes:
Failed breakouts
Reversal setups
Chop (ewww)
3. VOLD Proxy: Volume Pressure
The most important internal of all. This proxy measures whether trading volume is flowing into up bars or down bars.
Positive VOLD → Net buying pressure
Negative VOLD → Net selling pressure
Why it matters:
VOLD is considered the "truth serum" of the tape:
Strong VOLD drives trend days
Negative VOLD kills long setups
Mixed VOLD creates chop
You should rarely trend trade against VOLD.
4. Market Environment Score (–3 to +3)
The Environment Score combines the three internals into a single view:
|| Score || Interpretation || Market Type ||
| +3 | Strong Bull | Trend Day (Long) |
| +2 | Bull | Pullback Buys / Breakout Continuation |
| +1 | Mild Bull | Conservative Long Scalps |
| 0 | Neutral | CHOP – VWAP Reversions / Fades |
| -1 | Mild Bear | Short Failed Breakouts |
| -2 | Bear | Trend Shorts / Breakdown Continuation |
| -3 | Strong Bear | Trend Day (Short) |
Why it matters:
The market behaves differently depending on internal alignment. This score prevents traders from:
Forcing trend trades on chop days
Chasing breakouts when breadth is weak
Fading strong directional days
It tells you in real time whether conditions favor:
Trend following
Mean reversion
Breakout continuation
Liquidity grabs
Or sitting out
5. Trade Recommendation Engine
Based on the Environment Score, the indicator outputs a real-time playbook recommending which trade types have the highest probability of success right now.
Examples:
Score = 0 (Neutral)
VWAP Reversions
Liquidity Grabs
Failed Breakouts
Quick Scalps
Score = +2/+3 (Strong Bull)
Pullback Buys
Breakout Continuation
Trend Longs
Score = -2/-3 (Strong Bear)
Pullback Shorts
Breakdown Continuation
Trend Shorts Only
This turns the internals into a trade selection engine, not just a data display.
Why Market Internals Matter
Most indicators look only at price, but price is the result, not the cause.
Market internals show:
Where volume is flowing
Whether buying is aggressive or passive
How many stocks are participating
Whether algorithms are supporting or fighting the move
This dashboard helps traders:
Avoid chop
Stay out of low‑quality setups
Time entries with institutional flows
Improve win rate by trading the right setups at the right times
Final Notes
Works on any symbol or timeframe
Fully customizable colors
Two clean visual tables: Internals + Trade Playbook
Ideal for futures, ETFs, and options day traders
If you enjoy this tool, please like, comment, or follow. More enhancements are coming.
Trade smart.
LiquidityPulse Multi-Timeframe Volume Zones/ LevelsLiquidityPulse Multi-Timeframe Volume Zones/ Levels
Non-repainting: levels appear on bar close and do not change.
What This Indicator Does
This indicator scans lower-timeframe price action to identify bars where volume and candle behaviour suggest that a notable price interaction occurred. When all conditions align, the script extracts a precise price level from that bar, plots it on your higher-timeframe chart, and extends it forward so you can observe whether the market interacts with it again later.
Each selected timeframe is processed independently. For every timeframe you enable, the script looks for the following criteria:
1. A shift in candle direction between the previous bar and the current bar
2. A close-to-open body alignment , helping filter out irregular or noisy movement
3. A volume increase relative to the recent average , based on a user-selected multiplier
If these conditions are met, the script marks the corresponding price level on the chart. You can enable up to seven lower timeframes at once, each with its own independent settings, colours, strength filters, and display capacity. This allows you to build a layered, multi-timeframe view of the levels/ zones.
How It Works
1. Candle Behaviour Shift
The script checks whether the previous bar and the current bar show opposing directional behaviour. This helps highlight moments that may reflect a shift in directional behaviour or a change in price movement characteristics.
2. Body Alignment
The previous bar’s close must closely align with the current bar’s open. This requirement reduces random noise and focuses detection on areas where structure between candles is unusually clean.
3. Volume Requirement
The combined volume of the current bar and the previous bar must exceed the recent average by a multiplier you choose.
Lower multiplier - more levels
Higher multiplier - only the most significant activity spikes qualify
This filters for bars with above-average participation (volume).
4. Price Level Identification
If all conditions are met, a price edge is defined:
Bearish pressure: upper edge
Bullish pressure: lower edge
This edge marks the price level where the qualifying candle behaviour occurred.
5. Zone Drawing
Each qualifying event produces:
A horizontal line marking the level
A (optional) shaded box around the level
A label showing the timeframe and the exact volume multiplier amount detected
The level then extends forward so you can monitor future interactions.
Key Settings
Zone Strength (Volume Multiplier)
Determines how selective the volume filter is.
Lower settings show more frequent activity
Higher settings restrict detection to only the strongest activity (volume) increases
Multi-Timeframe Framework
Enable/disable per timeframe
Custom source timeframe (e.g., 1m, 5m, 15m, etc.)
Strength threshold per timeframe
How many recent levels to display per timeframe (Show Last N Zones.)
You can display a single timeframe or stack several to highlight clustering.
How traders can use this indicator
This script is not a buy/sell signal generator. It is best used as a structural overlay that helps you identify:
Where candle behaviour abruptly shifted with increased volume
Whether multiple timeframes highlight similar levels
Comparing how frequently these conditions appear across different timeframes
How price behaves when revisiting areas of prior activity (levels)
Why this type of detection can be informative
Higher-timeframe charts compress a large amount of lower-timeframe activity. By identifying where the script found notable changes in direction, structure, and relative volume on a lower timeframe, it provides a way to reference points in the price history where behaviour differed from nearby bars. Displaying these levels on a higher timeframe allows traders to see how these conditions align with their broader analysis.
Disclaimer
This indicator does not measure true liquidity or order flow. It uses candle structure and relative-volume comparisons as interpretive tools, and the plotted levels do not represent signals or predictions. All analysis is user-interpreted, and past behaviour does not imply future behaviour.






















