Volume %Historical volume by percentage to help determine where the volume strength
is at with a 3 tiers equating to 10% Blue 50% Green 90% Blue and a yellow median average. If there are any problems or ideas please notify me!
X-volume
Volume Breakout Detector (Daily Optimized)Description
Volume Breakout Detector (Daily Optimized) calculates a dynamic resistance level and compares the current volume against a moving average that can be adjusted by the user. The indicator also supports multi-timeframe confirmation by using a primary daily timeframe along with an optional secondary weekly timeframe to increase the reliability of breakout signals. Visual elements like breakout shapes, background highlights near resistance, and a customizable volume histogram help traders quickly assess market conditions.
Appropriation
This script is released under the Mozilla Public License 2.0. When sharing, modifying, or redistributing the code, you must keep the MPL license header and any required notices in your version. It is important to give proper credit to the original author, Crypto_Moses, and to note any modifications you make. All changes or derivative works must comply with the terms of the MPL to ensure the same freedoms are preserved.
Set
I've made this indicator to work with my other published indicators for a full view of technical tools. This one here with volume breaks, and with many user settings the user can adjust as they like, I continue to provide a nice suite of options for analysis. Enjoy!
Volume v2 by Koenigsegg📌 Custom Volume Indicator (Separate Panel with original Alerts & Built-in Sounds)
🔹 Overview
The Custom Volume Indicator is designed for traders who prefer to view volume in a dedicated sub-window below the price chart, similar to RSI or MACD. Unlike TradingView’s built-in volume indicator, which overlays directly on the main chart, this version provides a cleaner layout by displaying volume in a separate panel.
🔹 Why Use This Indicator?
While TradingView provides a default volume indicator, this version is built for traders who prefer a separate volume panel for improved clarity and focus. Key differences:
✅ Dedicated Lower Panel Display – Unlike the default volume indicator, this version is displayed in a standalone sub-window, keeping the price chart clear.
✅ Better Chart Visibility – Helps traders separate volume analysis from price action, making trend confirmation easier.
🔹 Features
✅ Displays volume in a separate panel below the price chart for a clearer trading view.
✅ Custom color-coded volume bars for bullish volume and bearish volume.
✅ Optional Volume Moving Average (MA) for tracking volume trends.
✅ Sound Alerts on Volume Spikes, Drops and more – Get notified of significant changes in volume.
✅ Built-in Alert Sound Options – Choose from different TradingView notification sounds.
✅ Customizable settings:
- Toggle the MA on/off as needed.
- Adjust the MA length (default: 20).
- Set alert thresholds for high or low volume warnings.
📊 How to Use
- Identify high-volume breakouts and low-volume consolidations.
- Use the Volume Moving Average to confirm trends and market participation.
- Spot bullish/bearish volume surges to strengthen trade decisions.
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It does not provide financial advice or trade signals. Always conduct your own research before making any trading decisions.
VIDYA with Customizable Table RowsVolumatic VIDYA Enhanced
The Volumatic VIDYA (Variable Index Dynamic Average) indicator, originally created by BigBeluga, is a powerful trend-following tool that combines price and volume analysis to provide traders with a comprehensive view of market dynamics. This enhanced version, designed with user-friendliness in mind, builds upon the original by adding new features and customization options, making it even more versatile and easy to use.
Original Features (by BigBeluga)
VIDYA Core: This technique utilizes the Variable Index Dynamic Average (VIDYA) as the core smoothing technique to identify trends and filter market noise.
Volume Analysis: Plots volume levels at key market structure pivot points (lows and highs), helping traders understand the relationship between price and volume.
Delta Volume: Calculates and displays delta volume values to evaluate the balance between buy and sell pressure during each trend phase.
Trend Visualization: Clearly visualizes uptrends and downtrends with color-coded indicators, making it easy to identify market sentiment shifts.
Enhancements in This Version
1. Directional Movement Index (DMI) Integration:
Added +DI, -DI, and ADX metrics to assess trend strength and direction.
Includes a DMI Trend indicator to show whether the market is in an uptrend, downtrend, or neutral phase.
2. Volume SMAs with Color Coding:
Added Volume SMAs (9, 20, 51, 200) to analyze volume trends over different timeframes.
Color-coded SMAs (green for uptrend, red for downtrend, gray for neutral) provide quick visual cues.
3. Customizable Table:
Users can now enable or disable individual rows in the table to display only the metrics they care about.
Includes options for Buy Volume, Sell Volume, Delta Volume, Relative Volume, Volume SMAs, Trend Status, Signal, DMI Metrics, and more.
4. Improved Usability:
Added user-friendly input options for customizing the indicator's behavior and appearance.
Enhanced table layout for better readability and organization.
Why Use This Indicator?
Comprehensive Analysis: Combines price, volume, and trend strength metrics into a single tool.
Customizable: Tailor the indicator to your trading style by enabling or disabling specific features.
Visual Clarity: Color-coded trends and volume levels make it easy to interpret market conditions at a glance.
Market Sentiment: Delta volume and DMI metrics provide insights into buy-sell pressure and trend strength.
**Credits**
Original Creator: BigBeluga (for the Volumatic VIDYA indicator).
Enhancements: (for adding DMI integration, Volume SMAs, and customizable table options).
This enhanced version of the Volumatic VIDYA indicator is designed to help traders make more informed decisions by providing a deeper understanding of price, volume, and trend dynamics. Whether you're a beginner or an experienced trader, this tool offers valuable insights to improve your trading strategy.
Volume Profile - Session Based [AGEX]Volume Profile - Session Based
=======================
The Volume Profile - Session Based indicator is a powerful tool designed to help traders analyze volume distribution within specific trading sessions. By focusing on volume activity during user-defined sessions, this indicator provides valuable insights into key price levels, including the Point of Control (PoC), Value Area (VA), and volume clusters. Whether you're a day trader, swing trader, or long-term investor, this tool can enhance your decision-making process by highlighting areas of high liquidity and potential support/resistance zones.
Why Use This Indicator?
==================
Precision: Focus on volume activity during specific market hours, avoiding noise from irrelevant periods.
Versatility: Suitable for all trading styles and instruments, including stocks, forex, commodities, and cryptocurrencies.
Enhanced Decision-Making: Identify key levels of interest, such as support/resistance, breakout zones, and potential reversal points.
Customizable: Tailor the indicator to your preferred session times, volume types (bullish, bearish, or both), and display settings.
How to Use
=========
Set Your Session: Define your trading session (e.g., "0830-1100") and days (e.g., "12345" for weekdays).
Analyze Volume Distribution: Look for clusters of volume at specific price levels, which indicate areas of high liquidity.
Identify Key Levels: Use the PoC and VA to spot potential support/resistance zones or breakout opportunities.
Combine with Other Tools: Pair this indicator with trendlines, moving averages, or other technical tools for a comprehensive trading strategy.
Who Is This For?
=============
This indicator is ideal for traders who want to:
Focus on specific trading sessions (e.g., pre-market, regular session, or after-hours).
Gain deeper insights into volume distribution and key price levels.
Improve their trading strategies with actionable volume-based data.
Daily VWMADaily Volume Weighted Moving Average
An indicator which shows the daily volume weighted moving average for the last 24 hours. The indicator adapts to the sampling frequency in the chart.
Trade ValueA simple indicator that calculates and displays the trade value (volume × close price). Using a transparency technique, the indicator shows values in the Data Window without cluttering the chart.
repo: github.com
MM Labelled AVWAPTradingView provides a tool to show anchored VWAP plots on your screen, but there is no way to label the plots to add additional context to the level. Instead, users are forced to use the plot style (color, line style, line thickness, etc) to indicate what the plots are for and then they have to remember that meaning when looking at different charts. It also means that for key market-wide moments, users will need to add the plot for every symbol.
Now, for the first time on TradingView, you can create anchored VWAP plots with labels on them so you can understand the meaning behind the key moments you care about and don't need to remember what they mean by using styles like color or thickness. You can use this indicator to track key moments like the 2022 market bottom, or the Aug 9, 2024 "Carry Trade Unwind" bottom. The labelled AVWAP plots are visible on every chart by default. If you have an AVWAP moment that is only relevant to a small number of symbols, you can configure the indicator to only appear on those symbols.
VWAP & Volume Correlation### **Calculating the Correlation Between VWAP (Volume-Weighted Average Price) and Volume (VOLUME) Over a Period of Time**
#### **Breakdown & Understanding**
- **VWAP (Volume-Weighted Average Price)**: Similar to an average price but weighted by volume, representing the average price at which market participants traded during a specific period.
- **VOLUME (Trading Volume)**: The total amount of assets traded over a certain period.
- **CORR (Correlation)**: Measures the relationship between two variables, ranging from **-1 to 1**:
- **Close to 1**: VWAP and volume **move in sync**—when volume increases, VWAP also rises, and when volume decreases, VWAP also falls.
- **Close to -1**: VWAP and volume **move inversely**—when volume increases, VWAP decreases, and vice versa.
- **Close to 0**: No significant relationship between VWAP and volume.
#### **Examples**
- If the correlation is **high (close to 1)**, it indicates that an increase in trading volume leads to a higher VWAP, suggesting that large amounts of capital are being traded at higher prices, which could indicate a **strong market**.
- If the correlation is **low (close to 0)**, it suggests that there is **no stable relationship** between VWAP and volume.
- If the correlation is **close to -1**, it means that **higher trading volume leads to a lower VWAP**, possibly indicating that heavy selling pressure is pushing prices down.
#### **Practical Applications**
- **Identifying Market Trends**: If VWAP and volume have a strong correlation, it could indicate that the current trend is stable.
- **Detecting Anomalies**: If the correlation suddenly drops or turns negative, it may signal a shift in market behavior, such as **large-scale selling or sudden price surges**.
#### **How to Use This Indicator**
- **When the correlation is close to 1 (Blue)**:
- VWAP and volume are moving **in sync**, suggesting a stable market trend.
- **When the correlation is close to -1 (Red)**:
- **Higher volume is causing VWAP to drop**, which could indicate institutional distribution or unusual market movements.
- **When the correlation fluctuates significantly**:
- It suggests **market sentiment is changing**, and it may be worth watching for a potential trend reversal.
By monitoring VWAP and volume correlation, traders can **better understand market conditions, detect institutional activity, and refine their trading strategies**. 🚀
VOL High Liquidity Multiplierhis indicator, named "VOL High Liquidity Multiplier," is designed to highlight candles with high liquidity in a chart. The script is written in Pine Script (version 5) for use in TradingView. Here's an explanation of the key components:
Inputs (Settings):
highVolumeMultiplier: A multiplier (default value 3) used to identify candles with high liquidity. It compares the current volume to the average volume of the last 20 periods.
candleColor: The color used to highlight candles with high liquidity (default is yellow).
showShadedZone: A boolean to enable or disable highlighting the high liquidity area (zone).
zoneColor: The color of the shaded area (default is a transparent blue).
lineStyle: Allows the user to choose between solid, dashed, or dotted lines for high liquidity zone boundaries.
showBox: A boolean that, when enabled, will highlight the high liquidity zone using a box instead of lines.
candleLineStyle: Defines the style of the lines drawn around high liquidity candles (solid, dashed, or dotted).
candleLineWidth: The width of the lines drawn around high liquidity candles.
High Liquidity Calculation:
avgVolume: Calculates the average volume of the last 20 periods (using ta.sma()).
isHighLiquidityCandle: Identifies a candle with high liquidity if its volume is greater than the average volume multiplied by the highVolumeMultiplier.
Drawing the High Liquidity Candle:
The script uses barcolor to change the color of the bars (candles) that meet the high liquidity condition.
Tracking High Liquidity Candle Data:
The variables lastHighLiquidityHigh, lastHighLiquidityLow, and lastHighLiquidityIndex store the high, low, and bar index of the most recent high liquidity candle.
Drawing the High Liquidity Zone:
When showShadedZone is enabled, the script draws a shaded area around the high liquidity zone. The area is either a box (showBox) or a line-based boundary.
The box is drawn using box.new() and updated dynamically based on the high and low of the most recent high liquidity candle.
Line Styling:
The user can choose the line style (solid, dashed, or dotted) to represent the boundaries of the high liquidity zone. The lines include the high, low, and middle levels of the zone.
Highlighting High Liquidity Candles:
If a candle has high liquidity, the script draws lines around it to highlight the candle's boundaries, using the candleLineStyle and candleLineWidth settings.
Overall Purpose:
This indicator helps to visually identify candles with significant trading volume (high liquidity) and highlight these areas on the chart, allowing traders to quickly spot potential zones of interest where there is increased market activity.
Volume Pressure Histogram (Normalized)Overview
The Volume Pressure Histogram is designed to help traders analyze buying and selling pressure using real volume data.
Unlike traditional momentum indicators that rely solely on price movements, VPH measures the strength of bullish and bearish volume, providing insights into market participation.
How It Works
The histogram represents the difference between buying and selling volume over a selected period.
Green bars indicate strong buying pressure, while red bars signal strong selling pressure.
Lime and orange bars (if enabled) represent moderate buying and selling activity.
A white signal line smooths volume data to track momentum shifts over time.
How to Use It
Trend Confirmation: When price is rising and green bars increase, the trend is supported by real buying pressure.
Reversal Detection: If price makes a new high but green bars shrink, buyers may be losing strength.
Breakout Strength: A breakout with rising volume pressure confirms strong participation, while weak volume pressure suggests a potential fake move.
Divergence Signals: If price moves higher, but volume pressure declines, the move may lack conviction and could reverse.
Customization Options
Threshold Multiplier (default = 20) controls when green and red bars appear, filtering out weaker signals.
Log Scale Option helps normalize extreme volume spikes.
Adjustable Smoothing Length for both the histogram and signal line.
Why Use This Indicator
Provides a volume-based approach to analyzing market trends.
Can confirm or contradict price movements, helping identify strong or weak trends.
Works across multiple markets, including stocks, forex, crypto, and indices.
This indicator is designed for educational and informational purposes only and does not provide financial advice.
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.
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.