Z-Score Multi-Model ClusteringA price/volume clustering framework combining three market behavior models into a single indicator. Designed to help identify emerging trend strength, turning points, and volatility-driven entries or exits.
🔍 How It Works
This indicator classifies market states by comparing normalized price/volume behavior (via Z-Score) to different types of statistical or geometric "cluster centers." You can choose from three clustering approaches:
🧠 Clustering Models
1. Percentile (Z+CVD) – Trend Momentum Bias
Uses volume Z-Score + Cumulative Volume Delta (CVD).
Detects institutional pressure by clustering volume surges with directional delta.
Best for: Breakouts, momentum trades, volume-led reversals.
Cluster Colors:
🔹 Green triangle = Strong bullish confluence
🔻 Red triangle = Bearish divergence (bull trap risk)
⚪ Gray = Neutral/low conviction
2. Euclidean (Z+Slope) – Swing Mean-Reversion
Measures the angle of recent Z-score slope and compares it to directional cluster centers.
Helps detect early directional shifts or exhaustion.
Best for: Swing entries, pullback setups, exit timing
3. Hilbert Phase – Turn Detection via Signal Phase
Applies Hilbert Transform to the Z-Score, measuring the phase difference between trend and oscillator components.
Ideal for anticipating turns or detecting cyclical inflection points.
Useful for: Scalping, top/bottom spotting, volatility fades
✅ Features
Auto-updating cluster logic based on current data
Tooltips and clean user interface
Optional cluster bar coloring (can be toggled off)
Signal-only plotting keeps candlesticks readable
Clear entry/exit logic with triangle markers
Supports trend, swing, and oscillation-based systems
🛠️ Suggested Use Cases
Combine with VWAP, Session High/Low, or Liquidity Zones to confirm entry conditions.
Use Cluster 2 (strong bullish) on pullbacks to trend structure for add-on entries.
Use Cluster 1 in strong trends to watch for potential traps or exits.
Toggle models based on your strategy: e.g., Hilbert for scalping, Percentile for macro trend breaks.
🧪 Best Timeframes
Works across all markets and timeframes
For Percentile (Z+CVD), use intraday TF with 1m–5m CVD source
Hilbert and Euclidean preferred on 5m–1h for accurate slope/phase signals
⚠️ Notes
Clusters do not generate trade signals alone; use them in context with structure, VWAP, or trend filters.
Marker signals are filtered with a magnitude threshold to reduce noise.
Hacim
Pure Price Action Momentum OscillatorComplete Trading Guide: Pure Price Action Momentum Oscillator
1. Script Overview
What It Does
Tracks real-time momentum strength (bullish/bearish acceleration)
Identifies dynamic support/resistance zones for momentum (not price)
Alerts when momentum breaks or holds critical levels
What It Doesn’t Do
Predict long-term trends (use with trend indicators)
Replace price-based S/R levels (use alongside them)
Work well in extreme choppiness (adjust settings or avoid)
2. Key Features & Components
Feature Purpose Visual Cue
Momentum Histogram Shows strength/direction of price acceleration Color-coded bars
Zero Line Bullish/bearish momentum baseline Gray line (0 level)
Support Zone (Blue) Momentum floor where bounces happen Blue horizontal line
Resistance Zone (Orange) Momentum ceiling where pullbacks start Orange horizontal line
Stateful Alerts Persistent signals until conditions reverse Green/Red labels
3. Best Timeframes & Markets
Market Recommended Timeframe Notes
Stocks 5min - 1H Works best with high liquidity
Forex 15min - 4H Avoid during major news spikes
Crypto 1H - 4H Use with volume confirmation
Futures 5min - 1H Ideal for intraday momentum trades
❌ Avoid: Tick charts, <1min (too noisy), >Daily (loses sensitivity).
4. Confirmation Tools (Must-Use Combos)
A. Trend Confirmation
200 EMA (Price Chart)
Only trade longs if price > 200 EMA + momentum supports
Only trade shorts if price < 200 EMA + momentum confirms
ADX (14)
Use when ADX > 25 (strong trend) + momentum aligns
B. Volume Confirmation
Volume Profile
Enter longs only if momentum breaks resistance at high-volume nodes
VWAP
Buy pullbacks when momentum holds support and price is above VWAP
C. Price Structure
Fibonacci Retracements
Look for momentum breaks at 61.8% Fib levels for high-probability trades
Market Structure (Higher Lows/Lower Highs)
Momentum breakouts work best when price confirms trend
5. Trading Signals & Execution Rules
A. Breakout Trades (High Momentum)
Signal Conditions Action
Resistance Broken Histogram > Orange Zone + Price > Key S/R Enter Long
Support Broken Histogram < Blue Zone + Price < Key S/R Enter Short
Stop Loss:
Longs: 1 tick below nearest swing low
Shorts: 1 tick above nearest swing high
Take Profit:
Trail using the opposite zone (exit long when momentum drops below support)
B. Reversal Trades (Momentum Exhaustion)
Signal Conditions Action
Resistance Holding Histogram rejects Orange Zone + Bearish candle Short Entry
Support Holding Histogram bounces off Blue Zone + Bullish candle Long Entry
Stop Loss:
Beyond the recent swing high/low
Take Profit:
At next key S/R level
6. Advanced Interpretation
A. Divergence Trading
Hidden Bullish Divergence:
Price makes higher low, but momentum makes lower low → Potential reversal up
Hidden Bearish Divergence:
Price makes lower high, but momentum makes higher high → Potential reversal down
B. Session-Based Trading
London Open (3 AM EST): Watch for momentum breaks with volume surge
NY Midday (10 AM - 12 PM EST): Best for trend continuation
Crypto (UTC Midnight): Often sees volatility spikes
7. Risk Management & Position Sizing
Risk per trade: 1-2% of account
Leverage: ≤5x for intraday, ≤2x for swing
Avoid trading:
First 15 mins after major news
Low-volume periods (e.g., forex after 5 PM EST)
8. Pro Tips for Consistency
✅ Wait for Close: Don’t trade wicks, wait for candle close beyond zones.
✅ Combine with Price Action: Only trade if momentum aligns with candlestick patterns (e.g., pin bars, engulfing).
✅ Adjust Lookback: Increase in choppy markets, decrease in trends.
9. Limitations & Fixes
Issue Solution
Whipsaws in choppy markets Increase Min Lookback to 30+
Slow reaction in trends Reduce Max Lookback to 50
False breakouts Require volume confirmation
Final Verdict
This script is best used as a momentum filter – not a standalone system. Combine with:
✔ Trend indicators (200 EMA, ADX)
✔ Volume analysis (VWAP, Volume Profile)
✔ Price structure (S/R, Fibs)
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.
Spread AnalysisSpread Analysis - Futures vs Spot Price Analysis
Advanced spread analysis tool that compares futures/perp prices with spot prices across multiple exchanges, providing insights into market sentiment and potential trading opportunities.
Multi-Asset Support: Automatically detects and analyzes crypto perpetual vs spot spreads, index futures vs cash indices (ES/SPX, NQ/NDX, YM/DJI), and commodity futures vs spot prices (GC/GOLD, CL/USOIL)
Multi-Exchange Aggregation: For crypto, aggregates prices from Binance, BitMEX, Kraken, Bybit, OKX, and Coinbase to calculate mean perp and spot prices
Z-Score Based Alerts: Uses statistical Z-score analysis to identify extreme spread conditions that may signal potential reversals or continuation patterns
Visual Histogram Display: Shows spread differences as colored columns - green for futures premium, red for futures discount
Flexible Calculation Methods: Supports absolute price differences, percentage spreads, or basis point calculations
Trading Applications: Identify market sentiment divergence, spot potential reversal opportunities, and confirm trend strength
Risk Management: Use extreme Z-scores to identify overvalued conditions and potential mean reversion setups
Market Analysis: Understand the relationship between futures and spot markets across different asset classes
Timing Tool: Spread momentum often precedes price moves, providing early signals for entry/exit decisions
Perfect for traders who want to understand the relationship between futures and spot markets, identify divergences, and spot potential reversal opportunities across crypto, indices, and commodities.
Key Features:
• Automatic asset detection and appropriate spread calculation
• Configurable Z-score alerts for extreme conditions
• Comprehensive tooltips and information guide
• Multiple calculation methods (absolute, percentage, basis points)
• Clean, customizable visual display
Use Cases:
• Crypto traders analyzing perp vs spot relationships
• Futures traders monitoring basis relationships
• Mean reversion strategies using extreme spreads
• Trend confirmation using spread momentum
• Market sentiment analysis across asset classes
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
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.