Z-Score Volume with CVD Clustering Script Title:
Z-Score Volume with CVD Clustering & NY VWAP
📘 Description:
This indicator combines statistical volume analysis with order flow confirmation to detect high-probability trade zones and volume-based divergences.
📌 Components:
Z-Score of Volume: Identifies statistically significant volume surges or drops relative to a moving average baseline.
Cumulative Volume Delta (CVD): Gauges net buying vs. selling pressure using high-frequency bid/ask delta.
K-Means Clustering: Applies clustering logic to classify each bar into:
Cluster 2 – Strong Bullish: Z-Score and CVD both strong
Cluster 1 – Divergence / Bull Trap: Z-Score high, but weak CVD
Cluster 0 – Neutral / Noise: No clear alignment
Anchored VWAP (NY Session Open): Confirms market structure and institutional trend bias from 9:30 AM ET forward.
🎯 Suggested Applications:
✅ 1. Trend Continuation Entries (Add-ons):
Look to add to positions when:
Cluster 2 signal occurs
Price is above the NY session VWAP
Price structure has broken out of prior day high/low or range
⚠️ 2. Divergence Detection (Fade Traps):
Cluster 1 signals a bearish divergence (e.g., high volume but weak CVD).
Especially useful when price is failing to stay above VWAP.
Useful for early exits or reversal setups.
📊 3. Volume Profile Confirmation:
Combine with fixed or session-based volume profile tools.
Use Z-Score clusters to confirm volume spikes into low-volume nodes (LVNs) or during imbalance transitions.
📍 4. VWAP Structure Confirmation:
Anchored VWAP acts as a dynamic reference point.
Helps confirm acceptance vs. rejection zones at key institutional levels.
📈 Visuals & Alerts:
Color-coded volume bars show intensity of Z-Score & CVD confluence
CVD Line plots real-time delta bias with green/red coloring
Cluster-based shape markers highlight key bars for actionable signals
Optional: Add alerts for Cluster 2 above VWAP or Cluster 1 below VWAP
⚙️ Customization Options:
Adjustable Z-Score length
Custom anchor timeframe for CVD (e.g., 1D or sessions)
Adjustable max lookback depth
Toggle VWAP inclusion
Extendable to include additional filters: RSI, structure break alerts, etc.
🔧 Ideal Use Cases:
NY session intraday traders (ES, NQ, CL, 6E, FX pairs)
Breakout traders wanting order flow confirmation
Mean reversion traders spotting fake moves
Volume-based scalpers looking for edge on short-term order imbalance
Volume
VWAP with Prev. Session BandsVWAP with Prev. Session Bands is an advanced indicator based on TradingView’s original VWAP. It adds configurable standard deviation or percentage-based bands, both for the current and previous session. You can anchor the VWAP to various timeframes or events (like Sessions, Weeks, Months, Earnings, etc.) and selectively show up to three bands.
The unique feature of this script is the ability to display the VWAP and bands from the previous session, helping traders visualize mean reversion levels or historical volatility ranges.
Built on top of the official TradingView VWAP implementation, this version provides enhanced flexibility and visual clarity for intraday and swing traders alike.
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!
MP MTF LiquidityMP MTF Liquidity
Multi-Timeframe Liquidity Levels – Automatic High/Low Tracking
This indicator automatically tracks and draws liquidity levels (recent highs and lows) from up to 6 custom timeframes directly on your chart. It’s designed for advanced traders who want to visualize important swing points and liquidity pools across multiple timeframes—ideal for Smart Money Concepts (SMC), ICT, and price action trading.
Key Features:
Multi-Timeframe Support:
Select up to 6 different timeframes (ex: 1H, 4H, Daily, Weekly, etc.), each with separate color and visibility controls.
Real Liquidity (No Repaint):
Levels are only drawn from fully closed bars on each timeframe—no lines from currently forming candles, ensuring accuracy and no forward-looking bias.
Automatic Detection:
Highs and lows are detected automatically. Levels that get swept (price breaks through) are converted to dashed lines for easy visual distinction.
Customizable:
Choose line colors for highs/lows and set the maximum number of active levels per timeframe to keep charts clean.
Extended Lines:
All levels are extended to the right, helping you see how current price interacts with past liquidity.
How It Works:
On every new bar of your chosen higher timeframe(s), the indicator records the high and low of the previous (just-closed) candle.
These levels are extended as rays until price sweeps (crosses) them.
When a level is swept, it is redrawn as a dashed line to highlight liquidity grabs or stop hunts.
No lines are drawn for the “live” bar—only confirmed, closed levels are displayed.
Who is this for?
SMC, ICT, and price action traders seeking high-confidence liquidity zones.
Intraday, swing, and multi-timeframe traders who want an automated, visual edge.
Anyone wanting to avoid repainting or “fake” levels from unfinished candles.
Tip:
Combine this indicator with your favorite order block, fair value gap (FVG), or market structure tools for even greater context and confluence.
Disclaimer:
No indicator guarantees profits. Always use with proper risk management and in conjunction with your trading plan.
Volume Dominance (Multi-Timeframe)Volume dominance is a mathematical concept i invented by separating up volume and down volume, and replacing the opposing elements in the averaging arrays with zeroes.
positive volume dominance is calculated by taking the average of volumes with a positive price direction over a period. for every volume with a negative price direction within the period, a zero is added to the averaging array.
Dpv = sum(upVol + (dnVol * 0)) / length
Dnv = sum(dnVol + (upVol * 0)) / length
Dpv = Dominance of Positive volume
Dnv = Dominance of Negative volume
upVol = total volume of upward filtered candles within length array
dnVol = total volume of downward filtered candles within length array
the user can see positive and negative volume dominance and read the label at the end of the plot to see the breadth of the dominance gap.
the user can select between using EMA and SMA to compute the dominance averages.
when the yellow center line moves with the change of a dominance line, it indicates strong directional force.
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.
Pivot Channel LevelsPivot Channel Levels
Indicator Description
“Pivot Channel Levels” is an advanced technical analysis tool that identifies key price pivots (highs and lows) and creates dynamic support and resistance levels based on the wicks of candles at these points (or bodies if wicks are minimal). The indicator analyzes the volume at the time of a pivot’s formation, displaying its value and percentage change relative to the volume’s simple moving average (SMA).
It does not generate buy/sell signals but provides a clear visualization of market structure, helping traders identify potential price reaction zones and assess the strength of market movements.
Why Are Wicks Important?
Candle wicks at price pivots indicate significant market reactions in key areas. Depending on the context, they may signal rejection, testing, or absorption of a support or resistance level. Long wicks often appear where large players are active, and the marked zones are frequently retested. The indicator allows for quick identification and observation of their impact on future price action.
Why Use It?
- Precise Support and Resistance Levels: The indicator draws price channels based on candle wicks at pivots (or bodies if wicks are absent), enabling better identification of zones where price may react.
- Volume Analysis: It shows how the volume at a pivot differs from the average, indicating potential activity by large players or key market moments.
- Visual Clarity: Colored lines, channel fills, and clear labels facilitate quick chart analysis, even on short timeframes.
- Flexibility: Adjustable pivot length, volume average, and label colors allow customization to various trading strategies.
How It Works
- Pivot Detection: Automatically identifies local highs and lows based on the “Pivot Length” parameter (default: 20 candles). This means a pivot appears on the chart with a 20-candle delay. Reducing this value allows faster pivot detection (after fewer candles), increasing their number but potentially generating more noise.
- Channel Creation: Draws support and resistance levels based on the wicks of candles at pivot points (or bodies if wicks are minimal) with a delay to confirm zones. A pivot channel is drawn until the next pivot is identified, but if not previously broken, it remains valid as active support or resistance.
- Volume Analysis: Displays the volume at the pivot’s formation and its percentage change relative to the volume’s SMA.
- Visualization: Pivot and channel levels are shown as lines with fills, and labels display volume and its deviation from the average.
Trading Applications
- Swing Trading: Use pivot levels and channels to identify price reversal points or consolidation zones.
- Scalping: Monitor price reactions to channels on short timeframes, especially with high volume.
- Faster Pivot Identification: Switch to a lower timeframe (e.g., from H1 to M15) to identify pivots more quickly, allowing earlier reactions to price changes.
- Market Context Analysis: High volume at pivots may indicate significant levels likely to be retested.
- Combining with Other Tools: The indicator pairs well with Fibonacci retracement, supply/demand zones, or oscillators like RSI.
Settings and Customization
- Pivot Length: Determines how many candles back and forward are analyzed to detect pivots (default: 20). A smaller value increases sensitivity, a larger one enhances stability.
- Volume Average: Length of the SMA for volume (default: 20). Adjust to better reflect market characteristics.
- Label Colors: Choose colors for bullish and bearish pivot labels to match your chart style.
Usage Examples
- Identifying Key Zones: If the price approaches a pivot level with high volume (e.g., +50% relative to SMA), it may signal strong support or resistance.
- Breakout Confirmation: A channel breakout with high volume can indicate trend continuation.
- Price Reaction Analysis: Long wicks at pivots with high volume may signal level rejection by large players.
Notes for Users
- The indicator performs best on highly liquid markets (e.g., Forex, indices, cryptocurrencies).
- On short timeframes (e.g., M1, M5), it may generate more noise—adjust “Pivot Length” to suit your needs.
- Consider combining with other indicators to confirm signals derived from pivot and volume analysis.
VSA-Stopping VolumeVSA Stopping Volume Indicator
Stopping Volume occurs when candles show decreasing body sizes (narrow spreads) while volume steadily increases.
Example chart:
As you see:
3 consecutive candles in same direction (all green OR all red)
Body sizes (spreads) decreasing progressively: Candle 1 > Candle 2 > Candle 3
Volume increasing progressively: Volume 1 < Volume 2 < Volume 3
This pattern indicates price absorption - increased buying/selling pressure but declining price movement, often signaling exhaustion and potential reversal.
Indicator Features
This indicator detects Stopping Volume candlestick clusters with two signal types:
🔹 BUY/SELL Signals: Generated when pattern occurs at support/resistance zones
🔹 Directional Alerts (▲-green, ▼-red): Generated when pattern occurs outside key levels
Trading Guidelines:
⚠️ Auto-drawn S/R zones are reference only - manual level plotting recommended for accuracy
📊 Best for scalping: M5, M10, M15 timeframes
🛡️ Stop Loss: Place beyond the S/R zone you're trading
🎯 Take Profit: Based on your risk management
Key Concept: Volume expansion + price contraction = potential reversal, especially at SnR levels.
Perfect for scalpers looking to catch reversals at critical zones!
Sniper Mini VWAPThis script plots dynamic, session-based VWAPs for key intraday timeframes:
1H (green), 4H (orange), 8H (purple), and Daily (red).
Each VWAP resets at the start of its own session, giving traders a real-time view of price relative to average volume-weighted value. These lines often act as intraday support, resistance, or liquidity magnets — great for scalping, fade setups, and sniper-style entries.
You can toggle each VWAP on or off for a cleaner chart.
This version does not use anchored VWAPs — it’s designed for traders who need fast feedback as price develops within active sessions.
Anchored VWAPs: YTD, MTD, WTD, 2D, DailyTitle
Anchored VWAPs: YTD, MTD, WTD, 2D, Daily
Short Description
Multi-timeframe anchored VWAP indicator displaying Year-to-Date, Month-to-Date, Week-to-Date, 2-Day, and Daily VWAPs that only plot from their respective anchor points.
Full Description
Overview
This indicator provides five different anchored Volume Weighted Average Price (VWAP) calculations for multiple timeframes, designed to behave exactly like TradingView's native Anchored VWAP drawing tool. Each VWAP only plots from its respective anchor point forward, with no historical plotting on previous periods.
Features
Year-to-Date (YTD) AVWAP: Anchored from January 1st of the current year
Month-to-Date (MTD) AVWAP: Anchored from the 1st day of the current month
Week-to-Date (WTD) AVWAP: Anchored from the first day of the current week
2-Day AVWAP: Covers the last 2 business days (excludes weekends)
Daily AVWAP: Anchored from the start of the current trading day
Key Benefits
✅ True Anchoring: Each VWAP only appears from its anchor point - no historical plotting
✅ Current Period Focus: Shows only active/current periods, not historical ones
✅ Business Day Logic: 2-Day AVWAP intelligently handles weekends
✅ Customizable: Toggle each VWAP on/off and customize colors
✅ Visual Anchors: Optional markers show where each period begins
Settings
Display Controls: Individual toggles for each AVWAP
Color Customization: Separate color settings for each line
Line Width: Adjustable line thickness (1-5)
Anchor Markers: Small triangles mark the start of each period
Use Cases
Intraday Trading: Use Daily and 2-Day AVWAPs for short-term support/resistance
Swing Trading: MTD and WTD for medium-term trend analysis
Position Trading: YTD for long-term trend assessment
Multi-Timeframe Analysis: Compare price action across different time horizons
How It Works
The indicator uses timenow to determine the current date and only calculates VWAPs for the active periods. Each VWAP resets at its respective anchor point and accumulates volume-weighted price data from that point forward.
Technical Notes
Uses HLC3 (typical price) for VWAP calculations
Business day logic for 2-Day AVWAP (Monday-Friday only)
Automatic period detection without manual date input
Optimized for real-time trading with current period focus
Best Practices
Use on liquid instruments with significant volume for accurate VWAP calculations
Combine with other technical analysis tools for confirmation
Monitor how price interacts with different timeframe VWAPs for trading opportunities
Tags: VWAP, Anchored VWAP, Volume Analysis, Multi-Timeframe, Support Resistance, Intraday Trading
Category: Volume
This indicator is perfect for traders who want clean, professional anchored VWAPs without the clutter of historical periods, providing clear insight into current market structure across multiple timeframes.
Up/Down Volume Delta %this script is based on FractalTrade_'s rendition of the up/down volume bars.
the shortcomings of that chart were that large volume bars caused the auto-scaling to shrink smaller volume bar displays to the point where much of the data was too small to see.
in this chart, the bars are displaying the percent delta out of the total bar volume. this way, large overall volume bars do not cause visual compression to everything else in the chart.
I've used color modulation to indicate relation to a relative volume point, so users can still tell when overall volume is large or small. when volume is under a moving average, the bars will display at a basis transparency. when the volume is over the average, the brightness will increase up to a specific ratio of volume defined by the user.
for example, if basis transparency is at 20, and the full opacity ratio is at 3, and the volume average is at 1M, a volume of 750k will display the delta bar at the basis transparency. a volume of 3M will achieve full brightness. a volume of 2M will display with moderate brightness (about 60%), but still stand out against other bars with basis transparency.
areas of the chart that are either increasing bar sizes or increasing in brightness can indicate directional force. when volume delta direction contradicts the candle direction, this can indicate support / resistance.
Session VWAPsThis indicator plots volume-weighted average price (VWAP) lines for three major trading sessions: Tokyo, London, and New York. Each VWAP resets at the start of its session and tracks the average price weighted by volume during that window. You can choose the exact session times, turn individual sessions on or off, and optionally extend each VWAP line until the end of the trading day.
It’s designed to give you a clear view of how price is behaving relative to session-specific value areas. This can help in identifying session overlaps, shifts in price control, or whether price is holding above or below a particular session’s average. The indicator supports futures-style day rollovers and works across markets.
OI Analysis (Smoothed + Pivots + OI Divergence)Description
OI Pivot & Divergence Explorer is a multi-tool indicator for TradingView that blends Open Interest (OI) analysis with price action pivots and OI–price divergences. It helps you:
Visualize OI Trends: A thick, semi-transparent “glow” line shows smoothed OI changes, with a crisp center line for exact values.
Shade Momentum Scenarios: Background highlights flip between four market states—High Conviction, Squeeze, Bear Pressure, Liquidation—based on the confluence of price direction and OI spikes.
Detect Pivot Levels: Internally computes classic pivots on the OI series to mark potential turning points.
Spot OI-Price Divergences: Draws both regular and hidden bullish/bearish divergences between price pivots and corresponding OI pivots, connecting them with colored lines and labeling high-probability reversal setups.
Custom Alerts: Triggers alert conditions for each divergence type, so you can get notified of potentially actionable setups in real time.
Logic & Features
Inputs
Pivot Lookback (default 5): Number of bars on each side to qualify a pivot in both price and OI.
OI Change Smoothing (default 3) & OI Average Length (default 20): Control smoothing of raw OI delta and define the average band for threshold comparisons.
OI Change Threshold (%) (default 0.2%): Minimum relative OI change required to flag a “big” move.
Show OI Divergences (toggle on/off): Enable or disable drawing divergence lines and labels.
Scenario Shading
Computes raw OI delta → smoothed OI delta → compares against average OI.
Combines with price direction (up/down) to classify four states:
↑Price + ↑OI → High Conviction (green)
↑Price + ↓OI → Squeeze (orange)
↓Price + ↑OI → Bear Pressure (red)
↓Price + ↓OI → Liquidation (blue)
Shades the chart background only when the state flips.
Pivot Markers
Finds pivots on the OI series using the same lookback as price pivots.
(Pivot labels are removed from the visible pane; pivots now serve divergence logic.)
OI-Price Divergences
Regular Bullish: Price makes a lower low while OI makes a higher low.
Hidden Bullish: Price makes a higher low while OI makes a lower low.
Regular Bearish: Price makes a higher high while OI makes a lower high.
Hidden Bearish: Price makes a lower high while OI makes a higher high.
Connects each pivot pair with a thin line:
Regular uses dark navy
Hidden uses a lighter blue
Labels each divergence (“Bull Div,” “H Bull Div,” etc.) above or below the OI line for clarity.
How to Use
Add to Chart:
Open Pine Editor → paste the script → Save → “Add to Chart.”
Configure Inputs:
Adjust Pivot Lookback to match your timeframe: shorter (3–5) for intraday, longer (8–12) for daily/weekly.
Tweak OI Change Threshold to filter out noise or capture more subtle OI shifts.
Interpretation:
Background Color: Quick read on whether OI is reinforcing or diverging from price.
Divergence Lines: Look for regular divergences as early reversal signals; hidden divergences often indicate trend continuation or strong pullback entry points.
Alerts: Set up custom alerts on “Regular Bullish OI Divergence,” etc., to get popup/messages/notifications.
Best Practices:
Combine with your favorite price-based indicators (e.g. RSI, VWAP) for confluence.
Validate divergence signals against higher-timeframe pivots to avoid false breakouts.
Use in trending markets for continuation trades (hidden divergences) and in range markets for reversal setups (regular divergences).
day trading check indicatorDay Trading Check Indicator
By Trades per Minute · Creator: Trader Malik
Overview
The Day Trading Check Indicator is an on‐chart status panel that gives you a quick “go/no-go” snapshot of four key metrics—MACD, VWAP, Float, and Bearish Sell-Off—directly in TradingView’s top-right corner. It’s designed for fast decision-making during high-velocity intraday sessions, letting you instantly see whether each metric is “bullish” (green) or “bearish” (red), plus live float data.
What It Shows
Column Description
Metric The name of each metric: MACD, VWAP, Float, Bearish Sell-Off
Status/Value A color-coded status (“GREEN”/“RED” or “YES”/“NO”) or the float value formatted in K/M/B
Metrics & Calculations
MACD (1-Minute)
Calculation: Standard MACD using EMA (12) – EMA (26) with a 9-period signal line, all fetched from the 1-minute timeframe via request.security().
Status:
GREEN if MACD ≥ Signal
RED if MACD < Signal
VWAP (Session-Anchored)
Calculation: Built-in session VWAP (ta.vwap(close)) resets each new trading session.
Status:
GREEN if current price ≥ VWAP
RED if current price < VWAP
Float
Calculation: Retrieves syminfo.shares_outstanding_float (total float), then scales it into thousands (K), millions (M), or billions (B), e.g. “12.3 M.”
Display: Always shown as the absolute float value, white on semi-transparent black.
Bearish Sell-Off
Calculation: Checks the last five 1-minute bars for any “high-volume down” candle (volume above its 20-bar SMA and close < open).
Status:
YES if at least one such bar occurred in the past 5 minutes
NO otherwise
Key Features
Dynamic Table: Automatically shows only the metrics you enable via the Display Options group.
Size Selector: Choose Small, Medium, or Large text for easy visibility.
Clean Styling: Distinct header row with custom background, consistent row shading, centered status text, and a subtle gray border.
Lightweight Overlay: No cluttering plots—just a concise status panel in the corner.
Published by Trader Malik / Trades per Minute
Version: Pine Script v5
JXMJXRS - Volume ShiftJXMJXRS - Volume Shift is a volume-based indicator designed to detect significant volume spikes that occur directly after periods of price compression. These moments often precede breakouts, traps, or liquidity events—especially in crypto markets. The indicator is optimized for use on low to mid-range timeframes such as 15-minute to 4-hour charts.
The logic is simple and effective: if current volume exceeds a dynamically calculated percentile of recent volume history, and recent price candles have shown a period of reduced movement (low body size), a signal is plotted below the candle. This helps filter out random volume surges and highlights moments that may reflect meaningful market participation.
How it works:
Volume Spike Detection
The indicator compares the current candle’s volume to a historical window. A volume spike is confirmed when the current volume exceeds the specified percentile (e.g., 80th percentile) of volume from the previous N candles.
Candle Body Compression
It calculates the average body size of recent candles (short-term) and compares it to a longer-term body average. If the short-term bodies are smaller by a configurable ratio, the price is considered compressed—suggesting low activity before the spike.
Signal Logic
When both conditions are met on the same candle, the indicator displays a “!” label below the bar. This does not indicate a buy or sell signal, but rather marks a moment worth observing for potential expansion in volatility.
Settings:
Volume Lookback:
The number of previous candles used to evaluate the volume percentile. A higher value makes the spike condition stricter.
Volume Percentile (0–100):
Sets the threshold for abnormal volume. For example, 80 means “current volume must be higher than 80% of the past X candles.”
Short-Term Body Avg:
Number of candles used to measure recent candle body size, representing the current price activity range.
Long-Term Body Avg:
Baseline window to calculate typical body size for comparison.
Compression Ratio:
The short-term body average must be less than this ratio times the long-term average to be considered compressed. Lower values increase the compression requirement.
This tool is designed to enhance market awareness by detecting moments of sudden volume expansion following quiet market conditions. It should be used in assist with your broader trading system or strategy.
Universal ATR Grid from Entry Price with AlertsUniversal ATR Grid from Entry Price with Alerts
This Pine Script v6 indicator creates a dynamic price grid based on a user-defined entry price and ATR for selected instruments (SOLUSDT, XRPUSDT, DOGEUSDT, PEPEUSDT, WIFUSDT).
Users can customize the entry price, ATR, number of levels (up to 5), and step multiplier per instrument.
The grid shows long (green) and short (red) levels around the entry price (gray), with labels offset right.
Lines extend from labels to the current bar, updating dynamically.
Alerts trigger on breakouts of long, short, and entry levels. Instrument names can be modified in the script.
WVAD with Gap Compensation**Indicator Name:** WVAD with Gap Compensation
**Purpose:** Enhances the classic Williams Vix Fix (WVAD) by incorporating the impact of price gaps (jump ups/downs) in its calculation.
**Key Features:**
1. **Gap Detection:** Automatically identifies significant gaps (default: >0.5% from prior bar's high/low).
2. **Gap Compensation:** Adjusts the WVAD calculation by adding the gap size to the daily price change.
3. **Dynamic Weighting:** Applies a multiplier (1.2x or 1.5x) to the WVAD value on days with medium/large gaps (based on ATR).
4. **Visualization:**
- Plots the enhanced WVAD line (blue) and optionally the original WVAD (gray circles).
- Marks gap events with colored arrows (green ▲ for gap up, red ▼ for gap down) and connects the gap's impact with dashed lines.
- Includes a zero line for reference.
**Use Cases:**
- Gauges the true strength of money flow by accounting for gaps.
- Identifies potential trend shifts around gap events.
- Filters noise by focusing on significant gaps.
**Parameters:**
- `Accumulation Period`: Number of days to sum WVAD (default: 12).
- `Gap Threshold (%)`: Minimum gap size to trigger compensation (default: 0.5%).
- `Show Original WVAD`: Toggles display of the classic WVAD.
**Version:** Pine Script® v6
Volume RatioThis is an indicator that compare the volume of the current bar with the previous bar to find volume ratio between two bars. If the ratio is higher than the criteria, it will shows on the chart.
Meaning of number on the chart. For example, if the number is 5.25, it means the current bar has volume 5.25 times higher than the previous bar.
You can have up to 3 criteria ratio. The default criteria values are 5, 10 and 20. You can customize the criteria ratio and the color belong to each criteria.
You can also customize text size, text position and text format.
I use this indicator with the watchlist to set alert when some assets have a volume spike. 😁
Hope you like it.
Fair Value Gap Profiles [AlgoAlpha]🟠 OVERVIEW
This script draws and manages Fair Value Gap (FVG) zones by detecting unfilled gaps in price action and then augmenting them with intra-gap volume profiles from a lower timeframe. It is designed to help traders find potential areas where price may return to fill liquidity voids, and to provide extra detail about volume distribution inside each gap to assess strength and likely mitigation. The script automatically tracks each gap, updates its state over time, and can show which gaps are still unfilled or have been mitigated.
🟠 CONCEPTS
A Fair Value Gap is a zone between candles where no trades occurred, often seen as an inefficiency that price later revisits. The script checks each bar to see if a bullish (low above 2-bars-ago high) or bearish (high below 2-bars-ago low) gap has formed, and measures whether the gap’s size exceeds a threshold defined by a volatility-adjusted multiplier of past gap widths (to only detect significantly large gaps). Once a qualified gap is found, it gets recorded and visualized with a box that can stretch forward in time until filled. To add more context, a mini volume profile is built from a lower timeframe’s price and volume data, showing how volume is distributed inside the gap. The lowest-volume subzone is also highlighted using a sliding window scan method to visualise the true gap (area with least trading activity)
🟠 FEATURES
Visual gap boxes that appear automatically when bullish or bearish fair value gaps are detected on the chart.
Color-coded zones showing bullish gaps in one color and bearish gaps in another so you can easily see which side the gap favors.
Volume profile histograms plotted inside each gap using data from a lower timeframe, helping you see where volume concentrated inside the gap area.
Highlight of the lowest-volume subzone within each gap so you can spot areas price may target when filling the gap.
Dynamic extension of the gap boxes across the chart until price comes back and fills them, marking them as mitigated.
Customizable colors and transparency settings for gap boxes, profiles, and low-volume highlights to match your chart style.
Alerts that notify you when a new gap is created or when price fills an existing gap.
🟠 USAGE
This indicator helps you find and track unfilled price gaps that often act as magnets for price to revisit. You can use it to spot areas where liquidity may rest and plan entries or exits around these zones.
The colored gap boxes show you exactly where a fair value gap starts and ends, so you can anticipate potential pullbacks or continuations when price approaches them.
The intra-gap volume profile lets you gauge whether the gap was created on strong or thin participation, which can help judge how likely it is to be filled. The highlighted lowest-volume subzone shows where price might accelerate once inside the gap.
Traders often look for entries when price returns to a gap, aiming for a reaction or reversal in that area. You can also combine the mitigation alerts with your trade management to track when gaps have been closed and adjust your bias accordingly. Overall, the tool gives a clear visual reference for imbalance zones that can help structure trades around supply and demand dynamics.
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.
Absorption DetectorABSORPTION DETECTOR -
The Absorption Detector identifies institutional order flow by detecting "absorption" patterns where smart money quietly accumulates or distributes positions by absorbing retail order flow. This creates high-probability support and resistance zones for trading. This is an approximation only and does not read any footprint data.
WHAT IS ABSORPTION?
Absorption occurs when institutions take the opposite side of retail trades, creating specific candlestick patterns with high volume and significant wicks. The indicator identifies two main patterns:
SELLING ABSORPTION (P-Pattern): Red zones above candles where institutions sell into retail buying pressure, creating resistance levels. Look for high volume candles with large upper wicks that close in the lower half.
BUYING ABSORPTION (B-Pattern): Green zones below candles where institutions buy from retail selling pressure, creating support levels. Look for high volume candles with large lower wicks that close in the upper half.
KEY FEATURES
- Automatic detection of institutional absorption patterns
- Dynamic support and resistance zone creation
- Customizable styling for all visual elements
- Historic zone display for backtesting analysis
- Strength-based filtering to show only high-probability setups
- Real-time alerts for new absorption patterns
- Professional info panel with key statistics
- Multi-timeframe compatibility
MAIN SETTINGS
Volume Threshold (1.2): Minimum volume surge required compared to average. Higher values = fewer but stronger signals.
Minimum Volume (2500): Absolute volume floor to prevent signals during low-volume periods.
Min Wick Size (0.2): Minimum wick size as ATR multiple. Ensures significant rejection occurred.
Minimum Strength (1.5): Combined volume and wick strength filter. Higher values = higher quality signals.
Show Historic Zones (OFF): Enable to see all historical zones for backtesting. Disable for better performance.
Zone Extension (20): How many bars to project zones forward for anticipating future reactions.
TRADING APPROACH
ZONE REACTION STRATEGY: Wait for price to approach absorption zones and trade the bounce or rejection. Use the zones as dynamic support and resistance levels.
BREAKOUT STRATEGY: Trade decisive breaks of strong absorption zones with proper risk management. Failed zones often lead to strong moves.
CONFLUENCE TRADING: Combine absorption zones with other technical analysis for highest probability setups. Look for alignment with trend lines, Fibonacci levels, and key support/resistance.
RISK MANAGEMENT: Always use stop losses beyond the absorption zones. Target minimum 1:2 risk-reward ratios. Position size appropriately based on zone strength.
OPTIMIZATION GUIDE
For Conservative Trading (fewer, higher quality signals):
- Volume Threshold: 1.5
- Minimum Strength: 2.0
- Min Wick Size: 0.3
For Aggressive Trading (more signals, requires careful filtering):
- Volume Threshold: 1.1
- Minimum Strength: 1.0
- Min Wick Size: 0.15
BEST PRACTICES
Markets: Works best on liquid instruments with good volume - major forex pairs, popular stocks, liquid futures, and established cryptocurrencies.
Timeframes: Effective on all timeframes from 1-minute scalping to daily swing trading. Adjust settings based on your timeframe and trading style.
Confirmation: Never trade absorption signals in isolation. Always combine with trend analysis, market structure, and proper risk management.
Session Timing: Be aware of market sessions and avoid trading during low liquidity periods or major news events.
Backtesting: Use the historic zones feature to validate performance on your chosen market and timeframe before live trading.
CUSTOMIZATION
The indicator offers complete visual customization including zone colors, border styles, label appearances, and info panel positioning. All colors can be adapted to match your chart theme and personal preferences.
Alert system provides both basic and custom message alerts for real-time notifications of new absorption patterns.
PERFORMANCE NOTES
Default settings are optimized for most markets and timeframes. For best performance on older charts, keep "Show Historic Zones" disabled unless specifically backtesting.
The indicator maintains excellent performance even with extensive historical analysis enabled, handling up to 500 zones and 100 labels for comprehensive backtesting.
Intradayscanner - RvolThis indicator delivers a session-precise Relative Volume (RVol) metric using an advanced, performance-optimized method that goes beyond standard volume-vs-average calculations:
Session-Aligned Cumulative Volume
Tracks intraday volume from each session’s true open using a rolling array of session start bar indices.
Prunes old sessions to maintain high performance even on long history (max_bars_back=5000).
Binary-Search History Lookup
Employs a binary-search algorithm to find the exact bar corresponding to each prior session’s close, accounting for weekends/holidays.
Ensures the N-day average is built from perfectly aligned session volumes rather than simple bar-counts.
Configurable Threshold & Coloring
Computes RVol = (today’s cumulative volume) ÷ (N-day average cumulative volume).
Highlights high-volume conditions when RVol exceeds a user-defined threshold (High Volume Threshold).
Optional line-coloring by price direction (up/down) for immediate visual context.
Background Shading for Volume Spikes
Applies semi-transparent colored backgrounds when RVol > 1 (and above the threshold), making significant volume surges unmissable.
Customizable Lookback & Precision
User inputs for N-day average length, threshold multiplier, and color-by-previous-close toggle.
Designed for up to 5000 bars of history without performance degradation.
[Top] VWAP + RSI Divergence IndicatorThe “VWAP RSI Divergence Indicator” combines the Volume Weighted Average Price (VWAP), Relative Strength Index (RSI), divergence detection, and volume confirmation to identify high-probability trading opportunities.
How It Works:
The indicator integrates three powerful methodologies:
1. Volume Weighted Average Price (VWAP):
VWAP calculates an average price weighted by volume, providing critical insights into the fair value of an asset within the trading session.
Includes standard deviation bands (+1/-1 and +2/-2) around the VWAP, offering key levels of support, resistance, and price extremities.
2. Relative Strength Index (RSI):
A momentum oscillator that measures the speed and change of recent price movements.
RSI levels define overbought and oversold conditions, offering traders insight into potential reversal zones.
3. Divergence Detection:
Identifies divergences between price action and RSI, signaling potential reversals or continuations.
Detects both Regular Divergences (signifying potential reversals) and Hidden Divergences (indicating possible continuation of current trends).
Core Features:
Real-Time Divergence Detection: Automatically detects and clearly labels Regular and Hidden Divergences with included tooltips to help you identify trading opportunities.
VWAP and Standard Deviation Bands: Visualizes important dynamic support/resistance levels on the chart.
RSI-Based Heat Map: Offers intuitive heat map coloring between standard deviation bands, colored dynamically according to RSI levels and divergence activity.
Optional Volume-Based Candle Coloring: Enhances visual insight by coloring candles according to volume relative to a moving average.
Customizable Alerts: Provides alerts for divergences and standard deviation band breaches, enabling traders to act swiftly.
What Makes It Unique:
Integrated Divergence and VWAP Analysis: Unlike typical divergence indicators, this tool uniquely combines RSI divergence signals with VWAP analysis, enhancing signal reliability by considering both price momentum and volume-weighted price dynamics.
Dynamic RSI Heat Map and Volume Coloring: Incorporates advanced visual customization through dynamic coloring based on RSI levels and divergences, as well as volume-based bar coloring, designed to allow you to understand detailed information at a glance.
How to Use:
Identify Divergences: Watch for divergence labels indicating potential reversals (Regular Divergence) or continuations (Hidden Divergence).
Monitor VWAP Bands: Use VWAP bands as dynamic support/resistance levels, particularly observing price reactions at +1/-1 and +2/-2 standard deviation extremes.
Volume Confirmation: Combine divergence signals with volume-colored bars to confirm strength or weakness behind potential moves.
Leverage Alerts: Enable customizable alerts to stay promptly informed about key divergences and price extremes, ensuring timely decision-making.