Volume Stack US Top 40 [Pt]█ Overview
Volume Stack US Top 40 is a versatile TradingView indicator designed to give you an at-a-glance view of market sentiment and volume dynamics across the top 40 U.S. large-cap stocks. Inspired by the popular Saty Volume Stack, this enhanced version aggregates essential volume and price strength data from major tickers on both the NYSE and NASDAQ, and works seamlessly on all timeframes.
█ Key Features
Dynamic Buy / Sell Volume Stack: This indicator dynamically stacks the volume bars so that the side with higher volume appears on top. For example, green over red signals more buy-side volume, while red over green indicates greater sell-side volume.
Cross-Market Analysis: Easily toggle between NYSE and NASDAQ to analyze the most influential U.S. stocks. The indicator automatically loads the correct set of tickers based on your selection.
Flexible Coverage: Choose from Top 10, Top 20, Top 30, or Top 40 tickers to tailor the tool to your desired scope of analysis.
Dynamic Table Display: A neat on-chart table lists the selected ticker symbols along with visual cues that reflect each stock’s strength. You can even remove exchange prefixes for a cleaner look.
█ Inputs & Settings
Market Selector: Choose whether to view data from the NYSE or NASDAQ; the indicator automatically loads the corresponding list of top tickers.
Number of Tickers: Select from ‘Top 10’, ‘Top 20’, ‘Top 30’, or ‘Top 40’ stocks to define the breadth of your analysis.
Color Options: Customize the colors for bullish and bearish histogram bars to suit your personal style.
Table Preferences: Adjust the on-chart table’s display style (grid or one row), text size, and decide whether to show exchange information alongside ticker symbols.
█ Usage & Benefits
Volume Stack US Top 40 is ideal for traders and investors who need a clear yet powerful tool to gauge overall market strength. By combining volume and price action data across multiple major stocks, it helps you:
Quickly assess whether the market sentiment is bullish or bearish.
Confirm trends by comparing volume patterns against intraday price movements.
Enhance your trading decisions with a visual representation of market breadth and dynamic buy/sell volume stacking.
Its intuitive design means you spend less time adjusting complex settings and more time making confident, informed decisions.
X-volume
Ragi's 24h volumeThis script is a TradingView Pine Script indicator that displays the 24-hour trading volume for a given asset. It provides both the native volume of the asset and, if the asset is not already listed on Binance, also displays the 24-hour volume from Binance (if applicable). Here's a breakdown of the key components:
Volume Calculation:
It sums the volume data over different time frames: 1-minute, 5-minute (for daily charts), or 60-minute intervals.
The volume is calculated based on the asset's volume type (either "quote" volume or a calculated value of close * volume).
For crypto assets, if the volume data is unavailable, it raises an error.
Binance Volume:
If the asset is not from Binance, the script fetches 24-hour volume data from Binance for that symbol, ensuring it is using the correct currency rate.
Display:
The indicator displays a table with the 24-hour volume in the chosen position on the chart (top, middle, or bottom).
The table displays the current exchange's volume, and if applicable, the Binance volume.
The volume is color-coded based on predefined thresholds:
Attention: Displays a warning color for volumes exceeding the attention level.
Warning: Shows an alert color for volumes above the warning threshold.
Normal: Displays in standard color when the volume is lower than the warning level.
The text and background color are customizable, and users can adjust the text size and position of the table.
User Inputs:
The script allows customization of table text size, position, background color, and volume thresholds for attention and warning.
In summary, this indicator is designed to track and display 24-hour volume on a chart, with additional volume information from Binance if necessary, and provides visual cues based on volume levels to help traders quickly assess trading activity.
Stacked Bullish vs Bearish VolumeThis indicator visually represents buying (bullish) and selling (bearish) pressure within each candle by stacking both portions inside a single volume bar. Unlike traditional volume indicators that use only one color per bar, this script splits each volume bar into two segments:
Green portion (Bullish Volume) → Represents the buying pressure when the price moves up.
Red portion (Bearish Volume) → Represents the selling pressure when the price moves down.
By stacking buy and sell volume inside the same column, traders can easily assess the balance of buying vs selling activity within each trading session.
Stacking the Bars:
The bullish portion (green) is plotted first.
The bearish portion (red) is plotted slightly offset to create a stacked effect.
WAVES by WestmontWAVES by Westmont is a trading indicator that combines WaveTrend analysis with VWAP dynamics to provide traders with insights into market momentum , volatility , and trends . Users can rely on this tool to help identify market shifts , potential trend reversals , and momentum changes . The script integrates custom logic with standard public domain functions to enhance signal accuracy and market analysis.
WAVES builds on familiar tools, such as the Exponential Moving Average ( EMA ), Simple Moving Average ( SMA ), and basic fractal analysis , to create a comprehensive view of price behavior. Users can interpret this indicator to gain a clearer picture of market conditions, utilizing both WaveTrend’s trend-following signals and VWAP’s volume-weighted price reference.
How the Components Work Together:
Divergence Functions
WAVES uses the bottom_fractal and bot_fractal functions to detect local highs and lows, helping identify potential reversal points in the market. These functions work alongside the WaveTrend and VWAP analysis to confirm or challenge potential turning points.
WaveTrend Calculation
ESA (Exponential Smoothing Average): Provides a smoothed base for price direction.
DE (Deviation): Measures volatility, indicating how much price is fluctuating.
CI (Commodity Channel Index): Tracks cycles between price and the smoothed ESA, identifying potential price shifts.
These values are smoothed using EMA and SMA for greater stability. Users can rely on these smoothed signals to reduce noise and improve trend clarity.
VWAP Area Calculation
Users can observe the VWAP area , calculated from the difference between two WaveTrend lines ( wavetrend1 and wavetrend2 ), to understand market equilibrium in relation to volume-weighted price action. The VWAP area provides a clearer picture of price movement relative to market volume.
Signal Dots and Visualization
Bullish Signals: Users can look for blue dots when the VWAP area crosses upwards , indicating that price is above the VWAP and suggesting upward momentum .
Bearish Signals: Users can look for purple dots when the VWAP area crosses downwards , indicating that price is below the VWAP and suggesting downward momentum .
Smooth VWAP Gradient Fill
Users can visually track momentum using the smooth gradient fill between the VWAP plot and the center line . The fill color changes from blue ( positive momentum ) to purple ( negative momentum ), and turquoise ( neutral ), helping traders quickly assess market sentiment and trend strength.
How to Use WAVES by Westmont :
Bullish Momentum : Users can look for blue dots when the VWAP area crosses upward . This suggests the market is in an uptrend as price moves above the VWAP , potentially indicating upward price action .
Bearish Momentum : Users can look for purple dots when the VWAP area crosses downward . This suggests the market is in a downtrend as price moves below the VWAP , indicating potential for downward price action .
Neutral Market Conditions : Users can observe when the VWAP area remains near the center line ( turquoise ), indicating market consolidation or indecision .
Code Usage :
The indicator uses TradingView’s built-in functions (EMA, SMA, and fractals), which are well-optimized for standard technical analysis. These functions serve as a foundation for the indicator’s calculations. Users can trust that the public domain functions ensure efficient performance, while the added customizations enhance signal quality by integrating WaveTrend and VWAP dynamics.
ZenAlgo - DetectorThis script combines multiple volume data sources, calculates several forms of volume-based metrics, displays a table for Spot vs. Perpetual volumes, and visualizes several technical elements (such as cumulative delta, divergences, fractals, and specialized moving averages). The primary objective is to help analyze volume activity across different exchanges, compare Spot vs. Perpetual markets, and observe how shifting volumes may coincide with price action characteristics. This description aims to clarify each component, explain how the calculations are performed, and show you how to interpret the various chart markings.
Why Combine These Metrics in One Script?
Many publicly available volume-related tools focus only on a single exchange or a single type of volume (like spot or futures). This script merges multiple exchange sources for spot and perpetual data into a unified view. By doing so, users can detect discrepancies or confirm alignment between different markets without juggling multiple indicators. It also processes volume-derived signals (delta, divergences, fractals, etc.) in one place, sparing you from manually combining various standalone scripts. Through this integration, it becomes easier to observe how price and volume interact across different market segments.
Core Concept: Aggregated Volume
The script begins by collecting volumes from multiple exchanges in two categories:
Spot volumes – Typically aggregated under symbols ending with "USDT" or a user-selected currency, and
Perpetual volumes – From perpetual futures contracts (e.g., symbols ending in "USD.P" or "USDT.P").
All these exchange volumes are requested via the built-in request.security() function in a single line for each exchange. The user can enable or disable each exchange in the inputs. The script then calculates an "aggregated volume" for Spot, an aggregated volume for Perpetual, and an overall combined total.
This aggregated volume is used later to break down how much of each bar's volume can be considered "buy" or "sell" based on the bar's candle structure (body vs. wicks).
Volume-Based Calculations: Buy vs. Sell Volume and Delta
For each bar, the script estimates how much of the aggregated volume can be associated with a "buy side" and a "sell side."
Volume Buy is computed if the bar's close is above the open , giving more weight to the candle's body and allocating some portion of volume to the wicks as well.
Volume Sell is similarly computed if the bar's close is below the open .
This results in a Delta value: Delta = (Buy Volume) – (Sell Volume).
Additionally, the script accumulates these values over a user-defined "lookback length" to provide Cumulative Delta . This can help show longer-term directional volume bias.
Table: Spot vs. Perpetual Comparison
There is a toggle ("Show Spot vs Perpetual Table") that displays an on-chart table comparing volumes:
Buy Volume and Sell Volume for each aggregated category (Spot, Perp, and their sum).
Delta (the difference between Buy and Sell).
Percentage breakdowns of buy vs. sell portions.
This table only appears on the most recent bar and helps users quickly assess how Spot and Perpetual volumes compare, plus the overall total.
PVSRA Color Coding
A "PVSRA-style" color approach classifies each bar based on volume and candle range:
Climax Up (lime) or Climax Down (red) occurs if volume is extremely high relative to a simple moving average of volume and range.
Above-Average Up (blue) or Down (fuchsia) occurs if volume is moderately higher than average.
Otherwise, colors fall back to neutral up/down colors.
This allows you to spot potentially high-volume "climax" bars vs. bars with only moderate or typical volume levels.
Fractals and Divergences
The script detects certain fractal points on the aggregated volumes (sum of buy or sell volumes). It looks for a 5-bar pattern (with the current bar in the middle for top or bottom fractals).
When a fractal is confirmed on buy volume, the script checks if new higher price highs coincide with lower buy-volume peaks (or vice versa) to highlight regular or hidden divergences.
Similar logic is applied on the sell-volume side if new lower price lows occur alongside higher sell-volume troughs (or the opposite).
If enabled in the settings, lines and labels may appear on the chart to mark these divergence points.
"Delta Dot" Events
This script draws small circles above or below bars when the total delta changes magnitude relative to the previous bar by certain user-defined multipliers. It segregates "tiny," "small," "large," and "extra" expansions in bullish or bearish delta.
Bullish Dots : Appear above the bar when the new positive delta is multiple times bigger than the previous positive delta.
Bearish Dots : Appear below the bar in a similar fashion for negative delta.
These dots emphasize large or sudden shifts in buy/sell pressure from one bar to the next.
Delta MA and its Direction
A moving average is calculated on the total delta and optionally multiplied by a factor (in the code, by 4) to make it visually prominent. The user can pick from SMA, EMA, WMA, RMA, or HMA as the smoothing technique.
Delta MA Direction : The script compares the current delta MA to a short SMA of itself to define whether it is rising or falling.
A color is assigned—blue if rising, orange if falling, gray if they're roughly equal.
This helps quickly visualize longer-term momentum in the net delta metric.
Divergences on the Delta MA
After computing the "Delta MA" line, the script detects pivot highs or lows on that line. If the price makes a new high but the Delta MA pivot is lower (and vice versa), it draws lines and small labels indicating potential divergence.
Bearish Divergence : Price makes a higher high, while the Delta MA pivot forms a lower high.
Bullish Divergence : Price makes a lower low, while the Delta MA pivot forms a higher low.
RSI + MFI Computation
The script also calculates a simplified form of RSI+MFI by comparing (close – open) / (high – low) * a multiplier , then smoothing it with a simple average. This is purely for an optional observational measure to see if the price action is leaning bullish or bearish in terms of these combined indicators.
EMA Overlay and Diamond Shapes
There are two standard EMAs (13 and 21). The script checks whether price is above or below these EMAs, in addition to other conditions (like changes in delta, volume, or RSI+MFI direction) to draw diamond shapes at the top or bottom of the chart:
Green Diamonds near the bottom if the conditions line up to suggest that the environment is more favorable for bullish pressure.
Red Diamonds near the top if the environment suggests more bearish pressure.
These diamonds come in two sizes:
Normal – More pronounced, typically plotted if RSI+MFI result is above/below zero.
Small – Plotted if RSI+MFI is on the other side of that threshold.
An optional "Hardcore Mode" adds special tiny diamonds under specific delta color/condition mismatches.
How to Interpret the Chart Elements
Line Plots of Buy and Sell Volumes : A positive line for buy volume, a negative line for sell volume, and a zero-line for reference. This provides at-a-glance perspective on how buy or sell volumes add up per bar.
Histogram "Total Delta" : A color-coded bar that quickly shows whether overall buy vs. sell volume is dominant. The color is governed by the PVSRA logic (e.g., potential climax or above-average conditions).
Volume Table (when enabled): Summarizes volumes in numeric and percentage form for Spot, Perp, and total categories on the last bar.
Delta Dots : Small circles highlighting abrupt changes in delta magnitude. Larger multiples indicate bigger jumps compared to the previous bar.
Fractals & Divergence Lines : Connect pivot points in buy/sell volume or in the Delta MA line with price highs/lows to indicate potential divergences.
Delta MA Plot : Smooth curve (scaled up x4) to reflect longer-term accumulation or distribution in the delta. Colored by whether the MA is above or below a short average of itself.
Diamonds : Appear when certain volume, price, RSI+MFI, and delta conditions converge. Green diamonds near the bottom typically coincide with bullish conditions, red diamonds near the top with bearish conditions.
Practical Usage Notes
Use the Spot vs. Perp breakdown to see if these two market segments differ significantly in their contributions to total volume. This can be informative when a certain type of market (futures vs. spot) might be "driving" price action.
The PVSRA color scheme highlights "climax" or "above-average" volume bars, which can sometimes appear around major reversals or breakouts.
Observing divergences in aggregated buy/sell volume (or in the Delta MA line) can provide additional context on whether certain price moves are backed by strong volume involvement.
The script's fractal divergences rely on short pivot detection. Signals will appear only after enough bars have passed for confirmation, so these are effectively "after-the-fact" notations to illustrate possible volume/price divergences.
The diamonds do not necessarily instruct any buy/sell action; rather, they mark conditions where multiple volume and momentum criteria line up in one direction.
Important Considerations
This script displays aggregated volumes from potentially multiple exchanges. Each exchange or pair might have different time zones, liquidity, or data availability, which can occasionally result in incomplete or zero values.
All references to "buy" or "sell" volume are approximate breakdowns based on candle structure. They are not absolute measures of real-time order flow.
Divergences and fractal points are provided strictly for analytical insight. They can repaint or shift if the fractal conditions were not fully confirmed in real time.
The color-coded lines, histograms, diamonds, and tables are strictly to guide analysis of volume fluctuations and do not claim to predict future price performance.
If you enable "Hardcore Mode," you will see additional diamond markers. This mode is mainly intended as an extra highlight of certain "contradictory" delta conditions.
Summary
The "ZenAlgo - Detector" script brings together a variety of volume-based analyses:
Aggregated volumes from multiple exchanges
A breakdown into Spot vs. Perpetual activity
Delta calculations, fractal divergences, and a specialized Delta Moving Average
Color-coded bars reflecting possible PVSRA concepts
A table to highlight numeric differences and percentages
Additional overlays (e.g., diamonds, RSI+MFI synergy, etc.)
In contrast to many free, single-exchange indicators, this script centralizes multiple exchange volumes in one place, making it easier to observe and compare volume flows across different market types (spot vs. perpetual). Users no longer need to rely on scattered tools or separate overlays to check volume divergences, fractals, or specialized MA calculations—everything is unified here. By carefully monitoring the table, Delta histogram, color-coded bars, divergence lines, and diamond markers, traders can more comprehensively evaluate how volume and price interact. Each plot is designed to showcase different aspects of volume flow—such as whether spot or derivatives markets dominate, if volume is skewed toward buying or selling, and if there are divergences between volume momentum and price movement.
All computations are displayed to help you carry out a more informed market analysis. It is strongly advised to combine these observations with other risk management or analytical methods, rather than relying on any single indicator alone.
Multi-Timeframe VWAP Master ProThe Multi-Timeframe VWAP Suite is a comprehensive and highly customizable indicator designed for traders who rely on Volume-Weighted Average Price (VWAP) across multiple timeframes and periods. This tool provides a complete suite of VWAP calculations, including daily, weekly, monthly, quarterly, yearly, and custom VWAPs, allowing traders to analyze price action and volume trends with precision. Whether you're a day trader, swing trader, or long-term investor, this indicator offers unparalleled flexibility and depth for your trading strategy.
Multi-Timeframe VWAPs:
Daily, Weekly, Monthly, Quarterly, and Yearly VWAPs: Track VWAP across various timeframes to identify key support and resistance levels.
Customizable Timeframes: Use the SMA timeframe input to adjust the period for moving averages and other calculations.
Previous Period VWAPs:
Previous Daily, Weekly, Monthly, and Quarterly VWAPs: Analyze historical VWAP levels to understand past price behavior and identify potential reversal zones.
Previous Year Quarterly VWAPs: Compare current price action to VWAP levels from specific quarters of the previous year.
Custom VWAPs:
Custom Start Date and Timeframe: Define your own VWAP periods by specifying a start date and timeframe, allowing for tailored analysis.
Dynamic Custom VWAP Calculation: Automatically calculates VWAP based on your custom inputs, ensuring flexibility for unique trading strategies.
Seasonal and Yearly VWAPs:
April, July, and October VWAPs: Analyze seasonal trends by tracking VWAP levels for specific months.
Yearly VWAP: Get a broader perspective on long-term price trends with the yearly VWAP.
SMA Integration:
SMA Overlay: Combine VWAP analysis with a Simple Moving Average (SMA) for additional confirmation of trends and reversals.
Customizable SMA Length and Timeframe: Adjust the SMA settings to match your trading style and preferences.
User-Friendly Customization:
Toggle Visibility and Labels: Easily enable or disable the display of specific VWAPs and their labels to keep your chart clean and focused.
Color Customization: Each VWAP line and label is color-coded for easy identification and can be customized to suit your preferences.
Dynamic Labeling:
Automatic Labels: Labels are dynamically placed on the last bar, providing clear and concise information about each VWAP level.
Customizable Label Text: Labels include detailed information, such as the timeframe or custom period, for quick reference.
Flexible Timeframe Detection:
Automatic Timeframe Detection: The indicator automatically detects new days, weeks, months, and quarters, ensuring accurate VWAP calculations.
Support for Intraday and Higher Timeframes: Works seamlessly on all chart timeframes, from 1-minute to monthly charts.
Previous Year Quarterly VWAPs:
Q1, Q2, Q3, Q4 VWAPs: Compare current price action to VWAP levels from specific quarters of the previous year.
User-Selectable Year: Choose the year for which you want to calculate previous quarterly VWAPs.
Persistent Monthly VWAPs:
Option to Persist Monthly VWAPs Year-Round: Keep monthly VWAP levels visible even after the month ends for ongoing analysis.
Comprehensive Analysis: Combines multiple VWAP timeframes and periods into a single tool, eliminating the need for multiple indicators.
Customizable and Flexible: Tailor the indicator to your specific trading strategy with customizable timeframes, periods, and settings.
Enhanced Decision-Making: Gain deeper insights into price action and volume trends across different timeframes, helping you make more informed trading decisions.
Clean and Organized Charts: Toggle visibility and labels to keep your chart clutter-free while still accessing all the information you need.
Ideal For:
Day Traders: Use daily and intraday VWAPs to identify intraday support and resistance levels.
Swing Traders: Analyze weekly and monthly VWAPs to spot medium-term trends and reversals.
Long-Term Investors: Leverage quarterly and yearly VWAPs to understand long-term price behavior and key levels.
Seasonal Traders: Track April, July, and October VWAPs to capitalize on seasonal trends.
The Multi-Timeframe VWAP Suite is a powerful and versatile tool for traders of all styles and timeframes. With its comprehensive suite of VWAP calculations, customizable settings, and user-friendly design, it provides everything you need to analyze price action and volume trends with precision and confidence. Whether you're looking to fine-tune your intraday strategy or gain a broader perspective on long-term trends, this indicator has you covered.
(Optimized) Volume Based Colored Bars Volume Based Colored Bars (VCB)
This indicator analyzes the relationship between price action and volume to provide visual cues for traders. It colors the price bars based on whether the bar's volume is high, medium, or low relative to the moving average of volume. Additionally, it distinguishes between bullish (price closed higher than it opened) and bearish (price closed lower than it opened) bars, offering a quick and intuitive way to assess market sentiment and activity.
Key Features:
Volume Classification:
High Volume: Volume is greater than 1.5 times the moving average.
Medium Volume: Volume is between 0.5 and 1.5 times the moving average.
Low Volume: Volume is less than 0.5 times the moving average.
Price Action Analysis:
Bullish Bars: Bars where the closing price is higher than the opening price.
Bearish Bars: Bars where the closing price is lower than the opening price.
Bar Colors:
Bearish High Volume: Dark red.
Bearish Medium Volume: Red.
Bearish Low Volume: Orange.
Bullish High Volume: Dark green.
Bullish Medium Volume: Lime green.
Bullish Low Volume: Aquamarine.
This indicator helps traders quickly identify when price movements are supported by significant volume, offering potential insights into market strength or weakness. Ideal for both novice and experienced traders looking for an edge in their analysis.
Orderblocks | iSolani
Revealing Institutional Footprints: The iSolani Volume-Powered Order Block System
Where Smart Money Leaves Its Mark – Automated Zone Detection for Discretionary Traders
Core Methodology
Pressure-Weighted Volume Analysis
Calculates directional commitment using candle position:
Buying Pressure = Total Volume × (Closing Price – Low) / (High – Low)
Selling Pressure = Total Volume × (High – Closing Price) / (High – Low)
Normalizes values against 31-period EMAs to filter retail noise
Adaptive Block Triggering
Identifies significant zones when:
Absolute Buy/Sell Difference > 4× SMA of Historical Differences (default)
Price closes bullishly (green block) or bearishly (red block)
Self-Maintaining Visualization
Blocks auto-extend rightward until price breaches critical level
Invalidated zones removed in real-time via array management
Technical Innovation
Dynamic Threshold Adjustment
Multiplier parameter (default 4) automatically scales with market volatility
Institutional-Grade Metrics
Blocks display:
Volume disparity in absolute terms
Percentage deviation from 33-period average
Directional bias through color-coding
Efficient Memory Handling
O(n) complexity cleanup routine prevents chart lag
System Workflow
Calculates real-time buy/sell pressure ratios
Compares to historical average (31-period default)
Generates semi-transparent zones (85% opacity) at spike locations
Monitors price interaction with block boundaries
Automatically retracts invalid zones
Standard Configuration
Sensitivity : 4× multiplier (ideal for 15m-4h charts)
Visuals : Red/green blocks with white text labels
Duration : 50-bar default extension
Volume Baseline : 33-period EMA filter
Boundary Check : Close beyond block high/low triggers deletion
This system transforms raw market data into a institutional roadmap – not by predicting turns, but by revealing where concentrated volume makes turns statistically probable. The color-coded blocks serve as persistent yet adaptive markers of where professional liquidity resides.
RG - Volume Spike DetectorRG - Volume Spike Detector is a comprehensive volume analysis tool designed to help traders identify significant volume activity across different tickers on TradingView. This indicator not only detects overall volume spikes and percentage changes but also approximates and analyzes buying and selling volume separately, providing valuable insights into market dynamics. With customizable parameters, visual cues, and built-in alerts, it's suitable for traders of all levels looking to monitor volume-based market movements.
Features
Volume Spike Detection:
Identifies when total volume exceeds a user-defined multiple of its moving average (default: 2x).
Separate detection for buying and selling volume spikes based on their respective moving averages.
Volume Change Analysis:
Calculates and displays the percentage change in total volume from the previous bar.
Highlights significant increases (>50%) or decreases (<-50%) with alert options.
Buy/Sell Volume Approximation:
Estimates buying and selling volume using price movement and range:
Up bars: Buying volume ≈ volume * (close - low)/(high - low)
Down bars: Selling volume ≈ volume * (close - low)/(high - low)
Handles edge cases (e.g., high = low) to ensure accurate calculations.
Ideal For
Day traders monitoring sudden volume surges
Swing traders analyzing volume trends
Market analysts studying buying vs. selling pressure
This indicator empowers traders with a robust tool to track volume dynamics, offering both visual clarity and actionable alerts for informed decision-making.
Volume Delta Imbalance Index [PhenLabs]📊 Volume Delta Imbalance Index (VDII)
Version: PineScript™ v6
Description
The Volume Delta Imbalance Index is an advanced technical analysis tool that combines volume profile analysis with price movement dynamics to identify significant market imbalances. It features a sophisticated analysis system that weighs recent versus historical volume delta imbalance patterns, providing traders with insights into potential market reversals and trend continuation scenarios.
Points of Innovation:
Custom volume delta calculation incorporating price and volume relationships
Adaptive smoothing system based on market volatility
Multi-component analysis combining flow, acceleration, and strength metrics
Real-time volume profile integration with historical context
🔧 Core Components
Volume Profile Analysis: Dynamic volume delta imbalance distribution assessment
Flow Imbalance Detection: Buy/sell pressure evaluation
Strength Analysis: Composite market strength measurement
Acceleration Framework: Volume movement dynamics
Statistical Bands: Adaptive threshold system
🚨 Key Features 🚨
The indicator provides comprehensive analysis through:
Volume Delta: Up to date volume imbalance measurement
Market Structure: Support/resistance level identification
Flow Analysis: Buy/sell pressure visualization
Acceleration Signals: Movement momentum detection
Adaptive Bands: Dynamic overbought/oversold levels
📈 Visualization
Color-coded Columns: Shows direction and strength of imbalance
Signal Lines: Strong buy/sell level indicators
Statistical Bands: Shows normal trading ranges
Gradient Fills: Indicates extreme market conditions
Dynamic Opacity: Reflects trend strength
📌 Usage Guidelines
The indicator offers several customization options:
Basic Settings:
Lookback Period: Analysis timeframe adjustment
Sensitivity Level: Signal response calibration
History Depth: Historical context range
Memory Setting: Recent vs. historical data weight
Visual Settings:
Color Scheme: Bullish/bearish signal colors
Signal Levels: Strong buy/sell thresholds
Band Display: Statistical range visualization
✅ Best Use Cases / Things To Look For:
Wait for establishment in the initial trend when the VDII comes back towards zero and the color of the volume becomes more faint
Once this is established and the VDII pushes through to the other side look for small retracements above the zero line on the VDII leading you to believe it is a likely area for price to retrace and continue in its prior direction
Make sure you see the volume bars become more faint in color to give yo further confluence price will continue in its priorly established direction
⚠️ Limitations
Requires sufficient volume data
Most effective in liquid markets
Historical depth affects calculation speed
Possible lag in highly volatile conditions
What Makes This Unique
Composite Volume Analysis: Combines multiple volume metrics
Adaptive Calculation: Adjusts to market volatility
Profile Integration: Incorporates volume profile analysis
Multi-component Scoring: Weighted analysis system
Memory-efficient Design: Optimized for real-time analysis
🔧 How It Works
The indicator processes market data through four main components:
1. Volume Profile Analysis:
Creates dynamic volume delta distribution profiles
Weights recent versus historical data
Identifies significant price levels
2. Flow Imbalance Detection:
Analyzes buying versus selling pressure
Calculates normalized flow ratios
Determines market bias
3. Strength Analysis:
Measures composite market strength
Incorporates volume-weighted movements
Provides trend strength indication
4. Final Score Calculation:
Combines all components with weighted importance
Applies volatility-based smoothing
Generates final signal output
5. VDII Potential Reversal Confluences
Bars between signal confluence is default set to 10 but you can change it to whatever you’d prefer
Signals are a compiled look at the indicator as a whole determining where it think reversals or retracements are likely
💡 Note:
The indicator performs best in markets with consistent volume and clear trending or ranging conditions. Its sophisticated volume analysis provides valuable insights into market dynamics beyond traditional price-based indicators.
Volatility-Volume Index (VVI)Volatility-Volume Index (VVI) – Indicator Description
The Volatility-Volume Index (VVI) is a custom trading indicator designed to identify market consolidation and anticipate breakouts by combining volatility (ATR) and trading volume into a single metric.
How It Works
Measures Volatility : Uses a 14-period Average True Range (ATR) to gauge price movement intensity.
Tracks Volume : Monitors trading activity to identify accumulation or distribution phases.
Normalization : ATR and volume are normalized using their respective 20-period Simple Moving Averages (SMA) for a balanced comparison.
Interpretation
VVI < 1: Low volatility and volume → Consolidation phase (range-bound market).
VVI > 1: Increased volatility and/or volume → Potential breakout or trend continuation.
How to Use VVI
Detect Consolidation:
Look for extended periods where VVI remains below 1.
Confirm with sideways price movement in a narrow range.
Anticipate Breakouts:
A spike above 1 signals a possible trend shift or breakout.
Why Use VVI?
Unlike traditional volatility indicators (ATR, Bollinger Bands) or volume-based tools (VWAP), VVI combines both elements to provide a clearer picture of consolidation zones and breakout potential.
SIOVERSE EMA 15 with Buy/Sell Signals, Support & ResistanceThis Pine Script indicator is designed for TradingView and combines Exponential Moving Averages (EMAs), support and resistance levels, buy/sell signals, and volume percentage labels filtered by buy/sell conditions. It is a comprehensive tool for traders who want to analyze price trends, identify key levels, and make informed decisions based on volume and EMA crossovers.
Key Features of the Indicator
EMA 15 (Purple Dashed Line):
A 15-period Exponential Moving Average (EMA) is plotted on the chart as a dashed purple line.
This EMA helps traders identify short-term trends and potential entry/exit points.
Hidden EMA 21 and EMA 34:
The 21-period and 34-period EMAs are calculated but not displayed on the chart.
These EMAs are used to generate buy and sell signals based on crossovers.
Buy/Sell Signals:
Buy Signal: Occurs when the EMA 21 crosses above the EMA 34. A green "BUY" label is displayed below the candle.
Sell Signal: Occurs when the EMA 21 crosses below the EMA 34. A red "SELL" label is displayed above the candle.
These signals help traders identify potential trend reversals or continuations.
Support and Resistance Levels:
Support: The lowest price level over the last lookback_period candles, plotted as a green dashed horizontal line.
Resistance: The highest price level over the last lookback_period candles, plotted as a red dashed horizontal line.
These levels help traders identify key price zones for potential breakouts or reversals.
Volume Percentage Labels (Filtered by Buy/Sell Signals):
The volume percentage is calculated relative to the average volume over the last volume_lookback candles.
Buy Volume Label: When a buy signal occurs, a green label is displayed above the candle with the text "Buy Vol: X.XX%", where X.XX is the volume percentage.
Sell Volume Label: When a sell signal occurs, a red label is displayed below the candle with the text "Sell Vol: X.XX%", where X.XX is the volume percentage.
These labels help traders assess the strength of the buy/sell signals based on volume.
Alerts:
Alerts are triggered when buy or sell signals occur, notifying traders of potential trading opportunities.
RELATIVE VOLThis script, titled "Relative Vol," is designed to visualize and analyze volume data on TradingView. It calculates and displays the relative volume based on the average volume over a set lookback period, with volume expressed as a percentage of the average. Key features include:
Volume Percentage Calculation: The script calculates the volume percentage relative to the average volume over a specified lookback period (default of 20). It compares the current volume to the historical average and plots it as a percentage on the chart.
Volume Color Coding: The bars are color-coded based on the relationship between price action and volume:
Bullish volume above average: Green
Bearish volume above average: Red
Bullish volume below average: Light gray
Bearish volume below average: Dark gray
Daily Data Integration: It pulls in daily average volume and daily Average True Range (ATR) data:
Displays the daily average volume and ATR values in a table on the top-right of the chart.
Colors in the table reflect whether the daily average volume is high (greater than 1,000,000) and if the daily ATR is above 2.
Custom Timeframe Calculation: The script adjusts the lookback period and volume calculation based on the timeframe of the chart (1-minute, 5-minute, 15-minute, 30-minute, 60-minute, or daily).
This script provides traders with a visual representation of relative volume, helping them identify whether current trading activity is above or below average and how it correlates with price movement. Additionally, the integration of daily volume and ATR data helps assess overall market volatility and liquidity trends.
Valorous VolumesIndicator to mark the significant Volumes:
HVE: Checks if the current volume sets a new overall record.
HVY: Checks if the current volume equals the highest volume over the past one year.
HVQ: Checks if the current volume equals the highest volume over the past three months.
Zanger Volume Ratio (ZVR)Zanger Volume Ratio (ZVR)
Credits:
Most of the underlying code and logic in this script have been adapted from the work originally published by The_Peaceful_Lizard
Overview
The Zanger Volume Ratio (ZVR) is a powerful indicator designed to reveal market dynamics by comparing current cumulative volume to an average determined over a historical look-back period. It uses the concept of relative volume to not only highlight unusual volume spikes, but also uses color to illustrate how today's trading compares to typical levels. This unique method of volume analysis was popularized by Dan Zanger - a trader known for turning $10,775 into $18,000,000 in less than two years - by identifying key shifts in market interest and volume behavior.
Key Features
Volume Pacing Analysis:
The script calculates a volume delta by comparing the cumulative volume at any given moment to an average derived over a user-defined lookback period (Default 20-day). The resulting percentage difference offers a clear visualization and insight into unusual volume activity.
Dynamic Visual Representation:
Choose between either “Columns” or “Area” plot styles to display the percent difference. Additionally, you have the option to switch between a standard plot or a background color display, with customizable transparency, ensuring the indicator fits seamlessly with your chart’s aesthetics.
Dashboard Integration:
A simple dashboard table is displayed on the chart, showcasing the current ZVR value in real-time. With user-configurable position, text size, alignment, and color options, this feature ensures that the key metric is always visible and easy to interpret.
Why Use the Zanger Volume Ratio?
The ZVR is more than just a volume indicator. It acts as a window into market sentiment by highlighting days when trading interest intensifies. Many traders believe that an unusually high volume ratio may confirm trend strength or signal a reversal, making the indicator a valuable tool when used in conjunction with other technical analysis methods.
Whether you’re monitoring stocks, commodities, or forex markets, the Zanger Volume Ratio offers an accessible yet sophisticated method to decode volume dynamics. Its practical design and real-time visual feedback provide traders of all experience levels with critical data to spot high-potential setups.
Chart Description
First Pane: normal Volume Indicator on the foreground, ZVR as Background colors
Second Pane: ZVR Indicator with Column Style (default)
First panel: normal volume indicator in foreground, ZVR as background colors
Second panel: ZVR indicator with column style (default)
Note: This indicator is intended for use on intraday charts only!
Liquidity ZonesLiquidity Zones Indicator
The Liquidity Zones indicator is a custom Pine Script™ tool designed to identify significant price levels where high trading volume has occurred. These zones often act as support or resistance levels, providing valuable insights for traders.
Key Features:
Window Size: The number of bars to consider for calculating the moving averages and identifying peaks.
Tolerance: The allowable percentage difference to consider peaks as unique.
Number of Peaks: The maximum number of significant peaks to identify.
Minimum Volume: The minimum volume threshold relative to the average volume to consider a peak.
Minimum Range: The minimum price range to consider a peak.
How It Works:
Input Parameters: The user can customize the window size, tolerance, number of peaks, minimum volume, and minimum range.
Moving Averages: The script calculates the simple moving average (SMA) of the volume and closing prices over the specified window.
Peak Identification:
For each bar, the script identifies the bar with the highest volume within the window.
It checks if the volume exceeds the minimum volume threshold.
It determines the peak price based on whether the bar closed higher or lower than it opened.
It ensures the price range of the bar exceeds the minimum range.
It checks if the peak is above the SMA of the closing prices.
It verifies the peak is unique within the specified tolerance.
Plotting Peaks: The identified peaks are plotted on the chart with lines and labels, color-coded based on whether the bar closed higher (green) or lower (red).
This indicator helps traders visualize key liquidity zones, aiding in making informed trading decisions.
Volume Zones Internal Visualizer [LuxAlgo]The Volume Zones Internal Visualizer is an alternate candle type intended to reveal lower timeframe volume activity while on a higher timeframe chart.
It displays the candle's range, the highest and lowest zones of accumulated volume throughout the candle, and the Lower Timeframe (LTF) candle close, which contained the most volume in the session (Candle Session).
🔶 USAGE
The indicator is intended to be used as its own independent candle type. It is not a replacement for traditional candlesticks; however, it is recommended that you hide the chart's display when using this indicator. Another option is to display this indicator in an additional pane alongside the normal chart, as displayed above.
The display consists of candle ranges represented by outlined boxes, within the ranges you will notice a transparent-colored zone, a solid-colored zone, and a line.
Each of these displays different points of volume-related information from an analysis of LTF data.
In addition to this analysis, the indicator also locates the LTF candle with the highest volume, and displays its close represented by the line. This line is considered as the "Peak Activity Level" (PAL), since throughout the (HTF) candle session, this candle's close is the outcome of the most volume transacted at the time.
We are further tracking these PALs by continuing to extend them into the future, looking towards them for potential further interaction. Once a PAL is crossed, we are removing it from display as it has been mitigated.
🔶 DETAILS
The indicator aggregates the volume data from each LTF candle and creates a volume profile from it; the number of rows in the profile is determined by the "Row Size" setting.
With this profile, it locates and displays the highest (solid area) and lowest (transparent area) volume zones from the profile created.
🔶 SETTINGS
Row Size: Sets the number of rows used for the calculation of the volume profile based on LTF data.
Intrabar Timeframe: Sets the Lower Timeframe to use for calculations.
Show Last Unmitigated PALs: Choose how many Unmitigated PALs to extend.
Style: Toggle on and off features, as well as adjust colors for each.
Modified Volume IndicatorThis indicator colors volume bars based on price and range conditions for a given period:
Green Bars:
The close is at least 70% of the way up the daily range (from the low).
The close is also 1% or more above the low.
Red Bars:
The close is at least 70% of the way down the daily range (from the high).
The close is also 1% or more below the high.
Gray Bars:
Volume bars that don’t meet the above conditions are neutral.
Purpose
Green Bars highlight strong upward closes.
Red Bars indicate weak downward closes.
Gray Bars show neutral or inconclusive price movement.
This indicator helps traders identify momentum shifts and trend strength in real-time.
Advanced Order Blocks with VolumeAdvanced Order Blocks with Volume Indicator
This professional-grade indicator combines order block detection with sophisticated volume analysis to identify high-probability trading opportunities. It automatically detects and displays bullish and bearish order blocks formed during consolidation periods, enhanced by three distinct volume calculation methods (Simple, Relative, and Weighted).
Key Features:
- Smart consolidation detection with customizable thresholds
- Volume-filtered order blocks to avoid false signals
- Automatic order block mitigation tracking
- Clear visual presentation with volume metrics
- Flexible customization options for colors and parameters
Settings:
Core Parameters:
- Consolidation Threshold %: Sets the maximum price range (0.1-1.0%) for detecting consolidation zones
- Lookback Period: Number of bars (2-10) to analyze for consolidation patterns
Volume Analysis:
- Volume Calculation Method: Choose between Simple (basic average), Relative (compared to average), or Weighted (prioritized recent volume)
- Volume Lookback Period: Historical bars (5-100) used for volume analysis
- Volume Threshold Multiplier: Minimum volume requirement (1.0-5.0x) for valid order blocks
Visual Settings:
- Bullish/Bearish OB Color: Background colors for order blocks
- Bullish/Bearish OB Text Color: Colors for volume information display
Perfect for traders focusing on institutional price levels and volume-based trading strategies. The indicator helps identify potential reversal zones with strong institutional interest, validated by significant volume conditions.
Open/Close VolumeOpen/Close Volume Indicator
The Open/Close Volume Indicator provides a breakdown of trading volume based on Open Interest (OI) changes. It helps identify whether the trading volume is driven by opening new positions (Open Volume) or closing existing positions (Close Volume).
Key Features:
Visual Breakdown of Volume:
Green bars represent Open Volume (new positions being added).
Red bars represent Close Volume (existing positions being closed).
Dynamic Open Interest Data:
Tracks changes in Open Interest to calculate the distribution of Open and Close Volumes.
Adapts automatically to the current chart's symbol or a custom user-specified symbol.
Error Handling:
Displays an alert when Open Interest data is unavailable for the selected symbol.
Zero-Line Reference:
Includes a gray dotted line at 0 for easy reference between Open and Close Volumes.
Use Case:
This indicator is ideal for futures traders who want to analyze market sentiment and understand whether market activity is being driven by the initiation of new trades or the closing of existing ones.
How It Works:
Open Interest Change:
Positive OI change → Open Volume .
Negative OI change → Close Volume .
No OI change → All trading volume is considered Close Volume.
Data Representation:
Open Volume is plotted above the zero line (positive values).
Close Volume is plotted below the zero line (negative values).
Whale Activity Impact OscillatorThe "Whale Activity Impact Oscillator" is a Pine Script v6 component designed to identify abnormal price movements caused by potential whale activity in the crypto market.
Here's how it works:
Inputs: The script allows users to configure the volume spike multiplier, price spike multiplier, lookback period, minimum volume threshold, and thresholds for strong buy and sell signals.
Data Calculations: It calculates the average volume and average percentage price change over the specified lookback period.
Whale Detection Logic: The script detects a volume spike if the current volume exceeds the average volume by the specified multiplier. It detects a price spike if the percentage price change exceeds the average by the specified multiplier.
Signals: A buy signal is generated when both a volume spike and a price increase are detected. A sell signal is generated when both a volume spike and a price decrease are detected.
Output: The oscillator is displayed as a histogram below the price chart. Green bars indicate buy signals, red bars indicate sell signals, and gray bars indicate normal activity. The height of the bars is proportional to the magnitude of the price change.
Alerts: The script includes alerts for whale buying and selling detected signals.
Edge Cases: The script avoids false signals in low-liquidity environments by setting a minimum volume threshold and filtering out signals during low market activity.
This component can be added to a TradingView chart to help traders identify potential whale activity and make informed trading decisions.
TVMC - Composite Indicator with Technical RatingsDescription:
The TVMC (Trend, Volume, Momentum, Composite) indicator is a powerful multi-component tool designed to provide traders with a comprehensive understanding of market conditions. By combining four essential technical analysis components—trend, momentum, volume, and volatility—this indicator offers clear and actionable insights to assist in decision-making.
Key Features:
1. Trend Component (TC):
* Based on MACD (Moving Average Convergence Divergence), this component analyzes the relationship between two exponential moving averages (fast and slow) to determine the prevailing market trend.
* The MACD signal is normalized to a range of -1 to +1 for consistency and clarity.
2. Momentum Component (MC):
* Utilizes RSI (Relative Strength Index) to measure the strength and speed of price movements.
* This component highlights overbought or oversold conditions, which may indicate potential market reversals.
3. Volume Confirmation (VC):
* Compares the current trading volume to its moving average over a specified period.
* High volume relative to the average confirms the validity of the current trend.
4. Volatility Filter (VF):
* Uses ATR (Average True Range) to gauge market volatility.
* Adjusts and smooths signals to reduce noise during periods of high volatility.
5. Technical Ratings Integration:
* Incorporates TradingView’s Technical Ratings, allowing users to validate signals using moving averages, oscillators, or a combination of both.
* Users can choose their preferred source of ratings for enhanced signal confirmation.
How It Works:
The TVMC indicator combines the weighted contributions of the Trend, Momentum, and Volume components, further refined by the Volatility Filter. Each component plays a specific role:
* Trend: Identifies whether the market is bullish, bearish, or neutral.
* Momentum: Highlights the strength of price action.
* Volume: Confirms whether the current price action is supported by sufficient trading activity.
* Volatility: Filters out excessive noise in volatile market conditions, providing a smoother and more reliable output.
Visualization:
1. Bullish Signals:
* The indicator line turns green and remains above the zero line, indicating upward momentum.
2. Bearish Signals:
* The indicator line turns red and falls below the zero line, signaling downward momentum.
3. Neutral Signals:
* The line is orange and stays near zero, indicating a lack of strong trend or momentum.
4. Zones:
* Horizontal lines at +30 and -30 mark strong bullish and bearish zones, respectively.
* A zero line is included for clear separation between bullish and bearish signals.
Recommended Usage:
* Best Timeframes: The indicator is optimized for higher timeframes such as 4-hour (H4) and daily (D1) charts.
* Trading Style: Suitable for swing and positional trading.
* Customization: The indicator allows users to adjust all major parameters (e.g., MACD, RSI, volume, and ATR settings) to fit their trading preferences.
Customization Options:
* Adjustable weights for Trend, Momentum, and Volume components.
* Fully configurable settings for MACD, RSI, Volume SMA, and ATR periods.
* Timeframe selection for multi-timeframe analysis.
Important Notes:
1. Originality: The TVMC indicator combines multiple analysis methods into a unique framework. It does not replicate or minimally modify existing indicators.
2. Transparency: The description is detailed enough for users to understand the methodology without requiring access to the code.
3. Clarity: The indicator is explained in a way that is accessible even to users unfamiliar with complex technical analysis tools.
Compliance with TradingView Rules:
* The indicator is written in Pine Script version 5, adhering to TradingView’s language standards.
* The description is written in English to ensure accessibility to the global community, with a clear explanation of all components and functionality.
* No promotional content, links, or unrelated references are included.
* The chart accompanying the indicator is clean and demonstrates its intended use clearly, with no additional indicators unless explicitly explained.
Enhanced Cumulative Volume Delta + MAThe Enhanced Cumulative Volume Delta (CVD) indicator is designed to help traders analyze the cumulative buying and selling pressure in the market by examining the delta between the up and down volume. By tracking this metric, traders can gain insights into the strength of a trend and potential reversals. This indicator uses advanced volume analysis combined with customizable moving averages to provide a more detailed view of market dynamics.
How to Use This Indicator:
Volume Delta Visualization:
The indicator plots the cumulative volume delta (CVD) using color-coded candles, where teal represents positive delta (buying pressure) and soft red represents negative delta (selling pressure).
Moving Averages:
Use the moving averages to smooth the CVD data and identify long-term trends. You can choose between SMA and EMA for each of the three available moving averages. The first and third moving averages are typically used for short-term and long-term trend analysis, respectively, while the second moving average can serve as a medium-term filter.
Arrow Markers:
The indicator will display arrows (green triangle up for crossing above, red triangle down for crossing below) when the CVD volume crosses the 3rd moving average. You can control the visibility of these arrows through the input parameters.
Volume Data:
The indicator provides error handling in case no volume data is available for the selected symbol, ensuring that you're not misled by incomplete data.
Practical Applications:
Trend Confirmation: Use the CVD and moving averages to confirm the overall trend direction and strength. Positive delta and a rising CVD can confirm an uptrend, while negative delta and a falling CVD indicate a downtrend.
Volume Breakouts: The arrows marking when the CVD crosses the 3rd moving average can help you spot potential volume breakouts or reversals, making them useful for entry or exit signals.
Volume Divergence: Pay attention to divergences between price and CVD, as these can often signal potential trend reversals or weakening momentum.