Price Volume Trend (PVT) - Indicators - TradingView

Search
  • Products
  • Community
  • Markets
  • Brokers
  • More
EN Get started
  • Indicators and strategies
  • Technical Indicators
  • Volume
  • Price Volume Trend (PVT)
All types Open-source onlyMost recentMost popularDirectional Volume Pressure (DVP) Directional Volume Pressure (DVP) Directional Volume Pressure (DVP) is a volume-based oscillator that estimates who is “winning” inside each candle (buyers or sellers), then smooths and optionally normalizes that estimate into a clean signal you can use for trend confirmation, momentum shifts, absorption spotting, and divergence. Unlike many “up volume vs down volume” tools that only look at whether the candle closed green/red, DVP also considers how much of the candle was real body vs wick. That matters, because a big wick often represents rejection, while a big body often represents acceptance/commitment. DVP outputs a histogram that oscillates around 0: Above 0 = net buying pressure (bulls dominating) Below 0 = net selling pressure (bears dominating) Crossing 0 = potential regime shift / momentum flip You can optionally add: Fast/Slow moving averages of the pressure (for regime + cross signals) Absorption detection (high volume, low real movement = likely large passive liquidity) Divergence detection (price makes new extreme, pressure fails to confirm) ±1 “zone” lines (when normalized) to highlight stronger-than-normal pressure 1) What the indicator is measuring (plain English) Every candle has: Range = high - low Body = abs(close - open) Body ratio = body / range (how much of the candle is “real move” vs wicks) DVP uses body ratio as a proxy for conviction: Large body / small wicks → stronger directional intent Small body / large wicks → more indecision / rejection Then it allocates the candle’s volume into two buckets: Bull volume Bear volume Finally it computes: Net Pressure = bull_volume - bear_volume Smooth it over time Normalize (optional) so it’s easier to compare across assets/timeframes This gives you a single line/histogram that answers: “Is volume pressure currently more bullish or bearish—and how unusually strong is it compared to recent history?” 2) How DVP splits volume into bullish vs bearish (how it works) A) If the candle closes green (close > open) The candle is treated as bull-dominant, and the body ratio decides how dominant: bull_volume = volume * body_ratio bear_volume = volume * (1 - body_ratio) So: Big green body → bull volume gets most of the volume Green candle with long wicks → bull volume gets less (because conviction is weaker) B) If the candle closes red (close < open) Mirror logic: bull_volume = volume * (1 - body_ratio) bear_volume = volume * body_ratio So: Big red body → bear volume gets most of the volume Red candle with long wicks → bear volume gets less C) If the candle is a doji (close == open) It uses a simple heuristic: Find the candle midpoint (high + low)/2 If the close is above the midpoint, it leans bullish; otherwise bearish It assigns 60/40 instead of 50/50 to avoid flatlining This prevents doji candles from always being “neutral” (because in real trading they often aren’t). 3) The smoothing pipeline (why it’s there) Raw volume pressure is noisy. So DVP smooths in two stages: Pressure sum pressure_sum = EMA(net_pressure, period) Final smoothing pressure_smooth = EMA(pressure_sum, smooth) What these do: Period controls the “memory” of pressure (how many bars matter). Smoothing is a final noise filter so the histogram isn’t jittery. Typical use: Lower timeframes (1m–15m): increase smoothing a bit Higher timeframes (4H–1D): you can reduce smoothing 4) Normalization options (how to choose) DVP offers 4 normalization modes. This is important because raw volume values are not comparable across markets (BTC vs a low-cap alt, or NY session vs Asia session, etc.). 4.1 Raw Shows the smoothed net pressure in absolute units. Best if you only trade one instrument and want pure, unscaled behavior. Downside: A volume regime change can distort interpretation. 4.2 Percent pressure_smooth / EMA(volume, period) Converts pressure into a relative fraction of recent volume Good for comparing across instruments a bit more fairly than Raw. Downside: Still not “statistically standardized.” 4.3 Z-Score (recommended) It computes a Z-score of pressure vs its recent history: mean = SMA(pressure_smooth, stat_period) std = StDev(pressure_smooth, stat_period) z = (pressure - mean) / std Then it clamps to avoid extreme outliers and rescales: clamp z to divide by 2 → roughly maps into about Why it’s powerful: Z-score tells you when pressure is unusually strong relative to the last stat_period bars. This is the best mode if you want: consistent “strong/weak” thresholds zone lines (±1) to mean something 4.4 Adaptive Scales pressure to a rolling min/max range: norm_adaptive = 2*(pressure - low)/(high-low) - 1 This forces output into based on recent extremes. Use it when: You want clean bounded visuals You trade assets with wildly changing volatility/volume Downside: It’s relative to the window, so extreme prints can “compress” everything else until they roll off. 5) Reading the histogram (the core skill) 5.1 Basic interpretation Green bars above 0: bullish pressure dominance Red bars below 0: bearish pressure dominance 5.2 Strength and “trend quality” In Z-score or Adaptive, the height of the bars matters a lot. Taller bars = stronger imbalance between bull vs bear volume allocation. A healthy trend often shows: bullish trend → consistent positive bars, pullbacks don’t push deeply negative bearish trend → consistent negative bars, bounces don’t push deeply positive 5.3 The “tell” One of the strongest tells is price moving up while DVP falls, or price moving down while DVP rises. That’s where absorption/divergence logic becomes useful. 6) Moving averages, regimes, and crosses (optional overlays) DVP can plot: Fast MA (default 9) Slow MA (default 21) MA type: SMA / EMA / WMA / VWMA 6.1 Regime definition Bullish regime: ma_fast > ma_slow Bearish regime: ma_fast < ma_slow The histogram color intensity changes depending on regime: When pressure aligns with regime, colors are “stronger” When pressure contradicts regime, colors are “faded” 6.2 Cross signals Bullish cross: fast MA crosses above slow MA Bearish cross: fast MA crosses below slow MA These are best used as: confirmation after a structure break early warning when pressure trend flips before price Tip: Crosses are more meaningful when: they occur near the zero line, or they occur alongside a strong Z-score push 7) Absorption detection (optional) Idea: Sometimes volume explodes, but price barely moves. That often implies absorption: large passive limit orders absorbing aggressive market orders “someone big” taking the other side without allowing progress How DVP flags absorption It checks two things: Volume Z-score is high Computes Z-score of volume over stat_period Triggers when it exceeds absorption_threshold (default 2.0 sigma) Price movement is small (relative to ATR) Measures body size vs ATR(14) Triggers if body/ATR is small (< 0.5) Then it classifies: If absorption happens while DVP is positive → bullish absorption marker If absorption happens while DVP is negative → bearish absorption marker How to use it Absorption is not automatically bullish or bearish. It’s more like: Bullish absorption can indicate “sellers got absorbed” and a base is forming Bearish absorption can indicate “buyers got absorbed” near tops/distribution Best practice: Use absorption at key levels (prior highs/lows, VWAP bands, value areas, trendlines) Combine with follow-through: the next few candles should confirm direction 8) Divergence detection (optional) DVP can look for simple divergence patterns over div_lookback bars: Bullish divergence (the concept) Price prints a lower low DVP prints a higher low And DVP is below 0 (selling pressure context) This often means: “Price pushed lower, but the selling pressure did not expand—downside may be weakening.” Bearish divergence (the concept) Price prints a higher high DVP prints a lower high And DVP is above 0 (buying pressure context) This often means: “Price pushed higher, but the buying pressure did not expand—upside may be weakening.” Important: Divergence works best when: it appears after an extended move it forms at prior liquidity (previous highs/lows) it’s followed by a clear structure break or zero-line shift in DVP 9) The ±1 zone lines (optional) If you enable Show ±1 Zones and you are not in Raw mode, the script plots: +1 zone −1 zone In Z-score mode, those zones are especially useful because they represent “unusually strong” pressure relative to recent history. Simple rule of thumb: Sustained bars beyond +1 → strong bullish control Sustained bars beyond −1 → strong bearish control Failure to reach zones during trend continuation attempts → weakening trend 10) Practical setups (copy/paste playbooks) Setup A — Clean trend confirmation (recommended) Normalization: Z-Score Period: 14 Smoothing: 3–5 Show MAs: ON (9/21 EMA) Show Crosses: optional How to trade it: Bias long when DVP > 0 and fast MA > slow MA Bias short when DVP < 0 and fast MA < slow MA Reduce risk when DVP starts contradicting regime repeatedly Setup B — Momentum shift + entries Z-Score Show Crosses: ON Watch for: pressure crossing 0 MA cross bar height expansion (strong push) Use it to confirm a breakout: Breakout candle + DVP expansion + bullish regime = higher quality breakout Setup C — Reversal hunting (advanced) Show Absorption: ON Show Divergence: ON Use Z-score zones Reversal checklist: Divergence near a key level Absorption print occurs around the same zone DVP crosses 0 or MA cross confirms Price breaks minor structure (swing high/low) 11) Common mistakes Treating DVP as a standalone entry signal. It’s strongest as a confirmation tool. Using Raw mode across multiple assets/timeframes and expecting consistent thresholds. Over-trusting divergence in choppy ranges without structure confirmation. Ignoring session effects (volume regimes change dramatically in some markets). 12) What each setting does (quick reference) Core Settings Period: lookback for pressure EMA (bigger = smoother/laggier) Smoothing: extra EMA smoothing on top (bigger = less noise) Normalization Raw: absolute pressure Percent: pressure relative to volume Z-Score: statistically standardized pressure (best for thresholds) Adaptive: min/max scaled to Statistical Period: lookback for Z-score + adaptive range Moving Averages Show MAs: plots fast/slow MA on pressure Show Crosses: plots ▲/▼ when fast crosses slow Fast / Slow MA: sensitivity vs stability MA Type: smoothing style Signals Show Absorption: highlights absorption bars + A markers Absorption Threshold: how extreme volume must be (sigma) Show Divergence: plots D markers Divergence Lookback: scan window for extremes Show ±1 Zones: plots zone lines when normalized 13) Short “store page” style summary (if you need it) Directional Volume Pressure (DVP) estimates buyer vs seller dominance by allocating each candle’s volume based on body-to-range structure, then smoothing and normalizing it into an oscillator around zero. Use it to confirm trends (pressure above/below zero), identify regime shifts (MA crosses and zero-line flips), spot absorption (high volume with low real movement), and detect divergences when price extremes are not confirmed by volume pressure. Z-score normalization is recommended for consistent thresholds and zone-based interpretation across markets and timeframes.Pine Script® indicatorby KevinSvenson_39Liquidation Cascade Detector - BasicThe Liquidation Cascade Detector identifies high-probability reversal entries by detecting the microstructure footprint of forced liquidations in futures, equities, crypto, and forex markets. When leveraged positions are stopped out in clusters, they create a recognizable sequence of price action, volume, and volatility signatures. This indicator scores the confluence of those signatures in real time — for both long and short setups simultaneously — and fires a signal only when the combined evidence exceeds a threshold. This runs four of the seven analysis modules found in the full LCD system, fires up to five signals per regular trading session, and displays an aggregate confluence score. No external libraries, no dependencies — a single self-contained script. Designed primarily for micro futures (MNQ, MGC, MES) on intraday timeframes (1m–15m), though the scoring system works on any liquid instrument with reliable volume data. Works on all TradingView plans. ## How It Works The indicator evaluates four independent analysis modules, computes a directional confluence score for each side, and gates output through a cooldown and session cap before firing. **Volume Analysis** Classifies current volume relative to a rolling average. When volume exceeds a configurable spike multiplier, it indicates potential forced liquidation activity — the kind of participation surge that occurs when clustered stop-outs feed into the order book simultaneously. The volume score ramps linearly from normal conditions through spike territory. This module contributes context to both directions, since liquidation events produce volume regardless of which side is being forced out. **Keltner Channel Exhaustion** Measures price extension beyond dynamically calculated channel bands. The Keltner midline uses an EMA basis with ATR-scaled bands. When price pushes beyond the outer band, the indicator scores the degree of overextension — how far past the band in ATR terms. Greater extension produces a higher score, reflecting conditions where price has been pushed to statistical extremes consistent with forced-exit overshoot. The scoring is continuous, not binary: a slight breach scores low, while a 2-ATR overshoot receives the full module weight. Upper band exhaustion feeds into the short score; lower band exhaustion feeds into the long score. **Price Action Structure** Detects two liquidation-consistent candle patterns. The primary pattern is the liquidation bar: a candle with a disproportionately large wick and a small body on elevated volume, indicating price was shoved through a level by forced exits and then reclaimed by organic flow. Configurable wick-to-range and body-to-range ratios control detection sensitivity. The secondary pattern is the engulfing bar on volume — a full-range candle that absorbs the prior bar on above-average participation. Liquidation bars receive the full module score; engulfing bars receive a partial score reflecting their lower specificity as a liquidation signature. **Higher Timeframe Trend** Pulls a single EMA from a configurable higher timeframe and reads its slope direction. Signals aligned with the higher timeframe trend receive the full trend bonus. Counter-trend signals receive zero from this module but are not blocked — they simply need stronger confluence from the other three modules to reach the threshold. Counter-trend signals that do fire are visually dimmed on the chart so you can distinguish them at a glance. **Scoring** Each module contributes to a weighted confluence score computed independently for long and short directions on every bar. Volume (20 points max), Keltner exhaustion (30 points max), price action (25 points max), and higher timeframe trend (25 points max) sum to a 0–100 scale. A minimum-modules gate ensures at least two modules contribute meaningfully — a single strong reading in isolation cannot fire a signal. If both directions exceed the threshold simultaneously, only the higher-scoring direction fires. **Signal Gating** A fixed cooldown prevents signal clustering: after a signal fires, subsequent signals in the same direction are suppressed for a configurable number of bars. A per-session signal cap limits total signals during regular trading hours. When a signal is detected but suppressed by the session cap, a small marker appears at the bottom of the chart so you know the system saw something. Signals only fire during NY cash session AKA RTH (9:30 AM – 4:00 PM ET). Functionality not in this version: - **CVD Divergence Analysis** — Session-aware cumulative volume delta with structural divergence detection and momentum shift analysis. Detects when price is making new extremes but order flow is not confirming, which is one of the strongest signals of impending liquidation exhaustion. - **PCA Breadth** — Cross-asset market internals aggregation ( TICK , ADD , V VOLD , VIX term structure) into a composite reading of internal market health. Identifies whether conditions favor longs, shorts, or neither. - **ETF Correlation** — Monitors the relationship between the futures contract and its corresponding ETF, detecting alignment and divergence in relative momentum. - **MFP Regime Classification** — A macro flow pressure model monitoring six asset classes (equity index futures, dollar, volatility, gold, crude, yield curve) to classify the current environment from Strong Risk-On to Strong Risk-Off. Adjusts signal thresholds, provides position sizing suggestions, and enables emergency exit alerts on adverse regime shifts. - **Adaptive Thresholds** — Signal threshold adjusts dynamically based on current volatility regime rather than using a fixed value. - **Full Pattern Library** — Additional liquidation patterns including sweep-reclaim, stop-hunt, and multi-bar absorption with quality scoring. - **Five Presets** — Pre-tuned parameter sets for aggressive scalping, conservative scalping, intraday trend-fade, mean-reversion, and swing trading. - **Unlimited signals per session** with adaptive cooldown that responds to market conditions. ## Display Signal markers plot on the chart as directional triangles. Color intensity indicates trend alignment: bright signals are with-trend, dimmed signals are counter-trend. A small dot marker appears at the chart bottom when a qualifying signal was suppressed by the session cap. Keltner channel bands are plotted as an overlay (toggle in settings). A score gauge in the bottom-right corner shows the leading direction, aggregate score, threshold, session signal count, and current session state. An info table (position configurable) provides a compact dashboard with scores for both directions, HTF trend, volume state, Keltner status, and signal budget. Session awareness is built into the display: the RTH open price plots as a dashed horizontal line, and the opening range (9:30–10:00 ET) is highlighted with a subtle background shade. ## Settings All parameters are adjustable: - **Volume Lookback / Spike Multiplier** — Controls rolling average length and the threshold for classifying a volume bar as a spike. Default 20-bar lookback, 1.8x multiplier. - **Keltner Length / ATR Multiple / ATR Length** — Controls channel width and sensitivity. Default 20-bar EMA, 2.0 ATR multiple, 14-bar ATR. - **Liquidation Wick Ratio / Max Body Ratio** — Controls how strict the liquidation bar pattern detection is. Higher wick ratio and lower body ratio = fewer but higher-quality detections. - **Trend Timeframe / Trend EMA Length** — Controls the higher timeframe trend overlay. Default 15-minute timeframe with 21-period EMA. - **Signal Threshold** — Minimum confluence score to fire. Lower = more signals with lower average quality. Default 45. - **Cooldown Bars** — Minimum spacing between signals. Default 10 bars. - **Signals per Session** — Maximum signals during RTH. Default 5. - **Display toggles** — Individually toggle Keltner bands, session markers, info table, and score gauge. ## Usage Notes This is a scoring and alerting tool, not a strategy. It identifies conditions consistent with forced liquidation events and scores setup quality. It does not determine position size, stop placement, or profit targets. Not financial advice. Signals are most reliable on liquid futures during active trading hours. The opening range and power hour tend to produce the highest-quality signals. Lunch hours (12:00–1:30 ET) typically produce thinner conditions. The indicator suppresses overnight signals by only firing during RTH. Uses one `request.security()` call for the higher timeframe trend. All data uses confirmed bars with no lookahead. Open source under the Mozilla Public License 2.0.Pine Script® indicatorby Cascade_IndicatorsUpdated 3Session Volume Profile Extended by Chaitu50cSession Volume Profile Extended By Chaitu50c session-based Volume Profile indicator that calculates and plots the most important volume distribution levels — Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL) — for both the current and previous sessions. Instead of displaying a full histogram, the script internally builds volume bins using price grouped by a configurable tick size and accumulates volume throughout the selected session timeframe. At the end of each session, it determines the POC (highest traded volume level) and expands outward to define the Value Area based on the user-defined percentage of total session volume. The indicator updates current session levels in real time, allowing traders to see how developing volume structure evolves during the day. When a new session begins, the previous session’s levels are finalized and extended forward for reference. Users can control how many past sessions remain visible, ensuring the chart stays clean while preserving important historical levels. Each level — past and current POC, VAH, and VAL — can be independently enabled and fully customized in terms of color, style, and width. Row size controls the precision of volume grouping, while the Value Area percentage determines how broad or narrow the value zone becomes. This makes the indicator adaptable to different instruments and trading styles. Ultimate Session VP is best suited for intraday traders who use volume-based structure for identifying equilibrium zones, breakout areas, and key support or resistance levels derived from real session participation.Pine Script® indicatorby chaitu50cUpdated 31Vector Candle Multi-Timeframe Analysis Bull/Bear Table⚠️ Why vector candles often get “filled” quickly Vector candles usually do not represent balanced price discovery. Instead, they are often created by: Stop-loss cascades Forced liquidations Aggressive breakout entries News or sudden order-flow shocks Because of this imbalance: Price frequently retraces partially or fully into the vector candle The market “revisits” these areas to rebalance liquidity This makes vector candles high-interest zones for pullbacks, reactions, and entries 👉 For traders, this means: Vector candles are not random — they often become targets, magnets, or reaction zones. 🔍 Why Multi-Timeframe Vector Analysis matters A vector candle on one timeframe already signals abnormal activity. But when vector candles appear on multiple timeframes, it becomes far more meaningful: A 15m vector may indicate short-term aggression A 1h or 4h vector often reflects structural participation A Daily vector can define the dominant market impulse Seeing vector candles across timeframes helps you: Align entries with higher-timeframe pressure Avoid trading against recent institutional impulses Identify whether a pullback is occurring into active vector zones 🧠 What this indicator does This indicator is a Multi-Timeframe Vector Candle Scanner. It does not draw candles. Instead, it gives you a compact table that shows: Whether a bullish or bearish vector candle exists Across the following timeframes: 15m, 30m, 1h, 2h, 4h, 1D Based on PVSRA vector logic, not simple volume spikes Table output: BULL → bullish vector candle detected BEAR → bearish vector candle detected — → no vector candle detected Summary row: Shows how many timeframes (out of 6) currently contain a vector candle Example: 3 / 6 means vector activity on three timeframes 🎯 How to use this indicator in trading This tool is best used as a context filter, not a standalone entry signal. Common use cases: Check if your trade entry is aligned with higher-TF vector pressure Avoid shorting directly into bullish vector zones Confirm whether a pullback happens after a vector impulse Combine with: EMA structure Support & resistance Pullback / rejection setups ⚠️ Important note A vector candle does not guarantee direction. It signals activity and imbalance, not certainty. Always use this indicator: In combination with your trading system With proper risk management As context, not predictionPine Script® indicatorby ergunozUpdated 54Power Signal v6 by GRAWDAYTRADERPower Signal v6 Description Power Signal Indicator (PSI) is a market strength indicator that combines volume analysis and price proximity to daily highs to generate high-quality trading signals. What the Indicator Does The script calculates a "Power Index" based on two key components: Proximity to High — measures how close the current price is to the previous day's high in percentage terms Relative Volume — compares current volume to the average volume over a selected period (default 20 bars) When price is within 1% of the daily high AND volume exceeds 150% of average, the indicator applies a 1.2 multiplier to the relative volume, creating the "Power Index". When this index crosses a defined threshold (default 150), it generates a PSI! signal with a visual marker on the chart and an audio alert. Visualization Main line displays in a separate pane below the chart Line color: lime (when Power > 100) or gray Horizontal levels: yellow (plot threshold) and red dotted line (signal threshold) Information table in top-right corner shows current values of all components Who Will Find It Useful Day Traders and Scalpers: Identifies moments of heightened market activity with strong volume Helps catch momentum moves on breakouts Generates clear entry signals with customizable alerts Swing Traders: Confirms trend strength through price and volume combination Filters false breakouts — signals only occur with significant volume Shows when price is near important levels with institutional interest Volume Traders: Visualizes abnormal volume activity in the context of price movement Helps identify accumulation/distribution zones Combines price action with volume analysis in one tool Key Benefits: Customizable thresholds for different timeframes and instruments Automatic alerts (audio and visual) Minimalist design with clear signals Works on any market: stocks, crypto, forex, futures The indicator is especially effective on volatile instruments with good liquidity, where volume plays a critical role in confirming price movements.Pine Script® indicatorby GRAWDAYTRADER57GC High-Prob 3-Touch + RVOLWhen publishing your script to TradingView, the description is your "sales pitch" to the community. TradingView’s moderators and users look for three things: What it does, Why it’s useful, and How to interpret it. Here is a structured, professional description you can copy and paste into the publishing field. Title Suggestion: GC High-Prob Liquidity Zones: 3-Touch + RVOL Surge Description: Overview This indicator is designed specifically for Gold (GC) and other highly liquid futures, focusing on identifying high-probability support and resistance zones. Rather than plotting every minor pivot, this script filters market noise by requiring a "clustering" of price action and institutional volume confirmation. It identifies levels where the price has been rejected at least three times within a narrow range and validates the strength of these zones using Relative Volume (RVOL). Key Features 3-Touch Requirement: The script only plots a zone once it detects 3 separate rejections at a specific price level. This identifies "battlegrounds" where supply and demand are truly established. RVOL Surge Filter: To prevent "lazy" or low-liquidity fake-outs, the zone is only highlighted if the most recent touch occurred with a volume spike (Relative Volume > 1.5x average). Dynamic Price Anchoring: Built using Pine Script v6 force_overlay, these zones are physically anchored to the price candles. They scale and move perfectly with the chart as you zoom or scroll, avoiding the "floating" issues common in standard drawing scripts. Smart Proximity: Includes a proximity filter (default $0.50 for Gold) that groups nearby wicks into a single unified zone of interest. How to Use Identify the Zone: When a Red (Resistance) or Green (Support) box appears with a thick yellow border, it indicates a high-probability institutional level. Wait for the Sweep: Look for price to "hunt" the liquidity inside the box. The Rejection: A successful trade setup often occurs when a candle wicks into the zone but closes back outside of it on high volume. Risk Management: The edges of these boxes provide clear, objective levels for stop-loss placement. Settings Pivot Strength: Adjusts how "significant" a peak must be to be recorded. (10 is recommended for 1m/5m charts). RVOL Threshold: Sets the multiplier for volume spikes. 1.5 means 150% of the recent average volume. Touch Proximity: Defines how close rejections must be to each other to be considered part of the same "cluster."Pine Script® indicatorby bansheecapital214Net Buy Volume [theUltimator5]This indicator tracks cumulative net buy volume using TradingView's footprint data tool. Disclaimer: The volume footprint is a premium tool that is only available to premium subscribers or higher. If you don't have a premium plan, there is a possibility that you won't be able to use this indicator. Three Display Modes: - Volume: Cumulative net buy volume (buy volume - sell volume) - Dollars: Cumulative net buy volume converted to dollar value - Delta: Bar-by-bar difference between buy and sell volume One recommended use case is to move the indicator on top of the chart to visualize real-time divergences between price and buy or sell volume. Price and volume divergence can indicate institutional moves that are hidden underneath the price action. Customizable Price Calculation (for Dollar mode): - Close price - Open price - (Open + Close) / 2 - (High + Low + Open + Close) / 4 - (High + Low) / 2 Visual Design: - Volume mode: Aqua stepline showing cumulative net buying/selling - Dollar mode: Neon pink stepline showing dollar-weighted net volume - Delta mode: Green/red columns showing immediate buy/sell pressure Values are automatically formatted as K (thousands), M (millions), or B (billions) How to Use: 1. Select your preferred data type (Volume, Dollars, or Delta) 2. If using Dollar mode, choose how price should be calculated 3. Watch for trends in cumulative volume to identify sustained buying or selling pressure 4. Use Delta mode to see individual bar pressure in real-time Pine Script® indicatorby TheUltimator5276FXShare HotspotsThe idea is simple: price often tells you something before it turns, not with indicators, but with shape + effort. This script compares: • Candle body size • Wick dominance (rejection) • Relative volume spike When those line up, it marks what I call a Hotspot - a place where price put in effort (volume) but failed to continue in the same direction (small body, long wick). Very often, these areas precede reactions, pauses, or reversals. I intentionally made all the math adjustable: • volume multiplier • body vs wick ratios • minimum wick dominance • optional EMA-based trend filter Nothing is hard-coded, because markets, symbols, and timeframes behave differently. You can tune it for crypto, forex, indices or rip parts of it for your own experiments. There are no zones, no boxes, no clutter, just clean markings where the condition happened, so it’s easy to read and easy to build on. It’s more like a visual highlighter for moments where price/volume behavior becomes interesting.Pine Script® indicatorby FxShareRobots275Gamma Hedging Pressure Gamma Hedging Pressure (Proxy) – Market Maker Gamma Exposure Estimator This open-source, non-overlay indicator provides a **proxy** for dealer/market-maker gamma hedging pressure using only standard OHLCV data — no options chain or implied volatility required. Core Concept In options markets, gamma measures how much delta changes with price movement. When dealers are **net short gamma** (negative gamma), they must hedge aggressively in the direction of the move → this amplifies trends and breakouts. When **net long gamma** (positive gamma), they hedge against the move → this creates mean-reversion and pinning behavior. Because true gamma exposure is hidden (dealer books are private), this script estimates hedging pressure indirectly by combining: - Volatility expansion (normalized range) - Price acceleration (second derivative) - Abnormal volume participation High positive values → likely negative gamma regime (trend acceleration) High negative values → likely positive gamma regime (reversion pressure) Near zero → neutral/chop Why this proxy is useful True gamma dashboards require Level 2 options data and are often delayed or paid. This lightweight version: - Works on any instrument with volume (stocks, futures, forex proxies, crypto) - Updates in real time - Helps traders anticipate whether the current move is likely to accelerate (negative gamma) or fade (positive gamma) - Useful as a regime filter alongside support/resistance, order flow, or momentum tools How It Works – Step by Step 1. Volatility Expansion - Normalized range = (high - low) / ATR(14) 2. Price Acceleration - First difference: close - close - Second difference (acceleration): diff - diff 3. Volume Participation - Normalized volume = volume / SMA(volume, 20) 4. Raw Pressure - rawPressure = normalized range × acceleration × normalized volume 5. Smoothed Gamma Pressure - gammaPressure = EMA(rawPressure, 5) // short smoothing for responsiveness 6. Optional Daily Reset - If enabled, resets to 0 at the start of each new day (useful for intraday) 7. Regime Classification - Negative Gamma (red): gammaPressure > +threshold (default 0.5) → trend/breakout likely - Positive Gamma (green): gammaPressure < -threshold → mean-reversion likely - Neutral (gray): within ±threshold → chop/consolidation Visual Output - Histogram: colored by regime (red = negative gamma / trend accel, green = positive gamma / reversion, gray = neutral) - Zero line reference - Background tint: red/green during strong regimes - Last-bar label: "NEGATIVE GAMMA – Trend / Breakout", "POSITIVE GAMMA – Mean Reversion", or "NEUTRAL" How to Use - Best on intraday timeframes (5m–1h) for futures (NQ, ES, GC), indices, or high-volume stocks - Daily/4h for swing context on liquid names - Interpretation examples: → Red histogram + rising pressure → dealers likely short gamma → expect trend continuation or acceleration → Green histogram + falling pressure → dealers long gamma → expect fading moves, pinning near strikes, or reversion → Gray/neutral → low gamma pressure → range-bound or low-conviction market - Combine with: - Key levels (VWAP, previous highs/lows) - Volume profile or order flow - Options-related news (expiration days, gamma flips) - Threshold tuning: 0.3–0.8 depending on instrument volatility (lower for crypto, higher for forex) Inputs - ATR Length: default 14 - Volume MA Length: default 20 - Gamma Threshold: default 0.5 (sensitivity for regime coloring) - Reset on New Session: true = daily reset (recommended for intraday) Publishing Recommendation - Publish with a clean chart (e.g., 15m–1h NQ1!, ES1!, or SPY) - Show a trending period (red histogram) and a ranging/consolidation period (green/gray) - No extra indicators/drawings needed for basic interpretation This is an **educational proxy** — not a direct measure of actual dealer gamma. It approximates pressure from observable market behavior. Trading involves significant risk of loss. Use discretion and proper risk management. Feedback welcome — especially threshold or smoothing suggestions for different markets!Pine Script® indicatorby uzair2join137M Multi-Factor Momentum ScoreboardThe 7M Scoreboard is more than just a collection of indicators; it is a Real-Time Scoring Engine designed for momentum traders and quant-focused analysts. While many scripts simply "mash up" indicators, the 7M Dashboard provides a weighted analytical framework that filters market noise into a single, actionable 7M Score. It evaluates seven distinct dimensions of market health: Price Action, Relative Volume (Time-specific and Daily), Capital Structure (Float), and Multi-timeframe Trend alignment (VWAP, VWMA, MACD). Make sure to enable Extended Trading Hours in the TradingView settings. What makes it original? The core innovation lies in the 7M Scoring & Alerting logic. Instead of a trader manually checking eight different parameters, the script performs a logical "Pass/Fail" assessment on every bar. Dynamic Time-Anchored Change: Unlike standard change percentages, this script allows you to anchor the "Starting Price" to the Pre-market (4:00 AM), Regular Open (9:30 AM), or Post-market (4:00 PM). Relative Volume (RVOL) at Time: It compares the current 5-minute volume not just to recent bars, but to the historical average for that specific time of day, filtering out the standard "lunchtime lull." Capital Structure Integration: It incorporates a "Float" filter, essential for identifying low-float momentum vs. heavy-cap institutional moves. How it works The script calculates a total score out of 9 points based on the following criteria: Momentum: Is price change > X percent from your chosen time anchor? Liquidity: Is the 5-minute volume > X million? Relative Strength: Is Daily RVOL and Time-specific RVOL > X? Trend Alignment: Is price above VWAP and the 20-period VWMA? Momentum Convergence: Is the MACD histogram positive? Volatility Health: Is RSI between 30 and 70 (avoiding extreme over-extension)? Step-by-Step Guide to Use Set your Market Type: Open the settings and choose your Price Change Anchor. Use Pre-Market if you trade the morning "Gap and Go." Use Regular Open if you are a day-trader focused on the 9:30 AM bell. Configure Thresholds: Set your Min % Move (e.g., 1.5%) and Min 5m Vol. Monitor the 7M Score: Look at the bottom row. Score < 5: High-risk, no clear momentum. Score 7+: High-probability "7M Pass" setup. Alerts (Great with TV's Watchlist Alerts) Right-click the chart and "Add Alert." Select the 7M Dashboard and choose the "🚀 7M PASS" condition to be notified the moment a ticker hits your momentum criteria. Recommended Settings for Different Assets Small-Cap Momentum Pre-Market - 4.0% (Change) - 500k (5m Vol) - 50M (Float) Mega-Cap / Tech Regular - 1.0% (Change) - 1.5M (5m Vol) - 30,000M (Float) Crypto Intraday Regular - 2.5% (Change) - 1M (5m Vol) - 10,000M (Foat) Technical Details Pine Script Version: v6 Visuals: Features a high-contrast UI with adaptive text sizing for the final 7M Score. Alerting: Includes an optimized alert() function for real-time momentum detection. Disclaimer The "7M Multi-Factor Momentum Scoreboard" is a technical analysis tool provided for educational and informational purposes only. Nothing contained in this script, its outputs, or the 7M Score constitutes financial, investment, or trading advice. Trading stocks, futures, and cryptocurrencies involves significant risk of loss and is not suitable for every investor. No Guarantees: Past performance as displayed by historical indicators is not indicative of future results. Model Limitations: The 7M Score is based on mathematical calculations of price and volume; it does not account for fundamental news, earnings surprises, or broader macroeconomic shifts. Personal Responsibility: You are solely responsible for your own trading decisions. Always perform your own due diligence and consult with a licensed financial advisor before putting capital at risk.Pine Script® indicatorby meistermarco15Blockcircle Price Gaps (PG)I got tired of price gap indicators that dump every zone on the chart and leave you to figure out which ones actually matter. I have tried every single one imaginable. Therefore, I built this one to score each gap automatically based on how close it is, how it formed, and whether it aligns with the trend. Instead of cryptic numbers, it just tells you: Strong, Moderate, or Weak, plus how far away it is. You see what matters, skip what doesn't. Hopefully, you find it helpful! If you have other ideas to improve it even further, please let me know, and I can integrate them. WHAT MAKES IT ORIGINAL AND DIFFERENT Standard gap indicators display every detected imbalance with identical visual treatment, leaving traders to manually assess which zones matter. This creates cluttered charts and analysis paralysis. This BLOCKCIRCLE PRICE GAPS (PG) indicator solves that problem with a Relevance Engine that automatically scores each gap from 0 to 100 and translates scores into plain language: Strong, Moderate, or Weak. Each zone displays its strength rating and distance from the current price, so you instantly know which gaps deserve attention and how far the price must travel to reach them. The scoring combines four factors that research shows correlate with zone effectiveness: Proximity: Gaps closer to the current price score higher because nearby zones influence immediate price action more than distant ones. Formation Volume: Gaps created during above-average volume suggest institutional activity rather than random price movement. Impulse Strength: Gaps formed by strong moves (measured against ATR) indicate genuine supply/demand imbalance rather than noise. Trend Alignment: Support gaps in uptrends and resistance gaps in downtrends receive bonus points for trading with momentum. Visual intensity reflects strength automatically. Strong zones appear darker and more prominent. Weak zones fade into the background. You see what matters without decoding numbers. HOW IT WORKS Price Gaps form when aggressive buying or selling creates an imbalance, leaving unfilled space between candles. These zones often act as support (bullish gaps below price) or resistance (bearish gaps above price) when the price returns to them. Detection uses the standard three-candle method: a bullish gap exists when the current low exceeds the high from two bars prior. A bearish gap exists when the current high falls below the low from two bars prior. What makes this implementation different is continuous relevance tracking . Each bar, every gap receives an updated score based on current conditions . As the price moves away, the proximity scores decrease. As gaps age, time decay gradually reduces their overall relevance. When capacity limits are reached, the lowest-scoring gap is removed first, ensuring your chart always shows the most actionable zones. Labels show practical information: Strength rating (Strong, Moderate, or Weak) Zone type (Support or Resistance) Distance from current price with direction (+12% means above, -8% means below) FEATURES Relevance scoring with automatic strength classification Plain-language labels showing strength and distance Color intensity that reflects zone importance Retest detection when price returns to unfilled gaps Proximity filtering to hide distant zones Age filtering to remove stale gaps Size filtering for minimum and maximum gap thresholds Relevance-based capacity management Information panel with zone counts and trend context Multiple label style options HOW THE COMPONENTS WORK TOGETHER The system operates as a filtering pipeline: Size filters remove gaps that are too small (market noise) or too large (extreme events unlikely to fill). The Relevance Engine scores qualifying gaps based on proximity, volume, impulse, and trend. Gaps below the minimum score threshold are hidden. Proximity and age filters remove distant or stale gaps. When at capacity, the lowest-scoring gap is removed to make room for new detections. This layered approach ensures only the most relevant gaps appear on your chart. CONFIGURABLE SETTINGS Display Settings control how many zones appear and how they are displayed. Label Style lets you choose what information displays: Strength plus Distance (default), Strength Only, Distance Only, Score Only, or None. Relevance Engine settings include the master toggle and minimum score threshold. The Scoring Weights section allows advanced users to adjust how much each factor contributes. Filters control size thresholds, maximum distance from price, and maximum age in bars. Retest Alerts notify you when the price returns to an unfilled gap with three sensitivity options. Zone Behavior controls whether filled gaps are removed and what counts as a filled gap. HOW TO USE The default settings work well for most timeframes and markets. Strong zones (shown in brighter colors with yellow text) have multiple factors aligned and deserve the most attention. Moderate zones are worth watching. Weak zones provide context but may not produce reliable reactions. For active trading, focus on Strong and Moderate zones within 10% of the current price. These are the most likely to influence near-term price action. For swing trading, expand the Maximum Distance setting to see zones further from the price that may become relevant as trends develop. When the Retest alert fires, the price is returning to an unfilled gap. Evaluate the zone strength, look for price reaction at the zone boundary, and consider whether the move aligns with the broader trend before trading. The information panel shows: Support: Count of bullish gaps (potential buying zones) Resistance: Count of bearish gaps (potential selling zones) Unfilled: Zones not yet touched by price Avg Strength: Overall quality of visible zones Trend: Current direction based on EMA alignment LIMITATIONS Relevance scoring is probabilistic, not predictive. A Strong gap is more likely to produce a reaction based on historical patterns, but any zone can fail. The trend component uses EMA crossovers (20/50/200), which may lag in choppy markets. Distance calculations update each bar. During volatile moves, labels may briefly show different values as price swings. DEFAULTS These are the defaults, but you would adjust and calibrate it to a specific asset, as needed: Maximum Zones: 12 Label Style: Strength + Distance Minimum Score: 20 Maximum Distance: 25% Maximum Age: 300 bars If you have any questions at all, please ask away!Pine Script® indicatorby blockcircle71Volume Price TrendThis indicator provides an implementation of the Volume Price Trend (VPT) momentum indicator, enhanced with a built-in divergence detection engine. Key Features: 1. **Full Divergence Suite (Class A, B, C):** The primary feature is the integrated divergence engine. It automatically detects and plots all three major types of divergences: - Regular (A): Signals potential trend reversals. - Hidden (B): Signals potential trend continuations. - Exaggerated (C): Signals weakness at double tops/bottoms. 2. **Divergence Filtering and Visualization:** - **Price Tolerance Filter:** Divergence detection is enhanced with a percentage-based price tolerance (`pivPrcTol`) to filter out insignificant market noise, leading to more robust signals. - **Persistent Visualization:** Divergence markers are plotted for the entire duration of the signal and are visually anchored to the VPT level of the confirming pivot. - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library 3. **Note on Confirmation (Lag):** Divergence signals rely on a pivot confirmation method to ensure they do not repaint. - The **Start** of a divergence is only detected *after* the confirming pivot is fully formed (a delay based on `Pivot Right Bars`). - The **End** of a divergence is detected either instantly (if the signal is invalidated by price action) or with a delay (when a new, non-divergent pivot is confirmed). 4. **Multi-Timeframe (MTF) Capability:** - **MTF VPT Line:** The VPT line *itself* can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Divergence detection engine (`pivDiv`) is **disabled** if a timeframe other than the chart's timeframe is selected. Divergences are only calculated on the active chart timeframe. 5. **Integrated Alerts:** Includes comprehensive alerts that trigger on the *start* and *end* of all divergence types (e.g., "Regular Bullish Started", "Regular Bullish Ended"). --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Pine Script® indicatorby AustrianTradingMachine14Turnover Since Start of DayTurnover Since Start of Day -- day from 24 midnight to 24 midnight -- Sum Turnover -- Interest at larger time frames, what part of the day do things movePine Script® indicatorby Step_Papper7Whale OBV Hunter [Divergence]ENGLISH: How it works This indicator automatically compares price action against volume flow (OBV). It hunts for "Divergences". Normally, if price drops, OBV should drop. If price drops but OBV rises, it means "Whales" are absorbing the selling pressure (Accumulation). How to use it Buy Signal (Accumulation): Look for Green Lines and the label "Whale Accumulation". Meaning: Price made a lower low, but OBV made a higher low (Bullish Divergence). This is a strong signal for an upward reversal. Action: Look for a LONG entry. Sell Signal (Distribution): Look for Red Lines and the label "Whale Distribution". Meaning: Price is making higher highs, but OBV is dropping (Bearish Divergence). Smart money is leaving. Action: Take profits or look for a SHORT entry. Settings (Lookback): Default is 5. If you see too much noise (too many signals), increase this number to 10 in the settings to spot only major institutional movements. Pine Script® indicatorby Saletrader1126Whale Hunter V121. Overview Whale Hunter V12 is a specialized Pine Script indicator designed for high-precision scalping (1m, 5m timeframes) on Futures and Crypto markets. Unlike standard indicators that lag, V12 focuses on Volume Spread Analysis (VSA) and Order Flow to detect institutional "Whale" activity. Its "Precision Engine" filters out low-volatility churn and fake signals by enforcing strict volatility gates (ATR) and volume thresholds. 2. The Logic: How Scoring Works (0-12 Points) Every candle is analyzed and given a "Confluence Score" from 0 to 12. A signal is only generated if the score meets your minimum threshold (Default: 8). Component Max Points Logic A. Volume Spike 4 pts Measures relative volume vs. 20-period average. • 2.0x Vol = 2 pts • 3.0x Vol = 3 pts • 5.0x Vol = 4 pts (Whale) B. Trend (VWAP) 3 pts Checks alignment with Volume Weighted Average Price. • Buy above VWAP = +3 pts • Sell below VWAP = +3 pts C. Absorption Wick 3 pts Measures the rejection wick vs. candle body. • Wick > 1.5x Body = 1 pt • Wick > 50% Range = 2 pts • Wick > 65% Range = 3 pts (Hammer/Shooting Star) D. CVD Divergence 2 pts Checks if momentum contradicts price. • Price Lows lower + Volume Flow Higher = +2 pts (Bullish Divergence) E. Penalties -3 pts The Fakeout Killer: • Buying on a Red Candle = -3 pts • Selling on a Green Candle = -3 pts 3. Settings & Configuration You can customize the strictness of the engine in the indicator settings menu. A. Signal Precision Minimum Score to Show (Default: 8) 8-12: "Sniper Mode." Shows only high-probability setups trading with the trend (VWAP aligned). 6-7: "Scout Mode." Shows counter-trend reversals and riskier scalps. < 5: Not recommended (Too much noise). Ignore Small Candles (ATR %) (Default: 0.5) The "Churn Filter". It ignores any candle smaller than 50% of the average size. Increase to 0.8 if you are getting too many signals during flat/choppy markets. B. Volume Logic Strict Volume (Default: ON) When checked, the script blocks any signal with less than 2.0x average volume, regardless of the score. This ensures you only trade when Whales are actually present. 4. How to Read the Signals 🟢 Bullish Signal (Buy) Symbol: Green Triangle below the bar. Condition: Score ≥ 8. The Whale absorbed selling pressure (Wick) on high volume, likely creating a "Bear Trap." Ideal Setup: Price is Above the Blue Line (VWAP) + Green Arrow. Stop Loss: Just below the low of the signal candle (the wick). 🔴 Bearish Signal (Sell) Symbol: Red Triangle above the bar. Condition: Score ≥ 8. The Whale absorbed buying pressure (Wick) on high volume, likely creating a "Bull Trap." Ideal Setup: Price is Below the Blue Line (VWAP) + Red Arrow. Stop Loss: Just above the high of the signal candle. 🔵 Blue Line (VWAP) This is your "Trend Anchor." Do not Short if price is significantly above the Blue Line. Do not Long if price is significantly below the Blue Line. 5. Troubleshooting / FAQ Q: Why did a signal disappear? A: The script repaints only during the live candle. Once a candle closes, the signal is permanent. If a signal vanishes before close, it means the volume or price action changed last second (e.g., the candle turned Red, triggering the -3 penalty). Q: Why are there no signals on my chart? A: You are likely in a low-volume period (Lunch hour / Late night). The Strict Volume filter is doing its job by keeping you out of dead markets. Alternatively, lower the Minimum Score to 6. Q: Can I use this on 1-minute timeframes? A: Yes, but increase the ATR Filter to 0.6 or 0.7 to filter out the micro-noise common on 1m charts. Pine Script® indicatorby zakariya_elaljUpdated 74NVentures Liquidity Radar ProInstitutional Liquidity Radar Pro OVERVIEW This indicator combines three institutional trading concepts into a unified confluence scoring system: Liquidity Zones (swing-based), Order Blocks, and Fair Value Gaps. The unique value lies not in these individual concepts, but in HOW they interact through the confluence scoring algorithm to filter high-probability zones. HOW THE CONFLUENCE SCORING WORKS The core innovation is the calcConfluence() function that assigns a numerical score to each detected level: 1. Base Score: Every swing pivot starts with score = 1 2. Zone Overlap Detection: The algorithm iterates through all active zones within confDist * ATR proximity. Each overlapping zone adds +1 to the score 3. Order Block Proximity: If an Order Block's midpoint (top + bottom) / 2 falls within the confluence distance, +1 is added 4. HTF Validation: Using request.security(), the indicator fetches higher timeframe swing pivots. If the current zone aligns with an HTF swing within 2 * confDist * ATR_htf, a +2 bonus is awarded Zones scoring 4+ are highlighted as high confluence - these represent areas where multiple institutional concepts converge. HOW LIQUIDITY ZONES ARE CALCULATED Detection: ta.pivothigh() and ta.pivotlow() with configurable lookback (default: 5 bars left/right) Zone Width - Three modes available: - ATR Dynamic: ATR(14) * multiplier (default 0.25) - Fixed %: close * (percentage / 100) - Wick Based: max(upperWick, lowerWick) * 1.5 Proximity Filter: isTooClose() prevents clustering by enforcing minimum ATR * minATRdist between zones HOW ORDER BLOCKS ARE DETECTED The detectBullishOB() / detectBearishOB() functions identify the last opposing candle before an impulse move: 1. Check if candle is opposing direction (bearish before bullish impulse, vice versa) 2. Validate consecutive candles in impulse direction (configurable, default: 3) 3. Volume confirmation: volume >= volMA * volMult (using 50-period SMA) 4. Minimum move validation: abs(close - close ) > ATR This filters out weak OBs and focuses on those with institutional volume footprints. HOW FAIR VALUE GAPS ARE DETECTED FVGs represent price imbalances: - Bullish FVG: low - high > ATR * fvgMinSize - Bearish FVG: low - high > ATR * fvgMinSize The ATR-relative sizing ensures gaps are significant relative to current volatility. HOW SWEEP DETECTION WORKS The checkSweep() function identifies false breakouts through wick analysis: 1. Calculate wick percentage: upperWick / totalRange or lowerWick / totalRange 2. Sweep conditions for resistance: high > zone.upper AND close < zone.price AND wickPct >= threshold 3. Sweep conditions for support: low < zone.lower AND close > zone.price AND wickPct >= threshold A sweep indicates liquidity was grabbed without genuine continuation - often preceding reversals. HOW FRESHNESS DECAY WORKS The calcFreshness() function implements linear decay: freshness = 1.0 - (age / decayBars) freshness = max(freshness, minFresh) This ensures old, tested zones fade visually while fresh zones remain prominent. WHY THESE COMPONENTS WORK TOGETHER The synergy is based on the principle that institutional activity leaves multiple footprints: - Swing Pivots = where retail stops cluster - Order Blocks = where institutions entered - FVGs = where aggressive institutional orders created imbalances - HTF Alignment = where higher timeframe participants are active When these footprints converge at the same price level (high confluence score), the probability of significant price reaction increases. CONFIGURATION - Swing Detection Length: 5-8 for intraday, 8-15 for swing trading - HTF Timeframe: One level above trading TF (e.g., D for H4) - Min Confluence to Display: 2 for comprehensive view, 3-4 for high-probability only - FVGs: Disabled by default for cleaner charts STATISTICS PANEL Displays: Active resistance/support zones, high confluence count, swept zones, active OBs, active FVGs, current ATR, selected HTF. ALERTS - Price approaching high confluence zone - Liquidity sweep detected - Bullish/Bearish Order Block formed - Bullish/Bearish FVG detected TECHNICAL NOTES - Uses User-Defined Types (UDTs) for clean data structure management - Respects Pine Script drawing limits (500 boxes/labels/lines) - All calculations are ATR-normalized for cross-market compatibilityPine Script® indicatorby NVBIG68MB-MACD## Description **MB-MACD** is a custom Pine Script indicator designed to enhance momentum analysis by combining a volume-based "Main Buy Ratio" (MB) calculation with a traditional MACD oscillator. The MB Ratio estimates institutional buying pressure by apportioning volume based on the candle's range and close position, providing a unique proxy for "smart money" flow. This smoothed MB value is then used as the source for MACD computation, allowing for divergence detection between price action, the MB line, and the MACD Histogram. Key features include: - **MB Line**: A histogram-style plot showing smoothed buy/sell ratio, colored bullishly (teal) or bearishly (pink) based on direction. - **MACD Histogram**: Standard MACD applied to the MB source, with optional smoothing. - **Divergence Detection**: Identifies bullish and bearish divergences on both the MB line and MACD Histogram, with configurable filters for momentum decay and zero-line alignment. - **Visualization Options**: Display divergence lines and labels in the indicator pane or synced as an overlay on the main chart for better context. - **Alerts**: Triggers for bullish or bearish divergences to notify users of potential reversal setups. This indicator is particularly useful for swing traders and momentum followers looking to spot hidden divergences that may signal trend reversals or continuations. It emphasizes risk management by highlighting where price and momentum decouple, but remember: divergences are probabilistic signals and should be confirmed with other tools. As this is a community-shared script, I encourage users to test it thoroughly and provide feedback. If you spot any bugs, calculation errors, or improvements (e.g., edge cases with low-volume symbols or performance issues on certain timeframes), please comment below or reach out—your input helps refine it for everyone! ## User Manual ### Introduction The **MB-MACD** indicator integrates volume analysis with MACD to detect divergences in price and momentum. The core innovation is the "Main Buy Ratio" (MB), which approximates buying vs. selling volume within each bar based on its range and close position. This MB value is smoothed and fed into a MACD calculation, enabling divergence scans on both the MB line and the resulting MACD Histogram. Divergences occur when price makes higher highs/lower lows, but the oscillator (MB or Histogram) fails to confirm—often signaling potential reversals. The script offers flexible display options, filters to reduce false positives, and alerts for real-time notifications. **Important Notes:** - This is not financial advice; use it for educational purposes and backtest on your symbols/timeframes. - Works best on liquid stocks or indices with reliable volume data (e.g., daily or higher timeframes). - Performance may vary on low-volume assets or during after-hours trading. - If you encounter issues (e.g., no divergences detected or rendering errors), check your chart settings and report them in the comments for community debugging. ### Inputs Explanation The inputs are grouped for ease of configuration. Adjust them via the indicator's settings panel in TradingView. #### Core Parameters - **Show MB Line** (Default: True): Enables/disables the MB Ratio histogram plot. - **Show MACD Histogram** (Default: True): Enables/disables the MACD line and histogram plots. - **MB Smoothing (SMA)** (Default: 10, Min: 1): Length for smoothing the raw MB Ratio using a Simple Moving Average (SMA). Higher values reduce noise but may lag. - **Pivot Lookback Length** (Default: 5, Min: 2): Bars to look back/forward for detecting price pivots (highs/lows) used in divergence logic. - **Max Lines Kept** (Default: 100, Min: 10): Limits the number of divergence lines/labels to prevent chart clutter. #### Display Settings - **Show Lines (Indicator Pane)** (Default: True): Draws divergence lines on the MB line in the indicator pane. - **Show Labels (Indicator Pane)** (Default: True): Adds labels (e.g., "L" for line divergence) at divergence points in the pane. - **Show Hist Divergence Lines** (Default: True): Draws dashed lines for MACD Histogram divergences in the pane. - **Show Hist Divergence Labels** (Default: True): Adds labels (e.g., "H" for histogram divergence) in the pane. - **Sync Lines to Main Chart (Overlay)** (Default: True): Mirrors divergence lines and labels onto the main price chart for context (slightly offset for visibility). #### Filters & Tolerance - **Peak Alignment Tolerance (Bars)** (Default: 5, Min: 0): Allows flexibility in matching oscillator peaks/valleys to price pivots (e.g., within ±5 bars). - **Max Divergence Distance (Bars)** (Default: 20, Min: 5): Maximum bars between two pivots for a valid divergence; prevents detecting overly distant signals. - **Enable Momentum Decay Filter** (Default: True): For Histogram divergences, requires the current peak/valley to have a smaller absolute value than the previous (indicating convergence/decay). - **Enable Zero-Side Filter** (Default: False): Ensures both peaks/valleys in a divergence are on the same side of the zero line (e.g., both positive or both negative). #### MACD Settings - **MACD Fast Length** (Default: 12): Fast EMA length for MACD. - **MACD Slow Length** (Default: 26): Slow EMA length for MACD. - **MACD Signal Length** (Default: 9): Smoothing length for the MACD signal line. - **MACD Source Smoothing** (Default: 3, Min: 1): Additional SMA smoothing applied to the MB Ratio before MACD calculation. ### How It Works 1. **MB Ratio Calculation**: For each bar, the script computes the position of the close within the high-low range (0-1). This scales the volume into "buy" and "sell" portions, then derives a net ratio (-100% to +100%). It's smoothed via SMA for the final MB line. 2. **MACD Application**: The (optionally smoothed) raw MB is used as the MACD source, producing a MACD line, signal line, and histogram. 3. **Pivot Detection**: Uses Pine's `ta.pivothigh`/`ta.pivotlow` to find price highs/lows over the lookback period. 4. **Divergence Scanning**: - **Bearish (on Highs)**: Price makes a higher high, but MB/Hist makes a lower high. - **Bullish (on Lows)**: Price makes a lower low, but MB/Hist makes a higher low (closer to zero). - Scans nearby bars for oscillator matches and applies filters. 5. **Rendering**: Lines/labels are drawn in the indicator pane or overlaid on the chart. Colors: Teal for bullish, Pink/Maroon for bearish. 6. **Cleanup**: Automatically removes old lines/labels to stay under the max limit. ### Interpreting the Outputs - **MB Line (Columns)**: Positive (teal) indicates net buying pressure; negative (pink) shows selling. Watch for crossovers above/below zero as momentum shifts. - **MACD Histogram (Area)**: Green/teal for positive momentum; red/maroon for negative. Widening bars suggest strengthening trends; narrowing indicates weakening. - **Divergence Lines/Labels**: - Solid lines: MB line divergences (thicker, labeled "L"). - Dashed lines: Histogram divergences (thinner, labeled "H"). - Bullish: Teal lines sloping up (potential bottom reversal). - Bearish: Pink lines sloping down (potential top reversal). - **Overlay on Chart**: Lines connect price pivots (or offset slightly for Histogram). Use this to visualize how divergences align with candlesticks. - **Zero Line**: Gray horizontal line; divergences filtered by side if enabled. **Example Usage**: - On a daily stock chart, enable overlays and watch for a bullish "L" or "H" label near a price low—could signal a buy if confirmed by volume breakout. - In a downtrend, bearish divergences on highs might warn of further downside. ### Alerts - **Bullish Divergence (L or H)**: Triggers on any detected bullish divergence (MB or Histogram). - **Bearish Divergence (L or H)**: Triggers on bearish divergences. - Set up via TradingView's alert menu: Select the indicator, choose the condition, and customize the message (e.g., includes ticker). ### Troubleshooting / Known Issues - **No Divergences Shown**: Increase "Peak Alignment Tolerance" or reduce filters. Ensure pivot length suits your timeframe (shorter for intraday). - **Too Many Lines/Labels**: Lower "Max Lines Kept" or increase "Max Divergence Distance" to filter distant signals. - **Performance on Low-Volume Symbols**: MB Ratio may be unreliable; test on high-volume assets first. - **Rendering Errors**: If lines don't appear, check chart zoom or ensure "force_overlay=true" isn't conflicting with other indicators. - **NaN/Undefined Values**: Rare on live data but possible in historical backtests; report with symbol/timeframe for fixes. ### Feedback and Contributions This script is open for community improvement! If you find bugs (e.g., false positives in divergences, calculation edge cases, or UI glitches), or have suggestions (like additional filters or visualizations), please share in the comments. Your feedback helps make it better—let's debug and enhance it together!Pine Script® indicatorby Kuokkuok050326Multi-VWAP Pro (HP) + Alerts - par alphaomega18Multi-VWAP Pro High-Precision (D/W/M) – by alphaomega18 🚀 Overview Elevate your institutional analysis with the Multi-VWAP Pro High-Precision, a comprehensive tool designed for traders who demand surgical accuracy. Most standard VWAP indicators lag or shift when changing timeframes. This script solves that by using a 1-minute data polling engine (request.security), ensuring your Daily, Weekly, and Monthly levels remain rock-solid and accurate, whether you are on a 1m, 15m, or 1h chart. 💎 Key Features High-Precision Engine: Calculation based on 1-minute intraday data for maximum mathematical accuracy. Multi-Timeframe Anchors: View Daily, Weekly, and Monthly VWAPs simultaneously. Dynamic Color Logic: The Daily VWAP turns Green when the price is above and Red when below for instant trend bias. Triple SD Bands: 3 fully customizable Standard Deviation bands for each timeframe to identify exhaustion zones. Smart Alerts: Fully programmable notifications for price crosses on all levels. Clean Labels: Real-time labels on the price scale for a professional, organized look. 📈 Trading Strategy: The Power of Confluence Using three different VWAP anchors allows you to see the market through multiple lenses. Here is how to use this tool: 1. The Institutional Confluence The strongest setups occur when two or more VWAP lines overlap. The Setup: If the Daily VWAP clusters with the Weekly VWAP, it creates a "Hard Floor/Ceiling." The Trade: Look for high-probability bounces in these zones where institutions defend their average price. 2. Mean Reversion with SD3 Bands The 3rd Standard Deviation (SD3) represents price extremes. The Trade: When price pierces a Daily SD3, look for a reversal back toward the VWAP (Mean Reversion), especially if it aligns with a Weekly or Monthly SD2 band. 3. Trend Confirmation Bullish Bias: If the Daily VWAP is Green, prioritize "Buy the Dip" on lower SD bands. Bearish Bias: If the Daily VWAP is Red, prioritize "Sell the Rip" on upper SD bands. 💡 Pro Tip for my Followers "Alignment is king. When the Daily, Weekly, and Monthly VWAPs all slope in the same direction, you have a high-conviction trend. Follow me for more high-precision tools and market insights!" 🛠 Settings & Customization Visibility: Toggle any VWAP or SD band on/off. Full Color Control: Pick your own colors for Weekly and Monthly lines. Adjustable Multipliers: Fine-tune the volatility bands (SD1, SD2, SD3) for any asset.Pine Script® indicatorby Alphaomega1829Blockcircle FTR - Follow Through ReversalWHAT THIS INDICATOR DOES Blockcircle FTR identifies failed directional moves followed by quality reversals. The indicator tracks structural pivot levels, monitors price interactions with those levels, and validates reversal sequences against a configurable threshold. A trend filter provides macro context so you can evaluate whether signals align with or oppose the broader direction. KEY FEATURES Reversal quality filtering via delivery threshold requirement Sweep confirmation when reversals follow liquidity grabs at structural levels ATR-adaptive origin zones marking reversal starting points Trend alignment indicator comparing signal bias to moving average direction Volume validation filter for participation confirmation Real-time dashboard with signal statistics and alignment status DETAILED BREAKDOWN Structural Level Tracking The indicator identifies pivot highs and lows based on the Structure Lookback parameter. These pivots serve as reference levels where liquidity typically accumulates. Levels remain active until price interacts with them or they exceed the Level Lifespan setting. When the price reaches a structural level, this interaction is logged. If a reversal then forms in the opposite direction within the Sweep Window, the signal qualifies as sweep-confirmed, indicating that stops were likely triggered before the move reversed. FTR Detection Logic The core detection looks for a specific sequence: a directional attempt that fails to follow through, followed by a counter-move that meets the Delivery Threshold ratio. This ratio measures the quality of the reversal relative to the failed move's structure. Higher threshold values (closer to 1.0) require cleaner, more convincing reversals. Lower values (closer to 0.1) allow weaker setups through. The default of 0.7 provides reasonable filtering without being overly restrictive. Trend Context Filter A moving average (EMA or SMA, configurable period) provides simple trend context. The dashboard displays three related metrics: Trend: Current price position relative to the MA (Bullish/Bearish) FTR Bias: Direction of the most recent confirmed signal (Long/Short) Aligned: Whether these two readings match (Yes/No) This helps identify situations where the FTR bias has become stale or is positioned against the prevailing trend. Signal Classification Standard signals appear as small triangles and represent FTR patterns that passed the delivery threshold and any active filters. Sweep-confirmed signals appear with an "S" label and represent the subset of signals where price swept a structural level shortly before the reversal formed. These carry higher conviction due to the additional liquidity context. Dashboard Metrics The information panel provides: Current trend direction and FTR bias Alignment status between the two Bars elapsed since the last signal Running totals for long and short signals Sweep-confirmed counts in parentheses Volume filter status Configuration Parameters Structure Lookback: Bars used for pivot detection. Higher values capture more significant swings. Delivery Threshold: Minimum ratio for valid reversals. Range 0.1 to 1.0. Level Lifespan: The maximum bars a structural level remains active. Sweep Window: Lookback period for sweep confirmation. Trend MA Period: Moving average length for trend context. Volume Spike Multiple: Required volume ratio when volume filter is active. Zone Depth: Origin zone width as ATR multiple. Practical Application Sweep-confirmed signals with trend alignment represent the highest-conviction setups. These combine a quality reversal pattern, liquidity sweep context, and trend support. Standard signals without sweep confirmation remain valid FTR patterns but warrant additional discretion. Counter-trend signals (Aligned showing NO) can still produce valid moves, but historically carry lower probability. Consider position sizing adjustments accordingly. Origin zones serve as potential support/resistance areas for subsequent price returns. Important Limitations The indicator may remain biased in the wrong direction during extended trends if no qualifying reversal pattern forms. The trend filter helps identify these situations, but does not automatically override the FTR bias. Signal counts are calculated on visible chart history and will vary based on the loaded timeframe and bar count. As with any technical tool, signals should be evaluated within the broader market context rather than traded mechanically. Hope you find it useful! If you have any questions, please don't hesitate to ask them!Pine Script® indicatorby blockcircle2101Ranked Exchange Volume (REV)📊 Ranked Exchange Volume (REV) - Multi-Venue Volume Distribution Visualizer ## Stop Guessing Where the Real Volume Is. See It. Most traders look at aggregate volume and miss the critical story: **where** that volume actually traded. Ranked Exchange Volume (REV) solves this by revealing the complete liquidity landscape across multiple trading venues in a single, elegant visualization. This isn't just another volume indicator—it's a **dynamic stratified histogram** that automatically reorganizes exchange layers by magnitude on every bar, showing you **instant market dominance** at a glance. --- ## 🎯 The Core Innovation: Self-Organizing Volume Layers REV displays volume from up to 10 different exchanges as **stacked, color-coded bars** where the largest volume source literally rises to the top. Watch as exchanges compete for dominance in real-time: - **Largest volume = Top of the bar** (most visible position) - **Smallest volume = Bottom of the bar** (foundation layer) - **Everything in between = Automatically sorted on every candle** This visual hierarchy makes it instantly obvious which venues are leading the market—no mental math required. --- ## ✨ Key Features ### 🔄 **Dynamic Layer Sorting** Unlike static stacked charts, REV uses real-time stratification. If Binance had 60% of volume last bar but Coinbase takes 70% this bar, you'll see Coinbase jump to the top. The hierarchy reflects current reality, not a fixed order. ### 🎨 **10 Fully Customizable Exchange Slots** Each exchange slot offers complete control: - **Enable/Disable toggle** - Turn exchanges on/off without losing your configuration - **Custom prefix** - Track ANY exchange on TradingView (BINANCE, KRAKEN, OANDA, FXCM, etc.) - **Custom suffix** - Specify quote currency (USDT, USD, EUR, or leave blank for stocks/forex) - **Display name** - Control how exchanges appear in the rankings table - **Color selection** - Match your chart theme or use brand colors for instant recognition ### 📊 **Live Rankings Table** A real-time leaderboard shows: - **Rank** - Current position (1 = highest volume) - **Exchange name** - With color-coded background - **Volume** - Intelligently formatted with K/M/B units - **Percentage** - Exact market share **Table positioning:** Choose from 9 screen positions (top/middle/bottom × left/center/right) to keep your chart clean. ### 🧮 **Intelligent Volume Formatting** REV automatically detects volume magnitude and applies the appropriate scale: - **Billions** - Displays as "1.5B" for readability - **Millions** - Displays as "342.8M" - **Thousands** - Displays as "45.2K" - **Full numbers option** - Toggle to see complete values (23,456,789) The scale adjusts per-bar, so you always see the clearest representation. ### 🚨 **Three Built-In Alert Conditions** 1. **Exchange Dominance Alert (>50%)** - Triggers when a single venue controls majority of volume - Signals potential liquidity concentration risk or exchange-specific events 2. **Volume Spike Alert (>2x average)** - Detects unusual aggregate activity across all venues - Catches breakouts, news events, or institutional flow 3. **Liquidity Migration Alert** - Fires when market leadership shifts between exchanges - Reveals arbitrage opportunities or changing market structure ### 📈 **Optional Total Volume Line** Display aggregate volume from all exchanges as a reference overlay with customizable color. --- ## 🌍 Market Compatibility: Beyond Crypto While optimized for cryptocurrency (its primary design), REV works across multiple asset classes: ### ✅ **Cryptocurrency (Perfect Fit)** **Why it excels:** Crypto trades 24/7 across dozens of global exchanges simultaneously. REV reveals true price discovery. **Example configurations:** - **BTC/USDT:** Compare Binance, Coinbase, OKX, Bybit, Kraken, Bitget - **ETH/USD:** Track institutional venues (Coinbase, Kraken, Gemini) vs retail (Binance, Gate.io) - **Altcoins:** Identify which exchanges have the deepest liquidity before placing large orders **Trading applications:** - **Arbitrage detection** - Spot when volume migrates between venues (price differential opportunities) - **Exchange risk** - Don't trade on exchanges with suspiciously low volume - **Whale tracking** - Sudden Coinbase dominance often signals institutional activity - **Market maker identification** - Consistent Binance leadership suggests MM concentration ### ✅ **Forex (Excellent Fit)** **Why it works:** Forex doesn't have centralized exchanges—it trades OTC across multiple broker feeds. REV shows which data providers are seeing the action. **Example configurations:** - **EUR/USD:** Compare OANDA, FXCM, FOREX.COM, FX_IDC, CAPITALCOM - **GBP/JPY:** Track volatility across broker feeds - **Exotics:** Verify liquidity before trading thin pairs **Setup notes:** - Leave **suffix field blank** for forex - Use broker prefixes: OANDA, FXCM, FOREXCOM, FX_IDC, SAXO - Symbol constructs as "OANDA:EURUSD" **Trading applications:** - **Spread verification** - Higher volume feeds typically offer tighter spreads - **News event tracking** - See which brokers capture the most flow during announcements - **Session analysis** - Watch London/NY volume shifts across different providers ### ⚠️ **Stocks (Limited But Useful)** **Where it works:** - **Dual-listed stocks** - Canadian companies on TSX and NYSE - **International ADRs** - Same company, different exchanges - **ETF arbitrage** - Compare volume across regional listings **Example configurations:** - **Shopify (SHOP):** Compare TSX vs NYSE volume - **Alibaba (BABA):** NYSE vs HKEX volume - **European stocks:** Compare primary exchange vs secondary listings **Setup notes:** - Leave **suffix field blank** - Use exchange prefixes: NYSE, NASDAQ, TSX, LSE, XETRA - Note: TradingView doesn't show per-venue volume for U.S. equities (NYSE vs BATS vs ARCA all aggregate) **Limitations:** Most stocks trade primarily on one exchange, so REV is less valuable than in crypto/forex. ### ❌ **Futures (Not Recommended)** Futures contracts differ by exchange (CME's ES ≠ EUREX's FESX), so volume isn't comparable. --- ## 📚 Practical Use Cases ### 1. **Pre-Trade Liquidity Analysis** Before entering a large position, check which exchanges have sufficient volume to fill your order without slippage. **Example:** You want to sell 50 BTC. REV shows Binance has 2,340 BTC volume this hour while a smaller exchange has only 87 BTC. Route your order to Binance for better execution. ### 2. **Exchange Risk Management** Identify "fake volume" or wash trading by comparing venues. **Red flag pattern:** An exchange consistently shows 10x the volume of competitors but with minimal price impact—likely artificial. ### 3. **Arbitrage Opportunity Detection** When volume suddenly concentrates on one exchange, price premiums/discounts often appear. **Alert pattern:** Liquidity Migration alert fires → Check price differences → Execute arb if spread exceeds fees. ### 4. **Institutional Flow Tracking** In crypto, institutions typically use regulated exchanges (Coinbase, Kraken, Gemini). **Pattern to watch:** Coinbase volume spikes to 60%+ dominance → Often precedes directional moves as institutions position. ### 5. **Market Structure Analysis** Watch long-term trends in exchange dominance to understand market evolution. **Example insight:** "Binance's market share has dropped from 70% to 45% over 6 months as traders diversify to OKX and Bybit." ### 6. **Event Response Comparison** During major news events, see which exchanges react first. **Analysis:** If one exchange shows volume spike 5 minutes before others, that feed may have faster news incorporation. --- ## ⚙️ Technical Specifications - **Maximum exchanges:** 10 simultaneous venues - **Sorting algorithm:** Bubble sort (O(n²) but optimal for n=10, prioritizes stability) - **Update frequency:** Real-time, every bar - **Data handling:** Gracefully ignores invalid symbols, treats NA as zero - **Chart type:** Non-overlay (separate pane below price) - **Performance:** Lightweight, no lag on any timeframe --- ## 🚀 Getting Started ### Quick Setup (5 Minutes) **For Crypto Traders (Default Configuration):** 1. Add indicator to any crypto chart (BTC, ETH, SOL, etc.) 2. Works immediately—top 10 exchanges pre-configured 3. Customize colors if desired 4. Position table to your preference **For Forex Traders:** 1. Open any forex pair (EUR/USD, GBP/JPY, etc.) 2. Go to Exchange 1 settings 3. Change prefix to "OANDA" (or your preferred broker) 4. **Clear the suffix field** (leave it blank) 5. Repeat for other exchanges (FXCM, FOREXCOM, FX_IDC, etc.) 6. Disable any unused exchange slots **For Stock Traders (Dual-Listed):** 1. Open a dual-listed stock (e.g., SHOP on TSX) 2. Exchange 1: Prefix = "TSX", Suffix = blank, Name = "Toronto" 3. Exchange 2: Prefix = "NYSE", Suffix = blank, Name = "New York" 4. Disable exchanges 3-10 5. Compare volume distribution ### Advanced Customization **Tracking Regional Markets:** Want to compare Korean vs Japanese crypto exchanges? - Exchange 1: UPBIT (Korean) - Exchange 2: BITHUMB (Korean) - Exchange 3: BITFLYER (Japanese) - Exchange 4: COINCHECK (Japanese) **Isolating Institutional Volume:** Focus only on regulated U.S. exchanges: - Enable: Coinbase, Kraken, Gemini - Disable: All others - Watch for >50% dominance alerts --- ## 👥 Who Is This For? ### ✅ **Perfect for:** - **Crypto day traders** - Need to know where liquidity actually is - **Arbitrage traders** - Spot cross-exchange inefficiencies - **Institutional traders** - Validate execution venues before large orders - **Forex scalpers** - Compare broker feeds for best execution - **Market structure analysts** - Track long-term exchange dominance trends ### ❌ **Less useful for:** - **Long-term investors** who don't care about short-term liquidity - **Single-exchange traders** who never compare venues - **Futures traders** (contracts differ by exchange) --- ## 🎓 Understanding the Visualization **What each colored segment means:** Each horizontal stripe represents one exchange's volume contribution. The **height** of each stripe shows that exchange's volume relative to others. **Reading the pattern:** - **Dominant top layer** (50%+ of bar) = Clear market leader - **Evenly distributed layers** (10-15% each) = Fragmented liquidity - **Sudden layer reorganization** = Liquidity migration event - **Shrinking bottom layers** = Exchanges losing market share **Color coding strategy:** The indicator defaults to exchange brand colors for instant recognition: - Yellow = Binance (their signature gold) - Blue = Coinbase (their brand blue) - Purple = Kraken (their brand purple) - etc. You can customize all colors to match your chart theme. --- ## 🔧 Configuration Tips ### **Best Practices:** 1. **Start with defaults** - Test on BTC/USDT to understand behavior 2. **Disable unused exchanges** - Cleaner visualization, faster computation 3. **Match your trading venues** - Only track exchanges you actually use 4. **Use brand colors initially** - Helps build visual pattern recognition 5. **Enable alerts strategically** - Don't spam yourself; focus on actionable signals ### **Common Mistakes to Avoid:** ❌ Tracking too many irrelevant exchanges (creates visual noise) ❌ Forgetting to clear suffix for forex/stocks (symbol won't construct properly) ❌ Using the same color for multiple exchanges (defeats instant recognition) ❌ Hiding the table permanently (you lose the percentage data) --- ## 📊 Performance Notes - **Lightweight computation** - No impact on chart performance - **Works on all timeframes** - 1-minute to monthly - **Historical analysis** - Full bar history available (max_bars_back=5000) - **Multi-monitor friendly** - Table positioning adapts to any screen layout --- ## 🆕 Future Enhancements (Planned) While the current version is feature-complete, potential additions include: - Volume-weighted average price (VWAP) overlay per exchange - Historical dominance charts (which exchange led most this week/month) - Correlation matrix (do exchanges move together or independently?) **User feedback shapes development** - Comment with your requests! --- ## 💡 Pro Tips ### **Tip 1: The "Whale Exchange" Filter** In crypto, institutions use Coinbase/Kraken. Enable ONLY these two exchanges to isolate professional flow and ignore retail noise. ### **Tip 2: The "Arbitrage Scanner"** Set Liquidity Migration alert on 1-minute timeframe. When it fires, check price across exchanges—often there's a temporary premium/discount. ### **Tip 3: The "Liquidity Gauge"** Before placing a large market order, switch to 5-minute timeframe and check last 10 bars. If your target exchange consistently has <20% of volume, you'll face slippage. ### **Tip 4: The "Market Structure Tracker"** Take screenshots of the table weekly. Over time, you'll see exchange market share trends that reveal fundamental shifts in trader preferences. ### **Tip 5: The "News Event Validator"** During major announcements (Fed decisions, earnings, etc.), watch which exchange shows volume first. That's where informed traders are positioned. --- ## 🎯 Summary **Ranked Exchange Volume (REV) transforms volume analysis from a single number into a complete market microstructure view.** Instead of seeing "1.2M volume," you see: - Binance: 640K (53%) - Coinbase: 280K (23%) - OKX: 180K (15%) - Bybit: 100K (9%) **That's actionable intelligence.** Whether you're executing a large crypto trade, arbitraging forex across brokers, or validating liquidity before buying a dual-listed stock, REV shows you **where the market actually is**—not where you assume it is. --- ## 📖 Quick Reference Card | Feature | What It Does | Why It Matters | |---------|-------------|----------------| | **Dynamic Sorting** | Largest volume rises to top | Instant dominance identification | | **10 Custom Slots** | Track any exchanges | Works for YOUR trading venues | | **Live Rankings** | Real-time leaderboard | Precise market share data | | **Smart Formatting** | Auto K/M/B scaling | Always readable, never cluttered | | **Dominance Alert** | Warns at >50% concentration | Risk management for large orders | | **Migration Alert** | Fires on leadership change | Arbitrage opportunity signal | | **Spike Alert** | Detects 2x volume surges | Breakout/news confirmation | | **Total Line** | Shows aggregate volume | Reference for overall activity | | **Table Positioning** | 9 screen locations | Adapts to your layout | | **Full/Short Toggle** | Complete vs abbreviated numbers | Flexibility for different assets | --- ## ✅ Installation & Support **Install:** Add to your TradingView favorites, apply to any chart **Updates:** Automatic through TradingView **Support:** Comment with questions—active developer community **Like this indicator?** Leave a ⭐ rating and share with fellow traders who need better volume intelligence. --- **🚀 Start seeing the complete volume picture. Add Ranked Exchange Volume to your charts today.**Pine Script® indicatorby KevinSvenson_144Smart Trader, Episode 02, by Ata Sabanci | Battle of Candles ⚠️ CRITICAL: READ BEFORE USING ⚠️ This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations. Please understand the following limitations before using: 📊 DATA ACCURACY LEVELS: • 1T (Tick) — Most accurate, real volume distribution per tick • 1S (1 Second) — Reasonably accurate approximation • 15S (15 Seconds) — Good approximation, longer historical data available • 1M (1 Minute) — Rough approximation, maximum historical data range ⚠️ BACKTEST & REPLAY LIMITATIONS: • Replay mode results may differ from live trading due to data availability • For longer back test periods, use higher LTF settings (15S or 1M) • Not all symbols/exchanges support tick-level data • Crypto and Forex typically have better LTF data availability than stocks 💡 A NOTE ON TOOLS: Successful trading requires proper tools. Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable signals. Consider this when evaluating your trading infrastructure. 📌 OVERVIEW Smart Trader Episode 02: Battle of Candles is an advanced educational indicator that combines multiple analysis engines to help traders identify market scenarios and understand market dynamics. This is NOT financial advice or a trading signal service — it's a learning tool designed to help you understand how institutional traders might interpret price action. The indicator integrates 7 major analysis engines into a unified dashboard, providing real-time insights into volume flow, trend structure, market phases, and potential trade setups. ⚡ KEY FEATURES 🎯 16-Pattern Scenario Engine Automatically detects and classifies market conditions into 16 distinct scenarios, from strong continuation moves to potential reversals and traps. 💰 Trade Advisor Panel Aggregates all signals into actionable suggestions with confidence levels, suggested entry/SL/TP levels, and risk/reward calculations. 📊 Volume Engine Splits volume into buy/sell components using either Geometry (candle shape) or Intrabar (LTF data) methods for precise delta analysis. 📈 CVD (Cumulative Volume Delta) Tracks the running total of buying vs selling pressure to identify accumulation, distribution, and divergences. 🎯 Stop-Hunt Detection Identifies potential stop-hunt patterns where price sweeps liquidity levels before reversing. 📐 Pure Structure Trend Engine Zero-lag trend detection based on swing highs/lows (HH/HL/LH/LL) without any lagging indicators. ⚡ Effort vs Result Analysis Measures energy spent (volume) versus ground taken (price movement) to detect stalls, breakthroughs, and exhaustion. 🎯 SCENARIO ENGINE — 16 Market Patterns The Scenario Engine analyzes multiple factors (candle anatomy, volume, forces, CVD, wick analysis) to classify each candle into one of 16 scenarios: Continuation Scenarios (1-3) 1. ⚔️ STRONG MOVE — Big body candle (>60%) with volume confirming direction. Indicates strong momentum continuation. 2. 🛡️ ABSORPTION — One side attacks but the other absorbs the pressure. Price holds despite volume. Continuation expected in the absorbing side's favor. 3. 📉 PULLBACK — Small move against the trend with low volume. Indicates a healthy retracement before trend continuation. Reversal Scenarios (4-6, 13-16) 4. 💥 REJECTION — Big wick (>40%) with small body and high volume. Price was rejected at a level, potential reversal. 5. 🪤 TRAP — Pin direction disagrees with delta. Extreme wick size. Looks bullish/bearish but the opposite may happen. 6. 😫 EXHAUSTION — High energy spent (volume) but low ground taken (price movement). Both sides active but momentum fading. 13. 🔄 CVD BULL DIV — Price falling but CVD rising. Hidden buying detected (accumulation). Potential bullish reversal. 14. 🔄 CVD BEAR DIV — Price rising but CVD falling. Hidden selling detected (distribution). Potential bearish reversal. 15. 🎯 STOP HUNT BULL — Shorts were liquidated below support. Price swept liquidity and reversed. Expect bullish move. 16. 🎯 STOP HUNT BEAR — Longs were liquidated above resistance. Price swept liquidity and reversed. Expect bearish move. Range/Stalemate Scenarios (7-9) 7. ⚖️ DEADLOCK — Market in balance. Force ratio between 0.4-0.6. Low volume. No side winning. 8. 🔥 BATTLE — High volume fight in a range. Both sides attacking. Wicks on both ends of candle. 9. 🎯 WAITING — Building phase with quiet volume. Market is preparing but no trigger yet. Wait for breakout. Pre-Breakout Scenarios (10-12) 10. 🚀 BULL SETUP — Buyers accumulating in a building phase. Positive delta building. Bullish pressure growing. 11. 💣 BEAR SETUP — Sellers distributing in a building phase. Negative delta building. Bearish pressure growing. 12. ⚡ BREAKOUT — Price at boundary with strong candle and volume supporting. Imminent breakout expected. 💰 TRADE ADVISOR ENGINE The Trade Advisor aggregates all signals from the different engines into a single actionable output. It uses a weighted scoring system: Scoring Weights: • Scenario Signal: 30% • Trend Alignment: 20% • CVD Momentum: 15% + Divergence Bonus • Pin Forces: 15% • Liquidity Sweep: 12% • Stop-Hunt Detection: 10% • Effort vs Result: 10% Possible Actions: • ⏳ WAIT — Edge not strong enough (stay patient) • 🟢 LONG ENTRY — Buyers have strong advantage + signals align • 🔴 SHORT ENTRY — Sellers have strong advantage + signals align • ⚠️ CLOSE LONG/SHORT — Position at risk (reversal/trend flip) • 🛑 STOP LOSS — Price hit risk threshold • 💰 TAKE PROFIT — Target threshold reached 📊 EXTENDED INFO PANEL (Detailed Explanations) The Extended Info panel is hidden by default (toggle: Show Extended Info in settings). It provides detailed metrics that feed into the main engines: CVD ANALYSIS What is CVD? Cumulative Volume Delta (CVD) is the running total of Buy Volume minus Sell Volume. It reveals the underlying buying/selling pressure that may not be visible in price alone. CVD Value & Slope: • ↗ Rising: CVD increasing = net buying pressure (bullish) • ↘ Falling: CVD decreasing = net selling pressure (bearish) • → Flat: No clear pressure direction Accumulation vs Distribution: • Accumulation %: Shows buying pressure strength (0-100). High accumulation with CVD rising = strong bullish bias. • Distribution %: Shows selling pressure strength (0-100). High distribution with CVD falling = strong bearish bias. Divergence Alerts: • ⚠️ BULLISH DIVERGENCE: Price falling but CVD rising. Hidden buying = potential reversal UP. • ⚠️ BEARISH DIVERGENCE: Price rising but CVD falling. Hidden selling = potential reversal DOWN. WICK ANALYSIS Wick Torque: Torque measures the "rotational force" from wicks. It's calculated from wick length, volume, and body efficiency. • Positive Torque (Bullish): Bottom wick power dominates. Buyers defended lower prices. • Negative Torque (Bearish): Top wick power dominates. Sellers defended higher prices. • ⚡ High Torque (>30): Strong signal, significant wick rejection occurred. Stop-Hunt Detection: The engine detects when price has likely swept stop-losses clustered at key levels: • Stop Hunt Risk %: Likelihood score (0-100). Above 55% = confirmed hunt. • "Shorts hunted": Price swept below support, liquidating shorts, expect bounce UP. • "Longs hunted": Price swept above resistance, liquidating longs, expect drop DOWN. LIQUIDITY SWEEPS This section appears only when a liquidity sweep is detected. The engine monitors for price sweeping recent highs/lows and then reversing: • 🎯 LIQUIDITY SWEPT ABOVE: Price broke recent highs but closed back below. Longs trapped, expect DOWN. • 🎯 LIQUIDITY SWEPT BELOW: Price broke recent lows but closed back above. Shorts trapped, expect UP. POWER BALANCE The Power Balance meter shows the real-time strength comparison between buyers and sellers. Force Ratio: • 0% = Complete seller dominance • 50% = Perfect balance • 100% = Complete buyer dominance Visual Bar: • Left side (▓): Bear territory • Right side (▓): Bull territory • The bar is smoothed over recent history to reduce noise. EFFORT vs RESULT This section measures the efficiency of price movement relative to volume expended. Energy: How much volume was spent relative to the average. Energy > 1.0x means above-average volume activity. Ground: How much price movement occurred relative to average range. Ground > 1.0x means above-average price movement. STALL Warning: A STALL is detected when high energy is spent but low ground is taken (high effort, low result). This often indicates institutional battle, exhaustion, or imminent reversal. MARKET PHASE The Phase Engine classifies the current market regime: RANGE : No clear trend. Price confined to middle of channel. Low ADX. Balanced forces. Trade breakouts with caution. BUILDING : Compression/preparation phase. Channel tightening or boundary penetration without follow-through. Watch for breakout direction. TRENDING : Active directional move. Clear slope, good efficiency, price on trending side of channel. Favor pullback entries. Strength: 0-100% score combining slope, volume validity, and force/efficiency filters. Bars: How many candles the current phase has persisted. TRACK RECORD (Validation Panel) Enable with Show Validation Panel in settings. This section tracks the historical accuracy of scenario predictions: Accuracy: Percentage of validated predictions that were correct. Best/Worst Scenario: Shows which scenarios have the highest and lowest accuracy on the current symbol. Recent Signals: Last 5 predictions with their outcomes. ✓ = correct, ✗ = wrong, ⏳ = pending validation. ⚙️ SETTINGS GUIDE 📊 Volume Analysis Volume Calculation: Choose Geometry (estimates from candle shape) or Intrabar (precise LTF data). Intrabar Resolution: LTF for precise mode. Try 1S, 15S, or 1T. Must be lower than chart timeframe. History Depth: Candles stored in memory (5-50). Higher = more context, slower. Memory Lookback: Bars for moving averages and Z-scores (10-100). 🏷️ Market Phase Range Zone Width: How much of channel center is considered "range" (0.1-0.8). Trend Sensitivity: Minimum slope to detect trending. Lower = more sensitive. Min Episode Length: Minimum bars before phase can change. Prevents flickering. 🎯 Scenarios Min Confidence to Show: Only display scenarios above this confidence level (30-90). Bars to Validate: How many bars to wait before checking if prediction was correct. Success Move %: Minimum price movement to consider prediction successful. 💰 Trade Advisor Min Confidence for Entry: Minimum confidence to suggest a trade entry (50-90). Default Risk %: Stop loss distance as % of price (0.5-5.0). Min Risk/Reward: Minimum acceptable R:R ratio (1.0-5.0). 🔔 ALERT CONDITIONS The indicator provides the following alert conditions you can configure: • 🟢 LONG Entry Signal • 🔴 SHORT Entry Signal • ⚠️ Close LONG Signal • ⚠️ Close SHORT Signal • 🛑 STOP LOSS Alert • 💰 Take Profit Alert • 🚨 High Urgency Signal ⚠️ IMPORTANT DISCLAIMER EDUCATIONAL TOOL ONLY This indicator is designed for educational purposes to help users identify different market scenarios and understand how various signals might be interpreted. The Trade Advisor is NOT a recommendation to buy, sell, or invest. • Past performance does not guarantee future results • All trading involves risk of loss • The creator is not a licensed financial advisor • Always do your own research (DYOR) • Consult a qualified financial advisor before making any investment decisions By using this indicator, you acknowledge that you understand these risks and accept full responsibility for your trading decisions. Pine Script® indicatorby ata_sabanci8261Big Trend Catcher: Dual-Gate EMA & ATR Trailing Swing TraderThe Big Trend Catcher: Long-Only Progressive Swing System OVERVIEW The Big Trend Catcher is a high-conviction, long-only swing trading strategy designed to identify and ride sustained market moves. Unlike traditional trend-following systems that often get "chopped out" during sideways consolidation, this strategy utilizes a Dual-Gate Filter to ensure you only enter when short-term momentum and the long-term trend are in total alignment. It is specifically tuned for high-growth stocks and ETFs where capturing the lion’s share of a multi-week or multi-month move is the primary objective. CORE LOGIC: THE DUAL-GATE SYSTEM To maintain a high quality of entries, the strategy requires a "confirmed launch" through two distinct filters: The Momentum Gate (20 EMA): Identifies immediate price acceleration and volume-backed impulse. The Long-Term Gate (100 EMA): Acts as the ultimate trend filter. The script utilizes a "Signal Memory" logic—if an impulse happens while price is still below the 100 EMA, the trade is held in a "Pending" state. The entry only triggers once the price closes firmly above the 100 EMA. Goal: This prevents "bottom fishing" in established downtrends and keeps you in cash during sideways "death loops" when the long-term direction is unclear. KEY FEATURES 1. Progressive Pyramiding (Scale-In) The biggest profits in swing trading are often made by adding to winners. This system features two automated scale-in triggers: Velocity Adds (VOLC): Adds to the position if the stock is up >10% and moving with rising momentum, allowing you to build a larger position as the trend proves its strength. Pullback Adds: Adds to the position when the price tests the 20 EMA and holds, allowing you to buy the "dip" within a healthy uptrend. 2. The Phoenix Re-Entry This logic is designed to catch "V-shaped" recoveries. If the strategy exits on a trend break but the price aggressively reclaims the 20 EMA on massive volume shortly after, it re-enters the trade. This ensures you aren't left behind during the second leg of a major run after a temporary shakeout. 3. Iron-Floor ATR Exit We use a 3.5x ATR Trailing Stop combined with the 100 EMA. This wider-than-average "breathing room" is designed to keep you in for significant gains while ignoring the minor daily volatility that often shakes out traders with tighter stops. HOW TO USE Best Timeframes: Daily (D) is recommended for identifying major cycles, but it can be applied to the 4-Hour (4H) for more active swing trading. Settings: * 20 EMA: Your short-term momentum guide. * 100 EMA: Your long-term trend guide. * ATR Multiplier: Set to 3.5 for maximum "trend hugging." SUMMARY OF VISUALS Blue Line (100 EMA): The Long-Term Trend. Yellow Line (20 EMA): The Short-Term Momentum. Red Stepped Line: Your ATR Trailing Floor (The "Iron Floor"). Lime Triangle: Initial Trade Entry. Blue/Orange Shapes: Progressive Scale-in points.Pine Script® strategyby LegalxSeagull46Big Trades Detector [Adjusted LookBack] By HFThis indicator is simply an adjustment to the one published by HK, so that the Lookback can be less than 5 periods.Pine Script® indicatorby Nicolas_Favilla172Show more publications1234567999

Từ khóa » Chỉ Số Pvt