Smart Volume Radar (TR/EN)
ENGLISH DESCRIPTION
Stop guessing the volume bars! This indicator is designed to be a "Decision Maker" for traders who want to understand the true power behind price movements instantly. It replaces complex volume analysis with a simple, high-contrast dashboard.
Key Features:
🚦 Traffic Light Logic: The entire panel changes color based on the volume status.
Dark Green: Volume is above average (Fuel is ready 🚀).
Dark Red: Volume is below average (No interest / Trap Zone ⚠️).
📊 RVOL (Relative Volume): Shows exactly how many times the current volume is compared to the average (e.g., 2.5x).
🧠 Trader Logic (Smart Status): It doesn't just show numbers; it interprets them for you:
DEAD: No liquidity, stay away.
STANDARD: Routine market flow.
POWER ENTRY: Ideal volume for breakouts.
ULTRA HIGH (FOMO): Warning! Volume is too high, a reversal might be near.
👀 High Contrast Design: Dark solid backgrounds with white bold text for maximum readability on any chart.
How to Use:
Look at the panel color. If it's RED, ignore breakout signals (likely a fakeout).
If it's GREEN, check the "Trader Note" at the bottom.
If you see "POWER ENTRY", the trend is supported by real volume.
Volume
Smart Money Volume Index [AlgoAlpha]🟠 OVERVIEW
This script measures buying and selling interest by comparing how price behaves on rising volume versus falling volume. It separates what is often called “smart money” activity from more passive volume and turns that relationship into a normalized index. The result is an oscillator that shows whether buyers or sellers are in control, how strong that control is, and when interest reaches extreme levels that tend to matter for reversals or continuations.
🟠 CONCEPTS
The calculation starts by splitting volume flow into two streams. Positive Volume Index (PVI) reacts when volume expands, while Negative Volume Index (NVI) reacts when volume contracts. Each stream is detrended with a long EMA and passed through an RSI calculation to express relative pressure. These two RSIs are then compared as ratios to estimate buy-side and sell-side interest. The values are summed over a rolling window and normalized against historical peaks so the output stays bounded and comparable across markets. In simple terms: relative behavior on high-volume vs low-volume bars defines interest , and normalization makes that interest readable over time.
🟠 FEATURES
Two display modes: Compare (separate buy and sell interest) and Net (single combined oscillator)
High-interest threshold zones with visual highlights
Alert conditions for threshold crosses and zero-line shifts
🟠 USAGE
Setup : Add the script to your chart. Choose Net mode for a clean momentum-style read, or Compare mode to see buy and sell interest separately. Start with the default periods, then adjust the Index Period to control how much history is included.
Read the chart : Values above zero mean buy-side interest dominates; below zero means sell-side interest dominates. In Compare mode, the green line tracks buying interest and the red line tracks selling interest. When either side pushes beyond the high-interest threshold, participation is elevated and moves tend to be more meaningful.
Settings that matter : Increasing the Index Period smooths the index and focuses on longer participation trends. Changing the Volume Flow Period alters how sensitive the RSI-based pressure is. The High Interest Threshold controls how selective extreme signals are and directly affects alerts and zone highlights.
[HFT] Leaky Bucket: FPGA-Based Order Flow SimulationDescription:
This indicator is a functional simulation of a hardware-based "Leaky Bucket" algorithm, typically used in FPGA (Field-Programmable Gate Array) chips for High-Frequency Trading (HFT) and network traffic shaping.
Unlike standard volume indicators (like OBV or CMF) that rely on floating-point Moving Averages (EMA/SMA), this script uses Bitwise Integer Math to simulate hardware registers. This approach removes the lag associated with smoothing and provides a raw, "tick-by-tick" representation of Order Flow exhaustion.
█ Underlying Concepts (How it works)
Integer Math & Bitwise Logic: The script eschews standard float calculations for int registers. Instead of division, it uses Bitwise Right Shift (>>) to simulate the "leak" rate. This mimics how hardware processes data streams with near-zero latency.
The Leaky Bucket Model:
Flow (Input): Volume * Price Delta flows into a "Bucket" (Accumulator Register).
Leak (Output): The bucket leaks at a constant rate determined by the Decay Shift.
Saturation: If the Flow > Leak, the bucket fills. We simulate a 32-bit integer saturation limit (sat_limit). When the bucket hits this limit, it represents "Panic Buying/Selling" — the market capability to absorb orders is saturated.
█ Uniqueness & Originality This is custom-built code, not a mashup of existing indicators. It translates hardware logic (Verilog/VHDL concepts) into Pine Script:
It introduces a "Saturation Warning" mechanism that detects when volume pressure exceeds mathematical limits.
It implements a "Gray Line" Strategy, focusing on volatility decay rather than momentum initiation.
█ How to Use: The "Gray Line" Strategy
This tool is designed for Mean Reversion and Exhaustion Trading, specifically on M1 to M5 timeframes.
Do NOT trade the breakout: When you see massive Green (Long) or Purple (Short) bars, this indicates "Extreme Momentum". Do not enter yet. Wait.
Wait for the "Gray Line": The signal is generated when the Extreme Momentum stops and the bar turns Gray (Neutral).
Signal L (Long): Generated when a sequence of Extreme Short bars (Purple) ends, and the histogram returns to Gray/Maroon. This confirms sellers are exhausted.
Signal S (Short): Generated when a sequence of Extreme Long bars (Green) ends, and the histogram returns to Gray/Teal. This confirms buyers are exhausted.
█ Disclaimer This script is intended for educational purposes regarding HFT algorithms and Order Flow analysis. It does not provide financial advice.
Strategy H4-H1-M15 Triple Screen + Table + Statst.me
Master of Multi-Timeframe Trading: "Triple Screen" Strategy
"▲▼ & BUY/SELL M15 Tags" — H1 Ready signals warn the trader in advance that a reversal is brewing on the medium timeframe.
Settings:
Stochastic Settings: Oscillator length and smoothing adjustment.
Overbought/Oversold: Overbought/oversold level settings (default 80/20).
SL Offset: Buffer in ticks/pips for setting stop-loss beyond extremes.
Usage Instructions:
Long: Background painted light green (H4 Trend UP + H1 Stoch Low), wait for green "BUY M15" tag.
Short: Background painted light red (H4 Trend DOWN + H1 Stoch High), wait for red "SELL M15" tag.
Entry → SL → TP = PROFIT
Short Description (for preview):
Comprehensive "Triple Screen" strategy based on MACD (H4) and Stochastic (H1, M15). Features trend monitoring panel and precise entry signals with automatic Stop Loss calculation.
Technical Notes (for developers):
Hardcoded Timeframes: "240" (H4) and "60" (H1) are hardcoded. For universal use on other timeframe combinations (D1-H4-H1), make these input.timeframe variables.
Repainting: request.security may cause repainting on historical bars (current bar is honest). Standard practice for multi-timeframe TradingView indicators.
Alerts: Built-in alert support for one-click trading convenience.
Apex Wallet - Ultimate Trend Meter: 9-in-1 Multi-Layer Momentum Overview The Apex Wallet Trend Meter is an advanced decision-making dashboard designed to provide a comprehensive view of market conditions without cluttering your main price chart. It synthesizes complex data from 9 different technical sources into a clean, horizontal visual grid, allowing traders to spot confluence at a single glance.
The Power of Confluence Instead of switching between multiple oscillators, this tool monitors:
Triple EMA Structure: Tracks Short, Medium, and Long-term trend directions.
Momentum Suite: Real-time status of RSI, Stochastic, and StochRSI.
Advanced Analyzers: Includes MACD (Line/Signal), TDI (Traders Dynamic Index), and the Andean Oscillator for trend exhaustion and volatility states.
Smart Delta Net: A sophisticated Volume Delta engine that filters market noise through customizable modes (Buy/Sell, Neutral, or Automatic).
Key Features:
Adaptive Trading Presets: One-click selection for Scalping, Day-Trading, or Swing-Trading. The script automatically recalibrates all 9 indicator periods to fit your timeframe.
Market Bias Filtering: Indicators are color-coded based on their alignment with the global market trend. Signals only turn Bullish or Bearish when they align with the master trend EMA.
Dynamic Delta Grid: Displays scaled net volume values directly inside the grid for precise institutional flow tracking.
Fully Customizable UI: Toggle any layer on/off and adjust the layout density to match your workspace.
How to use: Look for "Vertical Confluence." When multiple layers turn the same color simultaneously, it indicates a high-probability momentum shift.
RTH Volume Candle DeltaOverview
This indicator is designed specifically for RTH (Regular Trading Hours) intraday traders who scalp the E-mini S&P 500 (ES), Nasdaq (NQ), and other high-liquidity futures. It solves a major flaw in time-based charts: the inability to see the "Speed of the Tape." By using a unique Transparency Heatmap, it simulates MotiveWave-style Constant Volume Bars while keeping your candles fixed to the time-based X-axis to maintain alignment with indicators like VWAP and EMAs.
The Power of RTH (Regular Trading Hours)
This script is optimized for the high-liquidity environment of the US Regular Session.
During RTH: The volume distribution is statistically significant, allowing the script to accurately identify institutional "sweeps."
During ETH (Overnight): Volume is often too thin for reliable delta analysis. I have included a "Hide Overnight" toggle to keep your chart clean and focused on the liquidity that matters.
Core Logic 1: Volume Partitioning (The Heatmap)
The script partitions volume into two visual states based on your target (Default: 1000V):
Normal Volume (< Target): These candles are dimmed (High Transparency). They represent background noise where the volume target has not yet been reached within that time slice.
Burst Volume (> Target): These candles become solid (Opaque). If a single 15s bar exceeds 1000V, it highlights a Velocity Peak—this is where institutional "Big Money" is actively consuming liquidity.
Core Logic 2: Effort-Based Delta (1s Precision)This is the "engine" of the script. Rather than using simple Close-Open delta, it fetches 1-second sub-bar data (the highest precision available without tick data) and applies an Effort vs. Result formula:$ SET:DELTA = Volume \times \frac{(Close - Low) - (High - Close)}{High - Low}$$Buyer Effort: $(Close - Low)$ — How effectively buyers lifted price from the floor before the close.Seller Effort: $(High - Close)$ — How effectively sellers pushed price down from the ceiling.Adaptive Light-Up: The candle "Lights Up" (White/Yellow) only when the Delta is 1.5x greater than the MA 20 of recent deltas. This filters out standard two-way trade and highlights aggressive initiative.
How to Trade with this Indicator
Spotting Absorption: If you see a Solid (Burst) candle with a small body and "Normal" color, a limit order "Wall" is likely absorbing the market orders.
Confirming the Drive: A Solid White/Yellow candle at a key level (VWAP, PDH, or Opening Range) is a high-probability signal that aggressive money is driving the breakout.
Multiplier Labels: The labels provide an "x Multiplier" (e.g., x4.2), telling you exactly how many 1000V rotations occurred within that single time-bar.
Final Recommendations for Users
ES (S&P 500): 1000V is the standard. On a 1m chart, set it to 4000V.
NQ (Nasdaq): 400V - 500V is recommended due to thinner liquidity.
Setup: For the best experience, hide the default TradingView candle bodies in your chart settings.
Session Liquidity SignalsThis indicator is called SLF VT and it analyzes market liquidity across major sessions
It defines three specific time windows which are Asia London and New York
During these times it draws colored boxes to mark the session High and Low
When a session ends the indicator extends dashed lines from the High and Low prices
These lines represent liquidity vectors where stop losses might be located
The core logic is designed to detect a Trap pattern
A Bullish Trap happens when price sweeps below a previous session Low but closes back above it
A Bearish Trap happens when price sweeps above a previous session High but closes back below it
The code calculates the Wick Ratio to ensure the reversal is sharp and valid
If a trap is confirmed the indicator plots a text label on the chart and can trigger an alert
Buy / Sell Volume LabelsINDICATOR NAME:
Buy/Sell Volume Labels
DESCRIPTION:
Buy/Sell Volume Labels displays real-time buying and selling volume with dynamic color-coded labels that highlight market dominance. The indicator automatically emphasizes the dominant side (buy or sell) with bright green or red backgrounds, while the non-dominant side fades to gray for instant visual clarity.
Key Features:
- Dynamic Color Coding: Dominant volume side displays in bright green (buy) or red (sell), non-dominant side in gray
- Trend Indicator: Optional "Bullish Trend", "Bearish Trend", or "Neutral" label shows current market bias
- Flexible Display Options: Choose to show percentages only, volume only, or both
- Customizable Position: Place labels anywhere on chart (top, center, bottom; left, center, right)
- Adjustable Size: Six size options from Tiny to Huge, including Auto
- Lookback Period: Calculate volume for current bar or sum across multiple bars
- Neutral Threshold: Define when market is considered neutral vs. trending
How It Works:
- The indicator calculates buying and selling volume based on where price closes within each bar's range. When buying volume dominates, the Buy label turns bright green with black text while the Sell label turns gray. When selling dominates, the Sell label turns bright red with white text while the Buy label turns gray. This makes it immediately obvious which side controls the market.
Perfect For:
- Day traders and scalpers on futures (/MNQ, /ES, /NQ)
- Identifying accumulation vs. distribution phases
- Confirming trend strength and reversals
- Quick visual assessment of market pressure
- All timeframes from tick charts to daily
Settings:
- Header location (9 positions)
- Display mode (Volume, Percent- age, or Both)
- Table size (Tiny to Huge + Auto)
- Lookback period (bars)
- Trend label toggle
- Neutral threshold percentage
Created by NPR21 for the TradingView community.
Volatility Cluster Trend.VCT - Volatility Cluster Trend
What it does
This indicator groups market volatility into 3 zones (low, medium, high) using a clustering method. Then it picks the right zone for current conditions and draws a trend line that adapts automatically.
Green line below price = uptrend
Red line above price = downtrend
Triangles show when trend flips.
How to add it
Open TradingView
Click "Indicators" at top (or press /)
Go to "My Scripts" tab
Find "VCT - Volatility Cluster Trend"
Click it
If you haven't saved it yet:
Open Pine Editor (bottom panel)
Paste the code
Click "Add to Chart"
Settings
ATR Length - how smooth the volatility reading is. Default 10 works fine. Go higher for less noise.
Factor - how far the line sits from price. Higher = wider stops, fewer signals. Lower = tighter, more signals. Default 3 is balanced.
Lookback Period - how much history to analyze for clustering. 100 bars is good for most timeframes.
Colors - pick what you like.
How to trade it
Long
Wait for green triangle
Price should be above the green line
Enter on next candle or pullback to line
Short
Wait for red triangle
Price should be below red line
Enter on next candle or pullback to line
Stop loss
Put it on the other side of the line
If long, stop goes just below green line
If short, stop goes just above red line
Exit
When opposite signal appears
Or trail your stop along the line
Tips
Works best on trending markets
Choppy sideways = lots of false signals
Higher timeframes (4h, daily) give cleaner signals
Combine with support/resistance for better entries
Don't chase - wait for pullbacks to the line
Alerts
Right click the indicator > Add Alert
Two options:
"Buy Signal" - alerts on green triangles
"Sell Signal" - alerts on red triangles
Set to "Once Per Bar Close" to avoid fake signals.
KCP MACD + RSI Overlay [Dr.K.C.Prakash]KCP MACD + RSI Overlay
KCP MACD + RSI Overlay is a price-chart indicator that combines MACD crossovers (momentum change) with RSI strength confirmation.
It gives BUY when momentum turns bullish and RSI shows strength, and SELL when momentum turns bearish with weak RSI—helping filter false signals and trade only higher-quality moves.
Sebastine All in One Indicator Sebastine All in One Indicator
Introduction
Markets speak in many dialects.
Sometimes they whisper through volume, sometimes they shout via momentum, at times they breathe through volatility, and occasionally they leave footprints in OBV, PVT, RSI, or TSI.
Most traders respond by stacking indicator after indicator—until the chart resembles a tangled fishing net.
This indicator was built to untangle that net.
Instead of plotting multiple indicators simultaneously, this tool lets you focus on one dimension of market behavior at a time, while preserving structure through a Darvas-style box framework.
The box logic used here is inspired by Darvas-style structural bounding, applied to non-price data such as volume, momentum, and volatility.
🔍 What This Indicator Does
• Combines Volume, OBV, PVT, RSI, Momentum, Volatility, TSI, and Supertrend
• Displays only one selected data stream at a time, reducing noise
• Wraps the selected indicator inside a dynamic Darvas-style box
• Highlights:
o Breakouts & breakdowns
o Compression (energy build-up)
o Structural shifts
o Momentum inflections
o Mean-reversion zones
Think of it as one lens, many filters—you rotate the lens, not clutter the chart.
🧠 How to Use It (Practical Insight)
• Volume / OBV / PVT → Institutional intent & accumulation/distribution
• Momentum / RSI / TSI → Strength, exhaustion, and early reversals
• Volatility → Expansion after contraction (the market’s deep breath)
• Supertrend (as data source) → Trend structure without price bias
The Darvas-style box adds context:
• Narrow boxes = stored energy
• Box expansion = energy release
• Source touching box edges = reaction zones
• Zero-line crossings = regime shifts (where applicable)
• 🎯 Who Is This For?
• Traders who want clarity over clutter
• Discretionary traders who adapt tools to market phase
• System builders seeking structure with flexibility
• Anyone who believes less noise = more signal
📝 Points to Note (Important for Proper Interpretation)
1. Color Coding & Structure
• The upper box line (green) represents the upper structural boundary
• The lower box line (red) represents the lower structural boundary
• The white step-line represents the selected source indicator (e.g., PVT, RSI, Momentum)
2. Pane Scaling & Visibility (Very Important)
• This indicator is designed for use in the bottom pane
• Different sources have very different numerical ranges:
o RSI is bounded between 0 and 100
o PVT, OBV, and Volume can have large absolute values
• Users should manually drag and scale the indicator vertically for optimal visibility
• This is intentional and preserves the raw integrity of each data source rather than force-normalizing it
3. Histogram for Comparative Insight
• A histogram of the selected source is included for quick visual comparison
• Helps identify expansion, contraction, acceleration, and divergence, especially during compression phases inside the box
📌 Recommended Usage (Clarity Over Clutter)
Although multiple sources are available, it is strongly recommended to use one chart with one selected source at a time for best clarity and analytical depth.
For first-time users, PVT (Price Volume Trend) is an ideal starting point.
It blends price movement and volume flow into a single continuous narrative and often reveals institutional participation earlier than price alone. PVT works especially well within the Darvas-style box framework.
Once comfortable, users may switch to RSI, Momentum, Volatility, OBV, or other sources—but always one at a time. This preserves the philosophy of focused observation rather than indicator overload.
🌱 Philosophy Behind the Tool
This indicator rewards patience and observation.Give it space.
It will quietly show when the market is gathering energy—and when it is ready to move.
Markets don’t change indicators. We change how we listen.
This indicator doesn’t predict. It reveals.
Think of it not as a dashboard, but as a rotating telescope—you change lenses, not skies.
srd786-Intraday VWAP Price Action IndicatorDISCLAIMER
This Pine Script indicator does not constitute financial advice; it is just intended for educational and informational purposes. It functions as a tool for technical analysis that could help traders spot possible trading opportunities. It is crucial to remember that participating in financial markets has a number of risks that might result in large losses and are not suitable for all investors.
Users are encouraged to conduct their own thorough investigation and analysis prior to using this indicator. Avoiding trading with money that one cannot afford to lose is essential. It is also advised to seek advice from a certified financial expert. Users must use suitable risk management techniques and recognize that past success does not guarantee future outcomes.
Any losses, damages, or other consequences resulting from the usage of this indicator are not the author's responsibility. The user is ultimately responsible for all trading decisions, therefore using this tool is at their own risk.
INTRODUCTION
The “srd786-Intraday VWAP Price Action Indicator” is a sophisticated Pine Script (version 6) trading tool designed for intraday traders who focus on New York session trading hours. This indicator combines multiple technical analysis concepts including Volume Weighted Average Price (VWAP), Average True Range (ATR) for risk management, swing point detection for support/resistance identification, and momentum analysis through RSI. The primary objective is to generate high-probability long and short signals based on price action confluence with trend, momentum, and key structural levels.
1.
VWAP (Volume Weighted Average Price): Shows the "fair" average price based on both price and trading volume.
2.
ATR (Average True Range): Measures how much the price typically moves each day.
3.
Trend Analysis: Identifies whether the market is going up, down, or sideways.
4.
Momentum Indicators: Shows how strong the current price movement is.
5.
Support & Resistance: Identifies key price levels where the price might stop or reverse.
6.
Swing Points: Finds significant turning points in the price.
This indicator is specifically optimized for the New York trading session (9:30 AM to 4:00 PM ET), making it particularly suitable for traders who focus on US market hours. It provides a complete trading framework that includes not only signal generation but also precise trade management levels including entry prices, stop-loss orders, and profit targets based on a configurable reward-to-risk ratio.
The philosophy behind this indicator is confluence-based trading. Rather than relying on a single indicator or condition, it requires multiple factors to align before generating a trade signal. This approach filters out lower-probability setups and focuses only on high-quality opportunities where price action, trend direction, momentum, and key technical levels all point in the same direction.
CORE CONCEPT AND METHODOLOGY
Volume Weighted Average Price (VWAP)
VWAP is the cornerstone of this indicator's trading methodology. Unlike a simple moving average that treats all price bars equally, VWAP incorporates volume data into its calculation, giving more weight to bars with higher trading volume. This makes VWAP a more accurate representation of the true average price where the most significant trading activity occurred.
The calculation of VWAP is performed using the built-in 'ta.vwap()' function, which computes the cumulative volume-weighted average price from the beginning of the session. For intraday traders, VWAP serves as a critical reference point that indicates whether the current price is trading at a premium (above VWAP) or discount (below VWAP) relative to the session's volume-weighted average.
In this indicator, the VWAP source is configurable through the 'vwapSource' parameter, with the default being HLC3 (High + Low + Close / 3). This source selection allows traders to experiment with different price types such as typical price, weighted close, or even custom sources to suit their trading style and market preferences.
Average True Range (ATR) for Risk Management
The Average True Range, calculated using 'ta.atr()', measures market volatility by decomposing the current range of price movement. ATR does not indicate price direction;
instead, it quantifies the degree of price movement or volatility over a specified period. In this indicator, ATR serves dual purposes: determining the distance for limit orders and calculating stop-loss levels.
The 'atrLength' parameter (default: 14) controls the lookback period for the ATR calculation. A shorter length makes the indicator more responsive to recent volatility, while a longer length provides a smoother average that may be more suitable for less volatile markets. The 'atrMultiplier' (default: 1.5) determines how many ATR units away the stop-loss is placed from the entry price, allowing traders to adjust their risk exposure based on current market conditions.
Swing Detection and Support/Resistance
Swing points represent significant turning points in price action where the market has temporarily exhausted its directional momentum. This indicator uses pivot high and pivot low calculations to identify swing highs and swing lows, which then form the basis for dynamic support and resistance levels.
The 'swingLength' parameter (default: 5) defines how many bars to the left and right of a potential pivot point must be lower (for pivot highs) or higher (for pivot lows) to confirm the swing point. This lookback period helps filter out minor price fluctuations and focuses on more significant structural levels.
Support and resistance levels are stored in arrays ('swingHighArray' and 'SwingLowArray'), with the most recent swing points serving as the primary reference levels. The 'srLookback' parameter (default: 20) controls the overall lookback window and also determines how many
swing points to maintain in each array, ensuring that only relevant historical levels are considered.
Breakout Detection
When a price moves past a major support or resistance level, this is known as a price breakout. This price breakout suggests that there is a possibility of a new trend direction heading forward.Breakout detection eliminates noise, as little price fluctuations or volatility may momentarily drive prices past a threshold without authentic conviction.Detection of breakouts affirms robustness when the price above the threshold by 2%, indicating genuine market interest, and mitigates whipsaws to prevent placing trades based on transient price swings.
The Breakout Tolerance parameter, set by default to 2%, regulates the breakout tolerance for the indicator. A price closure above the current high plus a minor tolerance buffer (usually 2%) indicates a potential continuation of upward movement, classified as a Bullish Breakout. Conversely, when the price closes below the recent low plus a minor tolerance buffer (usually 2%), it suggests that the price may continue to decline, which is classified as a Bearish Breakout Down.
Trend Identification
Trend determination is accomplished through an Exponential Moving Average (EMA) with a configurable length ('trendMaLength', default: 9). The indicator classifies trend into three
states: BULLISH (price above EMA with confirmation from the previous bar), BEARISH (price below EMA with confirmation), and SIDEWAYS (price crossing or near the EMA).
The EMA is chosen over simple moving averages because it responds more quickly to recent price changes while still providing enough smoothing to filter out noise. The confirmation requirement (both current and previous bar must be on the same side of the EMA) reduces false signals during periods of choppy price action.
Momentum Analysis
Momentum is measured using the Relative Strength Index (RSI) with a configurable length ('momentumLength', default: 9). RSI values are categorized into five states to provide nuanced momentum readings: STRONG BULL (RSI above 70), BUILDING (RSI between 55 and 70), NEUTRAL (RSI between 45 and 55), WEAKENING (RSI below 45), and STRONG BEAR (RSI below 30).
This momentum categorization allows traders to distinguish between strong trending conditions (STRONG BULL/BEAR) and transitions (BUILDING/WEAKENING), providing context for trade signals and helping to avoid entering positions during momentum divergences.
CONFIGURATION PARAMETERS
VWAP Settings
The 'vwapSource' parameter determines which price value is used in the VWAP calculation. The default value of 'hlc3' (High + Low + Close / 3) provides a balanced representation of each bar's price action. Traders can modify this to use typical price ('high + low + close / 3'), weighted close ('high + low + close + close / 4'), or other price types depending on their analytical preferences.
ATR Settings
The 'atrLength' parameter sets the lookback period for the Average True Range calculation. The default of 14 periods is standard across most trading platforms and timeframes, providing a good balance between responsiveness and smoothness. The 'atrMultiplier' parameter (default: 1.5) scales the ATR value to determine stop-loss distances. A multiplier of 1.5 means the stop-loss is placed 1.5 ATR units away from the entry price, providing enough buffer to accommodate normal volatility while limiting risk.
Trade Settings
The 'rrRatio' parameter (default: 3.0) establishes the reward-to-risk ratio for trade targets. A ratio of 2.0 means the profit target is twice the distance of the stop-loss from the entry price. The 'limitOrderDistance' parameter (default: 0.5) determines how far below (for long trades)
or above (for short trades) the current close the limit order is placed, measured in ATR units. This allows traders to enter positions at better prices while waiting for pullbacks.
Swing Detection Settings
The 'swingLength' parameter (default: 5) controls pivot identification sensitivity. Higher values identify more significant swing points but may miss shorter-term opportunities. The 'showSwings' boolean parameter toggles the visual display of swing high and low points on the chart.
Support & Resistance Settings
The 'srLookback' parameter (default: 20) defines how many bars back to search for swing points and support/resistance levels. The 'breakoutTolerance' parameter (default: 0.02 or 2%) adds a small buffer to breakout detection to account for minor penetration of support/resistance levels due to price spikes or slippage.
Trend & Momentum Settings
The 'trendMaLength' parameter (default: 9) sets the EMA length for trend determination, while 'momentumLength' (default: 9) sets the RSI lookback period. Both should be at least 5 periods for meaningful calculations.
Table Settings
The 'showTable' parameter (default: true) enables the display of two information tables that provide real-time data on Indicator values and trade levels.
SIGNAL GENERATION LOGIC
Long Signal Conditions
A long signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours (9:30 AM - 4:00 PM ET).
2.
Trend Confirmation: The trend must be BULLISH (price above EMA with confirmation).
3.
Price Position: Current price must be above VWAP, indicating bullish price action.
4.
Breakout or No Resistance: Either price is breaking out above resistance level with tolerance, or there is no prior resistance level to overcome.
5.
Momentum Alignment: Momentum must be either STRONG BULL or BUILDING.
This confluence of conditions ensures that long trades are only taken when the market is trending higher, price is confirming strength by trading above VWAP, and momentum is supportive of continued upward movement.
Short Signal Conditions
A short signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours
2.
Trend Confirmation: The trend must be BEARISH (price below EMA with confirmation)
3.
Price Position: Current price must be below VWAP, indicating bearish price action
4.
Breakout or No Support: Either price is breaking down below support level with tolerance, or there is no prior support level to overcome
5.
Momentum Alignment: Momentum must be either STRONG BEAR or WEAKENING
Similar to long signals, short trades require alignment across multiple timeframes and analytical approaches, filtering out counter-trend trades and focusing on high-probability setups.
TRADE MANAGEMENT FRAMEWORK
Entry Price Calculation
For long trades, the limit order price is calculated as: 'Close - (ATR Value × Limit Order Distance)'. This places the entry price below the current close, allowing traders to buy on dips while maintaining a favorable entry price. For short trades, the limit order is placed above the current close: 'Close + (ATR Value × Limit Order Distance)'.
The limit order distance is expressed in ATR units, making it adaptive to current volatility conditions. In more volatile markets, the limit order will be placed further from the current price, while in calmer markets, it will be closer.
Stop-Loss Placement
Stop-loss levels are calculated using the ATR multiplier to ensure adaptive risk management. For long trades: 'Entry Price - (ATR Value × ATR Multiplier)'. For short trades: 'Entry Price + (ATR Value × ATR Multiplier)'.
This adaptive approach to stop-loss placement means that in volatile markets, stops are wider to avoid being stopped out by normal price fluctuations, while in quieter markets, stops are tighter to limit potential losses. The default multiplier of 1.5 provides approximately 1.5 times the average true range of protection.
Target Price Calculation
Profit targets are determined by the reward-to-risk ratio: 'Entry Price + (ATR Stop Distance × RR Ratio)' for long trades and 'Entry Price - (ATR Stop Distance × RR Ratio)' for short trades. The default ratio of 2.0 means the target is twice the distance of the stop-loss, providing a favorable risk-reward profile.
New York Session Tracking
The indicator includes specialized logic for tracking the New York session open price. When a new NY session begins (determined by the 'isNewNySession' variable), the current open price is recorded and maintained throughout the session. This provides a reference point for measuring intraday directional bias from the session's starting level.
INFORMATION TABLES
Indicators Table
This table displays the current price, VWAP value, NY session open price, support level,resistance level, ATR, ATR-scaled stop distance, current trend classification, momentum state with RSI value, and breakout status. All values are color-coded based on their bullish or bearish implications. The VWAP cell is color-coded green if price is above VWAP (bullish) and red if below (bearish), providing instant visual confirmation of price's position relative to this critical level.
Trade Levels Table
This table shows current signal status (LONG, SHORT, or WAIT), limit order distance in ATR units, calculated limit order price, stop-loss level, and target price with the reward-to-risk ratio displayed. The signal cell is highlighted in green for long signals and red for short signals.
ALERT CONDITIONS
The indicator includes four alert conditions that can be configured in TradingView:
1.
LONG Signal: Triggers when a long signal is generated, providing entry price, stop-loss, and target information.
2.
SHORT Signal: Triggers when a short signal is generated with corresponding trade details.
3.
Breakout Up: Notifies when price breaks out above resistance level.
4.
Breakout Down: Notifies when price breaks down below support level.
These alerts enable traders to receive notifications via TradingView's alert system without continuously monitoring the charts.
USAGE EXAMPLES AND TRADING SCENARIOS
Strong Bullish Trend with VWAP Support
In this scenario, price has been trading above the 9-period EMA for multiple bars, confirming a bullish trend. The current price is above VWAP, indicating buyers are willing to pay a premium. A recent swing low has established a support level, and RSI is reading 65, indicating building momentum without being overextended. When price breaks above the recent swing high resistance with a 2% tolerance, the indicator generates a long signal. The trader places a limit order below the current bar's close (0.5 ATR units) and sets the stop-loss 1.5 ATR units below the entry, with a target 2.0 times the stop distance away.
Short Setup During Volatile Session
During a particularly volatile NY session, price gaps down below VWAP early in the day. The 9-period EMA is declining, and both current and previous bars are below it, confirming a bearish trend. The RSI has dropped to 28, indicating strong bearish momentum. A recent swing high serves as resistance, and when price breaks below the swing low support level, the indicator generates a short signal. The trader enters on a limit order placed 0.5 ATR units above the current price, with the stop-loss 1.5 ATR units above the entry and the target at a 2.0 reward-to-risk ratio.
Avoiding Counter-Trend Trades
Consider a scenario where price is above VWAP and the RSI reads 72 (overbought), but the price is below the 9-period EMA and the previous bar was also below the EMA. In this case, the trend is classified as BEARISH (or SIDEWAYS) despite the bullish price position relative to VWAP. The indicator will not generate a long signal because the trend condition is not met, protecting the trader from what could be a bear trap or continuation pattern.
No Prior Levels Scenario
At the beginning of a trading session or after significant volatility has cleared prior swing points, there may be no established support or resistance levels in the lookback window. In this case, the breakout condition 'or na(resistanceLevel)' allows long signals to be generated without requiring a resistance level to be broken, enabling traders to participate in emerging trends without waiting for prior levels to form.
BEST PRACTICES AND TIPS
Timeframe Selection
This indicator is optimized for intraday timeframes (1-minute to 60-minute charts) and specifically for NY session trading. Higher timeframes may produce more reliable signals but fewer opportunities, while lower timeframes will generate more signals but with potentially lower reliability. Traders should backtest on their preferred timeframe before trading live.
Market Conditions
The indicator performs best in trending markets with clear directional bias. During ranging or sideways markets, the trend condition may oscillate frequently, and VWAP may oscillate around price, reducing signal quality. Consider filtering signals or reducing position size during low-volatility, range-bound conditions.
Parameter Optimization
While the default parameters have been selected for general applicability, traders should consider optimizing certain parameters for specific markets or instruments. For highly volatile instruments like crude oil or natural gas, increasing the 'atrMultiplier' to 2.0 or 2.5 may provide more appropriate risk management. For less volatile instruments like certain forex pairs, reducing the multiplier to 1.0 or 1.2 may improve signal quality.
Multiple Timeframe Analysis
For enhanced performance, traders can analyze the trend on a higher timeframe (such as 15-minute or hourly) while taking signals on a lower timeframe (such as 5-minute or 1-minute). This multi-timeframe approach ensures that signals are aligned with the larger trend direction.
Risk Management
While the indicator provides calculated stop-loss levels, traders should consider their overall position sizing and portfolio risk. The ATR-based stops provide a market-adaptive approach, but individual risk tolerance and account size should ultimately determine position sizing. The 2.0 reward-to-risk ratio is fixed but can be adjusted based on personal preferences or the specific characteristics of the instrument being traded.
INTEGRATION WITH TRADINGVIEW
Adding the Indicator
To add this indicator to a TradingView chart, paste the code into the Pine Script editor and click "Add to Chart." The indicator will appear in the chart's sidebar and begin calculating immediately once sufficient historical data is available.
Configuring Alerts
To set up alerts, right-click on any of the alert conditions in the indicator's settings panel (long signal, short signal, breakout up, or breakout down) and select "Add Alert." Configure the alert frequency and notification methods (push notification, email, webhook, etc.) according to your preferences.
Customization
All input parameters can be adjusted through the indicator's settings panel without modifying the source code. Traders can experiment with different VWAP sources, ATR lengths and multipliers, swing detection parameters, and table display options to suit their trading style and market preferences.
LIMITATIONS AND CONSIDERATIONS
Session Dependency
The indicator is specifically designed for NY session trading and will not generate signals outside these hours. Traders focused on other sessions or 24-hour markets may need to modify the session string to match their trading hours.
Historical Data Requirements
The indicator requires sufficient historical data to accurately calculate swing points and support/resistance levels. On lower timeframe charts with limited history, the initial signals may be less reliable until adequate swing points are identified.
Lag in Swing Detection
By definition, swing points are confirmed after the price has moved away from them, introducing some lag into support/resistance identification. Traders should be aware that the most recent swing point may not be confirmed until several bars after it occurs.
Not Financial Advice
This indicator is a technical analysis tool and should not be construed as financial advice. Traders are responsible for their own research and risk management decisions. Past performance of any trading system does not guarantee future results.
SUMMARY
The code follows a logical flow:
•
Version and Declaration: Pine Script version 6 indicator declaration with overlay enabled
•
Input Parameters: All user-configurable settings grouped by category
•
Session Logic: New York session tracking and open price recording
•
Core Calculations: VWAP, ATR, EMA, RSI, swing points
•
Support/Resistance Logic: Array-based storage and retrieval of swing levels
•
Trend and Momentum Classification: Categorization of current market state
•
Signal Generation: Confluence-based long and short conditions
•
Trade Level Calculations: Entry, stop-loss, and target pricing
•
Visual Plots: Hidden plots for alert data access
•
Information Tables: Real-time display of key values
•
Alert Conditions: Four configurable alert triggers
This structured approach ensures clarity, maintainability, and extensibility for future modifications or enhancements.
Stockbee 9 million EP (Up or Down)Stockbee 9 million EP showing dot under candlestick for easy identification.
5MA + TrendMagic + Disparity Scalping + Volume Spikes5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.
DollarVolCalculates dollar volume and projected volume.
Highest volume ever and highest volume in a year
Opening Range Breakout (ORB) with Dual Timezones + Auto-OffOpening Range (Dual TZ) + Auto-Off (Clean)
This indicator plots a clean Opening Range Box (ORB) with ORH/ORL levels and a midline, built for traders who want structure without clutter.
The main feature is Dual Timezone support, meaning you can run two separate Opening Ranges in parallel (TZ1 + TZ2) on the same chart — ideal if you track multiple market opens (e.g., NY + London) from one workspace.
Key Features
• Dual ORB sessions (TZ1 + TZ2)
• Customization of both timezones, ORB principles (that suits you the best)
• Run two independent opening range sessions simultaneously
• Each has its own range calculation, box, ORH/ORL lines, labels, fill, and midline
• Clean output (no targets, no breakout signals)
• Focused on the core OR structure only
• Great for discretionary trading and level-based execution
• Separate Auto-Off for TZ1 and TZ2
• Automatically removes ALL drawings after a user-defined time (minutes after OR end)
• Helps keep charts clean during the rest of the day
• TZ1 and TZ2 can be disabled on different timers
• Historical toggle
• If Show Historical Data = OFF, the script deletes previous session drawings at the next session start
• If ON, prior sessions remain visible
What’s Drawn
• Opening Range box (high/low during session)
• ORH (Opening Range High) line + label
• ORL (Opening Range Low) line + label
• Midline (average of ORH/ORL)
• Highlight fill between ORH/ORL
Typical Use Cases
• Track NY ORB + London ORB at the same time
• Use ORH/ORL as intraday support/resistance anchors
• Keep your chart clean with Auto-Off after your active trading window
Notes
• Works best on the 1/5 minute timeframes (the OR is session-based).
• If both sessions overlap, drawings may overlap as well — that’s expected since both ORBs are active simultaneously.
Anchored PVI + NVIAnchored PVI + NVI is a single-pane indicator that allows the Positive Volume Index (PVI) and Negative Volume Index (NVI) to be plotted together using a period-anchored approach. Crucially, the EMAs for each series are included and remain analytically valid under the anchoring process.
PVI and NVI are cumulative, path dependent indicators. Over long histories, their absolute values become arbitrary and often incomparable when plotted side-by-side . This script addresses that limitation by anchoring each indicator to a user-defined period (daily, weekly, monthly, etc.) and plotting their relative change from that baseline rather than their raw values.
The result is a clean, comparable view that preserves each indicator’s internal structure (trends, inflections, divergences, and EMA relationships) while minimizing scale conflicts.
**What Are PVI and NVI? (Quick Explanation)**
PVI and NVI separate price behavior based on changes in participation, not raw volume flow.
- Positive Volume Index (PVI) updates only on bars where volume increases relative to the prior bar. It tracks price movement during expanding participation, often associated with broad market involvement.
- Negative Volume Index (NVI) updates only on bars where volume decreases relative to the prior bar. It tracks price movement during contracting participation, often associated with quieter or more selective activity.
Both indicators accumulate percentage price changes, but only under their respective volume conditions. Rather than asking “Is volume high or low?” , they ask:
"How does price behave when participation expands versus when it contracts?"
More detailed guidance and interpretation can be found further down the publication description for users unfamiliar with the practical uses of PVI and NVI.
**How The Script Works**
At the start of each selected anchor period, the script records the current PVI and NVI values as baselines. All subsequent values within that period are plotted as changes relative to those baselines:
- Percent mode plots the percentage change from the baseline.
- Absolute mode plots the absolute change from the baseline.
This is not normalization or rescaling. The time-based shape of each series is preserved within the anchor window.
The EMAs are calculated on the original, full-history PVI and NVI series, then transformed using the same anchored reference frame. This faithfully preserves relative positioning between each index and its EMA, EMA slope behavior, and EMA crossover timing.
Optional anchor markers and a zero line help visualize resets and behavior relative to the period’s starting point.
**Advantages vs Using PVI and NVI Separately**
- Faster visual assessment: Participation-conditioned price behavior can be evaluated at a glance without mentally reconciling separate scales or panes.
- Potential for Extended Interpretation: A shared baseline introduces a form of relative comparability that does not exist when the indicators are plotted independently.
- Cleaner workflow: One indicator, one pane, and less chart clutter.
**Conventional Interpretation and Guidance**
Anchored PVI and NVI should be interpreted relative to the zero line, their own EMAs, and each other, always within the context of the current anchor period - NOT across periods.
Values above zero indicate net positive price movement since the anchor began under the indicator’s respective volume condition. Values below zero indicate net negative movement. Because PVI and NVI update under different participation regimes, their behavior provides complementary context rather than redundant confirmation.
When PVI is rising, price progress within the period is occurring primarily during higher-participation sessions. This suggests that movement is being supported by expanding activity. Weakness or flattening in PVI indicates that price is losing traction during high-volume conditions.
When NVI is rising, price persistence is occurring during quieter sessions as participation contracts. This often reflects continuation or structural stability that does not rely on broad engagement. Weakness in NVI indicates that price struggles to hold together as activity declines.
Comparing the two provides insight into participation balance.
- Both rising: broad support across participation regimes
- PVI rising while NVI lags: movement concentrated in higher-participation sessions
- NVI rising while PVI lags: price persistence despite reduced participation
Each index is most commonly interpreted relative to its own 255-period EMA. Holding above the EMA suggests strengthening behavior within that participation regime, while sustained movement below the EMA indicates weakening momentum or transition. NVI in particular is often interpreted such that above-EMA behavior is supportive and below-EMA behavior is cautionary.
Divergence between price and PVI or NVI can highlight changes in participation dynamics that may not yet be reflected in price alone. Divergence between PVI and NVI themselves highlights shifts in how price behaves under expanding versus contracting participation.
These relationships are best used as contextual confirmation rather than as standalone trading signals.
**Extended Interpretation (Exploratory)**
This section is exploratory and should not be interpreted as conventional or widely-accepted guidance.
Anchoring PVI and NVI to a shared baseline introduces a form of relative comparability that does not exist when the indicators are plotted independently.
Within a single anchor period, both PVI and NVI are now expressed as relative change from a common reference point. This makes it possible to observe how the two series interact directly in time.
Index Crossovers (PVI vs. NVI)
Crossovers between anchored PVI and anchored NVI may be interpreted as shifts in dominance between participation regimes within the anchor period.
- PVI crossing above NVI suggests that price progress under expanding participation has overtaken progress under contracting participation since the anchor began.
- NVI crossing above PVI suggests that price persistence during quieter participation has become the dominant contributor within the period.
EMA-to-EMA Structure (PVI EMA vs. NVI EMA)
EMA-to-EMA relationships can further highlight smoother, regime-level tendencies in participation balance. When one EMA persistently leads the other after sufficient post-anchor price action has accumulated, it reflects a sustained bias toward that participation regime within the anchor window. Similarly, EMA crossovers that develop after sufficient post-anchor data may imply a transition in participation balance rather than a reset artifact.
Important Context and Limitations of Extended Interpretation
This form of interpretation is only valid within a single anchor period. Because each anchor resets the baseline, no continuity or meaning should be inferred across different periods.
These interactions should be treated as descriptive of participation balance, not as standalone trade signals. Their value lies in clarifying how price movement is being carried within a defined window, not in predicting future direction.
**Combined Practical Use**
Altogether, this indicator allows participation dynamics to be evaluated at three levels:
1) Instantaneous behavior via the anchored PVI and NVI themselves
2) Structural persistence via each index relative to its own EMA
3) Regime balance via the relative positioning of PVI, NVI, and their EMAs
**Warnings!**
- Percent mode can become visually unstable when baseline PVI or NVI values are near zero due to division effects inherent in percent-change calculations.
**Other Similar Indicators**
My Anchored OBV + A/D script applies the same anchored-period framework to other volume-based indicators.
**Credits**
This script is inspired by Multi-Ticker Anchored Candles (MTAC) by @SamRecio . MTAC's anchored-baseline concept and open-source nature provided an important conceptual foundation for adapting the same idea to PVI and NVI.
Matrix Panel + VPThis is the indicator for identifying SL levels
It also provides Information about turnover
VSA - Absorption - Bookmap
- Backtest on Gold, ES, major forex (liquid instruments where VSA works best).
- Filter with trend (EMA 50/200) or session (London/NY open).
- Combine with your Bookmap: use Pine signal → confirm with absorption/iceberg + delta flip.
- Risk: 0.5–1.5% per trade, 1:3+ R:R.
Ranked 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.**
Weekly Breakout Confirm + RS vs BTC + VolumePurpose
The Weekly Breakout Confirmation indicator validates whether price has structurally exited a prior weekly range and whether that breakout is supported by volume expansion and relative strength vs BTC.
It is a regime confirmation tool, designed to separate real breakouts from false ones.
________________________________________
Core Components
1. Weekly Donchian Channel
• Upper band (green): prior weekly range high
• Lower band (red): prior weekly range low
• Calculated on weekly data with no repainting
These levels define the structural range the market must escape to enter a new regime.
________________________________________
2. Weekly Breakout (W BO)
Triggered when:
• Weekly close breaks above the upper Donchian band
• Volume confirms expansion
• Optional filter: relative strength vs BTC is rising
Displayed as:
• Bullish breakout marker
• Green structure line remains on chart as reference
________________________________________
3. Weekly Breakdown (W BD)
Triggered when:
• Weekly close breaks below the lower Donchian band
• Volume confirms expansion
• Optional filter: relative strength vs BTC is weakening
Displayed as:
• Bearish breakdown marker
• Red structure line remains on chart as reference
________________________________________
4. Relative Strength vs BTC
• Measures asset performance relative to BTC on a weekly basis
• Helps identify:
o True altcoin leadership
o False breakouts driven only by BTC beta
• Optional requirement for breakout validation
________________________________________
5. Volume Confirmation
• Weekly volume must exceed a moving average threshold
• Filters out low-participation breakouts
• Ensures institutional-grade participation
________________________________________
What the Indicator Is Signaling
• Confirmed regime transitions
• Entry into:
o Sustained trends
o Distribution phases
o Structural breakdowns
Once a breakout is confirmed:
• The prior range is invalidated
• The green/red line becomes support/resistance reference, not a trigger
________________________________________
How to Use It
Best used for:
• Determining whether the market is trending or ranging
• Confirming whether weekly EMA squeezes are actionable
• Managing exposure duration and risk tolerance
Interpretation framework:
• W BO + rising RS + volume → trend acceptance
• W BO without RS → BTC-driven move (lower confidence)
• No recent W BO / W BD → consolidation regime
• W BD → risk-off, defensive posture
Coinbase/Binance Premium Histogram with SMA- Indicator Name and Purpose: The Coinbase/Binance Premium Histogram with SMA is a TradingView indicator designed to visualize the price differential, or premium, between Coinbase and Binance exchanges for a specified cryptocurrency base asset, such as BTC in BTCUSD.
- Dynamic Symbol Construction: It automatically extracts the base currency from the current chart symbol and constructs the appropriate tickers for Coinbase (e.g., COINBASE:BTCUSD) and Binance (e.g., BINANCE:BTCUSDT).
- Price Retrieval and Premium Calculation: The indicator fetches closing prices from both exchanges and computes the premium as the difference between the Coinbase price and the Binance price.
- Histogram Visualization: The premium is plotted as a histogram in a separate pane below the main chart. Positive premiums (higher prices on Coinbase) are colored green, while negative premiums (higher on Binance) are colored red.
- Simple Moving Average (SMA) Integration: A user-configurable SMA of the premium is included, with a default length of 14 periods, displayed as a gray line to offer a smoothed trend perspective.
- Analytical Utility: This tool facilitates the examination of exchange-specific pricing variations, which may indicate potential arbitrage opportunities or market disparities.
- Interpretation of the Premium: A positive Coinbase premium, indicating that Bitcoin trades at a higher price on Coinbase compared to Binance, often reflects strong buying pressure from U.S.-based investors and institutions. This heightened demand can signal potential upward momentum in Bitcoin's price, as it may precede broader market rallies driven by increased institutional interest and optimistic sentiment. Conversely, a negative premium suggests weaker U.S. demand or selling pressure, which could contribute to downward price movements.
- Compatibility with Other Cryptocurrencies: The script is designed to function with all cryptocurrencies that have a USD trading pair on Coinbase and a USDT pair on Binance. It delivers the highest proven signal strength for Bitcoin, where the premium has historically served as a reliable indicator of price direction. The indicator has also demonstrated effectiveness for other assets, such as Ethereum, where a positive premium similarly signals robust U.S. demand and potential bullish momentum. It can be applied to coins like Solana as well, though signal reliability may vary depending on market dynamics and institutional participation.






















