VWAP Volume Profile [BigBeluga]🔵 OVERVIEW
VWAP Volume Profile is an advanced hybrid of the VWAP and volume profile concepts. It visualizes how volume accumulates relative to VWAP movement—separating rising (+VWAP) and declining (−VWAP) activity into two mirrored horizontal profiles. It highlights the dominant price bins (POCs) where volume peaked during each directional phase, helping traders spot hidden accumulation or distribution zones.
🔵 CONCEPTS
VWAP-Driven Profiling: Unlike standard volume profiles, this tool segments volume based on VWAP movement—accumulating positive or negative volume depending on VWAP slope.
Dual-Sided Profiles: Profiles expand horizontally to the right of price. Separate bins show rising (+) and falling (−) VWAP volume.
Bin Logic: Volume is accumulated into defined horizontal bins based on VWAP’s position relative to price ranges.
Gradient Coloring: Volume bars are colored with a dynamic gradient to emphasize intensity and direction.
POC Highlighting: The highest-volume bin in each profile type (+/-) is marked with a transparent box and label.
Contextual VWAP Line: VWAP is plotted and dynamically colored (green = rising, orange = falling) for instant trend context.
Candle Overlay: Price candles are recolored to match the VWAP slope for full visual integration.
🔵 FEATURES
Dual-sided horizontal volume profiles based on VWAP slope.
Supports rising VWAP , falling VWAP , or both simultaneously.
Customizable number of bins and lookback period.
Dynamically colored VWAP line to show rising/falling bias.
POC detection and labeling with volume values for +VWAP and −VWAP.
Candlesticks are recolored to match VWAP bias for intuitive momentum tracking.
Optional background boxes with customizable styling.
Adaptive volume scaling to normalize bar length across markets.
🔵 HOW TO USE
Use POC zones to identify high-volume consolidation areas and potential support/resistance levels.
Watch for shifts in VWAP direction and observe how volume builds differently during uptrends and downtrends.
Use the gradient profile shape to detect accumulation (widening volume below price) or distribution (above price).
Use candle coloring for real-time confirmation of VWAP bias.
Adjust the profile period or bin count to fit your trading style (e.g., intraday scalping or swing trading).
🔵 CONCLUSION
VWAP Volume Profile merges two essential concepts—volume and VWAP—into a single, high-precision tool. By visualizing how volume behaves in relation to VWAP movement, it uncovers hidden dynamics often missed by traditional profiles. Perfect for intraday and swing traders who want a more nuanced read on market structure, trend strength, and volume flow.
Volumeanalysis
High Volume Buyers/Sellers+High Volume Buyers/Sellers+
This indicator helps traders spot bars where unusually high or extreme volume occurs, indicating strong buying or selling pressure.
How it works:
Calculates a volume moving average (SMA) over a user-defined period.
Marks bars where the current volume exceeds:
High Volume Multiplier → small green circle (bullish) or red circle (bearish).
Extreme Volume Multiplier → small green up-triangle (bullish) or red down-triangle (bearish).
Settings:
Volume MA Period → Number of bars used to calculate the average volume.
High Volume Multiplier → Threshold to define high volume.
Extreme Volume Multiplier → Threshold to define extreme volume.
Show Extreme Volume Signals → Option to enable or disable extreme volume markers.
Usage tips:
Apply this indicator on a clean chart to visually highlight momentum bursts or exhaustion points.
It works well for both intraday and swing trading strategies where volume confirmation matters.
⚠ Note: This script only displays on-chart markers and does not plot any lines or indicators.
Volume Peak LineA fully configurable “Volume Peak Line” indicator that draws a horizontal threshold at the highest volume over the last X candles (default 5).
Custom lookback (X volume candles)
Optional alert when current volume exceeds that peak
Separate up/down volume bars (green/red) or hide them to use your own volume overlays
Use it to spot surges in trading activity on any timeframe—ideal for intraday or swing setups where a barn-burner volume bar can signal a reversal or the start of a new trend.
Volume PercentileThis Pine Script indicator highlights bars where the current volume exceeds a configurable percentile threshold (e.g., 80th percentile) based on a rolling window of historical volume data.
🔍 Key Features:
Calculates a user-defined volume percentile (e.g., 75th, 80th, 90th) over a rolling window.
Marks candles where current volume is higher than the selected percentile.
Helps detect volume spikes, breakouts, or unusual activity.
Works directly on the main chart window for easier analysis.
🛠️ Inputs:
Window Length: Number of bars used to calculate the percentile (default = 20).
Percentile: The percentile threshold to trigger a high-volume signal (default = 80).
🖥️ Visualization:
Displays a red triangle marker below bars with volume above the selected percentile.
Jitendra MTF AIO Technical + Trend Analysis ▲▼Summary of “Jitendra MTF AIO Technical + Trend Analysis ▲▼
🔍 Purpose
This script is a multi-timeframe (MTF) technical analysis dashboard that displays multiple indicators, trends, divergences, and volume signals in a dynamically structured table format on the chart. It also overlays key EMAs and optionally Bollinger Bands.
How It's useful or How Can You Change Setting
drive.google.com
How to Analysis Data For Bullish & Bearish Trade
GREEN Background Shows Positive Crossover and RED Background Shows Negative Crossover
If LTP Above VWAP, it will show value with GREEN Background else RED Background
If MACD Line Above Signal line it will show GREEN Background or MACD Line Below Signal line it will show RED Background
Data Positive/negative value Value help us to find its above Zero or Below Zero Line
▲ = MACD rising, ▼ = MACD falling show current value is improving or losing as compare to prev value
RSI Data Value with Background Color to Find in Which Time Frame it is in High Strength
RSI Above 60 Show value with AQUA Color 🟦
RSI Between 40-60 Show value with GREEN Color 🟩
RSI Below 40 Show value with RED Color 🟥
ADX ,+DI, -DI Color
> 25 🟦 color.aqua Strong trend (bullish or bearish)
18–25 🟩 color.green Moderate trend (developing trend)
< 18 🟥 color.red Weak or no trend (sideways/consolidation)
Types of Divergence Detected
✅ Bullish Divergence Price makes lower low, RSI makes higher low "✔ Bullish"
❌ Bearish Divergence Price makes higher high, RSI makes lower high "✔ Bearish"
✅ Hidden Bullish Divergence Price makes higher low, RSI makes lower low "✔Bullish RD"
❌ Hidden Bearish Divergence Price makes lower high, RSI makes higher high "✔Bearish RD"
⚪ None No divergence detected "-"
Table EMA Color Coding
Price > EMA 🟩 Green Bullish (price above EMA)
Price < EMA 🟥 Red Bearish (price below EMA)
Volume Matrix Description
Volume Actual volume for the candle
20 SMA Volume 20-period simple moving average of volume (avg vol)
Volume % Rise % difference of current volume vs 20 SMA volume
Volume > SMA Volume 🟢 Green Bullish / high interest
Volume < SMA Volume 🔴 Red Low interest
Bollinger Band
If Band is Challenged Upside with RSI value Above 60+ And ADX above 20 it is in High Bullish Momentum , if 1 Higher Timeframe also supporting such value
If Band is Challenged Downside with RSI value Below 40 And ADX above 20 it is in High Bearish Momentum , if 1 Higher Timeframe also supporting such value
Stochastic Oscillator
Stochastic Oscillator is a momentum indicator comparing the current closing price to a range of its prices over a specific period. It indicates overbought and oversold conditions.
For Perfect Entry in Bullish Trade
If Higher TF Stochastic in oversold zone and doing Positive crossover, and also lower TF Stochastic will do positive crossover it will give High Probability Uptrend Entry
For Perfect Entry in Bearish Trade
If Higher TF Stochastic in Bought zone and doing Negative crossover, and also lower TF Stochastic will do Negative crossover it will give High Probability Uptrend Entry
%K (Fast): Measures current close vs the high-low range over the last 14 bars.
%D (Slow): 3-period SMA of %K.
%K above %D will show GREEN background
%K below %D will show RED background
Low Value, below 20 with GREEN background means it just done Positive Cross over from oversold zone
High Value with RED background means it just done negative Cross over from oversold zone
======== COMMUNICATIVE SHORT DESCRIPTION OF ALL INDICATOR=========
TF Timeframe label (e.g., CurTF, 1h, 4h, D, W, M)
VWAP Value of VWAP; green = price above, red = price below
MACD MACD Line Value
Trend ▲ = MACD rising, ▼ = MACD falling
MACD Hist MACD Histogram value (if enabled)
RSI RSI Value with background color showing strength
RSI▲▼ ▲ = RSI rising, ▼ = RSI falling
ADX ADX strength (trend strength, colored)
ADX▲▼ ▲ = ADX rising, ▼ = falling
+DI Positive Directional Indicator
+DI▲▼ ▲/▼ for DI+ trend
-DI Negative Directional Indicator
-DI▲▼ ▲/▼ for DI- trend
Div RSI divergence type: Bullish, Bearish, Hidden, or None (✔ or -)
EMA5 EMA5 value; green = price above, red = price below
EMA21 EMA21 value (same color logic as above)
EMA50 EMA50 value (same logic)
Cross ▲ = EMA5 > EMA21, ▼ = EMA5 < EMA21
Stoch %K %K value; green = K > D, red = K < D
Vol Volume for that TF; green = above avg, red = below avg
AvgVOL20 20 SMA of volume
%Vol Chng % Change in volume from its 20 SMA; green = rising, red = falling
========================================================
📊 Core Features & Code used to Fetch Calculate Data
Using request.security() to fetch data from different timeframes
✅ Indicator Plotting on Chart
EMA 1 & EMA 2: Plotted as overlays with customizable lengths and toggle.
Bollinger Bands: Optional plotting of upper, lower, and basis lines.
🧮 Multi-Timeframe Support
Supports analysis for:
Current Timeframe (optional)
1H, 4H, Daily, Weekly, and Monthly (customizable & optional)
📈 Indicators Displayed per Timeframe
Each selected timeframe row shows the following (based on toggles):
➤ VWAP Status
Price above or below VWAP with color indication
vwapVal = ta.vwap(hlc3)
vwapColor = close > vwapVal ? color.green : color.red
➤ MACD
MACD value
Optional MACD Trend Arrow (▲/▼)
Optional MACD Histogram
= ta.macd(close, 12, 26, 9)
macdColor = macdLine > signalLine ? color.green : color.red
➤ RSI
RSI value with dynamic background color (green, aqua, red)
Optional RSI arrow (based on RSI momentum direction)
rsi = ta.rsi(close, 14)
rsiColor = rsi > 70 ? color.red : rsi < 30 ? color.green : color.gray
rsiArrow = rsi > rsi ? "▲" : rsi < rsi ? "▼" : "-"
rsiArrowColor = rsi > rsi ? color.green : rsi < rsi ? color.red : color.gray
➤ ADX
ADX value with strength-based coloring
Optional ADX trend arrow
➤ +DI / -DI
Directional movement values with optional trend arrows
ad = ta.adx(14)
adxColor = ad > 25 ? color.aqua : ad >= 18 ? color.green : color.red
➤ RSI Divergence
Detects and displays:
Regular Bullish / Bearish Divergence
Hidden Bullish / Bearish Divergence
isBullishDiv = (low < low ) and (rsi > rsi )
isHiddenBullDiv = (low > low ) and (rsi < rsi )
➤ EMA Status
Displays EMA 1/2/3 value
Shows whether price is above (green) or below (red)
Optionally displays EMA1 vs EMA2 crossover as ▲ / ▼
ema = ta.ema(close, length)
emaColor = close > ema ? color.green : color.red
crossSymbol = ema5 > ema21 ? "▲" : ema5 < ema21 ? "▼" : "-"
➤ Stochastic
%K line with color-coded trend vs %D
k = ta.stoch(close, high, low, 14)
d = ta.sma(k, 3)
stochColor = k > 80 ? color.red : k < 20 ? color.green : color.gray
➤ Volume Matrix
Volume
20 SMA Volume
% Change in Volume from 20 SMA
Backgrounds indicate rising/falling volume trend
smaVolume = ta.sma(volume, 20)
volRise = ((volume - smaVolume) / smaVolume) * 100
🧠 Modular Settings
All features have individual on/off toggles in the input panel.
User can also customize:
EMA lengths
Stochastic smoothing parameters
Divergence lookback settings
Table position and text size
📐 Dynamic Table
Header row and rows per timeframe
Column count automatically adjusts based on enabled indicators
~~~~~~~~~~~~~~~~~~~~~~
-------------------------------
Thanks Jitendra
-------------------------------
~~~~~~~~~~~~~~~~~~~~~~
MCAP-Turnover-FF vs Nifty50 Performance Jitendra🧩 Script Summary:
Title: MCAP-Turnover-FF vs Nifty50 Performance Jitendra
Purpose :
This indicator calculates and visualizes key financial and liquidity metrics for a stock, comparing it against the NIFTY50 index and highlighting significant conditions like high turnover, liquidity, and weekly breakouts.
This indicator measures liquidity and trading activity by calculating and plotting daily turnover—the total traded value per bar (price × volume). It also computes:
A comparison of stock performance vs NIFTY50 index is included, alongside weekly breakout detection.
All metrics are displayed in a configurable table or text summary, with color-coded highlights to quickly spot key trends like spikes in turnover, outperforming stocks, or breakouts.
How To use and Change Setting
Complete Setting Details
drive.google.com
📊 Main Features & Metrics Displayed:
Toggle in setting to Enable Disable Settings or Not Required Data
SMA length (for avg turnover)
Lookback bars (for performance)
Toggle for each metric visibility
Toggle for dark mode
Table layout (vertical or horizontal)
Market Capitalization (Mcap):
Calculated from total shares outstanding × close price.
Formatted in cr, K cr, or L cr.
Free Float:
Based on float shares outstanding × close price.
Turnover Metrics:
Turnover = volume * close (converted to crore).
20-bar SMA of turnover.
Percentage change from previous bar.
High Turnover Quarter (HTQ):
Checks if current turnover is highest in past 52 bars.
TOMCAP (%):
Turnover as % of Market Cap.
Turnover-to-FreeFloat Ratio (%):
Shows how much turnover compares to the available float.
1-Min Liquidity (Optional):
Fetches 1-min resolution liquidity.
Shows average over 20 bars.
Performance vs NIFTY50:
Calculates stock performance vs NIFTY over lookbackBars (default 5).
Highlights Outperform or Underperform.
Weekly Breakout Detection:
If close is above previous week’s high → "Breakout ↑"
Below low → "Breakdown ↓"
Else → "In Range"
🧠 Data Fetching / Input Logic:
TSO(Total Shares Outstanding)
`request.financial(..., "TOTAL_SHARES_OUTSTANDING")` | Used for Market Cap and Free Float Pct
FSO(Float Shares Outstanding)
`request.financial(..., "FLOAT_SHARES_OUTSTANDING")` | Used for Free Float calculation
NIFTY Close
`request.security("NSE:NIFTY", timeframe.period, close)` | To compute stock vs index performance
Previous Week High/Low
`request.security(syminfo.tickerid, "W", high /low )` | For weekly breakout logic
1-Min Liquidity
`request.security(syminfo.tickerid, "1", volume * close)` | For short-term liquidity insights
Thanks.
Please let me know in comment if You Required any Additional Information
Ultimate Market Structure [Alpha Extract]Ultimate Market Structure
A comprehensive market structure analysis tool that combines advanced swing point detection, imbalance zone identification, and intelligent break analysis to identify high-probability trading opportunities.Utilizing a sophisticated trend scoring system, this indicator classifies market conditions and provides clear signals for structure breaks, directional changes, and fair value gap detection with institutional-grade precision.
🔶 Advanced Swing Point Detection
Identifies pivot highs and lows using configurable lookback periods with optional close-based analysis for cleaner signals. The system automatically labels swing points as Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) while providing advanced classifications including "rising_high", "falling_high", "rising_low", "falling_low", "peak_high", and "valley_low" for nuanced market analysis.
swingHighPrice = useClosesForStructure ? ta.pivothigh(close, swingLength, swingLength) : ta.pivothigh(high, swingLength, swingLength)
swingLowPrice = useClosesForStructure ? ta.pivotlow(close, swingLength, swingLength) : ta.pivotlow(low, swingLength, swingLength)
classification = classifyStructurePoint(structureHighPrice, upperStructure, true)
significance = calculateSignificance(structureHighPrice, upperStructure, true)
🔶 Significance Scoring System
Each structure point receives a significance level on a 1-5 scale based on its distance from previous points, helping prioritize the most important levels. This intelligent scoring system ensures traders focus on the most meaningful structure breaks while filtering out minor noise.
🔶 Comprehensive Trend Analysis
Calculates momentum, strength, direction, and confidence levels using volatility-normalized price changes and multi-timeframe correlation. The system provides real-time trend state tracking with bullish (+1), bearish (-1), or neutral (0) direction assessment and 0-100 confidence scoring.
// Calculate trend momentum using rate of change and volatility
calculateTrendMomentum(lookback) =>
priceChange = (close - close ) / close * 100
avgVolatility = ta.atr(lookback) / close * 100
momentum = priceChange / (avgVolatility + 0.0001)
momentum
// Calculate trend strength using multiple timeframe correlation
calculateTrendStrength(shortPeriod, longPeriod) =>
shortMA = ta.sma(close, shortPeriod)
longMA = ta.sma(close, longPeriod)
separation = math.abs(shortMA - longMA) / longMA * 100
strength = separation * slopeAlignment
❓How It Works
🔶 Imbalance Zone Detection
Identifies Fair Value Gaps (FVGs) between consecutive candles where price gaps create unfilled areas. These zones are displayed as semi-transparent boxes with optional center line mitigation tracking, highlighting potential support and resistance levels where institutional players often react.
// Detect Fair Value Gaps
detectPriceImbalance() =>
currentHigh = high
currentLow = low
refHigh = high
refLow = low
if currentOpen > currentClose
if currentHigh - refLow < 0
upperBound = currentClose - (currentClose - refLow)
lowerBound = currentClose - (currentClose - currentHigh)
centerPoint = (upperBound + lowerBound) / 2
newZone = ImbalanceZone.new(
zoneBox = box.new(bar_index, upperBound, rightEdge, lowerBound,
bgcolor=bullishImbalanceColor, border_color=hiddenColor)
)
🔶 Structure Break Analysis
Determines Break of Structure (BOS) for trend continuation and Directional Change (DC) for trend reversals with advanced classification as "continuation", "reversal", or "neutral". The system compares pre-trend and post-trend states for each break, providing comprehensive trend change momentum analysis.
🔶 Intelligent Zone Management
Features partial mitigation tracking when price enters but doesn't fully fill zones, with automatic zone boundary adjustment during partial fills. Smart array management keeps only recent structure points for optimal performance while preventing duplicate signals from the same level.
🔶 Liquidity Zone Detection
Automatically identifies potential liquidity zones at key structure points for institutional trading analysis. The system tracks broken structure points and provides adaptive zone extension with configurable time-based limits for imbalance areas.
🔶 Visual Structure Mapping
Provides clear visual indicators including swing labels with color-coded significance levels, dashed lines connecting break points with BOS/DC labels, and break signals for continuation and reversal patterns. The adaptive zones feature smart management with automatic mitigation tracking.
🔶 Market Structure Interpretation
HH/HL patterns indicate bullish market structure with trend continuation likelihood, while LH/LL patterns signal bearish structure with downtrend continuation expected. BOS signals represent structure breaks in trend direction for continuation opportunities, while DC signals warn of potential reversals.
🔶 Performance Optimization
Automatic cleanup of old structure points (keeps last 8 points), recent break tracking (keeps last 5 break events), and efficient array management ensure smooth performance across all timeframes and market conditions.
Why Choose Ultimate Market Structure ?
This indicator provides traders with institutional-grade market structure analysis, combining multiple analytical approaches into one comprehensive tool. By identifying key structure levels, imbalance zones, and break patterns with advanced significance scoring, it helps traders understand market dynamics and position themselves for high-probability trade setups in alignment with smart money concepts. The sophisticated trend scoring system and intelligent zone management make it an essential tool for any serious trader looking to decode market structure with precision and confidence.
Exchanges Combined Volume📊 Exchanges Combined Volume
(Aggregated Multi-Exchange Volume: Binance, OKX, Bybit, etc.) by BIGTAKER*
🔍 Purpose
The Exchanges Combined Volume indicator aggregates real-time trading volumes from multiple global exchanges for a specific asset (e.g., a cryptocurrency).
Instead of relying on a single market, it provides a broader view of market activity, helping users detect abnormal volume behavior and increased participation across the entire market.
⚙️ Supported Exchanges
* USDT Markets
`Binance`, `OKX`, `Bybit`, `Bitget`, `Gate.io`
* USD Markets
`Coinbase`, `Bitfinex`, `Bitstamp`
* Default
Includes the current chart symbol’s native volume by default.
🧮 Core Calculation Logic
1. 📛 Symbol Normalization (cleanSymbol)
Prefixes such as `1000`, `10000`, `100000`, or `1M` (common in leveraged tickers) are automatically removed to extract the base token.
> Example:
> `1000PEPEUSDT` → `PEPEUSDT`
2. 📈 Volume Requests from External Exchanges
Volume is retrieved using the `` format (e.g., `'BINANCE:PEPEUSDT'`, `'COINBASE:BTCUSD'`).
Invalid or delisted pairs are safely ignored using `ignore_invalid_symbol=true`.
3. 📊 Total Volume Calculation
totalVolume = usdtVolume + usdVolume + currentSymbolVolume
The indicator sums the volume from all target exchanges plus the volume from the current chart symbol.
4. 📏 Comparison to Average Volume
* Period: `length = 60` (Simple Moving Average over 60 candles)
* A candle is considered **high-intensity** if:
5. 🎨 Visual Styling
| Condition | Color | Meaning |
| -------------------------- | --------------------- | ----------------------- |
| High-volume Bullish Candle | Light Green (#30db78) | Strong Buying Activity |
| High-volume Bearish Candle | Bright Red (#ff0000) | Strong Selling Activity |
| Normal Bullish Candle | Dark Green (#3c7058) | Regular Buying Volume |
| Normal Bearish Candle | Dark Red (#682e2c) | Regular Selling Volume |
📌 Use Cases
* Detect synchronized volume surges across major global exchanges.
* Identify pre-pump accumulation phases on altcoins.
* Combine with premium gap indicators (e.g., Kimchi Premium) to identify leading market sentiment.
* Confirm breakout momentum with multi-exchange volume validation.
📘 Notes & Warnings
* Listing differences across exchanges may result in **zero volume** on some platforms.
* Prefixes like `1000`, `1M`, etc., are automatically removed to **improve symbol matching accuracy**.
* As volume units are not standardized, this indicator is best suited for **absolute value analysis**, not ratio-based comparisons.
Diamond Peaks [EdgeTerminal]The Diamond Peaks indicator is a comprehensive technical analysis tool that uses a few mathematical models to identify high-probability trading opportunities. This indicator goes beyond traditional support and resistance identification by incorporating volume analysis, momentum divergences, advanced price action patterns, and market sentiment indicators to generate premium-quality buy and sell signals.
Dynamic Support/Resistance Calculation
The indicator employs an adaptive algorithm that calculates support and resistance levels using a volatility-adjusted lookback period. The base calculation uses ta.highest(length) and ta.lowest(length) functions, where the length parameter is dynamically adjusted using the formula: adjusted_length = base_length * (1 + (volatility_ratio - 1) * volatility_factor). The volatility ratio is computed as current_ATR / average_ATR over a 50-period window, ensuring the lookback period expands during volatile conditions and contracts during calm periods. This mathematical approach prevents the indicator from using fixed periods that may become irrelevant during different market regimes.
Momentum Divergence Detection Algorithm
The divergence detection system uses a mathematical comparison between price series and oscillator values over a specified lookback period. For bullish divergences, the algorithm identifies when recent_low < previous_low while simultaneously indicator_at_recent_low > indicator_at_previous_low. The inverse logic applies to bearish divergences. The system tracks both RSI (calculated using Pine Script's standard ta.rsi() function with Wilder's smoothing) and MACD (using ta.macd() with exponential moving averages). The mathematical rigor ensures that divergences are only flagged when there's a clear mathematical relationship between price momentum and the underlying oscillator momentum, eliminating false signals from minor price fluctuations.
Volume Analysis Mathematical Framework
The volume analysis component uses multiple mathematical transformations to assess market participation. The Cumulative Volume Delta (CVD) is calculated as ∑(buying_volume - selling_volume) where buying_volume occurs when close > open and selling_volume when close < open. The relative volume calculation uses current_volume / ta.sma(volume, period) to normalize current activity against historical averages. Volume Rate of Change employs ta.roc(volume, period) = (current_volume - volume ) / volume * 100 to measure volume acceleration. Large trade detection uses a threshold multiplier against the volume moving average, mathematically identifying institutional activity when relative_volume > threshold_multiplier.
Advanced Price Action Mathematics
The Wyckoff analysis component uses mathematical volume climax detection by comparing current volume against ta.highest(volume, 50) * 0.8, while price compression is measured using (high - low) < ta.atr(20) * 0.5. Liquidity sweep detection employs percentage-based calculations: bullish sweeps occur when low < recent_low * (1 - threshold_percentage/100) followed by close > recent_low. Supply and demand zones are mathematically validated by tracking subsequent price action over a defined period, with zone strength calculated as the count of bars where price respects the zone boundaries. Fair value gaps are identified using ATR-based thresholds: gap_size > ta.atr(14) * 0.5.
Sentiment and Market Regime Mathematics
The sentiment analysis employs a multi-factor mathematical model. The fear/greed index uses volatility normalization: 100 - min(100, stdev(price_changes, period) * scaling_factor). Market regime classification uses EMA crossover mathematics with additional ADX-based trend strength validation. The trend strength calculation implements a modified ADX algorithm: DX = |+DI - -DI| / (+DI + -DI) * 100, then ADX = RMA(DX, period). Bull regime requires short_EMA > long_EMA AND ADX > 25 AND +DI > -DI. The mathematical framework ensures objective regime classification without subjective interpretation.
Confluence Scoring Mathematical Model
The confluence scoring system uses a weighted linear combination: Score = (divergence_component * 0.25) + (volume_component * 0.25) + (price_action_component * 0.25) + (sentiment_component * 0.25) + contextual_bonuses. Each component is normalized to a 0-100 scale using percentile rankings and threshold comparisons. The mathematical model ensures that no single component can dominate the score, while contextual bonuses (regime alignment, volume confirmation, etc.) provide additional mathematical weight when multiple factors align. The final score is bounded using math.min(100, math.max(0, calculated_score)) to maintain mathematical consistency.
Vitality Field Mathematical Implementation
The vitality field uses a multi-factor scoring algorithm that combines trend direction (EMA crossover: trend_score = fast_EMA > slow_EMA ? 1 : -1), momentum (RSI-based: momentum_score = RSI > 50 ? 1 : -1), MACD position (macd_score = MACD_line > 0 ? 1 : -1), and volume confirmation. The final vitality score uses weighted mathematics: vitality_score = (trend * 0.4) + (momentum * 0.3) + (macd * 0.2) + (volume * 0.1). The field boundaries are calculated using ATR-based dynamic ranges: upper_boundary = price_center + (ATR * user_defined_multiplier), with EMA smoothing applied to prevent erratic boundary movements. The gradient effect uses mathematical transparency interpolation across multiple zones.
Signal Generation Mathematical Logic
The signal generation employs boolean algebra with multiple mathematical conditions that must simultaneously evaluate to true. Buy signals require: (confluence_score ≥ threshold) AND (divergence_detected = true) AND (relative_volume > 1.5) AND (volume_ROC > 25%) AND (RSI < 35) AND (trend_strength > minimum_ADX) AND (regime = bullish) AND (cooldown_expired = true) AND (last_signal ≠ buy). The mathematical precision ensures that signals only generate when all quantitative conditions are met, eliminating subjective interpretation. The cooldown mechanism uses bar counting mathematics: bars_since_last_signal = current_bar_index - last_signal_bar_index ≥ cooldown_period. This mathematical framework provides objective, repeatable signal generation that can be backtested and validated statistically.
This mathematical foundation ensures the indicator operates on objective, quantifiable principles rather than subjective interpretation, making it suitable for algorithmic trading and systematic analysis while maintaining transparency in its computational methodology.
* for now, we're planning to keep the source code private as we try to improve the models used here and allow a small group to test them. My goal is to eventually use the multiple models in this indicator as their own free and open source indicators. If you'd like to use this indicator, please send me a message to get access.
Advanced Confluence Scoring System
Each support and resistance level receives a comprehensive confluence score (0-100) based on four weighted components:
Momentum Divergences (25% weight)
RSI and MACD divergence detection
Identifies momentum shifts before price reversals
Bullish/bearish divergence confirmation
Volume Analysis (25% weight)
Cumulative Volume Delta (CVD) analysis
Volume Rate of Change monitoring
Large trade detection (institutional activity)
Volume profile strength assessment
Advanced Price Action (25% weight)
Supply and demand zone identification
Liquidity sweep detection (stop hunts)
Wyckoff accumulation/distribution patterns
Fair value gap analysis
Market Sentiment (25% weight)
Fear/Greed index calculation
Market regime classification (Bull/Bear/Sideways)
Trend strength measurement (ADX-like)
Momentum regime alignment
Dynamic Support and Resistance Detection
The indicator uses an adaptive algorithm to identify significant support and resistance levels based on recent market highs and lows. Unlike static levels, these zones adjust dynamically to market volatility using the Average True Range (ATR), ensuring the levels remain relevant across different market conditions.
Vitality Field Background
The indicator features a unique vitality field that provides instant visual feedback about market sentiment:
Green zones: Bullish market conditions with strong momentum
Red zones: Bearish market conditions with weak momentum
Gray zones: Neutral/sideways market conditions
The vitality field uses a sophisticated gradient system that fades from the center outward, creating a clean, professional appearance that doesn't overwhelm the chart while providing valuable context.
Buy Signals (🚀 BUY)
Buy signals are generated when ALL of the following conditions are met:
Valid support level with confluence score ≥ 80
Bullish momentum divergence detected (RSI or MACD)
Volume confirmation (1.5x average volume + 25% volume ROC)
Bull market regime environment
RSI below 35 (oversold conditions)
Price action confirmation (Wyckoff accumulation, liquidity sweep, or large buying volume)
Minimum trend strength (ADX > 25)
Signal alternation check (prevents consecutive buy signals)
Cooldown period expired (default 10 bars)
Sell Signals (🔻 SELL)
Sell signals are generated when ALL of the following conditions are met:
Valid resistance level with confluence score ≥ 80
Bearish momentum divergence detected (RSI or MACD)
Volume confirmation (1.5x average volume + 25% volume ROC)
Bear market regime environment
RSI above 65 (overbought conditions)
Price action confirmation (Wyckoff distribution, liquidity sweep, or large selling volume)
Minimum trend strength (ADX > 25)
Signal alternation check (prevents consecutive sell signals)
Cooldown period expired (default 10 bars)
How to Use the Indicator
1. Signal Quality Assessment
Monitor the confluence scores in the information table:
Score 90-100: Exceptional quality levels (A+ grade)
Score 80-89: High quality levels (A grade)
Score 70-79: Good quality levels (B grade)
Score below 70: Weak levels (filtered out by default)
2. Market Context Analysis
Use the vitality field and market regime information to understand the broader market context:
Trade buy signals in green vitality zones during bull regimes
Trade sell signals in red vitality zones during bear regimes
Exercise caution in gray zones (sideways markets)
3. Entry and Exit Strategy
For Buy Signals:
Enter long positions when premium buy signals appear
Place stop loss below the support confluence zone
Target the next resistance level or use a risk/reward ratio of 2:1 or higher
For Sell Signals:
Enter short positions when premium sell signals appear
Place stop loss above the resistance confluence zone
Target the next support level or use a risk/reward ratio of 2:1 or higher
4. Risk Management
Only trade signals with confluence scores above 80
Respect the signal alternation system (no overtrading)
Use appropriate position sizing based on signal quality
Consider the overall market regime before taking trades
Customizable Settings
Signal Generation Controls
Signal Filtering: Enable/disable advanced filtering
Confluence Threshold: Adjust minimum score requirement (70-95)
Cooldown Period: Set bars between signals (5-50)
Volume/Momentum Requirements: Toggle confirmation requirements
Trend Strength: Minimum ADX requirement (15-40)
Vitality Field Options
Enable/Disable: Control background field display
Transparency Settings: Adjust opacity for center and edges
Field Size: Control the field boundaries (3.0-20.0)
Color Customization: Set custom colors for bullish/bearish/neutral states
Weight Adjustments
Divergence Weight: Adjust momentum component influence (10-40%)
Volume Weight: Adjust volume component influence (10-40%)
Price Action Weight: Adjust price action component influence (10-40%)
Sentiment Weight: Adjust sentiment component influence (10-40%)
Best Practices
Always wait for complete signal confirmation before entering trades
Use higher timeframes for signal validation and context
Combine with proper risk management and position sizing
Monitor the information table for real-time market analysis
Pay attention to volume confirmation for higher probability trades
Respect market regime alignment for optimal results
Basic Settings
Base Length (Default: 25)
Controls the lookback period for identifying support and resistance levels
Range: 5-100 bars
Lower values = More responsive, shorter-term levels
Higher values = More stable, longer-term levels
Recommendation: 25 for intraday, 50 for swing trading
Enable Adaptive Length (Default: True)
Automatically adjusts the base length based on market volatility
When enabled, length increases in volatile markets and decreases in calm markets
Helps maintain relevant levels across different market conditions
Volatility Factor (Default: 1.5)
Controls how much the adaptive length responds to volatility changes
Range: 0.5-3.0
Higher values = More aggressive length adjustments
Lower values = More conservative length adjustments
Volume Profile Settings
VWAP Length (Default: 200)
Sets the calculation period for the Volume Weighted Average Price
Range: 50-500 bars
Shorter periods = More responsive to recent price action
Longer periods = More stable reference line
Used for volume profile analysis and confluence scoring
Volume MA Length (Default: 50)
Period for calculating the volume moving average baseline
Range: 10-200 bars
Used to determine relative volume (current volume vs. average)
Shorter periods = More sensitive to volume changes
Longer periods = More stable volume baseline
High Volume Node Threshold (Default: 1.5)
Multiplier for identifying significant volume spikes
Range: 1.0-3.0
Values above this threshold mark high-volume nodes with diamond shapes
Lower values = More frequent high-volume signals
Higher values = Only extreme volume events marked
Momentum Divergence Settings
Enable Divergence Detection (Default: True)
Master switch for momentum divergence analysis
When disabled, removes divergence from confluence scoring
Significantly impacts signal generation quality
RSI Length (Default: 14)
Period for RSI calculation used in divergence detection
Range: 5-50
Standard RSI settings apply (14 is most common)
Shorter periods = More sensitive, more signals
Longer periods = Smoother, fewer but more reliable signals
MACD Settings
Fast (Default: 12): Fast EMA period for MACD calculation (5-50)
Slow (Default: 26): Slow EMA period for MACD calculation (10-100)
Signal (Default: 9): Signal line EMA period (3-20)
Standard MACD settings for divergence detection
Divergence Lookback (Default: 5)
Number of bars to look back when detecting divergences
Range: 3-20
Shorter periods = More frequent divergence signals
Longer periods = More significant divergence signals
Volume Analysis Enhancement Settings
Enable Advanced Volume Analysis (Default: True)
Master control for sophisticated volume calculations
Includes CVD, volume ROC, and large trade detection
Critical for signal accuracy
Cumulative Volume Delta Length (Default: 20)
Period for CVD smoothing calculation
Range: 10-100
Tracks buying vs. selling pressure over time
Shorter periods = More reactive to recent flows
Longer periods = Broader trend perspective
Volume ROC Length (Default: 10)
Period for Volume Rate of Change calculation
Range: 5-50
Measures volume acceleration/deceleration
Key component in volume confirmation requirements
Large Trade Volume Threshold (Default: 2.0)
Multiplier for identifying institutional-size trades
Range: 1.5-5.0
Trades above this threshold marked as large trades
Lower values = More frequent large trade signals
Higher values = Only extreme institutional activity
Advanced Price Action Settings
Enable Wyckoff Analysis (Default: True)
Activates simplified Wyckoff accumulation/distribution detection
Identifies potential smart money positioning
Important for high-quality signal generation
Enable Supply/Demand Zones (Default: True)
Identifies fresh supply and demand zones
Tracks zone strength based on subsequent price action
Enhances confluence scoring accuracy
Enable Liquidity Analysis (Default: True)
Detects liquidity sweeps and stop hunts
Identifies fake breakouts vs. genuine moves
Critical for avoiding false signals
Zone Strength Period (Default: 20)
Bars used to assess supply/demand zone strength
Range: 10-50
Longer periods = More thorough zone validation
Shorter periods = Faster zone assessment
Liquidity Sweep Threshold (Default: 0.5%)
Percentage move required to confirm liquidity sweep
Range: 0.1-2.0%
Lower values = More sensitive sweep detection
Higher values = Only significant sweeps detected
Sentiment and Flow Settings
Enable Sentiment Analysis (Default: True)
Master control for market sentiment calculations
Includes fear/greed index and regime classification
Important for market context assessment
Fear/Greed Period (Default: 20)
Calculation period for market sentiment indicator
Range: 10-50
Based on price volatility and momentum
Shorter periods = More reactive sentiment readings
Momentum Regime Length (Default: 50)
Period for determining overall market regime
Range: 20-100
Classifies market as Bull/Bear/Sideways
Longer periods = More stable regime classification
Trend Strength Length (Default: 30)
Period for ADX-like trend strength calculation
Range: 10-100
Measures directional momentum intensity
Used in signal filtering requirements
Advanced Signal Generation Settings
Enable Signal Filtering (Default: True)
Master control for premium signal generation system
When disabled, uses basic signal conditions
Highly recommended to keep enabled
Minimum Signal Confluence Score (Default: 80)
Required confluence score for signal generation
Range: 70-95
Higher values = Fewer but higher quality signals
Lower values = More frequent but potentially lower quality signals
Signal Cooldown (Default: 10 bars)
Minimum bars between signals of same type
Range: 5-50
Prevents signal spam and overtrading
Higher values = More conservative signal spacing
Require Volume Confirmation (Default: True)
Mandates volume requirements for signal generation
Requires 1.5x average volume + 25% volume ROC
Critical for signal quality
Require Momentum Confirmation (Default: True)
Mandates divergence detection for signals
Ensures momentum backing for directional moves
Essential for high-probability setups
Minimum Trend Strength (Default: 25)
Required ADX level for signal generation
Range: 15-40
Ensures signals occur in trending markets
Higher values = Only strong trending conditions
Confluence Scoring Settings
Minimum Confluence Score (Default: 70)
Threshold for displaying support/resistance levels
Range: 50-90
Levels below this score are filtered out
Higher values = Only strongest levels shown
Component Weights (Default: 25% each)
Divergence Weight: Momentum component influence (10-40%)
Volume Weight: Volume analysis influence (10-40%)
Price Action Weight: Price patterns influence (10-40%)
Sentiment Weight: Market sentiment influence (10-40%)
Must total 100% for balanced scoring
Vitality Field Settings
Enable Vitality Field (Default: True)
Controls the background gradient field display
Provides instant visual market sentiment feedback
Enhances chart readability and context
Vitality Center Transparency (Default: 85%)
Opacity at the center of the vitality field
Range: 70-95%
Lower values = More opaque center
Higher values = More transparent center
Vitality Edge Transparency (Default: 98%)
Opacity at the edges of the vitality field
Range: 95-99%
Creates smooth fade effect from center to edges
Higher values = More subtle edge appearance
Vitality Field Size (Default: 8.0)
Controls the overall size of the vitality field
Range: 3.0-20.0
Based on ATR multiples for dynamic sizing
Lower values = Tighter field around price
Higher values = Broader field coverage
Recommended Settings by Trading Style
Scalping (1-5 minutes)
Base Length: 15
Volume MA Length: 20
Signal Cooldown: 5 bars
Vitality Field Size: 5.0
Higher sensitivity for quick moves
Day Trading (15-60 minutes)
Base Length: 25 (default)
Volume MA Length: 50 (default)
Signal Cooldown: 10 bars (default)
Vitality Field Size: 8.0 (default)
Balanced settings for intraday moves
Swing Trading (4H-Daily)
Base Length: 50
Volume MA Length: 100
Signal Cooldown: 20 bars
Vitality Field Size: 12.0
Longer-term perspective for multi-day moves
Conservative Trading
Minimum Signal Confluence: 85
Minimum Confluence Score: 80
Require all confirmations: True
Higher thresholds for maximum quality
Aggressive Trading
Minimum Signal Confluence: 75
Minimum Confluence Score: 65
Signal Cooldown: 5 bars
Lower thresholds for more opportunities
Price Volume Trend [sgbpulse]1. Introduction: What is Price Volume Trend (PVT)?
The Price Volume Trend (PVT) indicator is a powerful technical analysis tool designed to measure buying and selling pressure in the market based on price changes relative to trading volume. Unlike other indicators that focus solely on volume or price, PVT combines both components to provide a more comprehensive picture of trend strength.
How is it Calculated?
The PVT is calculated by adding or subtracting a proportional part of the daily volume from a cumulative total.
When the closing price rises, a proportional part of the daily volume (based on the percentage price change) is added to the previous PVT value.
When the closing price falls, a proportional part of the daily volume is subtracted from the previous PVT value.
If there is no change in price, the PVT value remains unchanged.
The result of this calculation is a cumulative line that rises when buying pressure is strong and falls when selling pressure dominates.
2. Why PVT? Comparison to Similar Indicators
While other indicators measure volume-price pressure, PVT offers a unique advantage:
PVT vs. On-Balance Volume (OBV):
OBV simply adds or subtracts the entire day's volume based on the closing direction (up/down), regardless of the magnitude of the price change. This means a 0.1% price change is treated the same as a 10% change.
PVT, on the other hand, gives proportional weight to volume based on the percentage price change. A trading day with a large price increase and high volume will impact the PVT significantly more than a small price increase with the same volume. This makes PVT more sensitive to trend strength and changes within it.
PVT vs. Accumulation/Distribution Line (A/D Line):
The A/D Line focuses on the relationship between the closing price and the bar's trading range (Close Location Value) and multiplies it by volume. It indicates whether the pressure is buying or selling within a single bar.
PVT focuses on the change between closing prices of consecutive bars, multiplying this by volume. It better reflects the flow of money into or out of an asset over time.
By combining volume with percentage price change, PVT provides deeper insights into trend confirmation, identifying divergences between price and volume, and spotting signs of weakness or strength in the current trend.
3. Indicator Settings (Inputs)
The "Price Volume Trend " indicator offers great flexibility for customization to your specific needs through the following settings:
Moving Average Type: Allows you to select the type of moving average used for the central line on the PVT. Your choice here will affect the line's responsiveness to PVT movements.
- "None" : No moving average will be displayed on the PVT.
- "SMA" (Simple Moving Average): A simple average, smoother, ideal for identifying longer-term trends in PVT.
- "SMA + Bollinger Bands": This unique option not only displays a Simple Moving Average but also activates the Bollinger Bands around the PVT. This is the recommended option for analyzing volatility and ranges using Bollinger Bands.
- "EMA" (Exponential Moving Average): An exponential average, giving more weight to recent data, responding faster to changes in PVT.
- "SMMA (RMA)" (Smoothed Moving Average): A smoothed average, providing extra smoothing, less sensitive to noise.
- "WMA" (Weighted Moving Average): A weighted average, giving progressively more weight to recent data, responding very quickly to changes in PVT.
Moving Average Length: Defines the number of bars used to calculate the moving average (and, if applicable, the standard deviation for the Bollinger Bands). A lower value will make the line more responsive, while a higher value will smooth it out.
PVT BB StdDev (Bollinger Bands Standard Deviation): Determines the width of the Bollinger Bands. A higher value will result in wider bands, making it less likely for the PVT to cross them. The standard value is 2.0.
4. Visual Aid: Current PVT Level Line
This indicator includes a unique and highly useful visual feature: a dynamic horizontal line displayed on the PVT graph.
Purpose: This line marks the exact level of the PVT on the most recent trading bar. It extends across the entire chart, allowing for a quick and intuitive comparison of the current level to past levels.
Why is it Important?
- Identifying Divergences: Often, an asset's price may be lower or higher than past levels, but the PVT level might be different. This auxiliary line makes it easy to spot situations where PVT is at a higher level when the price is lower, or vice-versa, which can signal potential trend changes (e.g., higher PVT than in the past while price is low could indicate strong accumulation).
- Quick Direction Indication: The line's color changes dynamically: it will be green if the PVT value on the last bar has increased (or remained the same) relative to the previous bar (indicating positive buying pressure), and red if the PVT value has decreased relative to the previous bar (indicating selling pressure). This provides an immediate visual cue about the direction of the cumulative momentum.
5. Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
Multi Ranges Volume Distribution [LuxAlgo]The Multi Ranges Volume Distribution tool allows traders to see the volume distribution by price for three different timeframes simultaneously. Each distribution can report the total amount of accumulated volume or the accumulated buy/sell volume separately.
Levels are displayed at the top and bottom of each timeframe's range, as well as the POC or level with the most volume.
🔶 USAGE
By default, the tool displays daily, weekly, and monthly volume distributions, highlighting the accumulated volume within each row.
Each distribution shows the volume at each price, as well as three lines: the top and bottom prices, and the price at which the most volume was traded.
The reported accumulated volume can be useful for highlighting which price areas are of the most interest to traders, with the specific timeframe specifying whether this interest is long-term or short-term.
🔹 Timeframes & Rows
Traders can adjust the timeframe and the number of rows for each volume distribution.
This is useful for multi-timeframe analysis of volume at the same price levels, or for obtaining detailed data within the same timeframe.
The chart above shows three volume distributions with the same monthly timeframe but a different number of rows; each is more detailed than the previous one.
🔹 Total vs Buy & Sell Volume
Traders can choose to display either the total volume or the buy and sell volumes.
As we can see on the above chart, the background of each row uses a gradient that is a function of the delta between the buy and sell volumes.
This is useful to determine which areas attract buyers and sellers.
🔶 SETTINGS
Volume Display: Select between total volume and buy and sell volume.
Distance between each box: Adjust the spacing of the volume distributions.
Period A: Select a timeframe and the number of rows.
Period B: Select a timeframe and the number of rows.
Period C: Select a timeframe and the number of rows.
BuySell Volume Bar Chart• Separates estimated Buy and Sell volume per bar using price action logic
• Plots them in a dual-axis format: buy volume goes up, sell volume goes down
• Colors are dynamic — whichever side dominates gets the stronger color, the weaker side is shaded
• Includes a live difference metric (Δ Volume) as a third value in the indicator title
• Automatically filters out flat/no-move bars to avoid misleading spikes
The live difference metric ("Δ Volume") can be controlled.
This metric calculates the difference between the buying and selling volume live, where it takes the Buy Volume - Sell Volume.
This difference is then displayed in either green (BV > SV) or red (SV > BV). You can toggle it on/off by entering the indicator's settings or double tapping the indicator name on the TV chart.
Another pretty cool thing is the modular colors - you can customize your candle colors and shades to your liking within the code!
Liquidity Spectrum Visualizer [BigBeluga]🔵 OVERVIEW
The Liquidity Spectrum Visualizer is a smart tool for exposing hidden liquidity zones by combining a dynamic volume profile, clear liquidity levels, and intuitive volume bubbles directly on your price chart. It shows you exactly where significant volume is clustering inside your chosen lookback period — highlighting where big market participants may be defending price or planning breakouts.
🔵 CONCEPTS
Volume Profile Bins: Breaks your custom lookback range into 100 fine price bins, calculating total volume per bin to create a precise vertical liquidity histogram.
Liquidity Levels: Bins with high relative volume automatically plot as horizontal lines — thicker and brighter lines signal stronger liquidity concentrations.
Dynamic Coloring: Profile bins and liquidity levels adjust their colors live based on whether current price is trading above (support) or below (resistance).
Volume Bubbles: Each candle displays a bubble at its HLC3 price —
- The bubble’s size shows relative candle volume.
- Its color gradient indicates bullish or bearish volume: greenish for bullish candles, orange for bearish.
Bubble Labels: The largest bubbles automatically label the actual volume amount, revealing big hidden flows.
Range Box High/Low: Marks the absolute swing high and low inside the lookback window, clearly framing the active liquidity zone.
🔵 FEATURES
Smart, auto-scaled volume profile up to 200 candles (or custom).
Liquidity levels with dynamic thickness and color based on real-time volume.
Bubbles sized and colored to show both volume magnitude and bullish/bearish bias.
Largest bubbles labeled for fast detection of high-impact bars.
High and low price labels clearly show the analyzed range.
Toggle Volume Profile, Liquidity Levels, and Bubbles independently.
🔵 HOW TO USE
Watch for thick, bright liquidity levels — these zones mark where large orders or stop clusters are likely hidden.
Use dynamic coloring: if price is above a level, it’s support; if below, it’s resistance.
Pay special attention to big bubbles: these mark sudden spikes in traded volume and can signal absorption, traps, breakouts or significant price levels.
Combine with your existing confluence tools to confirm breakouts or fakeouts around visible liquidity clusters.
🔵 CONCLUSION
The Liquidity Spectrum Visualizer transforms hidden order flow into an intuitive, color-coded map. You see at a glance where price is absorbing, consolidating, or ready to break — all powered by real-time volume behavior and smart visuals. It’s a must-have tool for traders who want to read liquidity and react ahead of the crowd.
Buy sell Volume STThis indicator analyzes the flow of volume and price changes to identify potential trends.
Understanding Volume Indicator: A Comprehensive Guide
Introduction. The volume indicator is a vital tool investors and traders use to understand the liquidity and market activity in trading
Bitcoin Institutional Volume AnchorsBitcoin Institutional Volume Anchors
Indicator Overview:
The Bitcoin Institutional Volume Anchors indicator is a professional-grade VWAP analysis tool designed for sophisticated Bitcoin trading strategies. It tracks two critical volume-weighted average price levels anchored to fundamental market structure events that drive Bitcoin's multi-year cycles.
-Orange Line (Halving Anchor): Volume-weighted average price from April 19, 2024 halving event
-Blue Line (Cycle Low Anchor): Volume-weighted average price from November 21, 2022 cycle bottom
These anchors represent the average price institutional and professional traders have paid since Bitcoin's most significant supply-side catalyst (halving) and demand-side reset (cycle low).
Market Interpretation Framework:
Price Above Both Anchors - Institutional Bullish
-Strong institutional accumulation confirmed
-Majority of professional money profitable since key events
-Optimal environment for long-term position building
-Risk-on institutional sentiment
Price Between Anchors - Transition Phase
-Mixed institutional signals requiring careful analysis
-Appropriate for reduced position sizing
-Monitor for directional confirmation
-Tactical rebalancing opportunity
Price Below Both Anchors - Institutional Bearish
-Professional money underperforming key levels
-Heightened risk management protocols required
-Defensive positioning appropriate
-Await institutional re-accumulation signals
Standard Deviation Band Analysis:
Gray Bands (2σ): Statistical volatility boundaries
-Represent normal price excursions from institutional fair value
-Used for tactical profit-taking and position scaling
-Indicate elevated but manageable risk levels
Colored Bands (3σ): Extreme volatility boundaries
-Orange/Blue bands corresponding to respective VWAP anchors
-Represent statistically extreme price extensions
-High-probability reversal or exhaustion zones
-Critical risk management triggers
Professional Trading Applications:
Portfolio Allocation Framework
Maximum Allocation (70-100%)
-Price above both anchors with upward trending VWAPs
-Recent bounce from either anchor level
-Recovery to fair value after extreme extension
Standard Allocation (40-70%)
-Price above anchors but approaching 2σ bands
-Consolidation near anchor levels
-Confirmed institutional trend changes
Reduced Allocation (20-40%)
-Price at 2σ extension levels
-Below one anchor but above the other
-Conflicting VWAP trend signals
Defensive Allocation (10-25%)
-Price at 3σ extreme levels
-Below both institutional anchors
-Overextended risk conditions (>30-35% above anchors)
Entry Signal Hierarchy:
Tier 1 Signals (Highest Probability)
-Bounce from Cycle Low Anchor during uptrend
-Cross above both anchors with volume confirmation
-Recovery to fair value after 20%+ extension
Tier 2 Signals (Standard Probability)
-Bounce from Halving Anchor during uptrend
-Trend change confirmation in VWAP slope
-2σ band rejection with momentum
Tier 3 Signals (Lower Probability)
-Entries near 2σ extension levels
-Counter-trend plays against institutional flow
-High-risk momentum trades at extremes
Risk Management Protocol:
Stop Loss Guidelines
-Halving Anchor entries: 3% below anchor level
-Cycle Low Anchor entries: 4% below anchor level
-Extension trades: 2% below current level
-Trend change trades: Below invalidation anchor
Profit Taking Strategy
-25-40% profits at 2σ bands
-50-70% profits at 3σ bands
-Trailing stops below higher timeframe anchor levels
-Complete exits on institutional trend reversals
Alert System Integration:
The indicator provides institutional-grade alert notifications with:
-Precise entry and exit levels
-Position sizing recommendations
-Historical win rate data
-Risk/reward calculations
-Stop loss and target guidelines
-Timeframe expectations
-Volume confirmation requirements
Implementation Notes
-Timeframe Suitability: Daily charts recommended for primary analysis
-Asset Specificity: Optimized exclusively for Bitcoin spot markets
-Volume Consideration: Higher volume enhances signal reliability
-Market Context: Most effective during trending market conditions
-Institutional Alignment: Designed for professional risk management standards
-Key Performance Metrics
Based on historical backtesting:
-Overall Win Rate: 74% for primary signals
-Risk Reduction: 31% drawdown improvement vs buy-and-hold
-Signal Accuracy: 85% at extreme (3σ) levels
-Optimal Timeframe: 1-12 week holding periods
-Best Performance: April 2024 - January 2025 period
This indicator is designed for professional traders and institutional investors who require sophisticated market analysis tools with quantified risk parameters and historically validated performance metrics.
Liquidity Break Probability [PhenLabs]📊 Liquidity Break Probability
Version: PineScript™ v6
The Liquidity Break Probability indicator revolutionizes how traders approach liquidity levels by providing real-time probability calculations for level breaks. This advanced indicator combines sophisticated market analysis with machine learning inspired probability models to predict the likelihood of high/low breaks before they happen.
Unlike traditional liquidity indicators that simply draw lines, LBP analyzes market structure, volume profiles, momentum, volatility, and sentiment to generate dynamic break probabilities ranging from 5% to 95%. This gives traders unprecedented insight into which levels are most likely to hold or break, enabling more confident trading decisions.
🚀 Points of Innovation
Advanced 6-factor probability model weighing market structure, volatility, volume, momentum, patterns, and sentiment
Real-time probability updates that adjust as market conditions change
Intelligent trading style presets (Scalping, Day Trading, Swing Trading) with optimized parameters
Dynamic color-coded probability labels showing break likelihood percentages
Professional tiered input system - from quick setup to expert-level customization
Smart volume filtering that only highlights levels with significant institutional interest
🔧 Core Components
Market Structure Analysis: Evaluates trend alignment, level strength, and momentum buildup using EMA crossovers and price action
Volatility Engine: Incorporates ATR expansion, Bollinger Band positioning, and price distance calculations
Volume Profile System: Analyzes current volume strength, smart money proxies, and level creation volume ratios
Momentum Calculator: Combines RSI positioning, MACD strength, and momentum divergence detection
Pattern Recognition: Identifies reversal patterns (doji, hammer, engulfing) near key levels
Sentiment Analysis: Processes fear/greed indicators and market breadth measurements
🔥 Key Features
Dynamic Probability Labels: Real-time percentage displays showing break probability with color coding (red >70%, orange >50%, white <50%)
Trading Style Optimization: One-click presets automatically configure sensitivity and parameters for your trading timeframe
Professional Dashboard: Live market state monitoring with nearest level tracking and active level counts
Smart Alert System: Customizable proximity alerts and high-probability break notifications
Advanced Level Management: Intelligent line cleanup and historical analysis options
Volume-Validated Levels: Only displays levels backed by significant volume for institutional-grade analysis
🎨 Visualization
Recent Low Lines: Red lines marking validated support levels with probability percentages
Recent High Lines: Blue lines showing resistance zones with break likelihood indicators
Probability Labels: Color-coded percentage labels that update in real-time
Professional Dashboard: Customizable panel showing market state, active levels, and current price
Clean Display Modes: Toggle between active-only view for clean charts or historical view for analysis
📖 Usage Guidelines
Quick Setup
Trading Style Preset
Default: Day Trading
Options: Scalping, Day Trading, Swing Trading, Custom
Description: Automatically optimizes all parameters for your preferred trading timeframe and style
Show Break Probability %
Default: True
Description: Displays percentage labels next to each level showing break probability
Line Display
Default: Active Only
Options: Active Only, All Levels
Description: Choose between clean active-only view or comprehensive historical analysis
Level Detection Settings
Level Sensitivity
Default: 5
Range: 1-20
Description: Lower values show more levels (sensitive), higher values show fewer levels (selective)
Volume Filter Strength
Default: 2.0
Range: 0.5-5.0
Description: Controls minimum volume threshold for level validation
Advanced Probability Model
Market Trend Influence
Default: 25%
Range: 0-50%
Description: Weight given to overall market trend in probability calculations
Volume Influence
Default: 20%
Range: 0-50%
Description: Impact of volume analysis on break probability
✅ Best Use Cases
Identifying high-probability breakout setups before they occur
Determining optimal entry and exit points near key levels
Risk management through probability-based position sizing
Confluence trading when multiple high-probability levels align
Scalping opportunities at levels with low break probability
Swing trading setups using high-probability level breaks
⚠️ Limitations
Probability calculations are estimations based on historical patterns and current market conditions
High-probability setups do not guarantee successful trades - risk management is essential
Performance may vary significantly across different market conditions and asset classes
Requires understanding of support/resistance concepts and probability-based trading
Best used in conjunction with other analysis methods and proper risk management
💡 What Makes This Unique
Probability-Based Approach: First indicator to provide quantitative break probabilities rather than simple S/R lines
Multi-Factor Analysis: Combines 6 different market factors into a comprehensive probability model
Adaptive Intelligence: Probabilities update in real-time as market conditions change
Professional Interface: Tiered input system from beginner-friendly to expert-level customization
Institutional-Grade Filtering: Volume validation ensures only significant levels are displayed
🔬 How It Works
1. Level Detection:
Identifies pivot highs and lows using configurable sensitivity settings
Validates levels with volume analysis to ensure institutional significance
2. Probability Calculation:
Analyzes 6 key market factors: structure, volatility, volume, momentum, patterns, sentiment
Applies weighted scoring system based on user-defined factor importance
Generates probability score from 5% to 95% for each level
3. Real-Time Updates:
Continuously monitors price action and market conditions
Updates probability calculations as new data becomes available
Adjusts for level touches and changing market dynamics
💡 Note: This indicator works best on timeframes from 1-minute to 4-hour charts. For optimal results, combine with proper risk management and consider multiple timeframe analysis. The probability calculations are most accurate in trending markets with normal to high volatility conditions.
Volumatic Support/Resistance Levels [BigBeluga]🔵 OVERVIEW
A smart volume-powered tool for identifying key support and resistance zones—enhanced with real-time volume histogram fills and high-volume markers.
Volumatic Support/Resistance Levels detects structural levels from swing highs and lows, and wraps them in dynamic histograms that reflect the relative volume strength around those zones. It highlights the strongest price levels not just by structure—but by the weight of market participation.
🔵 CONCEPTS
Price Zones: Support and resistance levels are drawn from recent price pivots, while volume is used to visually enhance these zones with filled histograms and highlight moments of peak activity using markers.
Histogram Fill = Activity Zone: The width and intensity of each filled zone adjusts to recent volume bursts.
High-Volume Alerts: Circle markers highlight moments of volume dominance directly on the levels—revealing pressure points of support/resistance.
Clean Visual Encoding: Red = resistance zones, green = support zones, orange = high-volume bars.
🔵 FEATURES
Detects pivot-based resistance (highs) and support (lows) using a customizable range length.
Wraps these levels in volume-weighted bands that expand/contract based on percentile volume.
Color fill intensity increases with rising volume pressure, creating a live histogram feel.
When volume > user-defined threshold , the indicator adds circle markers at the top and bottom of that price level zone.
Bar coloring highlights the candles that generated this high-volume behavior (orange by default).
Adjustable settings for all thresholds and colors, so traders can dial in volume sensitivity.
🔵 HOW TO USE
Identify volume-confirmed resistance and support zones for potential reversal or breakout setups.
Focus on levels with intense histogram fill and circle markers —they indicate strong participation.
Use bar coloring to track when key activity started and align it with broader market context.
Works well in combination with order blocks, trend indicators, or liquidity zones.
Ideal for day traders, scalpers, and volume-sensitive setups.
🔵 CONCLUSION
Volumatic Support/Resistance Levels elevates traditional support and resistance logic by anchoring it in volume context. Instead of relying solely on price action, it gives traders insight into where real conviction lies—by mapping how aggressively the market defended or rejected key levels. It's a visual, reactive, and volume-conscious upgrade to your structural toolkit.
Volume Overbought/Oversold Zones📊 What You’ll See on the Chart
Red Background or Red Triangle ABOVE a Candle
🔺 Means: Overbought Volume
→ Volume on that bar is much higher than average (as defined by your settings).
→ Suggests strong activity, possible exhaustion in the trend or an emotional spike.
→ It’s a warning: consider watching for signs of reversal, especially if price is already stretched.
Green Background or Green Triangle BELOW a Candle
🔻 Means: Oversold Volume
→ Volume on that bar is much lower than normal.
→ Suggests the market may be losing momentum, or few sellers are left.
→ Could signal an upcoming reversal or recovery if confirmed by price action.
Orange Line Below the Candles (Volume Moving Average)
📈 Shows the "normal" average volume over the last X candles (default is 20).
→ Helps you visually compare each bar’s volume to the average.
Gray Columns (Actual Volume Bars)
📊 These are your regular volume bars — they rise and fall based on how active each candle is.
🔍 What This Indicator Does (In Simple Words)
This indicator looks at trading volume—which is how many shares/contracts were traded in a given period—and compares it to what's considered "normal" for recent history. When volume is unusually high or low, it highlights those moments on the chart.
It tells you:
• When volume is much higher than normal → market might be overheated or experiencing a buying/selling frenzy.
• When volume is much lower than normal → market might be quiet, potentially indicating lack of interest or indecision.
These conditions are marked visually, so you can instantly spot them.
💡 How It Helps You As a Trader
1. Spotting Exhaustion in Trends (Overbought Signals)
If a market is going up and suddenly volume spikes way above normal, it may mean:
• The move is getting crowded (lots of buyers are already in).
• A reversal or pullback could be near because smart money may be taking profits.
Trading idea: Wait for high-volume up bars, then look for price weakness to consider a short or exit.
2. Identifying Hidden Opportunities (Oversold Signals)
If price is falling but volume drops unusually low, it might mean:
• Panic is fading.
• Sellers are losing energy.
• A bounce or trend reversal could happen soon.
Trading idea: After a volume drop in a downtrend, watch for bullish price patterns or momentum shifts to consider a buy.
3. Confirming or Doubting Breakouts
Volume is critical for confirming breakouts:
• If price breaks a key level with strong volume, it's more likely to continue.
• A breakout without volume could be a fake-out.
This indicator highlights volume surges that can help you confirm such moves.
📈 How to Use It in Practice
• Combine it with candlestick patterns, support/resistance, or momentum indicators.
• Use the background colors or shapes as a visual cue to pause and analyze.
• Adjust the sensitivity to suit fast-moving markets (like crypto) or slow ones (like large-cap stocks).
Uptrick: Universal Z-Score ValuationOverview
The Uptrick: Universal Z-Score Valuation is a tool designed to help traders spot when the market might be overreacting—whether that’s on the upside or the downside. It does this by combining the Z-scores of multiple key indicators into a single average, letting you see how far the current market conditions have stretched away from “normal.” This average is shown as a smooth line, supported by color-coded visuals, signal markers, optional background highlights, and a live breakdown table that shows the contribution of each indicator in real time. The focus here is on spotting potential reversals, not following trends. The indicator works well across all timeframes and asset classes, from fast intraday charts like the 1-minute and 5-minute, to higher timeframes such as the 4-hour, daily, or even weekly. Its universal design makes it suitable for any market — whether you're trading crypto, stocks, forex, or commodities.
Introduction
To understand what this indicator does, let’s start with the idea of a Z-score. In simple terms, a Z-score tells you how far a number is from the average of its recent history, measured in standard deviations. If the price of an asset is two standard deviations above its mean, that means it’s statistically “rare” or extended. That doesn’t guarantee a reversal—but it suggests the move is unusual enough to pay attention.
This concept isn’t new, but what this indicator does differently is apply the Z-score to a wide set of market signals—not just price. It looks at momentum, volatility, volume, risk-adjusted performance, and even institutional price baselines. Each of those indicators is normalized using Z-scores, and then they’re combined into one average. This gives you a single, easy-to-read line that summarizes whether the entire market is behaving abnormally. Instead of reacting to one indicator, you’re reacting to a statistically balanced blend.
Purpose
The goal of this script is to catch turning points—places where the market may be topping out or bottoming after becoming overstretched. It’s built for traders who want to fade sharp moves rather than follow trends. Think of moments when price explodes upward and starts pulling away from every moving average, volume spikes, volatility rises, and RSI shoots up. This tool is meant to spot those situations—not just when price is stretched, but when multiple different indicators agree that something is overdone.
Originality and Uniqueness
Most indicators that use Z-scores only apply them to one thing—price, RSI, or maybe Bollinger Bands. This one is different because it treats each indicator as a contributor to the full picture. You decide which ones to include, and the script averages them out. This makes the tool flexible but also deeply informative.
It doesn’t rely on complex or hidden math. It uses basic Z-score formulas, applies them to well-known indicators, and shows you the result. What makes it unique is the way it brings those signals together—statistically, visually, and interactively—so you can see what’s happening in the moment with full transparency. It’s not trying to be flashy or predictive. It’s just showing you when things have gone too far, too fast.
Inputs and Parameters
This indicator includes a wide range of configurable inputs, allowing users to customize which components are included in the Z-score average, how each indicator is calculated, and how results are displayed visually. Below is a detailed explanation of each input:
General Settings
Z-Score Lookback (default: 100): Number of bars used to calculate the mean and standard deviation for Z-score normalization. Larger values smooth the Z-scores; smaller values make them more reactive.
Bar Color Mode (default: None): Determines how bars are visually colored. Options include: None: No candle coloring applied. - Heat: Smooth gradient based on the Z-score value. - Latest Signal: Applies a solid color based on the most recent buy or sell signal
Boolean - General
Plot Universal Valuation Line (default: true): If enabled, plots the average Z-score (zAvg) line in the separate pane.
Show Signals (default: true): Displays labels ("𝓤𝓹" for buy, "𝓓𝓸𝔀𝓷" for sell) when zAvg crosses above or below user-defined thresholds.
Show Z-Score Table (default: true): Displays a live table listing each enabled indicator's Z-score and the current average.
Select Indicators
These toggles enable or disable each indicator from contributing to the Z-score average:
Use VWAP Z-Score (default: true)
Use Sortino Z-Score (default: true)
Use ROC Z-Score (default: true)
Use Price Z-Score (default: true)
Use MACD Histogram Z-Score (default: false)
Use Bollinger %B Z-Score (default: false)
Use Stochastic K Z-Score (default: false)
Use Volume Z-Score (default: false)
Use ATR Z-Score (default: false)
Use RSI Z-Score (default: false)
Use Omega Z-Score (default: true)
Use Sharpe Z-Score (default: true)
Only enabled indicators are included in the average. This modular design allows traders to tailor the signal mix to their preferences.
Indicator Lengths
These inputs control how each individual indicator is calculated:
MACD Fast Length (default: 12)
MACD Slow Length (default: 26)
MACD Signal Length (default: 9)
Bollinger Basis Length (default: 20): Used to compute the Bollinger %B.
Bollinger Deviation Multiplier (default: 2.0): Standard deviation multiplier for the Bollinger Band calculation.
Stochastic Length (default: 14)
ATR Length (default: 14)
RSI Length (default: 14)
ROC Length (default: 10)
Zones
These thresholds define key signal levels for the Z-score average:
Neutral Line Level (default: 0): Baseline for the average Z-score.
Bullish Zone Level (default: -1): Optional intermediate zone suggesting early bullish conditions.
Bearish Zone Level (default: 1): Optional intermediate zone suggesting early bearish conditions.
Z = +2 Line Level (default: 2): Primary threshold for bearish signals.
Z = +3 Line Level (default: 3): Extreme bearish warning level.
Z = -2 Line Level (default: -2): Primary threshold for bullish signals.
Z = -3 Line Level (default: -3): Extreme bullish warning level.
These zone levels are used to generate signals, fill background shading, and draw horizontal lines for visual reference.
Why These Indicators Were Merged
Each indicator in this script was chosen for a specific reason. They all measure something different but complementary.
The VWAP Z-score helps you see when price has moved far from the volume-weighted average, often used by institutions.
Sortino Ratio Z-score focuses only on downside risk, which is often more relevant to traders than overall volatility.
ROC Z-score shows how fast price is changing—strong momentum may burn out quickly.
Price Z-score is the raw measure of how far current price has moved from its mean.
RSI Z-score shows whether momentum itself is stretched.
MACD Histogram Z-score captures shifts in trend strength and acceleration.
%B (Bollinger) Z-score indicates how close price is to the upper or lower volatility envelope.
Stochastic K Z-score gives a sense of how high or low price is relative to its recent range.
Volume Z-score shows when trading activity is unusually high or low.
ATR Z-score gives a read on volatility, showing if price movement is expanding or contracting.
Sharpe Z-score measures reward-to-risk performance, useful for evaluating trend quality.
Omega Z-score looks at the ratio of good returns to bad ones, offering a more nuanced view of efficiency.
By normalizing each of these using Z-scores and averaging only the ones you turn on, the script creates a flexible, balanced view of the market’s statistical stretch.
Calculations
The core formula is the standard Z-score:
Z = (current value - average) / standard deviation
Every indicator uses this formula after it’s calculated using your chosen settings. For example, RSI is first calculated as usual, then its Z-score is calculated over your selected lookback period. The script does this for every indicator you enable. Then it averages those Z-scores together to create a single value: zAvg. That value is plotted and used to generate visual cues, signals, table values, background color changes, and candle coloring.
Sequence
Each selected indicator is calculated using your custom input lengths.
The Z-score of each indicator is computed using the shared lookback period.
All active Z-scores are added up and averaged.
The resulting zAvg value is plotted as a line.
Signal conditions check if zAvg crosses user-defined thresholds (default: ±2).
If enabled, the script plots buy/sell signal labels at those crossover points.
The candle color is updated using your selected mode (heatmap or signal-based).
If extreme Z-scores are reached, background highlighting is applied.
A live table updates with each individual Z-score so you know what’s driving the signal.
Features
This script isn’t just about stats—it’s about making them usable in real time. Every feature has a clear reason to exist, and they’re all there to give you a better read on market conditions.
1. Universal Z-Score Line
This is your primary reference. It reflects the average Z-score across all selected indicators. The line updates live and is color-coded to show how far it is from neutral. The further it gets from 0, the brighter the color becomes—cyan for deeply oversold conditions, magenta for overbought. This gives you instant feedback on how statistically “hot” or “cold” the market is, without needing to read any numbers.
2. Signal Labels (“𝓤𝓹” and “𝓓𝓸𝔀𝓷”)
When the average Z-score drops below your lower bound, you’ll see a "𝓤𝓹" label below the bar, suggesting potential bullish reversal conditions. When it rises above the upper bound, a "𝓓𝓸𝔀𝓷" label is shown above the bar—indicating possible bearish exhaustion. These labels are visually clear and minimal so they don’t clutter your chart. They're based on clear crossover logic and do not repaint.
3. Real-Time Z-Score Table
The table shows each indicator's individual Z-score and the final average. It updates every bar, giving you a transparent breakdown of what’s happening under the hood. If the market is showing an extreme average score, this table helps you pinpoint which indicators are contributing the most—so you’re not just guessing where the pressure is coming from.
4. Bar Coloring Modes
You can choose from three modes:
None: Keeps your candles clean and untouched.
Heat: Applies a smooth gradient color based on Z-score intensity. As conditions become more extreme, candle color transitions from neutral to either cyan (bullish pressure) or magenta (bearish pressure).
Latest Signal: Applies hard coloring based on the most recent signal—greenish for a buy, purple for a sell. This mode is great for tracking market state at a glance without relying on a gradient.
Every part of the candle is colored—body, wick, and border—for full visibility.
5. Background Highlighting
When zAvg enters an extreme zone (typically above +2 or below -2), the background shifts color to reflect the market’s intensity. These changes aren’t overwhelming—they’re light fills that act as ambient warnings, helping you stay aware of when price might be reaching a tipping point.
6. Customizable Zone Lines and Fills
You can define what counts as neutral, overbought, and oversold using manual inputs. Horizontal lines show your thresholds, and shaded regions highlight the most extreme zones (+2 to +3 and -2 to -3). These lines give you visual structure to understand where price currently stands in relation to your personal reversal model.
7. Modular Indicator Control
You don’t have to use all the indicators. You can enable or disable any of the 12 with a simple checkbox. This means you can build your own “blend” of market context—maybe you only care about RSI, price, and volume. Or maybe you want everything on. The script adapts accordingly, only averaging what you select.
8. Fully Customizable Sensitivity and Lengths
You can adjust the Z-score lookback length globally (default 100), and tweak individual indicator lengths separately. This lets you tune the indicator’s responsiveness to suit your trading style—slower for longer swings, faster for scalping.
9. Clean Integration with Any Chart Layout
All visual elements are designed to be informative without taking over your chart. The coloring is soft but clear, the labels are readable without being huge, and you can turn off any feature you don’t need. The indicator can work as a full dashboard or as a simple line with a couple of alerts—it’s up to you.
10. Precise, Real-Time Signal Logic
The crossover logic for signals is exact and only fires when the Z-score moves across your defined boundary. No estimation, no delay. Everything is calculated based on current and previous bar data, and nothing repaints or back-adjusts.
Conclusion
The Universal Z-Score Valuation indicator is a tool for traders who want a clear, unbiased way to detect overextension. Instead of relying on a single signal, you get a composite of several market perspectives—momentum, volatility, volume, and more—all standardized into a single view. The script gives you the freedom to control the logic, the visuals, and the components. Whether you use it as a confirmation tool or a primary signal source, it’s designed to give you clarity when markets become chaotic.
Disclaimer
This indicator is for research and educational use only. It does not constitute financial advice or guarantees of performance. All trading involves risk, and users should test any strategy thoroughly before applying it to live markets. Use this tool at your own discretion.
LTF Volume markerLTF Volume Marker
Overview:
The LTF Volume Marker highlights candles that contain volume spikes on a lower timeframe (LTF), even while you are viewing a higher timeframe chart. It is designed to help identify hidden volume activity that may not be visible when aggregating candles.
This indicator is conceptually similar to a volume profile — but instead of showing distribution across price levels, it visualizes volume clusters within the structure of a sloped trend or time-based aggregation.
Key Features:
✅ Automatically detects high-volume candles on a user-defined lower timeframe
✅ Marks the price level of volume spikes using weighted average price (VWAP) within higher timeframe bars
✅ Supports both manual threshold and auto mode (which highlights top X% of volume candles in a selected range)
✅ Fully adjustable timeframe and date range
✅ Displays either a point or an area at the spike location or together
How It Works:
You define a Lower Timeframe (e.g. 1-minute) and optionally a threshold or use the auto mode to dynamically calculate it from past data.
On higher timeframes (e.g. 5-min, 15-min), the indicator looks inside each bar, finds all volume spikes, and plots the volume-weighted average price of those spikes.
If you are on the same timeframe as the LTF, it simply highlights candles with volume exceeding the threshold.
Use Cases:
Spotting hidden volume clusters inside trending moves
Validating support/resistance levels with underlying volume
Filtering false breakouts using intra-bar volume
Enhancing scalping and intraday setups by visualizing internal structure
Notes:
The indicator ignores future-looking data (lookahead=off) and only processes completed bars.
If the chart’s timeframe is lower than the selected LTF, the indicator will automatically disable itself.
Works best with aggregated symbols, such as futures or cryptocurrencies with high resolution data.
Real Cumulative Delta VolumeReal Cumulative Delta Volume (CDV) - Enhanced Volume Flow Analysis
What This Indicator Does
This indicator calculates cumulative delta volume using an enhanced approximation methodology that analyzes buying and selling pressure within each candlestick. It provides traders with insights into volume flow dynamics by tracking the cumulative difference between estimated buy and sell volumes over time.
Technical Methodology & Calculation Details
Volume Distribution Algorithm: The indicator uses a price-weighted distribution method to estimate buy and sell volumes within each bar:
Delta multiplier = (close - low) / (high - low)
Buy volume = total volume × delta multiplier
Sell volume = total volume × (1 - delta multiplier)
Net delta = buy volume - sell volume
Cumulative Delta Tracking: Unlike basic volume indicators, this approach maintains a running cumulative total of net delta values:
CDV Open = Previous CDV Close
CDV Close = Previous CDV Close + Net Delta
CDV High/Low = Previous CDV Close + estimated intrabar extremes
Enhanced Features Beyond Standard CDV:
Divergence Detection: Automatically identifies when price direction conflicts with volume flow direction
Body Size Analysis: Compares current vs previous CDV candle body sizes to detect momentum changes
Conditional Color Coding: Special visual alerts when specific price/volume relationships occur
Signal Generation: Buy/sell signals based on divergence resolution patterns
How This Differs from Basic Cumulative Delta
Standard Limitations Addressed:
Most cumulative delta indicators on TradingView use simple uptick/downtick classification. This indicator enhances the approach by:
Price-Weighted Distribution: Instead of assuming 50/50 volume splits, uses the bar's price action (close relative to high/low) to estimate volume distribution
OHLC Representation: Displays CDV as candlesticks rather than just a line, showing intrabar volume dynamics
Integrated Divergence Detection: Built-in algorithms identify price/volume conflicts automatically
Advanced Signal Logic: Multi-condition signal generation beyond simple crossovers
Visual Enhancement Features:
Dual display modes (candlestick or line)
Special color coding for divergence conditions
Moving average overlays for trend confirmation
Optional buy/sell signal markers
Signal Generation Logic
Buy Signals Generated When:
Previous bar showed bearish divergence (price down, CDV up)
Current CDV candle shows specific color condition
Current CDV body is contained within previous divergence body
Price closes above previous high
Sell Signals Generated When:
Previous bar showed bullish divergence (price up, CDV down)
Current CDV candle shows specific color condition
Current CDV body is contained within previous divergence body
Price closes below previous low
Trading Applications
Volume Flow Analysis:
Identify periods of hidden accumulation or distribution
Spot when large players are buying/selling against the price trend
Confirm trend strength through volume alignment
Divergence Trading:
Early warning system for potential reversals
Identify when price movements lack volume support
Time entries based on divergence resolution
Trend Confirmation:
Use CDV direction to confirm price trend validity
Moving averages on CDV provide additional trend context
Volume momentum changes often precede price momentum shifts
Display Options & Settings
Visual Modes:
Candlestick: Full OHLC representation of cumulative delta
Line: Simplified cumulative line display
Moving Averages:
Optional SMA overlays (default: 50, 200 periods)
Optional EMA overlays (default: 50, 200 periods)
Customizable periods and colors
Signal Controls:
Toggle buy/sell signals on/off independently
Customizable colors for all visual elements
Adjustable transparency and styling options
Usage Guidelines & Limitations
Best Practices:
Most effective on timeframes 15m and higher due to volume data quality
Works best in liquid markets with consistent volume
Should be used alongside price action analysis and support/resistance levels
Signals are more reliable during trending market conditions
Technical Limitations:
Uses approximation methods due to lack of tick-by-tick data in Pine Script
Volume distribution estimates may be less accurate during gaps or low-volume periods
Effectiveness depends on quality of volume data from your broker/exchange
Market Context Considerations:
Less reliable during market holidays or extremely low volume sessions
News events and earnings can cause volume anomalies that affect calculations
Consider market microstructure when interpreting signals on very short timeframes
Important Disclaimers
Educational Purpose: This indicator is designed for educational and analysis purposes. It does not constitute financial or investment advice.
Risk Warning: All trading involves risk of loss. Past performance of any indicator signals does not guarantee future results.
Testing Required: Users should thoroughly backtest and forward test this indicator before using it in live trading. Paper trading is recommended to understand signal behavior.
No Guarantees: The developer makes no claims about profitability or accuracy. Market conditions change and historical effectiveness may not continue.
Proper Usage: This is a technical analysis tool, not a complete trading system. Always use appropriate risk management, position sizing, and combine with other forms of analysis.
Developer: Delta Merge Professional Trading Applications
Access Instructions: Send a private message through TradingView explaining your trading experience and how you plan to use this indicator. Access is provided to traders who demonstrate understanding of volume analysis concepts and proper risk management practices.
VWAP/VOL [Extension] | FractalystWhat's the indicator's purpose and functionality?
The VWAP/VOL Extension is designed specifically as a bias identification system for the Quantify Trading Model.
This extension uses volume-weighted average price analysis combined with institutional volume classification to automatically detect market bias without requiring optimization periods that lead to overfitting.
The system provides real-time bias signals (bullish/bearish/neutral) that integrate directly with Quantify's machine learning algorithms, enabling institutional-level backtesting and automated entry/exit identification based on genuine market structure rather than curve-fitted parameters.
How does this extension work with the Quantify Trading Model?
The VWAP/VOL Extension serves as the bias detection engine for Quantify's automated trading system.
Instead of manually selecting bias direction, this extension automatically identifies market bias using:
- Volume-weighted VWAP analysis with three-state detection (bullish/bearish/neutral)
- Institutional volume classification using relative volume thresholds without optimization
- Non-repainting architecture ensuring consistent bias signals for Quantify's machine learning
The extension outputs bias signals that Quantify uses as input through the `input.source()` function, allowing the Trading Model to focus on optimal entry/exit timing while the extension handles bias identification.
Why doesn't this use optimization periods like other indicators?
The VWAP/VOL Extension deliberately avoids optimization periods to prevent overfitting bias that destroys out-of-sample performance. The system uses:
- Fixed mathematical thresholds based on market structure principles rather than optimized parameters
- Relative volume analysis using standard 2.0x/0.5x ratios that work across all market conditions
- VWAP distance calculations based on percentage thresholds without curve-fitting
- Gap enforcement using fixed 5-bar minimums for disciplined bias detection
This approach ensures the bias signals remain robust across different market regimes without the performance degradation typical of over-optimized systems.
Can this extension be used independently for discretionary trading?
No, the VWAP/VOL Extension is specifically engineered to work as a component within the Quantify ecosystem. The extension is designed to:
- Provide bias input for Quantify's machine learning algorithms
- Enable automated backtesting through systematic bias identification
- Support institutional-level analysis when combined with Quantify's ML entry model
Using this extension independently would miss the primary value proposition of systematic entry/exit optimization that Quantify provides.
The extension handles bias detection so Quantify can focus on probability-based trade timing and risk management.
How does this enable institutional-level backtesting?
The extension transforms discretionary bias identification into systematic institutional analysis by:
- Eliminating subjective bias selection through automated VWAP/volume analysis
- Providing consistent historical signals with non-repainting architecture for accurate backtesting
- Integrating with Quantify's algorithms to identify optimal entry patterns based on objective bias states
- Enabling performance analysis across multiple market regimes without optimization bias
This combination allows Quantify to run institutional-grade backtests with consistent bias identification, generating reliable performance statistics and risk metrics that reflect genuine market edge rather than curve-fitted results.
How do I integrate this with the Quantify Trading Model?
Integration enables institutional-grade systematic trading through advanced machine learning and statistical validation:
- Add both VWAP/VOL Extension and Quantify Trading Model to your chart
- Select VWAP/VOL Extension as the bias source using input.source()
- Quantify automatically uses the extension's bias signals for entry/exit analysis
- The built-in machine learning algorithms score optimal entry and exit levels based on trend intensity, volume conviction, and market structure patterns identified by the extension
The extension handles all bias detection complexity while Quantify focuses on optimal trade timing, position sizing, and risk management along with PineConnector automation
What markets and assets does the VWAP/VOL Extension work best on?
The VWAP/VOL Extension performs optimally on markets with consistent, high-volume participation since the system relies on institutional volume analysis for bias detection. Futures markets provide the most reliable performance due to their centralized volume data and continuous institutional participation.
Recommended Futures Markets:
- ES (S&P 500 E-mini) - Over 2 million contracts daily volume, excellent liquidity depth
- NQ (NASDAQ-100 E-mini) - Around 600,000 contracts daily, strong tech sector representation
- YM (Dow Jones E-mini) - Consistent institutional flow and volume patterns
- RTY (Russell 2000 E-mini) - Small-cap exposure with reliable volume data
- GC (Gold Futures) - High volume commodity with institutional participation
- CL (Crude Oil Futures) - Energy sector representation with strong volume consistency
Why Futures Markets Excel:
- Futures markets provide centralized volume reporting, ensuring the extension's volume classification system receives accurate institutional participation data. The standardized contract specifications and continuous trading hours create consistent volume patterns that the extension's algorithms can analyze effectively.
Acceptable Timeframes and Portfolio Integration:
- Any timeframe that can be evaluated within Quantify Trading Model's backtesting engine is acceptable for live trading implementation.
The extension is specifically designed to integrate with Quantify's portfolio management system, allowing multiple strategies across different timeframes and assets to operate simultaneously while maintaining consistent bias identification methodology across the entire automated trading portfolio.
Legal Disclaimers and Risk Acknowledgments
Trading Risk Disclosure
The VWAP/VOL Extension is provided for informational, educational, and systematic bias detection purposes only and should not be construed as financial, investment, or trading advice. The extension provides volume-weighted institutional analysis but does not guarantee profitable outcomes, accurate bias predictions, or positive investment returns.
Trading systems utilizing bias detection algorithms carry substantial risks including but not limited to total capital loss, incorrect bias identification, market regime changes, and adverse conditions that may invalidate volume-based analysis. The extension's performance depends on accurate volume data, TradingView infrastructure stability, and proper integration with Quantify Trading Model, any of which may experience data errors, technical failures, or service interruptions that could affect bias detection accuracy.
System Dependency Acknowledgment
The extension requires continuous operation of multiple interconnected systems: TradingView charts and real-time data feeds, accurate volume reporting from exchanges, Quantify Trading Model integration, and stable platform connectivity. Any interruption or malfunction in these systems may result in incorrect bias signals, missed transitions, or unexpected analytical behavior.
Users acknowledge that neither Fractalyst nor the creator has control over third-party data providers, exchange volume reporting accuracy, or TradingView platform stability, and cannot guarantee data accuracy, service availability, or analytical performance. Market microstructure changes, volume reporting delays, exchange outages, and technical factors may significantly affect bias detection accuracy compared to theoretical or backtested performance.
Intellectual Property Protection
The VWAP/VOL Extension, including all proprietary algorithms, volume classification methodologies, three-state bias detection systems, and integration protocols, constitutes the exclusive intellectual property of Fractalyst. Unauthorized reproduction, reverse engineering, modification, or commercial exploitation of these proprietary technologies is strictly prohibited and may result in legal action.
Liability Limitation
By utilizing this extension, users acknowledge and agree that they assume full responsibility and liability for all trading decisions, financial outcomes, and potential losses resulting from reliance on the extension's bias detection signals. Fractalyst shall not be liable for any unfavorable outcomes, financial losses, missed opportunities, or damages resulting from the development, use, malfunction, or performance of this extension.
Past performance of bias detection accuracy, volume classification effectiveness, or integration with Quantify Trading Model does not guarantee future results. Trading outcomes depend on numerous factors including market regime changes, volume pattern evolution, institutional behavior shifts, and proper system configuration, all of which are beyond the control of Fractalyst.
User Responsibility Statement
Users are solely responsible for understanding the risks associated with algorithmic bias detection, properly configuring system parameters, maintaining appropriate risk management protocols, and regularly monitoring extension performance. Users should thoroughly validate the extension's bias signals through comprehensive backtesting before live implementation and should never base trading decisions solely on automated bias detection.
This extension is designed to provide systematic institutional flow analysis but does not replace the need for proper market understanding, risk management discipline, and comprehensive trading methodology. Users should maintain active oversight of bias detection accuracy and be prepared to implement manual overrides when market conditions invalidate volume-based analysis assumptions.
Terms of Service Acceptance
Continued use of the VWAP/VOL Extension constitutes acceptance of these terms, acknowledgment of associated risks, and agreement to respect all intellectual property protections. Users assume full responsibility for compliance with applicable laws and regulations governing automated trading system usage in their jurisdiction.
Smarter Money Flow Divergence Detector [PhenLabs]📊 Smarter Money Flow Divergence Detector
Version: PineScript™ v6
📌 Description
SMFD was developed to help give you guys a better ability to “read” what is going on behind the scenes without directly having access to that level of data. SMFD is an enhanced divergence detection indicator that identifies money flow patterns from advanced volume analysis and price action correspondence. The detection portion of this indicator combines intelligent money flow calculations with multi timeframe volume analysis to help you see hidden accumulation and distribution phases before major price movements occur.
The indicator measures institutional trading activity by looking at volume surges, price volume dynamics, and the factors of momentum to construct an overall picture of market sentiment. It’s built to assist traders in identifying high probability entries by identifying if smart money is positioning against price action.
🚀 Points of Innovation
● Advanced Smart Money Flow algorithm with volume spike detection and large trade weighting
● Multi timeframe volume analysis for enhanced institutional activity detection
● Dynamic overbought/oversold zones that adapt to current market conditions
● Enhanced divergence detection with pivot confirmation and strength validation
● Color themes with customizable visual styling options
● Real time institutional bias tracking through accumulation/distribution analysis
🔧 Core Components
● Smart Money Flow Calculation: Combines price momentum, volume expansion, and VWAP analysis
● Institutional Bias Oscillator: Tracks accumulation/distribution patterns with volume pressure analysis
● Enhanced Divergence Engine: Detects bullish/bearish divergences with multiple confirmation factors
● Dynamic Zone Detection: Automatically adjusts overbought/oversold levels based on market volatility
● Volume Pressure Analysis: Measures buying vs selling pressure over configurable periods
● Multi factor Signal System: Generates entries with trend alignment and strength validation
🔥 Key Features
● Smart Money Flow Period: Configurable calculation period for institutional activity detection
● Volume Spike Threshold: Adjustable multiplier for detecting unusual institutional volume
● Large Trade Weight: Emphasis factor for high volume periods in flow calculations
● Pivot Detection: Customizable lookback period for accurate divergence identification
● Signal Sensitivity: Three tier system (Conservative/Medium/Aggressive) for signal generation
● Themes: Four color schemes optimized for different chart backgrounds
🎨 Visualization
● Main Oscillator: Line, Area, or Histogram display styles with dynamic color coding
● Institutional Bias Line: Real time tracking of accumulation/distribution phases
● Dynamic Zones: Adaptive overbought/oversold boundaries with gradient fills
● Divergence Lines: Automatic drawing of bullish/bearish divergence connections
● Entry Signals: Clear BUY/SELL labels with signal strength indicators
● Information Panel: Real time statistics and status updates in customizable positions
📖 Usage Guidelines
Algorithm Settings
● Smart Money Flow Period
○ Default: 20
○ Range: 5-100
○ Description: Controls the calculation period for institutional flow analysis.
Higher values provide smoother signals but reduce responsiveness to recent activity
● Volume Spike Threshold
○ Default: 1.8
○ Range: 1.0-5.0
○ Description: Multiplier for detecting unusual volume activity indicating institutional participation. Higher values require more extreme volume for detection
● Large Trade Weight
○ Default: 2.5
○ Range: 1.5-5.0
○ Description: Weight applied to high volume periods in smart money calculations. Increases emphasis on institutional sized transactions
Divergence Detection
● Pivot Detection Period
○ Default: 12
○ Range: 5-50
○ Description: Bars to analyze for pivot high/low identification.
Affects divergence accuracy and signal frequency
● Minimum Divergence Strength
○ Default: 0.25
○ Range: 0.1-1.0
○ Description: Required price change percentage for valid divergence patterns.
Higher values filter out weaker signals
✅ Best Use Cases
● Trading with intraday to daily timeframes for institutional position identification
● Confirming trend reversals when divergences align with support/resistance levels
● Entry timing in trending markets when institutional bias supports the direction
● Risk management by avoiding trades against strong institutional positioning
● Multi timeframe analysis combining short term signals with longer term bias
⚠️ Limitations
● Requires sufficient volume for accurate institutional detection in low volume markets
● Divergence signals may have false positives during highly volatile news events
● Best performance on liquid markets with consistent institutional participation
● Lagging nature of volume based calculations may delay signal generation
● Effectiveness reduced during low participation holiday periods
💡 What Makes This Unique
● Multi Factor Analysis: Combines volume, price, and momentum for comprehensive institutional detection
● Adaptive Zones: Dynamic overbought/oversold levels that adjust to market conditions
● Volume Intelligence: Advanced algorithms identify institutional sized transactions
● Professional Visualization: Multiple display styles with customizable themes
● Confirmation System: Multiple validation layers reduce false signal generation
🔬 How It Works
1. Volume Analysis Phase:
● Analyzes current volume against historical averages to identify institutional activity
● Applies multi timeframe analysis for enhanced detection accuracy
● Calculates volume pressure through buying vs selling momentum
2. Smart Money Flow Calculation:
● Combines typical price with volume weighted analysis
● Applies institutional trade weighting for high volume periods
● Generates directional flow based on price momentum and volume expansion
3. Divergence Detection Process:
● Identifies pivot highs/lows in both price and indicator values
● Validates divergence strength against minimum threshold requirements
● Confirms signals through multiple technical factors before generation
💡 Note: This indicator works best when combined with proper risk management and position sizing. The institutional bias component helps identify market sentiment shifts, while divergence signals provide specific entry opportunities. For optimal results, use on liquid markets with consistent institutional participation and combine with additional technical analysis methods.
Volume Engulfing DetectorThis indicator is built to detect powerful shifts in market participation by analyzing volume surges during directional candles — not traditional "engulfing" patterns based on candle body structure, but volume-driven dominance by buyers or sellers.
Instead of relying on the classic visual engulfing pattern, it flags situations where a bullish or bearish candle prints with significantly higher volume than its predecessor, and where that volume also surpasses key benchmarks from previous opposing moves.
This approach is designed to capture institutional activity, smart money footprints, or hidden accumulation/distribution, which often manifest as volume spikes even in the absence of textbook candlestick formations.
🚦 Key Features
✅ 1. Volume-Based Engulfing Detection
The script identifies candles where:
A bullish candle's volume exceeds the previous candle’s total volume and the previous candle was bearish (and vice versa for bearish engulfing).
Additionally, the bullish engulfing volume must also be greater than the volume of the last bearish engulfing (and vice versa).
This helps filter out false engulfing signals and only highlights the ones with significant participation or conviction.
🔷 Plotted with: Vol↑Eng (Green label below candle)
🔻 Plotted with: Vol↓Eng (Red label above candle)
✅ 2. High-Volume Rejection Markers (Non-Engulfing)
Sometimes a candle doesn’t engulf the previous one, but the volume is so dominant that it may still indicate a powerful reversal or failed breakout. This indicator flags those too:
If a bullish candle has volume higher than any bearish engulfing volume seen today, it’s marked as a potential buy-side absorption.
If a bearish candle has volume higher than any bullish engulfing volume today, it may be a sign of sell-side rejection.
🟢 Plotted with: Vol↑Big (Lime triangle up)
🔴 Plotted with: Vol↓Big (Maroon triangle down)
⏰ Daily Reset & Filtering
All volume comparisons are done within the current trading day, so each day's context is treated independently.
The first candle of the day is ignored, preventing skewed signals due to overnight gaps or opening volatility.
🔔 Alerts Included
You can set alerts on:
Bullish or bearish volume-engulfing candles.
High-volume rejection candles.
This ensures you’re notified in real time when the market shows signs of strong accumulation or distribution, even if you're not actively monitoring the chart.
💡 Use Cases
Day Traders: Identify potential intraday reversals or trend initiations with volume confirmation.
Swing Traders: Use engulfing and high-volume patterns to time entries after pullbacks or breakouts.
Volume Analysts: Study how price responds when volume exceeds critical historical thresholds.
Tape Readers: Get a visual clue of where smart money might be stepping in based on volume surges.
📌 Final Thoughts
This indicator filters out noise and focuses on volume-dominant price actions, giving you a cleaner and more actionable view of the market. Use it to complement your existing strategy, particularly when looking for high-conviction turning points on the chart.
Whether you're trading equities, indices, or futures — this tool brings volume context to price action in a simple and visual way.