TernTable: VolViz
VolViz - Overview
VolViz is designed to give traders an instant volume strength visualisation tool using multiple timeframes. It provides an interactive table overlay that allows users to track volume metrics across a range of custom-selected timeframes. The table can dynamically display relative volume (RVOL), average volume, and current volume for each selected timeframes in real time.
Additionally, users can toggle various features and adjust thresholds to receive alerts for both high and low volume conditions.
Key Features
* Volume Metrics: Displays three main volume-related data points across multiple timeframes: Relative Volume (RVOL), Average Volume, and Current Volume.
* Timeframe Flexibility: Supports a range of customisable timeframes from seconds, minutes, hours to daily weekly and monthly intervals up to 12 months. Users can select which timeframes to display.
* Dynamic Table: A table is dynamically updated with data for each enabled timeframe, allowing traders to quickly compare volume data across different periods.
* Optional alert System: Includes alert functionality for high and low volume conditions based on customisable thresholds. Alerts can be set for a minimum number of timeframes for a condition to trigger.
Colour Logic
The script uses specific colours to enhance the visual alert properties that represent different ranges of Relative Volume (RVOL), which are used in the table to visually highlight the volume data:
1. Red: RVOL is less than 1.0, indicating low relative volume.
2. Green: RVOL is between 1.0 and 1.2, indicating moderate relative volume.
3. Purple: RVOL is between 1.2 and 1.5, indicating above average relative volume.
4. Orange: RVOL is between 1.5 and 2.0, indicating higher relative volume.
5. Yellow: RVOL is greater than 2.0, indicating very high relative volume.
How to use
1. Inputs:
* Volume Period: Set the period for calculating the moving average of volume (14 period default).
* The script defaults to the 2m 5m 15m 30m 1h 4h 12h D W M timeframes but user defined custom timeframes can be used (comma-separated) to specify the timeframes to track ( e.g "D,W,M,3M,6M,12M”) to a max of 10 timeframes. The table dynamically adjusts its size dependant on how many timeframes the user chooses to input.
* Table Position: Choose where to display the table: Top Left, Top Right, Bottom Left, or Bottom Right.
* Maximum Decimal Places: Control how many decimal places are shown for volume data.
2. Toggles:
* Enable High Volume Alert: Toggle this to activate the high volume alert.
* Enable Low Volume Alert: Toggle this to activate the low volume alert.
* Enable Minimum Timeframes for Alerts: Toggle this to require a specific number of timeframes to meet the alert condition before triggering.
* Pane Labels: There is also an optional debug label found in the Style tab to identify / confirm the current mode selected and the number of timeframes that meet the alert mode criteria.
The Show Row toggles can be utilised to include or exclude rows to take up less space on the chart.
* Show RVOL Row: Toggle to show the relative volume row in the table.
* Show Avg Volume Row: Toggle to show the average volume row in the table.
* Show Current Volume Row: Toggle to show the current volume row in the table.
* Show Spacer Row Below Table: Toggle to show or hide a blank spacer row below the table.
* Show Spacer Row Above Header: Toggle to show or hide a blank spacer row above the header.
3. How the Table Works:
* The table is populated with the following rows:
1. Spacer Row Above Header (optional): Adds space above the table header.
2. Header Row: Displays the timeframes (e.g., "1h", "4h", "12h", etc.).
3. Relative Volume (RVOL): Shows the RVOL for each timeframe, colored according to the thresholds.
4. Average Volume: Shows the average volume for each timeframe.
5. Current Volume: Displays the current volume for each timeframe.
6. Spacer Row Below Table (optional): Adds space below the data rows.
4. Optional Visual Alerts:
* High Volume Alert: When the current volume exceeds the default or user specified threshold compared to the average volume for the enabled timeframes.
* Low Volume Alert: When the current volume is below the default or user specified threshold compared to the average volume for the enabled timeframes.
When the visual alerts trigger unobtrusive diamonds will appear on the chart. White diamonds above the bar to indicate high volume and yellow diamonds below the bar to indicate low volume. These are not trend direction nor entry or exit signals but may be used in conjunction with other indicators for contextual purposes.
Questions or comments are always welcomed and I hope it helps with your trading !
Volumeanalysis
SignalGenius [Riz]SignalGenius™ is an advanced multi-factor signal engine that merges traditional technical analysis with adaptive AI classification and smart market context filters. It evaluates more than 15 technical dimensions including trend, volume, volatility, momentum, and reversal behavior—to produce high-quality Buy, Sell, and Exit signals optimized for any market condition. Unlike typical signal scripts, SignalGenius™ is built as a modular decision framework with selectable presets for different trading styles (Trend-Following, Balanced, Reversal, Scalper, etc.). Every signal passes through multiple validation filters such as Smart Trail alignment, volume confirmation, AI confidence level, and momentum health before being displayed on chart.
What This Indicator Does
⦁ Generates Buy, Strong Buy, Sell, and Strong Sell signals based on composite scoring of 10+ technical models (RSI, MACD, Stochastic, ADX, EMA structure, pattern recognition, volume analysis).
⦁ Integrates a Smart Trail System that adapts dynamically to volatility and trend regime shifts.
⦁ Includes a multi-level AI Classification Engine (Levels 1 – 4) to quantify signal quality and probability.
⦁ Provides automatic exit signals (x) controlled by preset logic—ATR, RSI, trail breaks, or zone interactions.
⦁ Displays a real-time dashboard summarizing trend strength, volatility, volume sentiment, RSI, ADX, and squeeze conditions.
⦁ Offers five preset trading profiles plus full manual customization for experienced users.
How It Works
SignalGenius™ processes market data through sequential layers:
1. Core Technical Layer – computes key metrics (RSI, MACD, Stochastic, Momentum, ADX, Bollinger/Keltner squeeze, EMAs, VWAP).
2. Scoring Layer – assigns bull/bear scores from overlapping confirmations such as crossovers, divergences, volume strength, and pattern setups.
3. AI Classification Layer – converts raw score + context (trend, volume, momentum) into an AI Level (1 – 4) showing signal reliability.
4. Filter Layer – validates each signal using optional Smart Trail, trend strength, volume, AI confidence, reversal zones, and momentum filters.
5. Visualization Layer – plots shaped markers, adaptive candle coloring, dynamic dashboards, and optional overlays (VWAP, pivots, volume profile).
The result is an intelligent system capable of shifting between confirmation-trend, contrarian-reversal, or hybrid behaviors automatically.
Inputs & Customization
🎯 Presets / Filters – Quick setups for Trend-Following, Balanced, Advanced, Reversal, or Scalper styles.
🎲 Signal Generation – Control sensitivity, cooldown, hybrid/contrarian modes, and signal history.
🎯 Exit Configuration – Define profit/stop multiples (ATR-based) and choose exit style (RSI, trail, or zone).
📈 Smart Trail – Toggle dynamic ATR trail, bands, and retest entries.
📦 Reversal Zones – Auto-detect support/resistance zones with strength counters.
📊 Trend Catcher – EMA overlays with crossover highlights.
🎨 Candle Coloring – Confirmation, Contrarian, Gradient, or Volume-based color logic.
📊 Dashboard – Compact or detailed info panel with metrics, volatility, and mode display.
🔔 Alerts – Instant notifications for all key signal and condition events.
Visual Elements & Labels
Symbol Meaning Description
▲ / ▼ Normal Buy / Sell Standard entry signal
▲+ / ▼+ Strong Buy / Strong Sell Multi-factor confirmed signals
x Exit Profit or stop-based exit marker
★ 1-4 AI Classification Higher = stronger confluence (4 = highest)
🔵 / 🔴 Bands Smart Trail Dynamic support/resistance envelopes
How to Use
1. Select a Preset Mode matching your style (Trend, Balanced, Contrarian, Scalper).
2. Wait for aligned Buy/Sell + AI Level ≥ 3 signals near zones or trails.
3. Confirm with Dashboard metrics—trend > 60 % = strong; volume = bullish or bearish sentiment.
4. Manage trades via built-in exit markers or your own risk parameters.
5. Combine multiple timeframes for higher accuracy (e.g., H1 bias + M15 execution).
Notes & Tips
⦁ Works on all markets and timeframes, optimized for 5 m–1 H for intraday and 4 H–D for swing trading.
⦁ Use Autopilot Mode to auto-adjust sensitivity when volatility changes.
⦁ Enable Smart Trail and Reversal Zones for structured context trading.
⦁ “AI 4★ Strong” signals near trail or zone boundaries represent highest-quality opportunities.
⦁ For backtesting, keep “Show Signal History” ON and set history length as needed.
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or a guaranteed trading system.
Always confirm signals with independent analysis and apply appropriate risk management before live trading.
Candlestick Absorption (Pure Price+Volume)📘 Candlestick Absorption (Pure Price + Volume)
An original approach to detecting hidden institutional absorption using nothing but candle structure and relative volume.
🧠 Concept
Every candle tells a story — not just in its color, but in the battle between aggressive orders and passive liquidity.
This indicator isolates those moments where one side of the market absorbs the other’s aggression — when a candle shows excess wicks on high volume but fails to extend in that direction.
Unlike traditional volume indicators or oscillators, this script focuses solely on the interaction between wick length, body size, and relative volume , giving a pure price–volume perspective of absorption and exhaustion.
⚙️ How It Works
1. Relative Volume Detection
• Compares each candle’s volume to a configurable moving average (default SMA 20).
• Marks only candles with significantly above-average activity (e.g. 1.5× SMA) as eligible for absorption.
2. Wick–Body Anatomy Analysis
• Measures the proportion of each candle’s wicks and body within its total range.
• Focuses on long wicks with small bodies , representing strong push-and-absorb behavior.
• The close must remain off the extreme by a user-defined percentage to confirm that the move was rejected.
3. Absorption Logic
• Bullish Absorption (⬆) → long lower wick, high volume, small body, close away from the low → demand absorbed selling pressure.
• Bearish Absorption (⬇) → long upper wick, high volume, small body, close away from the high → supply absorbed buying pressure.
4. Cooldown & Clarity
• A built-in cooldown prevents repetitive signals in congestion zones.
• Optional translucent absorption zones (boxes) extend forward, helping you visualize where future retests may react.
🎯 How to Use It
• Watch for Absorb ⬆ or Absorb ⬇ markers near swing highs/lows, session extremes, or fair-value gaps — these often highlight zones of institutional absorption or stop-runs.
• Combine with market structure or order-flow context rather than standalone entries.
• Use zones as potential re-entry or rejection levels when price revisits them.
• For intraday use, increase High-Volume Factor to 1.8–2.2 to filter noise.
• For higher timeframes, relax wick/body thresholds slightly to capture broader absorption events.
⸻
🔍 What Makes It Original
• Pure Price + Volume logic — no MAs, RSI, VWAP, or momentum filters.
• Uses dynamic wick-to-range ratios and relative-volume qualification instead of arbitrary thresholds.
• Adaptive visual design: the plotted boxes fade as they age, making absorption footprints visually intuitive.
• Works across any market (stocks, crypto, indices, futures) and timeframe without recalibration.
• Zero repainting. All signals are based on completed bars only.
🧩 Inputs Summary
Volume Filter : Volume SMA Length, High-Volume Factor
Defines how much higher a candle’s volume must be compared to its average
Candle Anatomy : Min Wick % of Range, Max Body % of Range, Close Off Edge %
Controls candle geometry for valid absorption
Signal Logic [/b : Cooldown Bars, color filters
Reduces clutter and false clustering
Zones : Draw Zones, Zone Forward Bars, Opacity Levels
Paints temporary liquidity footprints
Visuals : Background Tint
Highlights active absorption bars
⚠️ Important Notes
• Absorption ≠ instant reversal — it’s often a precursor to exhaustion or liquidity shift.
• Always confirm with structure, trend context, or additional confluence.
• Use at your own discretion; the script makes no performance claims.
💡 Suggested Use Cases
• Identifying trap candles at swing highs/lows.
• Spotting hidden institutional participation before reversals.
• Filtering false breakouts in tight ranges.
• Defining retest zones for Smart-Money or volume-profile strategies.
LibVolmLibrary "LibVolm"
This library provides a collection of core functions for volume and
money flow analysis. It offers implementations of several classic
volume-based indicators, with a focus on flexibility
for applications like multi-timeframe and session-based analysis.
Key Features:
1. **Suite of Classic Volume Indicators:** Includes standard
implementations of several foundational indicators:
- **On Balance Volume (`obv`):** A momentum indicator that
accumulates volume based on price direction.
- **Accumulation/Distribution Line (`adLine`):** Measures cumulative
money flow using the close's position within the bar's range.
- **Chaikin Money Flow (`cmf`):** An oscillator version of the ADL
that measures money flow over a specified lookback period.
2. **Anchored/Resettable Indicators:** The library includes flexible,
resettable indicators ideal for cyclical analysis:
- **Anchored VWAP (`vwap`):** Calculates a Volume Weighted Average
Price that can be reset on any user-defined `reset` condition.
It returns both the VWAP and the number of bars (`prdBars`) in
the current period.
- **Resettable CVD (`cvd`):** Computes a Cumulative Volume Delta
that can be reset on a custom `reset` anchor. The function
also tracks and returns the highest (`hi`) and lowest (`lo`)
delta values reached within the current period.
(Note: The delta sign is determined by a specific logic:
it first checks close vs. open, then close vs. prior
close, and persists the last non-zero sign).
3. **Volume Sanitization:** All functions that use the built-in
`volume` variable automatically sanitize it via an internal
function. This process replaces `na` values with 0 and ensures
no negative volume values are used, providing stable calculations.
---
**DISCLAIMER**
This library is provided "AS IS" and for informational and
educational purposes only. It does not constitute financial,
investment, or trading advice.
The author assumes no liability for any errors, inaccuracies,
or omissions in the code. Using this library to build
trading indicators or strategies is entirely at your own risk.
As a developer using this library, you are solely responsible
for the rigorous testing, validation, and performance of any
scripts you create based on these functions. The author shall
not be held liable for any financial losses incurred directly
or indirectly from the use of this library or any scripts
derived from it.
obv(price)
Calculates the On Balance Volume (OBV) cumulative indicator.
Parameters:
price (float) : series float Source price series, typically the close.
Returns: series float Cumulative OBV value.
adLine()
Computes the Accumulation/Distribution Line (AD Line).
Returns: series float Cumulative AD Line value.
cmf(length)
Computes Chaikin Money Flow (CMF).
Parameters:
length (int) : series int Lookback length for the CMF calculation.
Returns: series float CMF value.
vwap(price, reset)
Calculates an anchored Volume Weighted Average Price (VWAP).
Parameters:
price (float) : series float Source price series (usually *close*).
reset (bool) : series bool A signal that is *true* on the bar where the
accumulation should be reset.
Returns:
vwap series float The calculated Volume Weighted Average Price for the current period.
prdBars series int The number of bars that have passed since the last reset.
cvd(reset)
Calculates a resettable, cumulative Volume Delta (CVD).
It accumulates volume delta and tracks its high/low range. The
accumulation is reset to zero whenever the `reset` condition is true.
This is useful for session-based analysis, intra-bar calculations,
or any other custom-anchored accumulation.
Parameters:
reset (bool) : series bool A signal that is *true* on the bar where the
accumulation should be reset.
Returns:
cum series float The current cumulative volume delta.
hi series float The highest peak the cumulative delta has reached in the current period.
lo series float The lowest trough the cumulative delta has reached in the current period.
Sine TAP Envelope (Standalone)This is my - Sine TAP Envelope (standalone) script.
It provides a sine wave of best fit around the rolling mean of the price action movement (noise and all). Auto updates to extended hours / regular trading hours, and on each tick of every time frame, auto adjusting new potential highs, lows, volume entering exiting, giving a new definition to flex when you see the power that market makers have. Provides Fibonacci and prime number based fractional translations across the given band for exit/entry and analysis of volume, gamma, and momentum. Providing two TAPs - a technical aspect price below and above the mean. You may adjust and translate the rolling days of average as you see fit. All equations are proprietary.
Built on the premise that markets are not random, but rotational. That price action is not noise, but a superposition of oscillatory energy curves and pressure fields - each with its own harmonic signature, each interacting through time. The fundamental thesis is that market motion is the visible consequence of curvature, momentum, volatility, and structural opposition interacting across multiple timeframes. Every price tick is not a final cause, but the shadow of a deeper set of harmonic collisions. The engine is not a signal trigger or a heuristic overlay. It is a multi-layered resonance detector, calibrated to identify when market variables enter a moment of alignment-- what the system terms a resonant entry window. This window is not defined by one signal, but by phase-synchronized confirmation across multiple abstract systems: directional slope (TAP), oscillatory curvature (Lift), angular momentum acceleration (RSI curvature), pressure feedback, and interference collapse.
This indicator can, will, and does give you access into where everything is, where everything is was, and where it is going. How you use it is up to you. Please contact me at
ottley.personal@gmail.com OR ottley.work@gmail.com
For details on purchase. One-time, no refunds, no subscriptions.
You either have the balls to try something or don't, to be quite honest, the less of you that use this the better for me - contact for details around price. Non-negotiable, details available upon request.
Delta Arbitrage [by Oberlunar]Delta Arbitrage turns fragmented exchange activity into a single, readable pulse. Each broker breathes at its own rhythm; this tool measures the share of “buy vs. sell” participation per broker, weights those brokers by liquidity/activity, and blends them into one continuous bias. The result is a chart you can read in seconds: aqua when buy-side dominates, red when sell-side does—stronger shades for stronger imbalances.
Delta Arbitrage indicator supports several ways to colour candles based on the aggregated, cross-venue delta, so you can match visual feedback to the strength/consensus of flow.
Examples
LONG opportunity — broad bullish agreement (>70% weighted Buy%)
In this case, a LONG setup formed because a high proportion of brokers simultaneously pushed bullish volumetric deltas (>70%).
The corridor then stayed positive across multiple bars, with sustained long strength in agreement across venues:
Follow-through:
SHORT opportunity — broad bearish agreement (<20% weighted Buy%)
Here, a SHORT setup formed because a high proportion of brokers simultaneously pushed bearish volumetric deltas (<20%).
The corridor remained negative over several bars, showing high-intensity short pressure in cross-venue agreement:
Follow-through:
Spectral mode
You can enable the spectral mode, where range candles are colored only when multiple brokers are in volumetric agreement. You’ll see bullish pressure when weighted Buy% exceeds ~70%; when direction changes, range candles fade out and the lower tiles flip red to reflect rising short pressure.
Example:
How it’s built (in plain words)
For every selected broker, the script computes a robust Buy% over a rolling window and maps it to a signed bias (−1…+1).
Venues are then combined with flexible weighting—Equal, Last Volume, SMA Volume, or Relative-to-SMA—to emphasise who is active now .
A small neutral band near zero calms noise; an intensity curve (gamma) makes strong pushes visually obvious without overshooting weak ones.
What you see
Tinted bars/background : the aggregate bias colours the chart so the prevailing side is instantly clear.
Dashboard : a compact meter for each venue (SELL⇄BUY), its normalised weight, and exact Buy%/bias, plus a summary line for the weighted & unweighted aggregates. It shows whether one venue is dragging the whole market or if participation is broad.
Lower panel (timeline) : a tile-per-bar strip using the same bias logic. Long, saturated runs = sustained participation; choppy, desaturated tiles around zero = balance/compression. The strip’s height is fixed vs. a recent range, so it remains legible on any zoom.
How to act on it (minimal, auditable rules)
Entries: a one-shot arrow when the weighted Buy% crosses a high/low threshold (e.g., >70 for longs, <30 for shorts).
Exits: trail the indicator itself—close when the weighted Buy% retraces by a set number of points from its peak (long) or trough (short).
Context: prefer entries that align with a fresh, persistent run in the lower strip and supportive rows in the dashboard; fade/exit when the strip desaturates or flips.
Do not operate when the average volumetric pressure (avg) is around 50% +- 15%
Why it matters
This is not tick-level microstructure; it’s a fast, stable cross-venue proxy designed for operational use on any timeframe. By unifying “who’s in charge, for how long, and how strongly,” the indicator reduces discretionary noise and turns participation into a tradable, testable context.
— Oberlunar 👁 ★
Volume-Price Shift Box (Lite Version)Description
This indicator is a clean and intuitive visual tool designed to help traders quickly assess the current balance of bullish and bearish forces in the market.
It combines volume, price movement, VWAP, and OBV dynamics into a compact on-chart table that updates in real time.
This version focuses on the core logic and visualization of momentum and volume shifts, making it ideal for traders who want actionable insight without complex configuration.
How It Works
The script measures the combined strength of multiple market components:
VWAP trend indicates price bias relative to fair value.
OBV (On-Balance Volume) tracks volume flow to confirm or contradict price movement.
Volume ratio compares current volume to its recent average.
Momentum evaluates directional price movement over a configurable lookback period.
Accumulation / Distribution (A/D) Line estimates buying or selling pressure within each candle:
↑ — A/D is rising (buying pressure is increasing)
↑↑ — A/D is rising faster than before (acceleration of buying)
↓ — A/D is falling (selling pressure is increasing)
↓↓ — A/D is falling faster than before (acceleration of selling)
Each of these components contributes to an overall shift score.
Depending on this score, the box displays:
🟢 Bullish Shift — strong upward alignment
🔴 Bearish Shift — downward alignment
⚪ Neutral — mixed or indecisive conditions
Key Features
Compact on-chart information box with color-coded parameters
Combined volume-price relationship model
Configurable lookback and sensitivity controls
Real-time shift strength and trend duration tracking
Adjustable EMA/SMA smoothing for all averages
Lightweight design optimized for clarity
Inputs Overview
Box Position / Size – Place and scale the on-chart info box
Lookback Period – Number of bars used for calculations
VWAP Lookback – Period for VWAP distance smoothing
Shift Sensitivity – Adjusts reaction strength of bullish/bearish shifts
Neutral Zone Threshold – Defines when the market is considered neutral
EMA or SMA – Choose exponential or simple moving averages
Component Weights – Set the influence of VWAP, OBV, Volume, and Momentum on the shift score
Display Toggles – Enable or disable metrics shown in the box (Strength, Volume, VWAP, Duration, OBV)
How to Use
Apply the indicator to any symbol and timeframe.
Observe the box on the chart — it updates dynamically.
Look for transitions between Neutral → Bullish or Neutral → Bearish shifts.
Combine with your existing price action or confirmation tools (e.g., support/resistance, trendlines).
Use the “Strength” and “Duration” values to assess consistency and momentum quality.
(This indicator is not a buy/sell signal generator — it is designed as a contextual analysis and confirmation tool.)
How It Helps
Merges several key volume and price metrics into a single view
Highlights transitions in market control between buyers and sellers
Reduces clutter by presenting only relevant context data
Works on any market and timeframe, from scalping to swing trading
⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Volume Sentiment Breakout Channels [AlgoAlpha]🟠 OVERVIEW
This tool visualizes breakout zones based on volume sentiment within dynamic price channels . It identifies high-impact consolidation areas, quantifies buy/sell dominance inside those zones, and then displays real-time shifts in sentiment strength. When the market breaks above or below these sentiment-weighted channels, traders can interpret the event as a change in conviction, not just a technical breakout.
🟠 CONCEPTS
The script builds on two layers of logic:
Channel Detection : A volatility-based algorithm locates price compression areas using normalized highs and lows over a defined lookback. These “boxes” mark accumulation or distribution ranges.
Volume Sentiment Profiling : Each channel is internally divided into small bins, where volume is aggregated and signed by candle direction. This produces a granular sentiment map showing which levels are dominated by buyers or sellers.
When a breakout occurs, the script clears the previous box and forms a new one, letting traders visually track transitions between phases of control. The colored gradients and text updates continuously reflect the internal bias—green for net-buying, red for net-selling—so you can see conviction strength at a glance.
🟠 FEATURES
Volume-weighted sentiment map inside each box, with gradient color intensity proportional to participation.
Dynamic text display of current and overall sentiment within each channel.
Real-time trail lines to show active bullish/bearish trend extensions after breakout.
🟠 USAGE
Setup : Add the script to your chart and enable Strong Closes Only if you prefer cleaner breakouts. Use shorter normalization length (e.g., 50–80) for fast markets; longer (100–200) for smoother transitions.
Read Signals : Transparent boxes mark active sentiment channels. Green gradients show buy-side dominance, red shows sell-side. The middle dashed line is the equilibrium of the channel. “▲” appears when price breaks upward, “▼” when it breaks downward.
Understanding Sentiment : The sentiment profile can be used to show the probability of the price moving up or down at respective price levels.
Luxy BIG beautiful Dynamic ORBThis is an advanced Opening Range Breakout (ORB) indicator that tracks price breakouts from the first 5, 15, 30, and 60 minutes of the trading session. It provides complete trade management including entry signals, stop-loss placement, take-profit targets, and position sizing calculations.
The ORB strategy is based on the concept that the opening range of a trading session often acts as support/resistance, and breakouts from this range tend to lead to significant moves.
What Makes This Different?
Most ORB indicators simply draw horizontal lines and leave you to figure out the rest. This indicator goes several steps further:
Multi-Stage Tracking
Instead of just one ORB timeframe, this tracks FOUR simultaneously (5min, 15min, 30min, 60min). Each stage builds on the previous one, giving you multiple trading opportunities throughout the session.
Active Trade Management
When a breakout occurs, the indicator automatically calculates and displays entry price, stop-loss, and multiple take-profit targets. These lines extend forward and update in real-time until the trade completes.
Cycle Detection
Unlike indicators that only show the first breakout, this tracks the complete cycle: Breakout → Retest → Re-breakout. You can see when price returns to test the ORB level after breaking out (potential re-entry).
Failed Breakout Warning
If price breaks out but quickly returns inside the range (within a few bars), the label changes to "FAILED BREAK" - warning you to exit or avoid the trade.
Position Sizing Calculator
Built-in risk management that tells you exactly how many shares to buy based on your account size and risk tolerance. No more guessing or manual calculations.
Advanced Filtering
Optional filters for volume confirmation, trend alignment, and Fair Value Gaps (FVG) to reduce false signals and improve win rate.
Core Features Explained
### 1. Multi-Stage ORB Levels
The indicator builds four separate Opening Range levels:
ORB 5 - First 5 minutes (fastest signals, most volatile)
ORB 15 - First 15 minutes (balanced, most popular)
ORB 30 - First 30 minutes (slower, more reliable)
ORB 60 - First 60 minutes (slowest, most confirmed)
Each level is drawn as a horizontal range on your chart. As time progresses, the ranges expand to include more price action. You can enable or disable any stage and assign custom colors to each.
How it works: During the opening minutes, the indicator tracks the highest high and lowest low. Once the time period completes, those levels become your ORB high and low for that stage.
### 2. Breakout Detection
When price closes outside the ORB range, a label appears:
BREAK UP (green label above price) - Price closed above ORB High
BREAK DOWN (red label below price) - Price closed below ORB Low
The label shows which ORB stage triggered (ORB5, ORB15, etc.) and the cycle number if tracking multiple breakouts.
Important: Signals appear on bar close only - no repainting. What you see is what you get.
### 3. Retest Detection
After price breaks out and moves away, if it returns to test the ORB level, a "RETEST" label appears (orange). This indicates:
The original breakout level is now acting as support/resistance
Potential re-entry opportunity if you missed the first breakout
Confirmation that the level is significant
The indicator requires price to move a minimum distance away before considering it a valid retest (configurable in settings).
### 4. Failed Breakout Detection
If price breaks out but returns inside the ORB range within a few bars (before the breakout is "committed"), the original label changes to "FAILED BREAK" in orange.
This warns you:
The breakout lacked conviction
Consider exiting if already in the trade
Wait for better setup
Committed Breakout: The indicator tracks how many bars price stays outside the range. Only after staying outside for the minimum number of bars does it become a committed breakout that can be retested.
### 5. TP/SL Lines (Trade Management)
When a breakout occurs, colored horizontal lines appear showing:
Entry Line (cyan for long, orange for short) - Your entry price (the ORB level)
Stop Loss Line (red) - Where to exit if trade goes against you
TP1, TP2, TP3 Lines (same color as entry) - Profit targets at 1R, 2R, 3R
These lines extend forward as new bars form, making it easy to track your trade. When a target is hit, the line turns green and the label shows a checkmark.
Lines freeze (stop updating) when:
Stop loss is hit
The final enabled take-profit is hit
End of trading session (optional setting)
### 6. Position Sizing Dashboard
The dashboard (bottom-left corner by default) shows real-time information:
Current ORB stage and range size
Breakout status (Inside Range / Break Up / Break Down)
Volume confirmation (if filter enabled)
Trend alignment (if filter enabled)
Entry and Stop Loss prices
All enabled Take Profit levels with percentages
Risk/Reward ratio
Position sizing: Max shares to buy and total risk amount
Position Sizing Example:
If your account is $25,000 and you risk 1% per trade ($250), and the distance from entry to stop loss is $0.50, the calculator shows you can buy 500 shares (250 / 0.50 = 500).
### 7. FVG Filter (Fair Value Gap)
Fair Value Gaps are price inefficiencies - gaps left by strong momentum where one candle's high doesn't overlap with a previous candle's low (or vice versa).
When enabled, this filter:
Detects bullish and bearish FVGs
Draws semi-transparent boxes around these gaps
Only allows breakout signals if there's an FVG near the breakout level
Why this helps: FVGs indicate institutional activity. Breakouts through FVGs tend to be stronger and more reliable.
Proximity setting: Controls how close the FVG must be to the ORB level. 2.0x means the breakout can be within 2 times the FVG size - a reasonable default.
### 8. Volume & Trend Filters
Volume Filter:
Requires current volume to be above average (customizable multiplier). High volume breakouts are more likely to sustain.
Set minimum multiplier (e.g., 1.5x = 50% above average)
Set "strong volume" multiplier (e.g., 2.5x) that bypasses other filters
Dashboard shows current volume ratio
Trend Filter:
Only shows breakouts aligned with a higher timeframe trend. Choose from:
VWAP - Price above/below volume-weighted average
EMA - Price above/below exponential moving average
SuperTrend - ATR-based trend indicator
Combined modes (VWAP+EMA, VWAP+SuperTrend) for stricter filtering
### 9. Pullback Filter (Advanced)
Purpose:
Waits for price to pull back slightly after initial breakout before confirming the signal.
This reduces false breakouts from immediate reversals.
How it works:
- After breakout is detected, indicator waits for a small pullback (default 2%)
- Once pullback occurs AND price breaks out again, signal is confirmed
- If no pullback within timeout period (5 bars), signal is issued anyway
Settings:
Enable Pullback Filter: Turn this filter on/off
Pullback %: How much price must pull back (2% is balanced)
Timeout (bars): Max bars to wait for pullback (5 is standard)
When to use:
- Choppy markets with many fake breakouts
- When you want higher quality signals
- Combine with Volume filter for maximum confirmation
Trade-off:
- Better signal quality
- May miss some valid fast moves
- Slight entry delay
How to Use This Indicator
### For Beginners - Simple Setup
Add the indicator to your chart (5-minute or 15-minute timeframe recommended)
Leave all default settings - they work well for most stocks
Watch for BREAK UP or BREAK DOWN labels to appear
Check the dashboard for entry, stop loss, and targets
Use the position sizing to determine how many shares to buy
Basic Trading Plan:
Wait for a clear breakout label
Enter at the ORB level (or next candle open if you're late)
Place stop loss where the red line indicates
Take profit at TP1 (50% of position) and TP2 (remaining 50%)
### For Advanced Traders - Customized Setup
Choose which ORB stages to track (you might only want ORB15 and ORB30)
Enable filters: Volume (stocks) or Trend (trending markets)
Enable FVG filter for institutional confirmation
Set "Track Cycles" mode to catch retests and re-breakouts
Customize stop loss method (ATR for volatile stocks, ORB% for stable ones)
Adjust risk per trade and account size for accurate position sizing
Advanced Strategy Example:
Enable ORB15 only (disable others for cleaner chart)
Turn on Volume filter at 1.5x with Strong at 2.5x
Enable Trend filter using VWAP
Set Signal Mode to "Track Cycles" with Max 3 cycles
Wait for aligned breakouts (Volume + Trend + Direction)
Enter on retest if you missed the initial break
### Timeframe Recommendations
5-minute chart: Scalping, very active trading, crypto
15-minute chart: Day trading, balanced approach (most popular)
30-minute chart: Swing entries, less screen time
60-minute chart: Position trading, longer holds
The indicator works on any intraday timeframe, but ORB is fundamentally a day trading strategy. Daily charts don't make sense for ORB.
DEFAULT CONFIGURATION
ON by Default:
• All 4 ORB stages (5/15/30/60)
• Breakout Detection
• Retest Labels
• All TP levels (1/1.5/2/3)
• TP/SL Lines (Detailed mode)
• Dashboard (Bottom Left, Dark theme)
• Position Size Calculator
OFF by Default (Optional Filters):
• FVG Filter
• Pullback Filter
• Volume Filter
• Trend Filter
• HTF Bias Check
• Alerts
Recommended for Beginners:
• Leave all defaults
• Session Mode: Auto-Detect
• Signal Mode: Track Cycles
• Stop Method: ATR
• Add Volume Filter if trading stocks
Recommended for Advanced:
• Enable ORB15 + ORB30 only (disable 5 & 60)
• Enable: Volume + Trend + FVG
• Signal Mode: Track Cycles, Max 3
• Stop Method: ATR or Safer
• Enable HTF Daily bias check
## Settings Guide
The settings are organized into logical groups. Here's what each section controls:
### ORB COLORS Section
Show Edge Labels: Display "ORB 5", "ORB 15" labels at the right edge of the levels
Background: Fill the area between ORB high/low with color
Transparency: How see-through the background is (95% is nearly invisible)
Enable ORB 5/15/30/60: Turn each stage on or off individually
Colors: Assign colors to each ORB stage for easy identification
### SESSION SETTINGS Section
Session Mode: Choose trading session (Auto-Detect works for most instruments)
Custom Session Hours: Define your own hours if needed (format: HHMM-HHMM)
Auto-Detect uses the instrument's natural hours (stocks use exchange hours, crypto uses 24/7).
### BREAKOUT DETECTION Section
Enable Breakout Detection: Master switch for signals
Show Retest Labels: Display retest signals
Label Size: Visual size for all labels (Small recommended)
Enable FVG Filter: Require Fair Value Gap confirmation
Show FVG Boxes: Display the gap boxes on chart
Signal Mode: "First Only" = one signal per direction per day, "Track Cycles" = multiple signals
Max Cycles: How many breakout-retest cycles to track (6 is balanced)
Breakout Buffer: Extra distance required beyond ORB level (0.1-0.2% recommended)
Min Distance for Retest: How far price must move away before retest is valid (2% recommended)
Min Bars Outside ORB: Bars price must stay outside for committed breakout (2 is balanced)
### TARGETS & RISK Section
Enable Targets & Stop-Loss: Calculate and show trade management
TP1/TP2/TP3 checkboxes: Select which profit targets to display
Stop Method: How to calculate stop loss placement
- ATR: Based on volatility (best for most cases)
- ORB %: Fixed % of ORB range
- Swing: Recent swing high/low
- Safer: Widest of all methods
ATR Length & Multiplier: Controls ATR stop distance (14 period, 1.5x is standard)
ORB Stop %: Percentage beyond ORB for stop (20% is balanced)
Swing Bars: Lookback period for swing high/low (3 is recent)
### TP/SL LINES Section
Show TP/SL Lines: Display horizontal lines on chart
Label Format: "Short" = minimal text, "Detailed" = shows prices
Freeze Lines at EOD: Stop extending lines at session close
### DASHBOARD Section
Show Info Panel: Display the metrics dashboard
Theme: Dark or Light colors
Position: Where to place dashboard on chart
Toggle rows: Show/hide specific information rows
Calculate Position Size: Enable the position sizing calculator
Risk Mode: Risk fixed $ amount or % of account
Account Size: Your total trading capital
Risk %: Percentage to risk per trade (0.5-1% recommended)
### VOLUME FILTER Section
Enable Volume Filter: Require volume confirmation
MA Length: Average period (20 is standard)
Min Volume: Required multiplier (1.5x = 50% above average)
Strong Volume: Multiplier that bypasses other filters (2.5x)
### TREND FILTER Section
Enable Trend Filter: Require trend alignment
Trend Mode: Method to determine trend (VWAP is simple and effective)
Custom EMA Length: If using EMA mode (50 for swing, 20 for day trading)
SuperTrend settings: Period and Multiplier if using SuperTrend mode
### HIGHER TIMEFRAME Section
Check Daily Trend: Display higher timeframe bias in dashboard
Timeframe: What TF to check (D = daily, recommended)
Method: Price vs MA (stable) or Candle Direction (reactive)
MA Period: EMA length for Price vs MA method (20 is balanced)
Min Strength %: Minimum strength threshold for HTF bias to be considered
- For "Price vs MA": Minimum distance (%) from moving average
- For "Candle Direction": Minimum candle body size (%)
- 0.5% is balanced - increase for stricter filtering
- Lower values = more signals, higher values = only strong trends
### ALERTS Section
Enable Alerts: Master switch (must be ON to use any alerts)
Breakout Alerts: Notify on ORB breakouts
Retest Alerts: Notify when price retests after breakout
Failed Break Alerts: Notify on failed breakouts
Stage Complete Alerts: Notify when each ORB stage finishes forming
After enabling desired alert types, click "Create Alert" button, select this indicator, choose "Any alert() function call".
## Tips & Best Practices
### General Trading Tips
ORB works best on liquid instruments (stocks with good volume, major crypto pairs)
First hour of the session is most important - that's when ORB is forming
Breakouts WITH the trend have higher success rates - use the trend filter
Failed breakouts are common - use the "Min Bars Outside" setting to filter weak moves
Not every day produces good ORB setups - be patient and selective
### Position Sizing Best Practices
Never risk more than 1-2% of your account on a single trade
Use the built-in calculator - don't guess your position size
Update your account size monthly as it grows
Smaller accounts: use $ Amount mode for simplicity
Larger accounts: use % of Account mode for scaling
### Take Profit Strategy
Most traders use: 50% at TP1, 50% at TP2
Aggressive: Hold through TP1 for TP2 or TP3
Conservative: Full exit at TP1 (1:1 risk/reward)
After TP1 hits, consider moving stop to breakeven
TP3 rarely hits - only on strong trending days
### Filter Combinations
Maximum Quality: Volume + Trend + FVG (fewest signals, highest quality)
Balanced: Volume + Trend (good quality, reasonable frequency)
Active Trading: No filters or Volume only (many signals, lower quality)
Trending Markets: Trend filter essential (indices, crypto)
Range-Bound: Volume + FVG (avoid trend filter)
### Common Mistakes to Avoid
Chasing breakouts - wait for the bar to close, don't FOMO into wicks
Ignoring the stop loss - always use it, move it manually if needed
Over-leveraging - the calculator shows MAX shares, you can buy less
Trading every signal - quality > quantity, use filters
Not tracking results - keep a journal to see what works for YOU
## Pros and Cons
### Advantages
Complete all-in-one solution - from signal to position sizing
Multiple timeframes tracked simultaneously
Visual clarity - easy to see what's happening
Cycle tracking catches opportunities others miss
Built-in risk management eliminates guesswork
Customizable filters for different trading styles
No repainting - what you see is locked in
Works across multiple markets (stocks, forex, crypto)
### Limitations
Intraday strategy only - doesn't work on daily charts
Requires active monitoring during first 1-2 hours of session
Not suitable for after-hours or extended sessions by default
Can produce many signals in choppy markets (use filters)
Dashboard can be overwhelming for complete beginners
Performance depends on market conditions (trends vs ranges)
Requires understanding of risk management concepts
### Best For
Day traders who can watch the first 1-2 hours of market open
Traders who want systematic entry/exit rules
Those learning proper position sizing and risk management
Active traders comfortable with multiple signals per day
Anyone trading liquid instruments with clear sessions
### Not Ideal For
Swing traders holding multi-day positions
Set-and-forget / passive investors
Traders who can't watch market open
Complete beginners unfamiliar with trading concepts
Low volume / illiquid instruments
## Frequently Asked Questions
Q: Why are no signals appearing?
A: Check that you're on an intraday timeframe (5min, 15min, etc.) and that the current time is within your session hours. Also verify that "Enable Breakout Detection" is ON and at least one ORB stage is enabled. If using filters, they might be blocking signals - try disabling them temporarily.
Q: What's the best ORB stage to use?
A: ORB15 (15 minutes) is most popular and balanced. ORB5 gives faster signals but more noise. ORB30 and ORB60 are slower but more reliable. Many traders use ORB15 + ORB30 together.
Q: Should I enable all the filters?
A: Start with no filters to see all signals. If too many false signals, add Volume filter first (stocks) or Trend filter (trending markets). FVG filter is most restrictive - use for maximum quality but fewer signals.
Q: How do I know which stop loss method to use?
A: ATR works for most cases - it adapts to volatility. Use ORB% if you want predictable stop placement. Swing is for respecting chart structure. Safer gives you the most room but largest risk.
Q: Can I use this for swing trading?
A: Not really - ORB is fundamentally an intraday strategy. The ranges reset each day. For swing trading, look at weekly support/resistance or moving averages instead.
Q: Why do TP/SL lines disappear sometimes?
A: Lines freeze (stop extending) when: stop loss is hit, the last enabled take-profit is hit, or end of session arrives (if "Freeze at EOD" is enabled). This is intentional - the trade is complete.
Q: What's the difference between "First Only" and "Track Cycles"?
A: "First Only" shows one breakout UP and one DOWN per day maximum - clean but might miss opportunities. "Track Cycles" shows breakout-retest-rebreak sequences - more signals but busier chart.
Q: Is position sizing accurate for options/forex?
A: The calculator is designed for shares (stocks). For options, ignore the share count and use the risk amount. For forex, you'll need to adapt the lot size calculation manually.
Q: How much capital do I need to use this?
A: The indicator works for any account size, but practical day trading typically requires $25,000 in the US due to Pattern Day Trader rules. Adjust the "Account Size" setting to match your capital.
Q: Can I backtest this strategy?
A: This is an indicator, not a strategy script, so it doesn't have built-in backtesting. You can visually review historical signals or code a strategy script using similar logic.
Q: Why does the dashboard show different entry price than the breakout label?
A: If you're looking at an old breakout, the ORB levels may have changed when the next stage completed. The dashboard always shows the CURRENT active range and trade setup.
Q: What's a good win rate to expect?
A: ORB strategies typically see 40-60% win rate depending on market conditions and filters used. The strategy relies on positive risk/reward ratios (2:1 or better) to be profitable even with moderate win rates.
Q: Does this work on crypto?
A: Yes, but crypto trades 24/7 so you need to define what "session start" means. Use Session Mode = Custom and set your preferred daily reset time (e.g., 0000-2359 UTC).
## Credits & Transparency
### Development
This indicator was developed with the assistance of AI technology to implement complex ORB trading logic.
The strategy concept, feature specifications, and trading logic were designed by the publisher. The implementation leverages modern development tools to ensure:
Clean, efficient, and maintainable code
Comprehensive error handling and input validation
Detailed documentation and user guidance
Performance optimization
### Trading Concepts
This indicator implements several public domain trading concepts:
Opening Range Breakout (ORB): Trading strategy popularized by Toby Crabel, Mark Fisher and many more talanted traders.
Fair Value Gap (FVG): Price imbalance concept from ICT methodology
SuperTrend: ATR-based trend indicator using public formula
Risk/Reward Ratio: Standard risk management principle
All mathematical formulas and technical concepts used are in the public domain.
### Pine Script
Uses standard TradingView built-in functions:
ta.ema(), ta.atr(), ta.vwap(), ta.highest(), ta.lowest(), request.security()
No external libraries or proprietary code from other authors.
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice.
Trading involves substantial risk of loss and is not suitable for every investor. Past performance shown in examples is not indicative of future results.
The indicator provides signals and calculations, but trading decisions are solely your responsibility. Always:
Test strategies on paper before using real money
Never risk more than you can afford to lose
Understand that all trading involves risk
Consider seeking advice from a licensed financial advisor
The publisher makes no guarantees regarding accuracy, profitability, or performance. Use at your own risk.
---
Version: 3.0
Pine Script Version: v6
Last Updated: October 2024
For support, questions, or suggestions, please comment below or send a private message.
---
Happy trading, and remember: consistent risk management beats perfect entry timing every time.
Volume Order Block Scanner [BOSWaves]Volume Order Block Scanner - Dynamic Detection of High-Volume Supply and Demand Zones
Overview
The Volume Order Block Scanner introduces a refined approach to institutional zone mapping, combining volume-weighted order flow, structural displacement, and ATR-based proportionality to identify regions of aggressive participation from large entities.
Unlike static zone mapping or simplistic body-size filters, this framework dynamically evaluates each candle through a multi-layer model of relative volume, candle structure, and volatility context to isolate genuine order block formations while filtering out market noise.
Each identified zone represents a potential institutional footprint, defined by significant volume surges and efficient body-to-ATR relationships that indicate purposeful positioning. Once mapped, each order block is dynamically adjusted for volatility and tracked throughout its lifecycle - from creation to mitigation to potential invalidation - producing an evolving liquidity map that adapts with price.
This adaptive behavior allows traders to visualize where liquidity was absorbed and where it remains unfilled, revealing the structural foundation of institutional intent across timeframes.
Theoretical Foundation
At its core, the Volume Order Block Scanner is built on the interaction between volume displacement and structural imbalance. Traditional order block systems often rely on fixed candle formations or simple engulfing logic, neglecting the fundamental driver of institutional activity: volume concentration relative to volatility.
This framework redefines that approach. Each candle is filtered through two comparative ratios:
Relative Volume Ratio (RVR) - the candle’s volume compared to its rolling average, confirming genuine transactional surges.
Body-ATR Ratio (BAR) - a measure of displacement efficiency relative to recent volatility, ensuring structural strength.
Only when both conditions align is an order block validated, marking a displacement event significant enough to create a lasting imbalance.
By embedding this logic within a volatility-adjusted environment, the system maintains scalability across asset classes and volatility regimes - equally effective in crypto, forex, or index markets.
How It Works
The Volume Order Block Scanner operates through a structured multi-stage process:
Displacement Detection - Identifies candles whose body and volume exceed dynamic thresholds derived from ATR and rolling volume averages. These represent the origin points of institutional aggression.
Zone Construction - Each qualified candle generates an order block with ATR-proportional dimensions to ensure consistency across instruments and timeframes. The zone includes two regions: Body Zone (the precise initiation point of displacement) and Wick Imbalance (the residual inefficiency representing unfilled liquidity).
Lifecycle Tracking - Each zone is continuously monitored for market interaction. Reactions within a defined window are classified as respected, mitigated, or invalidated, giving traders a data-driven sense of ongoing institutional relevance.
Volume Confirmation Layer - Reinforces signal integrity by ensuring that all detected blocks correspond with meaningful increases in transactional activity.
Temporal Decay Control - Zones that remain untested beyond a set period gradually lose visual and analytical weight, maintaining chart clarity and contextual precision.
Interpretation
The Volume Order Block Scanner visualizes how institutional participants interact with the market through zones of accumulation and distribution.
Bullish order blocks denote demand imbalances where price displaced upward under high volume; bearish order blocks signify supply regions formed by concentrated selling pressure.
Price revisiting these areas often reflects institutional re-entry or liquidity rebalancing, offering actionable insights for both continuation and reversal scenarios.
By continuously monitoring interaction and expiry, the framework enables traders to distinguish between active institutional footprints and historical liquidity artifacts.
Strategy Integration
The Volume Order Block Scanner integrates naturally into advanced structural and order-flow methodologies:
Liquidity Mapping : Identify high-volume regions that are likely to influence future price reactions.
Break-of-Structure Confirmation : Validate BOS and CHOCH signals through aligned order block behavior.
Volume Confluence : Combine with BOSWaves volume or momentum indicators to confirm real institutional intent.
Smart-Money Frameworks : Utilize order block retests as precision entry zones within SMC-based setups.
Trend Continuation : Filter zones in line with higher-timeframe bias to maintain directional integrity.
Technical Implementation Details
Core Engine : Dual-filter mechanism using Relative Volume Ratio (RVR) and Body-ATR Ratio (BAR).
Volatility Framework : ATR-based scaling for cross-asset proportionality.
Zone Composition : Body and wick regions plotted independently for visual clarity of imbalance.
Lifecycle Logic : Real-time monitoring of reaction, mitigation, and invalidation states.
Directional Coloring : Distinct bullish and bearish shading with adjustable transparency.
Computation Efficiency : Lightweight structure suitable for multi-timeframe or multi-asset environments.
Optimal Application Parameters
Timeframe Guidance:
5m - 15m : Reactive intraday zones for short-term liquidity engagement.
1H - 4H : Medium-term structures for swing or intraday trend mapping.
Daily - Weekly : Macro accumulation and distribution footprints.
Suggested Configuration:
Relative Volume Threshold : 1.5× - 2.0× average volume.
Body-ATR Threshold : 0.8× - 1.2× for valid displacement.
Zone Expiry : 5 - 10 bars for intraday use, 15 - 30 for swing/macro contexts.
Parameter optimization should be asset-specific, tuned to volatility conditions and liquidity depth.
Performance Characteristics
High Effectiveness:
Markets exhibiting clear displacement and directional flow.
Environments with consistent volume expansion and liquidity inefficiencies.
Reduced Effectiveness:
Range-bound markets with frequent false impulses.
Low-volume sessions lacking institutional participation.
Integration Guidelines
Confluence Framework : Pair with structure-based BOS or liquidity tools for validation.
Risk Management : Treat active order blocks as contextual areas of interest, not guaranteed reversal points.
Multi-Timeframe Logic : Derive bias from higher-timeframe blocks and execute from refined lower-timeframe structures.
Volume Verification : Confirm each reaction with concurrent volume acceleration to avoid false liquidity cues.
Disclaimer
The Volume Order Block Scanner is a quantitative mapping framework designed for professional traders and analysts. It is not a predictive or guaranteed system of profit.
Performance depends on correct configuration, market conditions, and disciplined risk management. BOSWaves recommends using this indicator as part of a comprehensive analytical process - integrating structural, volume, and liquidity context for accurate interpretation.
VolumeAnlaysis### Volume Analysis (VA) Indicator
**Overview**
The Volume Analysis (VA) indicator is a dynamic overlay tool designed for traders seeking to identify high-volume breakouts, retests, and multi-timeframe volume-driven price cycles. By combining volume spikes with price action and support/resistance boxes, it highlights potential trend continuations, reversals, and cycle shifts. Ideal for intraday and swing trading on stocks, forex, or crypto, it uses a Fibonacci-inspired 1.618 multiplier to detect significant volume surges, then maps them to visual boxes and key levels for actionable insights.
This indicator draws from volume profile concepts but focuses on **breakout confirmation** and **cycle momentum**, helping you spot when "smart money" volume aligns with price extremes. It's particularly useful in volatile markets where volume precedes price moves.
**How It Works**
1. **Volume Break Detection**:
- Identifies a "Volume Break" when the current bar's volume exceeds 1.618x the highest volume from the prior 5 bars. This signals unusual activity, often preceding breakouts.
- A "Volume Retest" triggers exactly 3 bars after a break if volume has been falling steadily over those 3 bars—indicating a pullback for re-accumulation/distribution.
2. **Visual Annotations**:
- **Labels**: Green/red/yellow labels mark Volume Breaks and Retests, positioned above/below the bar based on candle direction for clarity.
- **Demand/Supply Boxes**:
- Blue semi-transparent boxes form around Retest bars, extending rightward to act as dynamic support/resistance.
- Green (bullish) or red (bearish) boxes draw from Volume Breaks, based on the original candle's open/close, highlighting potential zones for continuation.
- Limited to 5 boxes max to avoid chart clutter; older boxes fade as new ones form.
3. **Box Interaction Signals**:
- When price enters a box:
- **Reversal Hints**: Maroon (bearish rejection) or lime (bullish rejection) labels on closes against the trend with opening price momentum.
- **Breakout Arrows**: Up/down arrows on crossovers/crossunders of box tops/bottoms from Retest boxes.
- Scans all active boxes for interactions, prioritizing recent volume events.
4. **Multi-Timeframe Volume Cycles**:
- Aggregates the "Volume Break Max" level (a proxy for key price extremes tied to volume spikes) across timeframes: 1min, 5min, 10min, 30min, and 65min (using `request.security`).
- Computes **MaxVolBreak** (highest extreme) and **MinVolBreak** (lowest extreme) for trend-following levels.
- Tracks **Percent Volume Greater/Less Than Close**: Sums volumes from TFs where price is below/above these levels, creating a momentum ratio.
- **CrossClose**: Plots the prior close where this ratio crosses (gray line), signaling cycle shifts—bullish below MinVolBreak, bearish above MaxVolBreak.
- **Fills**: Red fill above CrossClose/MaxVolBreak (bearish cycle); green below CrossClose/MinVolBreak (bullish cycle).
5. **Plots**:
- Black lines for MaxVolBreak (⏫) and MinVolBreak (⏬).
- Gray 🔄 for CrossClose.
- Colors dynamically adjust (green/red) based on close relative to levels.
**Key Features**
- **Trend vs. Reversal Modes**: Toggle alerts for trend-following breaks (crosses of Max/MinVolBreak) or reversal signals (crosses of CrossClose).
- **Multi-TF Fusion**: Optionally include the chart's native timeframe in Max/Min calculations for finer tuning.
- **Box Management**: Auto-prunes to 5 boxes; focuses on retest/break alignments for "inside bar" logic.
- **Momentum Filters**: Uses rising/falling opens and crossovers for label precision, reducing noise.
- **Customizable**: Simple inputs for alert visibility and timeframe inclusion.
**Settings**
| Input | Default | Description |
|-------|---------|-------------|
| Show Volume Reversal Breaks | False | Enables alerts/labels for CrossClose crosses (cycle reversals). |
| Show Trend Following Breaks | True | Enables alerts for Max/MinVolBreak crosses (trend signals). |
| Use Current Time | False | Includes chart's native TF in multi-TF Max/Min calculations. |
**Alerts**
- **Reversal Alerts** (if enabled): "Volume Reverse Bullish/Bearish Break of " on close crosses of CrossClose.
- **Trend Alerts** (if enabled): "Trend Volume Bullish/Bearish Signal" on close crosses of Max/MinVolBreak; plus notes if prior low/high aligns with levels.
- All alerts include ticker and level value for easy scanning. Use `alert.freq_once_per_bar` to avoid spam.
**Trading Ideas**
- **Bullish Entry**: Green box formation + price holding MinVolBreak + upward arrow on retest box. Target next resistance.
- **Bearish Entry**: Red box + close above MaxVolBreak + red fill activation. Stop below recent low.
- **Cycle Trading**: Watch CrossClose crosses for regime shifts—fade extremes in overextended cycles.
- **Best Timeframes**: 5-30min for intraday; combine with daily for swings. Works best on liquid assets with reliable volume data.
**Limitations & Notes**
- Relies on accurate volume data (e.g., stocks/forex); less effective on low-volume or synthetic instruments.
- Boxes extend rightward but don't auto-delete—monitor for clutter on long histories (max_bars_back=500).
- Some logic (e.g., exact 3-bar retest) is rigid; backtest for your market.
- Open-source under MPL 2.0—fork and tweak as needed!
For questions or enhancements, drop a comment below. Happy trading! 🚀
Kalman VWAP Filter [BackQuant]Kalman VWAP Filter
A precision-engineered price estimator that fuses Kalman filtering with the Volume-Weighted Average Price (VWAP) to create a smooth, adaptive representation of fair value. This hybrid model intelligently balances responsiveness and stability, tracking trend shifts with minimal noise while maintaining a statistically grounded link to volume distribution.
If you would like to see my original Kalman Filter, please find it here:
Concept overview
The Kalman VWAP Filter is built on two core ideas from quantitative finance and control theory:
Kalman filtering — a recursive Bayesian estimator used to infer the true underlying state of a noisy system (in this case, fair price).
VWAP anchoring — a dynamic reference that weights price by traded volume, representing where the majority of transactions have occurred.
By merging these concepts, the filter produces a line that behaves like a "smart moving average": smooth when noise is high, fast when markets trend, and self-adjusting based on both market structure and user-defined noise parameters.
How it works
Measurement blend : Combines the chosen Price Source (e.g., close or hlc3) with either a Session VWAP or a Rolling VWAP baseline. The VWAP Weight input controls how much the filter trusts traded volume versus price movement.
Kalman recursion : Each bar updates an internal "state estimate" using the Kalman gain, which determines how much to trust new observations vs. the prior state.
Noise parameters :
Process Noise controls agility — higher values make the filter more responsive but also more volatile.
Measurement Noise controls smoothness — higher values make it steadier but slower to adapt.
Filter order (N) : Defines how many parallel state estimates are used. Larger orders yield smoother output by layering multiple one-dimensional Kalman passes.
Final output : A refined price trajectory that captures VWAP-adjusted fair value while dynamically adjusting to real-time volatility and order flow.
Why this matters
Most smoothing techniques (EMA, SMA, Hull) trade off lag for smoothness. Kalman filtering, however, adaptively rebalances that tradeoff each bar using probabilistic weighting, allowing it to follow market state changes more efficiently. Anchoring it to VWAP integrates microstructure context — capturing where liquidity truly lies rather than only where price moves.
Use cases
Trend tracking : Color-coded candle painting highlights shifts in slope direction, revealing early trend transitions.
Fair value mapping : The line represents a continuously updated equilibrium price between raw price action and VWAP flow.
Adaptive moving average replacement : Outperforms static MAs in variable volatility regimes by self-adjusting smoothness.
Execution & reversion logic : When price diverges from the Kalman VWAP, it may indicate short-term imbalance or overextension relative to volume-adjusted fair value.
Cross-signal framework : Use with standard VWAP or other filters to identify convergence or divergence between liquidity-weighted and state-estimated prices.
Parameter guidance
Process Noise : 0.01–0.05 for swing traders, 0.1–0.2 for intraday scalping.
Measurement Noise : 2–5 for normal use, 8+ for very smooth tracking.
VWAP Weight : 0.2–0.4 balances both price and VWAP influence; 1.0 locks output directly to VWAP dynamics.
Filter Order (N) : 3–5 for reactive short-term filters; 8–10 for smoother institutional-style baselines.
Interpretation
When price > Kalman VWAP and slope is positive → bullish pressure; buyers dominate above fair value.
When price < Kalman VWAP and slope is negative → bearish pressure; sellers dominate below fair value.
Convergence of price and Kalman VWAP often signals equilibrium; strong divergence suggests imbalance.
Crosses between Kalman VWAP and the base VWAP can hint at shifts in short-term vs. long-term liquidity control.
Summary
The Kalman VWAP Filter blends statistical estimation with market microstructure awareness, offering a refined alternative to static smoothing indicators. It adapts in real time to volatility and order flow, helping traders visualize balance, transition, and momentum through a lens of probabilistic fair value rather than simple price averaging.
Volume Heatmap + Buy/Sell splitits the most powerful volume based heatmap you can see on this platform. It tells you when the high volume is coming into the market with clear signs.
Sell - You will see the red bar below the split to confirm its a sell and the strength or the sell you can see above the split line in various colors e.g. lite green (low) to Dark red (extra high).
Buy - If there is a Buying trade being registered, it will appear above the spit line in opaque green with the heatmap colors to show the strength of volume.
This tool will help you identify the volume strength and based on that you can plan your trade.
PS, its always recommended to not to rely on a single oscillator and combine few. I would recommend you to use RSI and S/R lines with this for better decision.
Note, this tool has been put together for educational purposes and I do not take any responsibility of your trade.
Huge VolumesHuge Volumes indicator plots areas on the chart where trading volume spikes — showing where strong buying or selling pressure takes place.
It helps visualize how large players move in and out of positions, making it easier to spot potential turning points or confirm trends.
Advanced Weis Wave Volume [Afnan]Advanced Weis Wave Volume is an enhanced upgrade of the classic Weis Wave concept. It measures accumulated volume within price swings to show where buying and selling pressure truly shift — but with one major edge: optional consolidation detection.
Most wave volume indicators simply plot bullish and bearish waves. Advanced Weis Wave Volume goes further by giving you the choice to highlight sideways or low-momentum consolidation phases, making it easy to spot when the market lacks real momentum. This helps traders instantly filter out weak, low-probability setups and focus only on the high-energy waves that truly matter.
⚙️ Key Features
Weis Wave Method – Uses ATR-based wave calculation to identify directional volume accumulation with precision.
Optional Consolidation Highlighting – You control it. Enable or disable consolidation detection based on your trading style. When enabled, it visually marks low-momentum or range-bound conditions, helping you instantly recognize when the market is consolidating.
Smart Volume Alignment – Choose to include or exclude the reversal candle's volume in new waves for more accurate readings.
Clear Visuals – Color-coded waves for Bullish (Green), Bearish (Red), and optional Consolidation (Orange) phases.
Compact Status Table – Displays the current market condition (Bullish, Bearish, or Consolidation) directly on your chart.
Flexible Display Options – Plot all waves above zero line, customize colors, and control what information you see.
💡 Why This Indicator Is Superior
✅ vs. Other Wave Volume Indicators:
Others only show waves; they can't identify consolidation. Advanced Weis Wave Volume gives you the option to enable consolidation detection — saving you time by automatically filtering weak market phases when you need it.
✅ vs. Standard Volume Bars:
Regular volume bars show isolated candle data. Advanced Weis Wave Volume shows accumulated directional pressure, revealing true trend strength and institutional activity.
✅ vs. Basic Weis Wave Indicators:
Standard Weis Wave indicators lack consolidation awareness. This indicator adds that layer of intelligence while keeping the classic wave calculation intact.
Bottom Line:
This is the only Weis Wave volume indicator that gives you control over consolidation filtering. Others show every move equally — Advanced Weis Wave Volume shows what actually matters, when you want it to.
📈 How to Use
Trading with the Waves:
🟢 Green Waves (Bullish): Building buying pressure — look for long setups.
🔴 Red Waves (Bearish): Rising selling pressure
🟠 Orange Zones (Consolidation): (When enabled) Market is ranging — avoid new trades .
Large waves: Strong trends and high-probability continuations.
Shrinking waves: Weakening momentum or possible reversal ahead.
Critical Insight - Avoiding False Volume Signals:
Large waves aren't always reliable. If you see a wave colored in orange (consolidation), it means the market was moving sideways but no real directional momentum.
This is crucial because:
❌ A big green wave in consolidation ≠ strong upside buying
❌ A big red wave in consolidation ≠ strong downside selling
✅ These are just range-bound volume accumulations that mislead traders
With consolidation detection enabled, you can instantly identify and ignore these deceptive Consolidation waves, focusing only on directional volume that actually reflects true buying or selling pressure. This prevents you from entering trades based on false volume signals during sideways markets.
📌 Practical Applications:
Breakout Confirmation: Real breakouts show expanding volume waves; false breakouts show weak waves or consolidation-marked volume.
Trend Validation: In a healthy trend, waves in the direction of the move are stronger, larger, and show clear directional color (green/red).
Consolidation Avoidance: (When enabled) Orange zones warn you to step aside and preserve capital — even if the wave looks large. Size doesn't matter if momentum is absent.
Filter False Volume: Avoid trading large waves that occur during consolidation — they don't represent genuine directional moves, just sideways accumulation.
Divergence Detection: Price makes new highs/lows, but wave volume shrinks — a sign of exhaustion or reversal.
Analyzing Ranges: During accumulation or distribution, Advanced Weis Wave Volume helps identify how institutional players are participating within the range — revealing when a breakout is likely to occur.
✨ The Competitive Advantage
Many Weis Wave indicators exist on TradingView - they all show volume waves. Only Advanced Weis Wave Volume gives you optional consolidation detection. That single feature transforms wave volume from a pure analysis tool into a flexible trading system that adapts to your style.
Hello Crypto! Modern Combo Snapshot
Unified long/short analyzer blending EMA structure, SuperTrend, WaveTrend, QQE, and volume pressure.
Background shading flags “watch” and “ready” states; optional long/short modules let you focus on one side.
Alerts fire when every checklist item aligns, while the side-panel table summarizes trend, momentum, liquidity, and overall score in real time.
Indicator → Trend Analysis
Indicator → Momentum Oscillators
Indicator → Volume Indicators
Tags:
cryptocurrency, bitcoin, altcoins, trend-following, momentum, volume, ema, supertrend, intraday, swing-trading, alerts, checklist, trading-strategy, risk-management
Historical Matrix Analyzer [PhenLabs]📊Historical Matrix Analyzer
Version: PineScriptv6
📌Description
The Historical Matrix Analyzer is an advanced probabilistic trading tool that transforms technical analysis into a data-driven decision support system. By creating a comprehensive 56-cell matrix that tracks every combination of RSI states and multi-indicator conditions, this indicator reveals which market patterns have historically led to profitable outcomes and which have not.
At its core, the indicator continuously monitors seven distinct RSI states (ranging from Extreme Oversold to Extreme Overbought) and eight unique indicator combinations (MACD direction, volume levels, and price momentum). For each of these 56 possible market states, the system calculates average forward returns, win rates, and occurrence counts based on your configurable lookback period. The result is a color-coded probability matrix that shows you exactly where you stand in the historical performance landscape.
The standout feature is the Current State Panel, which provides instant clarity on your active market conditions. This panel displays signal strength classifications (from Strong Bullish to Strong Bearish), the average return percentage for similar past occurrences, an estimated win rate using Bayesian smoothing to prevent small-sample distortions, and a confidence level indicator that warns you when insufficient data exists for reliable conclusions.
🚀Points of Innovation
Multi-dimensional state classification combining 7 RSI levels with 8 indicator combinations for 56 unique trackable market conditions
Bayesian win rate estimation with adjustable smoothing strength to provide stable probability estimates even with limited historical samples
Real-time active cell highlighting with “NOW” marker that visually connects current market conditions to their historical performance data
Configurable color intensity sensitivity allowing traders to adjust heat-map responsiveness from conservative to aggressive visual feedback
Dual-panel display system separating the comprehensive statistics matrix from an easy-to-read current state summary panel
Intelligent confidence scoring that automatically warns traders when occurrence counts fall below reliable thresholds
🔧Core Components
RSI State Classification: Segments RSI readings into 7 distinct zones (Extreme Oversold <20, Oversold 20-30, Weak 30-40, Neutral 40-60, Strong 60-70, Overbought 70-80, Extreme Overbought >80) to capture momentum extremes and transitions
Multi-Indicator Condition Tracking: Simultaneously monitors MACD crossover status (bullish/bearish), volume relative to moving average (high/low), and price direction (rising/falling) creating 8 binary-encoded combinations
Historical Data Storage Arrays: Maintains rolling lookback windows storing RSI states, indicator states, prices, and bar indices for precise forward-return calculations
Forward Performance Calculator: Measures price changes over configurable forward bar periods (1-20 bars) from each historical state, accumulating total returns and win counts per matrix cell
Bayesian Smoothing Engine: Applies statistical prior assumptions (default 50% win rate) weighted by user-defined strength parameter to stabilize estimated win rates when sample sizes are small
Dynamic Color Mapping System: Converts average returns into color-coded heat map with intensity adjusted by sensitivity parameter and transparency modified by confidence levels
🔥Key Features
56-Cell Probability Matrix: Comprehensive grid displaying every possible combination of RSI state and indicator condition, with each cell showing average return percentage, estimated win rate, and occurrence count for complete statistical visibility
Current State Info Panel: Dedicated display showing your exact position in the matrix with signal strength emoji indicators, numerical statistics, and color-coded confidence warnings for immediate situational awareness
Customizable Lookback Period: Adjustable historical window from 50 to 500 bars allowing traders to focus on recent market behavior or capture longer-term pattern stability across different market cycles
Configurable Forward Performance Window: Select target holding periods from 1 to 20 bars ahead to align probability calculations with your trading timeframe, whether day trading or swing trading
Visual Heat Mapping: Color-coded cells transition from red (bearish historical performance) through gray (neutral) to green (bullish performance) with intensity reflecting statistical significance and occurrence frequency
Intelligent Data Filtering: Minimum occurrence threshold (1-10) removes unreliable patterns with insufficient historical samples, displaying gray warning colors for low-confidence cells
Flexible Layout Options: Independent positioning of statistics matrix and info panel to any screen corner, accommodating different chart layouts and personal preferences
Tooltip Details: Hover over any matrix cell to see full RSI label, complete indicator status description, precise average return, estimated win rate, and total occurrence count
🎨Visualization
Statistics Matrix Table: A 9-column by 8-row grid with RSI states labeling vertical axis and indicator combinations on horizontal axis, using compact abbreviations (XOverS, OverB, MACD↑, Vol↓, P↑) for space efficiency
Active Cell Indicator: The current market state cell displays “⦿ NOW ⦿” in yellow text with enhanced color saturation to immediately draw attention to relevant historical performance
Signal Strength Visualization: Info panel uses emoji indicators (🔥 Strong Bullish, ✅ Bullish, ↗️ Weak Bullish, ➖ Neutral, ↘️ Weak Bearish, ⛔ Bearish, ❄️ Strong Bearish, ⚠️ Insufficient Data) for rapid interpretation
Histogram Plot: Below the price chart, a green/red histogram displays the current cell’s average return percentage, providing a time-series view of how historical performance changes as market conditions evolve
Color Intensity Scaling: Cell background transparency and saturation dynamically adjust based on both the magnitude of average returns and the occurrence count, ensuring visual emphasis on reliable patterns
Confidence Level Display: Info panel bottom row shows “High Confidence” (green), “Medium Confidence” (orange), or “Low Confidence” (red) based on occurrence counts relative to minimum threshold multipliers
📖Usage Guidelines
RSI Period
Default: 14
Range: 1 to unlimited
Description: Controls the lookback period for RSI momentum calculation. Standard 14-period provides widely-recognized overbought/oversold levels. Decrease for faster, more sensitive RSI reactions suitable for scalping. Increase (21, 28) for smoother, longer-term momentum assessment in swing trading. Changes affect how quickly the indicator moves between the 7 RSI state classifications.
MACD Fast Length
Default: 12
Range: 1 to unlimited
Description: Sets the faster exponential moving average for MACD calculation. Standard 12-period setting works well for daily charts and captures short-term momentum shifts. Decreasing creates more responsive MACD crossovers but increases false signals. Increasing smooths out noise but delays signal generation, affecting the bullish/bearish indicator state classification.
MACD Slow Length
Default: 26
Range: 1 to unlimited
Description: Defines the slower exponential moving average for MACD calculation. Traditional 26-period setting balances trend identification with responsiveness. Must be greater than Fast Length. Wider spread between fast and slow increases MACD sensitivity to trend changes, impacting the frequency of indicator state transitions in the matrix.
MACD Signal Length
Default: 9
Range: 1 to unlimited
Description: Smoothing period for the MACD signal line that triggers bullish/bearish state changes. Standard 9-period provides reliable crossover signals. Shorter values create more frequent state changes and earlier signals but with more whipsaws. Longer values produce more confirmed, stable signals but with increased lag in detecting momentum shifts.
Volume MA Period
Default: 20
Range: 1 to unlimited
Description: Lookback period for volume moving average used to classify volume as “high” or “low” in indicator state combinations. 20-period default captures typical monthly trading patterns. Shorter periods (10-15) make volume classification more reactive to recent spikes. Longer periods (30-50) require more sustained volume changes to trigger state classification shifts.
Statistics Lookback Period
Default: 200
Range: 50 to 500
Description: Number of historical bars used to calculate matrix statistics. 200 bars provides substantial data for reliable patterns while remaining responsive to regime changes. Lower values (50-100) emphasize recent market behavior and adapt quickly but may produce volatile statistics. Higher values (300-500) capture long-term patterns with stable statistics but slower adaptation to changing market dynamics.
Forward Performance Bars
Default: 5
Range: 1 to 20
Description: Number of bars ahead used to calculate forward returns from each historical state occurrence. 5-bar default suits intraday to short-term swing trading (5 hours on hourly charts, 1 week on daily charts). Lower values (1-3) target short-term momentum trades. Higher values (10-20) align with position trading and longer-term pattern exploitation.
Color Intensity Sensitivity
Default: 2.0
Range: 0.5 to 5.0, step 0.5
Description: Amplifies or dampens the color intensity response to average return magnitudes in the matrix heat map. 2.0 default provides balanced visual emphasis. Lower values (0.5-1.0) create subtle coloring requiring larger returns for full saturation, useful for volatile instruments. Higher values (3.0-5.0) produce vivid colors from smaller returns, highlighting subtle edges in range-bound markets.
Minimum Occurrences for Coloring
Default: 3
Range: 1 to 10
Description: Required minimum sample size before applying color-coded performance to matrix cells. Cells with fewer occurrences display gray “insufficient data” warning. 3-occurrence default filters out rare patterns. Lower threshold (1-2) shows more data but includes unreliable single-event statistics. Higher thresholds (5-10) ensure only well-established patterns receive visual emphasis.
Table Position
Default: top_right
Options: top_left, top_right, bottom_left, bottom_right
Description: Screen location for the 56-cell statistics matrix table. Position to avoid overlapping critical price action or other indicators on your chart. Consider chart orientation and candlestick density when selecting optimal placement.
Show Current State Panel
Default: true
Options: true, false
Description: Toggle visibility of the dedicated current state information panel. When enabled, displays signal strength, RSI value, indicator status, average return, estimated win rate, and confidence level for active market conditions. Disable to declutter charts when only the matrix table is needed.
Info Panel Position
Default: bottom_left
Options: top_left, top_right, bottom_left, bottom_right
Description: Screen location for the current state information panel (when enabled). Position independently from statistics matrix to optimize chart real estate. Typically placed opposite the matrix table for balanced visual layout.
Win Rate Smoothing Strength
Default: 5
Range: 1 to 20
Description: Controls Bayesian prior weighting for estimated win rate calculations. Acts as virtual sample size assuming 50% win rate baseline. Default 5 provides moderate smoothing preventing extreme win rate estimates from small samples. Lower values (1-3) reduce smoothing effect, allowing win rates to reflect raw data more directly. Higher values (10-20) increase conservatism, pulling win rate estimates toward 50% until substantial evidence accumulates.
✅Best Use Cases
Pattern-based discretionary trading where you want historical confirmation before entering setups that “look good” based on current technical alignment
Swing trading with holding periods matching your forward performance bar setting, using high-confidence bullish cells as entry filters
Risk assessment and position sizing, allocating larger size to trades originating from cells with strong positive average returns and high estimated win rates
Market regime identification by observing which RSI states and indicator combinations are currently producing the most reliable historical patterns
Backtesting validation by comparing your manual strategy signals against the historical performance of the corresponding matrix cells
Educational tool for developing intuition about which technical condition combinations have actually worked versus those that feel right but lack historical evidence
⚠️Limitations
Historical patterns do not guarantee future performance, especially during unprecedented market events or regime changes not represented in the lookback period
Small sample sizes (low occurrence counts) produce unreliable statistics despite Bayesian smoothing, requiring caution when acting on low-confidence cells
Matrix statistics lag behind rapidly changing market conditions, as the lookback period must accumulate new state occurrences before updating performance data
Forward return calculations use fixed bar periods that may not align with actual trade exit timing, support/resistance levels, or volatility-adjusted profit targets
💡What Makes This Unique
Multi-Dimensional State Space: Unlike single-indicator tools, simultaneously tracks 56 distinct market condition combinations providing granular pattern resolution unavailable in traditional technical analysis
Bayesian Statistical Rigor: Implements proper probabilistic smoothing to prevent overconfidence from limited data, a critical feature missing from most pattern recognition tools
Real-Time Contextual Feedback: The “NOW” marker and dedicated info panel instantly connect current market conditions to their historical performance profile, eliminating guesswork
Transparent Occurrence Counts: Displays sample sizes directly in each cell, allowing traders to judge statistical reliability themselves rather than hiding data quality issues
Fully Customizable Analysis Window: Complete control over lookback depth and forward return horizons lets traders align the tool precisely with their trading timeframe and strategy requirements
🔬How It Works
1. State Classification and Encoding
Each bar’s RSI value is evaluated and assigned to one of 7 discrete states based on threshold levels (0: <20, 1: 20-30, 2: 30-40, 3: 40-60, 4: 60-70, 5: 70-80, 6: >80)
Simultaneously, three binary conditions are evaluated: MACD line position relative to signal line, current volume relative to its moving average, and current close relative to previous close
These three binary conditions are combined into a single indicator state integer (0-7) using binary encoding, creating 8 possible indicator combinations
The RSI state and indicator state are stored together, defining one of 56 possible market condition cells in the matrix
2. Historical Data Accumulation
As each bar completes, the current state classification, closing price, and bar index are stored in rolling arrays maintained at the size specified by the lookback period
When the arrays reach capacity, the oldest data point is removed and the newest added, creating a sliding historical window
This continuous process builds a comprehensive database of past market conditions and their subsequent price movements
3. Forward Return Calculation and Statistics Update
On each bar, the indicator looks back through the stored historical data to find bars where sufficient forward bars exist to measure outcomes
For each historical occurrence, the price change from that bar to the bar N periods ahead (where N is the forward performance bars setting) is calculated as a percentage return
This percentage return is added to the cumulative return total for the specific matrix cell corresponding to that historical bar’s state classification
Occurrence counts are incremented, and wins are tallied for positive returns, building comprehensive statistics for each of the 56 cells
The Bayesian smoothing formula combines these raw statistics with prior assumptions (neutral 50% win rate) weighted by the smoothing strength parameter to produce estimated win rates that remain stable even with small samples
💡Note:
The Historical Matrix Analyzer is designed as a decision support tool, not a standalone trading system. Best results come from using it to validate discretionary trade ideas or filter systematic strategy signals. Always combine matrix insights with proper risk management, position sizing rules, and awareness of broader market context. The estimated win rate feature uses Bayesian statistics specifically to prevent false confidence from limited data, but no amount of smoothing can create reliable predictions from fundamentally insufficient sample sizes. Focus on high-confidence cells (green-colored confidence indicators) with occurrence counts well above your minimum threshold for the most actionable insights.
Project Pegasus SideMap • VRP Heatmap • Volume Node DetectionDescription CME_MINI:NQ1!
Project Pegasus – Volume SideMap V 1.0 builds a right-anchored horizontal volume heatmap silhouette, visualizing buy/sell participation per price level over any chosen lookback or visible range. It automatically detects Low-Volume Nodes (LVN), Medium-Volume Nodes (MVN), and High-Volume Nodes (HVN), while also marking Top Volume Peaks, POI Lines (Most-Touched Levels), and complete Value Area Levels (POC / VAH / VAL) including optional session highs/lows.
What’s Unique
Right-Fixed Rendering – All profile rows are anchored to the chart’s right edge, creating a consistent visual reference during live trading.
Gap-Free Silhouette – Each price row blends seamlessly with its neighbors, producing a clean and continuous volume shape.
Triple-Tier Node Detection (LVN / MVN / HVN) – Automatically highlights zones of rejection, transition, and acceptance based on relative volume strength.
Dynamic Binning System – Adapts to price range and lookback while preserving proportional per-row volume distribution.
POI Finder (Most Touches) – Highlights price rows that have been touched most frequently by bars (traffic clusters).
Top-N Peaks – Sorts and draws the strongest single-price clusters by total volume while respecting minimum spacing.
Integrated Value Area Metrics – Calculates and plots POC, VAH, and VAL with optional session High/Low markers.
Color Modes – Choose between heatmap intensity (volume-based) or buy/sell ratio blending for directional context.
Performance Optimized – Rebuilds only when structure changes, ensuring smooth operation even with large histories.
Technical Overview
1. Binning & Aggregation
The full price range is divided into a user-defined number of rows (bins) of equal height.
For each bar, traded volume is distributed across all intersecting bins proportionally to price overlap.
A buy/sell proxy is estimated based on candle close position, producing per-row Buy, Sell, and Total Volume arrays.
2. Silhouette Rendering
Each row’s strength = total volume ÷ maximum volume.
Two color modes:
• Volume Mode → intensity scales by relative volume (heatmap).
• Ratio Mode → blend between sell and buy base colors based on dominance (close position).
Weak or neutral rows can be faded or forced to minimum width via strength and ratio-deviation filters.
3. Node Detection (LVN / MVN / HVN)
Relative bands are defined by lower/upper % thresholds.
Consecutive rows meeting criteria are grouped into “bands.”
Optional gap-merge unifies nearby bands separated by small gaps (in ticks).
Quality filters:
• Min. Average in Band (%) → enforces minimum average participation.
• Min. Prominence vs. Neighbors (%) → compares contrast against adjacent volume peaks.
Enforces minimum center distance (in ticks) to prevent overlap.
Each valid band draws a Top/Bottom line pair and optional mid-label (LVN/MVN/HVN).
4. Volume Peaks
Ranks all rows by total volume (descending) and selects top N peaks with spacing filters.
Drawn as horizontal lines or labeled markers (P1, P2, etc.).
5. POI Lines (Most Touches)
During aggregation, each row counts how many bars overlap it.
The top X rows with highest touch counts are drawn as POI lines—often strong participation or mean-retest zones.
6. Value Area (POC / VAH / VAL)
POC = row with highest total volume.
Expands outward symmetrically until the configured Value Area % of total volume is covered.
VAH and VAL mark the acceptance range; optional High/Low lines outline total range boundaries.
7. Right-Fix Layout
All components are rendered relative to the chart’s rightmost bar.
Width dynamically scales with visible bars × % width setting, ensuring proportional scaling across zoom levels.
How to Use
Read market structure:
HVNs = high acceptance or balance areas → likely mean-reversion zones.
LVNs = thin participation → breakout or rejection points (“air pockets”).
MVNs = transition areas between acceptance and rejection.
Trade around POC / VAH / VAL:
These levels represent fair-value boundaries and rotational pivots.
POI & Peaks:
Use them as strong reference lines for responsive trading decisions.
Ratio-Color Mode:
Exposes directional imbalance and potential absorption zones visually.
Best practice:
Live trading → right-fix active, moderate row count.
Post-session analysis → higher granularity, LVN/HVN/MVN and peaks enabled with labels.
Key Settings
Core
Lookback length or visible-range mode
Row count (granularity)
Profile width (% of visible bars)
Right offset, minimum box width, transparency
Date Filter
Aggregate only bars from a defined start date onward.
Coloring
Buy/Sell ratio mode toggle
Base colors for buy and sell volume
Filters
Minimum ratio deviation (±) → ignore nearly balanced rows
Minimum volume strength (%) → fade weak rows
LVN / MVN / HVN Detection
Independent enable toggles
Lower/upper % thresholds
Minimum band height (rows)
Merge small gaps (ticks)
Minimum average in band (%)
Minimum prominence vs. neighbors (%)
Minimum distance between bands (ticks)
Line color, width, style, and label options
Peaks
Number of peaks (0–20)
Minimum distance between peaks (ticks)
Color, width, style, label placement
POI Lines
Enable toggle
POI count (1–5)
Minimum gap between POIs (rows)
Color, width, style, label offset
Value Levels (POC / VAH / VAL)
Show/hide Value Area Levels
Value Area % coverage
POC / VAH / VAL line styles, widths, colors
Optional Session High/Low lines
Notes & Limitations
Optimized for intraday and swing data; accuracy depends on chart volume granularity.
Large lookbacks with high row counts and all detection layers enabled may impact performance—adjust parameters for balance.
Buy/Sell ratio is a visual approximation based on candle structure, not actual order-book delta.
Designed as a contextual visualization tool, not a trade signal generator.
Disclaimer
For educational and informational purposes only.
Not financial advice.
Dollar Volume Ownership Gauge Dollar Volume Ownership Gauge (DVOG)
By: Mando4_27
Version: 1.0 — Pine Script® v6
Overview
The Dollar Volume Ownership Gauge (DVOG) is designed to measure the intensity of real money participation behind each price bar.
Instead of tracking raw share volume, this tool converts every bar’s trading activity into dollar volume (price × volume) and highlights the transition points where institutional capital begins to take control of a move.
DVOG’s mission is simple:
Show when the crowd is trading vs. when the institutions are buying control.
Core Concept
Most retail traders focus on share count (volume) — but institutions think in dollar exposure.
A small-cap printing a 1-million-share candle at $1 is very different from a 1-million-share candle at $10.
DVOG normalizes this by displaying total traded dollar value per bar, then color-codes and alerts when the volume of money crosses key thresholds.
This exposes the exact moments when ownership is shifting — often before major breakouts, reclaims, or exhaustion reversals.
How It Works
Dollar Volume Calculation
Each candle’s dollar volume is computed as close × volume.
Data is aggregated from the 5-minute timeframe regardless of your current chart, allowing consistent institutional-flow detection on any resolution.
Threshold Logic
Two customizable levels define interest zones:
$500K Threshold → Early or moderate institutional attention.
$1M Threshold → High-conviction or aggressive accumulation.
Both levels can be edited to fit different market caps or trading styles.
Bar Coloring Scheme
Red = Dollar Volume ≥ $1,000,000 → Significant institutional activity / control bar.
Green = Dollar Volume ≥ $500,000 and < $1,000,000 → Emerging accumulation / transition bar.
Black = Below $500,000 → Retail or low-interest zone.
(Colors are intentionally inverted from standard expectation: when volume intensity spikes, the bar turns hotter in tone.)
Plot Display
Histogram style plot displays 5-minute aggregated dollar volume per bar.
Dotted reference lines mark $500K and $1M levels, with live right-hand labels for quick reading.
Optional debug label shows current bar’s dollar value, closing price, and raw volume for transparency.
Alerts & Conditions
DVOG includes three alert triggers for hands-off monitoring:
Alert Name Trigger Message Purpose
Green Bar Alert – Dollar Volume ≥ $500K When dollar volume first crosses $500K “Institutional interest starting on ” Signals early money entering.
Dollar Volume ≥ $500K Same as above, configurable “Early institutional interest detected…” Broad alert option.
Dollar Volume ≥ $1M When dollar volume first crosses $1M “Significant money flow detected…” Indicates heavy institutional presence or ignition bar.
You can enable or disable alerts via checkbox inputs, allowing you to monitor just the levels that fit your style.
Interpretation & Use Cases
Identify Institutional “Ignition” Points:
Watch for sudden green or red DVOG bars after long low-volume consolidation — these often precede explosive continuation moves.
Confirm Breakouts & Reclaims:
If price reclaims a key level (HOD, neckline, or coil top) and DVOG flashes green/red, odds strongly favor follow-through.
Spot Trap Exhaustion:
After a flush or low-volume fade, the first strong green/red DVOG bar can mark the institutional reclaim — the moment retail control ends.
Filter Noise:
Ignore standard volume spikes. DVOG only reacts when dollar ownership materially changes hands, not when small traders churn shares.
Customization
Setting Default Description
$500K Threshold 500,000 Lower limit for “Green” institutional attention.
$1M Threshold 1,000,000 Upper limit for “Red” heavy institutional control.
Show Alerts ✅ Enable or disable global alerts.
Alert on Green Bars ✅ Toggle only the $500K crossover alerts.
Adjust thresholds to match the liquidity of your preferred tickers — for example, micro-caps may use $100K/$300K, while large-caps might use $5M/$20M.
Reading the Output
Black baseline = Noise / retail chop.
First Green bar = Smart money starts building position.
Red bar(s) = Ownership shift confirmed — institutions active.
Flat-to-rising pattern in DVOG = Sustained accumulation; often aligns with strong trend continuation.
Summary
DVOG transforms raw volume into actionable context — showing you when capital, not hype, is moving.
It’s particularly effective for:
Momentum and breakout traders
Liquidity trap reclaims (Kuiper-style setups)
Identifying early ignition bars before halts
Confirming frontside strength in micro-caps
Use DVOG as your ownership radar — the visual cue for when the market stops being retail and starts being real.
AlphaFlow - Trend DetectorOVERVIEW
AlphaFlow identifies and tracks large volume moves by combining volume analysis, price impact measurement, and conviction scoring to separate significant institutional moves from normal trading activity. Rather than just flagging high volume, this indicator evaluates whether large trades actually moved the market and assigns conviction levels based on multiple confirmation factors.
WHAT MAKES THIS ORIGINAL
This is not simply a volume indicator or volume-weighted price tracker. The originality lies in the multi-factor conviction scoring system that evaluates whether large volume moves represent genuine institutional conviction or just noise.
Key Differentiators:
- Combines volume ratio AND price impact (volume alone doesn't mean conviction)
- Conviction scoring system that weighs trend alignment, follow-through, and volume persistence
- Cumulative flow tracking that shows persistent directional pressure over time
- Market regime detection (bullish/bearish/sideways) based on flow dynamics
- Tiered signal system (EXTREME/HIGH/MEDIUM conviction) rather than binary signals
This approach solves the problem of volume spikes that don't lead to meaningful price action, or price moves on low volume that don't persist.
HOW IT WORKS
1. Whale Detection Engine:
Volume Qualification: Compares current volume to a rolling average (default 50 bars). Whale activity requires volume to be at least 1.5x the average (adjustable).
Price Impact Requirement: Volume alone isn't enough. The bar must also show significant price movement (default 0.1% minimum). This filters out high-volume consolidation where no one is actually committed to direction.
Direction Identification: Bullish whale = close > open on high volume. Bearish whale = close < open on high volume.
2. Conviction Scoring System:
The indicator doesn't just flag whale activity - it evaluates conviction through multiple factors:
Base Conviction: Calculated from (volume_ratio × price_impact) / 10
This gives higher scores to moves with both exceptional volume AND large price swings.
Trend Alignment Bonus (1.5x multiplier): Whale moves aligned with the 20-period EMA trend receive higher conviction scores. Institutional money tends to accumulate with the trend, not against it.
Follow-Through Bonus (1.3x multiplier): After whale activity, does price continue in that direction over the next bars (default 3)? Genuine conviction shows persistence.
Volume Persistence (1.2x multiplier): Is elevated volume sustained over multiple bars, or is it a one-time spike? The 3-bar average volume ratio above 1.5x indicates sustained interest.
Conviction Levels:
- EXTREME: Score > 15 (large whale emoji labels, highest confidence)
- HIGH: Score > 8 (triangle signals, strong confidence)
- MEDIUM: Score > 3 (small triangles, moderate confidence)
- LOW: Score < 3 (not plotted to reduce noise)
3. Cumulative Flow Analysis:
Rather than treating each whale move in isolation, the indicator tracks cumulative flow using an EMA of whale activity. This reveals persistent directional pressure.
Flow Calculation: Each whale bar contributes (whale_strength × direction) to the flow. Strength is volume_ratio × price_impact_percent.
Flow Momentum: Rate of change in the cumulative flow (5-bar change)
Flow Acceleration: Second derivative (3-bar change of momentum)
These metrics reveal whether whale activity is accelerating, decelerating, or reversing.
4. Market Regime Detection:
Bullish Regime: Cumulative flow > 2 AND momentum positive
Bearish Regime: Cumulative flow < -2 AND momentum negative
Sideways Regime: Neither condition met
The background color reflects the current regime, helping traders understand the broader context.
5. Flow Strength Meter:
The main plot normalizes cumulative flow to a -100 to +100 scale based on the 100-bar range. This provides a consistent visual reference regardless of the asset or timeframe.
Extreme levels at ±50 indicate particularly strong directional flow where reversals or consolidation become more likely.
HOW TO USE IT
Settings Configuration:
Whale Detection Section:
- Volume Average Period (default 50): Shorter periods make detection more sensitive to recent volume changes. Longer periods require more exceptional volume to trigger.
- Whale Volume Multiplier (default 1.5): How much above average volume must be to qualify. Lower = more signals. Higher = only extreme moves.
- Minimum Price Impact (default 0.1%): Filters out high-volume bars that didn't actually move price. Adjust based on asset volatility.
Trend Analysis:
- Trend Strength Period (default 20): EMA period for trend alignment bonus
- Confirmation Bars (default 3): How many bars to check for follow-through
Visual Settings:
- Flow Strength Meter: Main plot showing normalized cumulative flow
- Conviction Labels: Detailed labels showing volume ratio and price impact on extreme/high conviction whales
- Trend Background: Color-coded regime indication
Signal Interpretation:
EXTREME Conviction (Whale Emoji Labels):
These are the highest confidence signals. Large volume with significant price impact, aligned with trend, showing follow-through. These often mark the beginning or continuation of strong moves.
HIGH Conviction (Large Triangles):
Strong signals meeting most criteria. Good for main entries or adding to positions.
MEDIUM Conviction (Small Triangles):
Whale activity present but with fewer confirmation factors. Use for partial positions or require additional confirmation.
Flow Strength Meter:
- Above zero and rising: Bullish flow building
- Below zero and falling: Bearish flow building
- Approaching ±50: Extreme readings, watch for exhaustion
- Crossing zero: Flow regime change
Dashboard Information:
The top-right table shows:
- Current regime (bullish/bearish/sideways)
- Flow strength value
- Last whale direction
- Conviction level of last whale
- Current volume ratio
- Flow momentum direction
- Indicator status
Trading Strategies:
Trend Following: Take EXTREME and HIGH conviction signals aligned with the flow meter direction. Enter when flow is positive and rising for bullish whales, negative and falling for bearish whales.
Regime-Based: Only trade in bullish/bearish regimes (colored backgrounds). Avoid trading in sideways regimes where whale moves tend to reverse quickly.
Flow Reversals: When flow meter crosses zero with EXTREME conviction whale in the new direction, this often marks regime changes.
Exhaustion Plays: When flow reaches ±50 extreme levels, watch for EXTREME conviction whales in the opposite direction as potential reversal signals.
TECHNICAL DETAILS
Volume Ratio = Current Volume / SMA(Volume, Period)
Price Impact % = ABS(Close - Open) / Open × 100
Whale Detected = (Volume Ratio >= Multiplier) AND (Price Impact >= Minimum)
Whale Direction = Close > Open ? 1 : -1
Base Conviction = (Volume Ratio × Price Impact %) / 10
Trend Alignment = Whale Direction == Trend Direction ? 1.5 : 1.0
Follow-Through = Price continues whale direction over N bars ? 1.3 : 1.0
Volume Persistence = SMA(Volume Ratio, 3) > 1.5 ? 1.2 : 1.0
Final Conviction = Base × Trend Alignment × Follow-Through × Volume Persistence
Whale Flow = Whale Detected ? (Volume Ratio × Price Impact × Direction) : 0
Cumulative Flow = EMA(Whale Flow, 20)
Flow Momentum = Change(Cumulative Flow, 5)
Flow Acceleration = Change(Momentum, 3)
Normalized Flow Strength = (Cumulative Flow / Highest(ABS(Cumulative Flow), 100)) × 100
WHAT THIS SOLVES
Common Volume Indicator Problems:
- Volume spikes that don't move price (consolidation noise)
- Price moves on low volume that quickly reverse
- No differentiation between strong and weak volume signals
- Treating all high-volume bars equally regardless of context
- No measure of whether volume represents conviction or panic
Whale Flow Solutions:
- Requires both volume AND price impact for signals
- Conviction scoring separates strong moves from weak ones
- Cumulative flow shows persistent pressure vs isolated spikes
- Trend alignment and follow-through filter low-quality signals
- Tiered system lets traders choose their confidence threshold
LIMITATIONS
- Cannot identify individual whales or attribute volume to specific entities
- High volume can come from many sources (whales, retail panic, algo activity)
- Works best on liquid assets with consistent volume patterns
- Less reliable on low-volume assets or during market closures
- Conviction scoring thresholds may need adjustment per asset/timeframe
- Does not predict future whale activity, only identifies it after bars close
- Flow can remain at extremes longer than expected during strong trends
- False signals can occur during news events or earnings
- Not a standalone trading system - requires risk management and other analysis
Best used in combination with price action, support/resistance, and broader market context.
EDUCATIONAL VALUE
For traders learning about:
- Volume analysis beyond simple volume indicators
- Multi-factor signal confirmation systems
- Market regime and flow concepts
- Conviction-based scoring methodologies
- Cumulative indicator design
- Normalized plotting for cross-asset comparison
- Pine Script table and dashboard creation
Not financial advice.
Dobrusky Volume PulseWhat it does & who it’s for
Volume Pulse is a lightweight, customizable volume profile overlay that shows traders how volume is distributed across price levels over a chosen lookback window. Unlike standard profiles, it also maps cumulative buy/sell pressure at each level, so you see not just where volume clustered, but which side dominated.
Core ideas
Cumulative volume by price: Builds a horizontal profile of traded volume at each level, based on user-defined depth and resolution.
Directional pressure mapping: At every price level, the script accumulates bullish vs. bearish volume based on candle closes vs. opens, providing a directional read on whether buyers or sellers had the upper hand.
POC: Automatically highlights the Point of Control (POC) — the level with the most activity.
Customizable presentation: Adjustable profile resolution, bar width, offset, colors, and whether to show cumulative, directional, or both.
How the components work together
The profile provides the “where,” while the buy/sell mapping adds the “who.” By combining these, traders can see whether a high-volume node was buyer-driven absorption or seller-driven distribution — a distinction classic profiles don’t reveal. This directional overlay reduces the guesswork of interpreting raw volume clusters.
How to use
Apply the overlay to your chart.
Watch the POC and areas of significant increase or decrease in volume (and pressure) as natural magnets or rejection areas.
When trading intraday, I've found that higher timeframe volume levels act as strong magnets. In the chart, you can see the volume levels I've drawn on the SPY daily chart. These levels are targets I use when trading the 5-minute chart.
Pay attention to color dominance at those zones — green-heavy nodes suggest buyer control; red-heavy nodes suggest seller control.
Combine with time-based volume tools and price-action for a more comprehensive trade plan.
Settings overview
Lookback depth: Number of bars used for profile calculation.
Profile resolution: Number of horizontal bars to split volume across price.
Bar style: Width, offset, and multiplier for scaling.
Toggle layers: Choose cumulative, directional, or both.
POC display: Optional highlight of the most traded level.
Limitations & best practices
This is a contextual overlay, not a trade-signal system.
Works best on liquid instruments (indices, futures, major stocks, liquid crypto) where volume distribution is meaningful.
Directional mapping uses candle body bias (close vs. open), not raw order flow. For full tape analysis, pair with actual order flow data.
Originality justification
Dual profile: combines cumulative volume-by-price and buyer/seller pressure per bin (close vs. open) — not a standard VP clone.
From-scratch binning + POC in a single pass for speed; no reused libraries.
Flexible display (cumulative / directional / both) with independent resolution, width, and offset for intraday or HTF use.
Clear visuals (optional POC, balanced node coloring) and open-source code so traders can audit and extend.
Volume Profile Two-Tone - Hit Counter - Meter V1 Volume Profile Two-Tone - Hit Counter - Meter V1
Overview
The Volume Profile Two-Tone - Hit Counter - Meter V1 is a Pine Script v6 indicator for TradingView, designed to visualize buy and sell activity distribution across price levels within a user-defined window or intraday session. It plots a dual-color horizontal histogram showing buying (green) and selling (red) volume intensity, along with optional hit-count numbers and meter overlays. The profile dynamically updates as new bars form, providing an intuitive picture of where market participants are most active.
The enhanced V1 edition introduces persistent hit counts, real-time adaptive row rebuilding, and improved memory management for smoother performance in both rolling-window and session modes.
How It Works
The indicator divides the selected range into rows (price bins) and aggregates trade volume (or tick volume) per bar.
Each bin separately sums up bullish and bearish contributions based on candle direction and delta logic, then draws side-by-side histogram bars:
• Buy Volume (green): Total volume from bullish bars within the bin.
• Sell Volume (red): Total volume from bearish bars within the bin.
A rolling or session-based window determines how many recent bars are analyzed. Value Area (VA), Point of Control (POC), and total hits per bin are computed continuously. The display auto-adjusts as price moves, keeping the profile anchored to the latest visible bars.
Behind the scenes, optimized arrays manage active boxes, lines, and labels for each bin. Functions like ensure_rows() rebuild buffers only when necessary, guaranteeing efficiency without repainting past data. Persistent hit-tracking ensures each price level maintains its count even when temporarily hidden.
Key Features
• Dual-Tone Volume Histogram: Buy/sell split with distinct colors for immediate visual contrast.
• Rolling or Session Profiles: Choose between continuous rolling windows or intraday session resets.
• Persistent Hit Counts: Displays total touches per bin, remaining stored even when bins refresh.
• Adaptive Row Management: Automatic rebuilding when zooming, scrolling, or changing resolution.
• Value Area + POC Detection: Highlights the most active price levels and volume concentration zones.
• Meter Overlay Option: Adds gradient bars or directional meters for quick trend context.
• Performance Optimized: Uses lightweight arrays and cached line handles for minimal CPU load.
• Custom Color Control: Editable buy/sell colors, opacity, row count, and profile width.
• Full Persistence Mode: Profiles remain visually consistent across bar updates without redraw gaps.
What It Displays
The Volume Profile Two-Tone - Hit Counter - Meter V1 presents an adaptive horizontal histogram beside the chart’s candles, revealing how volume is distributed across price.
• Green segments show dominant buying interest; red segments reveal selling pressure.
• POC line identifies the highest-volume price.
• Hit-count numbers quantify how often price traded at each level.
• Optional meters display relative directional strength within the same range.
This visual layering helps traders quickly identify supply/demand zones, balance areas, and developing auction profiles across intraday or multi-session contexts.
Originality
The Pine Script v6 indicator uses efficient array management (array.new_*, array.set, array.get) and native math operations for rendering.
It avoids external dependencies, relying only on built-in TradingView functions like request.security, box.new, line.new, and label.new for dynamic plotting.
Common Ways People Use It
• Scalpers: Study short-term imbalances or high-activity levels to time entries/exits.
• Day Traders: Track evolving session volume and POC migration.
• Swing Analysts: Compare rolling distributions to identify value shifts over multiple days.
• Volume Profilers: Combine with VWAP or order-flow tools for deeper context.
Configuration Notes
Profile Mode: Select Rolling Window (bars) or Session (intraday).
Rows and Width: Default = 72 rows, 44 bars width.
Colors and Opacity: Adjust to match chart theme.
Performance Mode: Choose Accurate or Fast (approximate) for speed control.
Show Hits / Meter: Enable hit-count numbers and gradient meters for added context.
Legal Disclaimer
For informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves significant risk. Provided “as is,” without warranties. Consult a qualified professional before making decisions. By using, you accept all risks and agree to this disclaimer.
Total Info Indicator by MikePenzin
Install & Add to Chart
• Copy the script into Pine Editor → click Add to Chart .
• Open the ⚙️ Settings → Inputs to customize.
What It Does
• Displays key info in a floating table — trend, volume, ATR, RSI, stop loss, and more.
• Detects breakouts , smart SELL signals , and opening strength .
• Uses emojis and colours to make trends easy to read: 🟢 good, 🟡 neutral, 🔴 risky.
For Swing Traders
• Works best on Daily or 4H charts.
• Watch for 🟢 Uptrend + ⚡BUY / 🔥BUY breakout signals.
• Use ATR-based Stop Loss (shown in table).
• Avoid new entries a few days before earnings.
Suggested Setup
• 20/50/150 MA Lines: ON
• 200 MA Line: optional
• ATR Multiplier: 1.3
• Breakout Detection: ON (Volume + RSI + Trend filters)
• Smart SELLs: ON (RSI 70, EMA 20)
• Pivots: ON for quick swing levels
How to Read
• MA Row: 🟢 = price above MA (bullish).
• ATR/Stop Loss: Suggests where to place protective stop.
• Volume Info: Today’s vs 20-day average, plus pace.
• RSI & CCI: Shows momentum and overbought/oversold levels.
• Breakouts: ⚡BUY (early), 🔥BUY (confirmed).
• Smart SELLs: RSI🔴 / DIV🟣 / EMA🔵 mean potential exit zones.
Example Use
1️⃣ Find stocks with Uptrend 🟢 , rising volume, and ⚡BUY signal.
2️⃣ Enter near breakout; set Stop = shown level.
3️⃣ Take profits or trail when Smart SELLs appear or RSI peaks.
Tips
• Choose table corner under “Table Visualization.”
• Reduce clutter on small timeframes (turn off Pivots/200 MA).
• Use “Volume speed” to spot surging interest before breakouts.
• Compatible with most equities and ETFs.
Disclaimer
This script is for education & analysis only .
Not financial advice — always manage your own risk.






















