Cumulative Delta Difference HistogramINTRODUCTION:
This "Cumulative Delta Difference Histogram" is a volume-based indicator that calculates the difference (delta) between aggressive buying volume and selling volume for each candle and then builds a cumulative momentum histogram with the following behavior:
Momentum Tracking: The indicator accumulates the delta values when the delta is positive and increasing, producing green bars whose height visually represents growing buying pressure momentum.
Negative Momentum Detection: When the delta becomes negative or starts to decline, the histogram bars turn red and the accumulation decreases, effectively showing increasing selling pressure momentum.
Directional Reset: On each change from positive to negative delta momentum or vice versa, the accumulator resets to zero, providing a clear and sharp visualization of shifts without persistence from previous trends.
Zero Reference Line: A horizontal zero line serves as a visual baseline to distinguish positive from negative momentum easily.
HOW TO USE:
To trade effectively using the "Cumulative Delta Difference Histogram," you compare the price action chart with the indicator to confirm momentum and detect potential reversals or continuations. Here's how to do it in practice:
Confirming Trends:
When the price is rising, look for the histogram bars to be green and increasing, indicating strong and growing buying pressure supporting the uptrend. If price rises but the histogram shows diminishing green bars or shifts to red, it could signal weakening momentum and a potential reversal.
Identifying Divergences:
Compare price highs/lows with histogram peaks. If price makes a new high but the histogram fails to make a corresponding new high (bearish divergence), it warns of a possible trend reversal. Conversely, if price makes a new low but histogram shows higher lows (bullish divergence), it signals potential bullish reversal.
Volume Confirmation:
The histogram reflects real-time volume aggression behind price moves. Confirmation of price breakouts or breakdowns by corresponding strong histogram colors and bar height increases adds reliability to signals.
By aligning price patterns and levels with the cumulative delta histogram's signals, traders gain a deeper understanding of market strength and better timing for trades.
This combined approach improves the accuracy of entries and exits beyond relying on price alone, especially in markets sensitive to order flow and volume dynamics.
Use this indicator with a default volume or with my other indicator "Agression Histogram" for a better reading.
Volumeanalysis
POC Volume Bar (Highest Volume in Range)What the highlighted POC bar means
🔶 1. Institutional interest
A POC often identifies where big money stepped in.
🔶 2. Support or resistance pivot
Large volume often signals:
• A reversal
• A breakout
• Or the beginning of a trend
🔶 3. Liquidity magnet
Price tends to revisit high-volume bars.
They act like magnets.
🔶 4. Trend confirmation or exhaustion
High volume on:
• Green candle → bullish participation
• Red candle → distribution / aggressive selling
Trading Range Aggression Histogram
This indicator is a histogram that accumulates the net volume of aggressive buying and selling per candle, representing the dominant market pressure within defined time-frame.
The indicator works by continuously summing volumes as long as the aggression remains in the same direction, resetting and reversing the accumulation when the pressure changes sides.
This creates visual waves that facilitate the perception of phases dominated by buyers and sellers over time. The tool is useful to identify moments of strength, weakness, and potential reversals in a dynamic market, especially in short-term trading.
Screener (SSA) [AlgoAlpha]🟠 OVERVIEW
This script is a multi-symbol screener that serves as a dashboard companion to the "Smart Signals Assistant (SSA)" indicator. Its purpose is to monitor the entire suite of SSA components—from the core signals to all confluence tools—across a customizable watchlist of up to 18 assets. By displaying the real-time status of each indicator in a single table, it allows traders to get a bird's-eye view of the market, quickly identify assets with strong trend confluence, and filter for high-probability setups without needing to switch charts.
The screener is designed to mirror the modularity of the main SSA indicator, allowing you to enable or disable components in the table to match your preferred trading dashboard.
🟠 CONCEPTS
The screener is built directly on the analytical framework of the Smart Signals Assistant, applying its complex, proprietary algorithms to each symbol in your watchlist and summarizing the results. The combination of these different analytical concepts is what gives the screener its utility, as it helps traders find opportunities where multiple, distinct strategies align.
Each column in the table represents a core trading concept:
Smart Signals: This is the primary signal engine, designed to identify potential entry points. It operates in different modes to capture both long-term swings and faster scalping opportunities.
Fair Value Trail (FVT): This component provides a dynamic, volatility-adjusted baseline for the trend. It acts as a form of dynamic support or resistance, helping to confirm the validity of a trend shown by the Smart Signals.
Trend Spine: This tool is designed to identify the underlying "backbone" of the market's trend. It filters out short-term price noise to provide a more stable, clear indication of the dominant market direction.
Trend Bias: This measures the strength and conviction behind a trend. It helps distinguish between a strong, accelerating move and a weak, decelerating one, adding a layer of momentum analysis.
Firmament Clouds: These are volatility-based bands that create dynamic overbought and oversold zones. They help identify when price is potentially overextended and due for a pullback or consolidation.
Trend-Range Classifier (TRC): A machine-learning model that analyzes market characteristics to classify the current environment as either "Trending" or "Ranging." This is crucial for helping traders apply the right strategy for the current conditions.
🟠 FEATURES
This screener organizes the complex data from the SSA indicator into a simple, color-coded table. Here is a breakdown of each column and its possible values:
Asset: Displays the ticker symbol for the asset being analyzed.
Smart Signals: Shows the latest signal from the core engine.
▲: A standard bullish signal has been detected.
▼: A standard bearish signal has been detected.
▲+: A strong bullish signal with higher conviction has been detected.
▼+: A strong bearish signal with higher conviction has been detected.
Fair Value Trail: Indicates the trend direction based on the volatility trail.
▲: The FVT is in a bullish trend (acting as dynamic support).
▼: The FVT is in a bearish trend (acting as dynamic resistance).
Trend Spine: Shows the direction of the core underlying trend.
▲: The underlying trend backbone is bullish.
▼: The underlying trend backbone is bearish.
Trend Bias: Measures the current momentum strength.
Strong▲: Strong and accelerating bullish momentum.
Weak▲: Bullish momentum exists but is weakening.
Strong▼: Strong and accelerating bearish momentum.
Weak▼: Bearish momentum exists but is weakening.
Firmament Clouds: Identifies overbought/oversold conditions relative to volatility.
Very Overbought / Overbought: Price is significantly extended above its recent range.
Very Oversold / Oversold: Price is significantly extended below its recent range.
Neutral: Price is trading within its normal volatility range.
Trend-Range Classifier: Displays the market state as determined by the ML model.
Trend: The market is in a trending environment, suitable for trend-following strategies.
Range: The market is in a ranging or consolidating environment, suitable for mean-reversion strategies.
Exit Signal Count: Tracks the number of take-profit signals that have occurred since the last primary Smart Signal.
0, 1, 2, 3...: A numerical count of exit signals. A higher number suggests a trend may be maturing or exhausting.
🟠 USAGE
The main purpose of the screener is to quickly identify assets where multiple components of the SSA system are in alignment, indicating a high-confluence trading opportunity.
1. Setup and Configuration:
Add the screener to your chart.
Go into the settings and populate the "Watchlist" group with the symbols you wish to monitor.
Ensure the settings for the components (Time Horizon, Signal Mode, etc.) are synchronized with the settings on your main SSA indicator for consistency.
2. Interpreting the Columns for Trading Decisions:
Start with the Big Picture (TRC): First, look at the "Trend-Range Classifier" column. If it shows "Trend," you should be looking for trend-following setups. If it shows "Range," you might avoid taking strong trend signals.
Establish Directional Bias (Spine & Bias): For trend-following, look for assets where the "Trend Spine" and "Trend Bias" agree. A "▲" in the Spine column combined with a "Strong▲" in the Bias column indicates a healthy and robust uptrend.
Time Your Entry (Smart Signals): Once you have an asset with a clear bias, watch the "Smart Signals" column for a fresh signal that aligns with that bias. A "▲+" signal appearing in an asset with a strong bullish bias across other columns is a high-confluence entry point.
Add Context (FVT & Clouds): Use the "Fair Value Trail" and "Firmament Clouds" to refine your entry. A buy signal is generally stronger if the FVT is also bullish ("▲") and the price is not in a "Very Overbought" state according to the clouds.
Manage the Trade (Exit Count): After entering a trade, keep an eye on the "Exit Signal Count." As the number increases, it serves as a warning that the trend is becoming extended and it might be time to take partial profits or tighten your stop-loss.
Script pago
Smarter Money Volume Rejection Blocks [PhenLabs]📊 Smarter Money Volume Rejection Blocks – Institutional Rejection Zone Detection
The Smarter Money Volume Rejection Blocks indicator combines high-volume analysis with statistical confidence intervals to identify where institutional traders are actively defending price levels through volume spikes and rejection patterns.
🔥 Core Methodology
Volume Spike Detection analyzes when current volume exceeds moving average by configurable multipliers (1.0-5.0x) to identify institutional activity
Rejection Candle Analysis uses dual-ratio system measuring wick percentage (30-90%) and maximum body ratio (10-60%) to confirm genuine rejections
Statistical Confidence Channels create three-level zones (upper, center, lower) based on ATR or Standard Deviation calculations
Smart Invalidation Logic automatically clears zones when price significantly breaches confidence levels to maintain relevance
Dynamic Channel Projection extends confidence intervals forward up to 200 bars with customizable length
Support Zone Identification detects bullish rejections where smart money absorbs selling pressure with high volume and strong lower wicks
Resistance Zone Mapping identifies bearish rejections where institutions defend price levels with volume spikes and pronounced upper wicks
Visual Information Dashboard displays real-time status table showing volume spike conditions and active support/resistance zones
⚙️ Technical Configuration
Dual Confidence Interval Methods: Choose between ATR-Based for trend-following environments or StdDev-Based for range-bound statistical precision
Volume Moving Average: Configurable period (default 20) for baseline volume comparison calculations
Volume Spike Multiplier: Adjustable threshold from 1.0 to 5.0 times average volume to filter institutional activity
Rejection Wick Percentage: Set minimum wick size from 30% to 90% of candle range for valid rejection detection
Maximum Body Ratio: Configure body-to-range ratio from 10% to 60% to ensure genuine rejection structures
Confidence Multiplier: Statistical multiplier (default 1.96) for 95% confidence interval calculations
Channel Projection Length: Extend confidence zones forward from 10 to 200 bars for anticipatory analysis
ATR Period: Customize Average True Range lookback from 5 to 50 bars for volatility-based calculations
StdDev Period: Adjust Standard Deviation period from 10 to 100 bars for statistical precision
🎯 Real-World Trading Applications
Identify high-probability support zones where institutional buyers have historically defended price with significant volume
Map resistance levels where smart money sellers consistently reject higher prices with volume confirmation
Combine with price action analysis to confirm breakout validity when price approaches confidence channel boundaries
Use invalidation signals to exit positions when smart money zones are definitively breached
Monitor the real-time dashboard to quickly assess current market structure and active rejection zones
Adapt strategy based on calculation method: ATR for trending markets, StdDev for ranging conditions
Set alerts on confidence level breaches to catch potential trend reversals or continuation patterns
📈 Visual Interpretation Guide
Green Zones indicate bullish rejection blocks where buyers defended with high volume and lower wicks
Red Zones indicate bearish rejection blocks where sellers defended with high volume and upper wicks
Solid Center Lines represent the core rejection price level where maximum volume activity occurred
Dashed Confidence Boundaries show upper and lower statistical limits based on volatility calculations
Zone Opacity decreases as channels extend forward to indicate decreasing confidence over time
Dashboard Color Coding provides instant visual feedback on active volume spike and zone conditions
⚠️ Important Considerations
Volume-based indicators identify historical rejection zones but cannot predict future price action with certainty
Market conditions change rapidly and institutional activity patterns evolve continuously
High volume does not guarantee level defense as market structure can shift without warning
Confidence intervals represent statistical probabilities, not guaranteed price boundaries
Volume HeatMap Divergence [BigBeluga]🔵 OVERVIEW
The Volume HeatMap Divergence is a smart volume visualization tool that overlays normalized volume data directly on the chart. Using a color heatmap from aqua to red, it transforms raw volume into an intuitive scale — highlighting areas of weak to intense market participation. Additionally, it detects volume-based divergences from price to signal potential reversals or exhaustion zones. Combined with clear visual labeling, this tool empowers traders with actionable volume insights.
🔵 CONCEPTS
Normalized Volume Heatmap : Volume is normalized to a 0–100% scale and visually represented as candles below the chart.
float vol = volume / ta.percentile_nearest_rank(volume, 1000, 100) * 100
Bar Coloring : Price candles are dynamically colored based on volume intensity.
Volume Divergence Logic :
Bullish Divergence : Price forms a lower low, but volume forms a higher low.
Bearish Divergence : Price forms a higher high, but volume forms a lower high.
Dynamic Detection Range : Customizable range ensures divergence signals are meaningful and not random.
Volume Labels : Additional info on divergence bars shows both the actual volume and its normalized % score.
🔵 FEATURES
Volume Heatmap Plot : Normalized volume values colored using a smooth gradient from aqua (low) to red (high).
Price Bar Coloring : Candlesticks on the main chart adopt the same heatmap color based on volume.
Divergence Detection :
Bullish divergence with label and low marker
Bearish divergence with label and high marker
Dual Divergence Labels :
On the volume plot : Direction (Bull/Bear), raw volume, and normalized %
On the price chart : Shape labels showing "Bull" or "Bear" at local highs/lows
Custom Inputs :
Divergence range (min & max), pivot detection distance (left/right)
Toggle to show/hide divergence labels, volume, and % text
Clear Bull/Bear Coloring : Fully customizable label and line colors for both bullish and bearish signals.
🔵 HOW TO USE
Use the indicator as an overlay to monitor real-time volume strength using the heatmap color.
Watch for divergence markers:
Bullish divergence: Candle shows higher volume while price makes a new low
Bearish divergence: Candle shows lower volume while price makes a new high
Use the volume info labels to verify the context of divergence:
Actual volume at divergence candle
Normalized % of that volume compared to past 1000 bars
Adjust pivot sensitivity using "Pivot Left" and "Pivot Right" to tune signal frequency and lag with a right pivot length.
Use divergence zones as early warnings for potential reversals or trend shifts.
Disable or customize labels in settings depending on your charting preferences.
🔵 CONCLUSION
Volume HeatMap Divergence merges heatmap-style volume visualization with intelligent divergence detection — giving traders a clean yet powerful edge. By revealing hidden disconnections between price and participation, it helps users spot exhaustion moves or hidden accumulation zones before the market reacts. Whether you’re a scalper, swing trader, or intraday strategist, this tool offers real-time clarity on who’s in control behind the candles.
Cumulative Delta_Effort vs Result_immy**Cumulative Delta Oscillator\_effort**
This script creates a “Cumulative Delta Effort vs Result” oscillator, a custom indicator designed to measure the balance between buying and selling pressure (Effort) versus actual price movement (Result).
**How It Works**
Delta Volume: Measures aggressive buying vs selling per candle.
Cumulative Delta: Tracks net buying/selling pressure over time.
Effort vs Result: Compares volume delta (effort) to price movement (result).
Oscillator: Highlights divergence between effort and result, useful for spotting absorption (high effort, low result) and exhaustion (low effort, high result).
Histogram: Visual cue for accumulation/distribution zones.
----------------------------
This indicator combines volume delta (effort) and price movement (result), so it tells you how efficiently volume is moving price — a concept sometimes called effort vs. result analysis in Wyckoff or volume–spread analysis (VSA).
🔍 Concept Summary
Effort (delta volume) = how much buying/selling pressure is there (volume side).
Result (price change) = how much that effort moves price (price side).
Oscillator (Effort − Result) = how much “extra” effort is not producing movement — often showing absorption or exhaustion.
📈 How to Interpret the Signals
1\. Oscillator above Signal line → Bullish Momentum
When osc > signal, histogram turns green.
Means buying effort is stronger than price reaction — often early sign of accumulation or rising demand.
This can signal:
Possible bullish continuation if confirmed by rising prices.
Or early absorption if prices aren’t yet breaking out (smart money absorbing supply).
✅ Bullish Entry Signal:
When the oscillator crosses above the signal line (green cross) and price is near support or consolidating → potential long setup.
2\. Oscillator below Signal line → Bearish Momentum
When osc < signal, histogram turns red.
Selling effort dominates; can mean increasing supply or price exhaustion.
This often appears before:
Bearish continuation (trend strengthening)
Or upthrust/exhaustion (price rising on weak volume)
❌ Bearish Entry Signal:
When the oscillator crosses below the signal line (red cross), especially if near resistance → potential short setup.
3\. Crossovers
The alert is triggered when: ta.cross(osc, signal)
That means:
Bullish crossover: oscillator line crosses above signal → potential buy momentum shift.
Bearish crossover: oscillator line crosses below signal → potential sell momentum shift.
These work like MACD crossovers, but volume-adjusted.
4\. Zero Line
The zero line is the neutral point.
When osc crosses above zero, overall buying effort exceeds price change — market gaining strength.
When osc crosses below zero, selling pressure increases — market weakening.
→ Combining signal line crosses with zero-line crosses gives stronger confirmation.
5\. Histogram Analysis (Absorption \& Exhaustion)**
Tall green bars: rising momentum (buyers dominate)
Tall red bars: falling momentum (sellers dominate)
Shrinking bars: momentum fading — possible reversal zone.
If volume increases but price stalls, oscillator may spike while price stays flat — absorption (big players taking the opposite side).
If price surges but oscillator weakens, exhaustion — move running out of volume support.
------------------------------------------------------------------------
🧠 Practical Strategy Example
Situation What It Might Mean Possible Action
Oscillator crosses above signal near support Buyer effort increasing, price may rise Go long / close shorts
Oscillator crosses below signal near resistance Seller effort rising, price may drop Go short / take profits
Oscillator high but price flat Absorption (big players absorbing supply) Wait for breakout confirmation
Oscillator low but price flat Absorption (demand absorbing supply) Look for bullish reversal
Oscillator diverges from price Volume–price divergence Early warning of reversal
⚙️ Best Practice
Works best on volume-sensitive assets (futures, crypto, forex tick data).
**Combine with:**
Price structure (support/resistance)
Volume profile / delta footprint
Candle confirmation
We’ll go through both bullish and bearish examples so you can see how to trade with it in real market context.
---------------------------------------------------------------------------------
🟩 Example 1 — Bullish Setup (Long Trade)
Step 1. Context: Identify Potential Support Zone
Before relying on any indicator, find support using:
Previous swing low
Demand zone
VWAP / volume profile node
Trendline or moving average
👉 You’re looking for a place where buyers might step in.
Step 2. Wait for Oscillator Signal
Watch the oscillator panel:
The oscillator (green line) has been below the signal line (orange) → bearish phase.
Then it crosses above the signal line and the histogram turns green.
This means:
➡️ Buying “effort” is increasing faster than price reaction — momentum shift upward.
Step 3. Confirm with Price
On your chart:
Candle closes above short-term resistance or above previous candle high
Ideally volume confirms (green candle with increasing volume)
✅ Bullish Entry Condition
osc crosses above signal
price closes above local resistance
Step 4. Entry \& Stop
Entry: Next candle open after confirmation cross
Stop-loss: Below recent swing low or support zone
Take profit:
2R or 3R target
or near next resistance level
🧠 Optional filter: Only take the trade if oscillator is rising from below zero (coming out of weakness).
Step 5. Manage Trade
If oscillator flattens or starts curling down → tighten stop
If it crosses below the signal again → consider exit
Example Interpretation:
Oscillator crosses above signal from -200 to +100, histogram turns green, price breaks a resistance line → strong bullish reversal → enter long.
🟥 Example 2 — Bearish Setup (Short Trade)
Step 1. Context: Find Resistance
Look for: Prior swing high
Supply zone
Major moving average
Trendline top
Step 2. Wait for Oscillator Cross Down
The oscillator (green) crosses below the signal line (orange).
Histogram turns red.
This means:
➡️ Selling effort is rising relative to price movement — bearish pressure.
Step 3. Confirm with Price
Price fails to make higher highs, or
Forms a bearish engulfing candle near resistance.
✅ Bearish Entry Condition
osc crosses below signal
price confirms with bearish candle
Step 4. Entry \& Stop
Entry: On next candle open
Stop-loss: Above resistance or recent swing high
Take profit: 2R or more or at next major support
Step 5. Exit on Opposite Signal
If oscillator crosses back above signal → momentum shift → exit short.
⚙️ Pro Tips
Tip Why It Matters
Use on 15m–4H+ charts More reliable delta signal
Combine with volume or OBV Confirms “effort” strength
Watch divergences Early reversals
Align with higher timeframe trend Avoid countertrend traps
-------------------------------------------------------------------------------------------------
🧩 Quick Checklist
Step Condition Action
1 Identify zone (support/resistance) Mark area
2 Oscillator crossover Prepare order
3 Candle confirmation Enter
4 Stop-loss \& target Manage risk
5 Opposite cross Exit
Please follow and like if you appreciate my work. thank you.
Liquidation Reversal Signals [AlgoAlpha]🟠 OVERVIEW
This tool detects potential liquidation-driven reversals by combining z-score analysis of up/down volume with the classic Supertrend. It watches for abnormal surges in directional volume (on a lower timeframe) and links them to trend flips on the main chart. When both align within a short window, it flags a probable reversal caused by forced liquidations. The goal is to help traders identify exhaustion points where aggressive liquidation moves may mark the end of a trend leg.
🟠 CONCEPTS
The logic revolves around Z-score normalization of up and down volume to locate statistical extremes. When up-volume z-scores exceed a threshold during a bearish Supertrend, it implies trapped shorts being squeezed; the opposite applies for long liquidations. The script tracks these liquidation spikes and monitors whether a Supertrend regime change follows soon after. If confirmed within the allowed timeout, a colored signal marks the event.
In essence:
Z-score outliers = potential forced liquidations.
Supertrend = structural regime context.
Combined = statistically confirmed reversal signals, not random flips.
This pairing reduces false positives by ensuring that both volatility structure and order-flow extremes agree before flagging a reversal.
🟠 FEATURES
Z-score detection for liquidation spikes with adjustable lookback and threshold.
Confirmation logic linking liquidations to Supertrend flips.
Alerts for liquidation spikes and confirmed reversal starts.
On-chart “No Volume” warning to avoid misreads on illiquid assets.
🟠 USAGE
Setup : Add the script to your main chart. Choose a lower timeframe (default 15m) to capture more granular liquidation flows. Adjust Z-Score Length to control how far back the script measures normal behavior and Threshold to decide what counts as extreme. Keep Timeout Bars low (e.g. 20–50) for faster reversals, or higher for slower markets.
Read the chart :
• Circles appear below bars when long liquidations occur; above bars for short liquidations.
• A Supertrend flip with a recent liquidation spike will display an arrow and color shift.
• Fills between candles and trend lines show which side dominates: green for bullish reversal, red for bearish.
• Candle color fades based on the magnitude of liquidation pressure.
Settings that matter :
• Z-Score Length : Longer smooths noise but delays signal; shorter reacts faster.
• Z-Score Threshold : Higher means only extreme liquidations trigger; lower finds smaller squeezes.
• Timeout Bars : Defines how long after a liquidation the Supertrend flip remains valid.
• Lower Timeframe : Determines the precision of volume readings; too low may increase noise.
STWP Unified EMA Band (HLC Fusion – Crossover Enhanced Edition)🧠 STWP Unified EMA Band (HLC Fusion – Crossover Enhanced Edition)
Author: simpletradewithpatience (STWP)
Markets: Equities, Indices & Futures
Best Timeframes: 5-min to 1-hour (Daily TF optional for broader trend observation)
Built With: Pine Script v5
A structured, educational EMA fusion framework designed to help traders visually study trend transitions, slope behavior, and volume-based momentum shifts.
📌 Overview
The STWP Unified EMA Band merges High–Low–Close fusion logic with crossover detection and volume context to offer a clear visual understanding of trend behavior.
It is designed for traders who want to observe trend transitions, analyze momentum health, and study how volume supports or contradicts directional bias.
Internally, it uses an optimized EMA 9–21 fusion structure to identify directional shifts with precision and stability — a balance developed through the STWP methodology for consistent, unbiased trend evaluation.
This enhanced edition introduces a Crossover Engine for smoother transitions, adaptive band coloring, and a real-time educational dashboard that provides instant feedback on trend and volume strength.
📸 Chart Previews (Educational Examples)
1️⃣ Bullish Momentum Phase
🔗
📈 A bullish crossover where the fast EMA overtakes the slow EMA.
Observe the slope steepening and the dashboard confirming trend expansion.
2️⃣ Bearish Momentum Phase
🔗
📉 Displays a bearish crossover with slope weakening and band compression.
The dashboard highlights a transition to bearish bias with corresponding volume context.
⚠️ Snapshots are for educational reference only — not trading signals or recommendations.
📌 Key Features
✅ Dual EMA Band using High–Low–Close fusion logic
✅ Dynamic bullish/bearish band coloring
✅ Mid-band slope indicator with momentum feedback
✅ Volume strength classification (Strong / Moderate / Weak)
✅ Contextual crossover labels with real-time commentary
✅ Auto-removable exit labels for clean visualization
✅ Built-in educational STWP Dashboard (trend, slope, and volume insights)
✅ User-customizable color palette and toggles
✅ Compatible across intraday and swing setups
📊 STWP Dashboard Summary
A compact real-time data panel offering:
📈 Trend Status: Bullish / Bearish / Neutral
📊 Volume Condition: Strong / Moderate / Low
📉 Slope Direction: Rising / Falling / Flat
🕓 Last Signal Info: Timestamp, price, and strength context
The dashboard helps users learn how volume, slope, and structure interact dynamically during different market phases.
💡 Educational Use Cases
This tool is ideal for traders who want to:
Study momentum evolution through moving averages
Understand EMA slope and compression behavior
Observe how volume validates or contradicts trend strength
Build structured, observation-based learning habits
Develop discipline in recognizing trend exhaustion zones
It is meant as a visual study framework, not as a trading signal generator.
⚙️ Customization Options
Toggle crossover triangles and labels
Optional exit markers (auto-hide after signal)
Show or hide trend background shading
Customizable color settings for each phase
Enable or disable dashboard view
📆 Best Practice for Use
1️⃣ Apply to liquid assets or major indices for reliable band behavior.
2️⃣ Use primarily on 5-min to 1-hour charts to study intraday transitions clearly.
3️⃣ Optionally view on the Daily TF to understand higher-structure slope alignment and long-term trend health.
4️⃣ Observe how slope, band color, and volume interact during trend acceleration and contraction.
5️⃣ Treat dashboard readings as educational context, not trading triggers.
6️⃣ Combine with price structure, volume profile, or demand–supply zones for deeper observation.
⚠️ Important Notes
✅ Designed purely for learning and educational exploration
✅ No trading automation or signal generation included
✅ Does not provide entries, exits, or investment advice
✅ Built to promote structured observation and discipline in analysis
❌ Avoid using on higher timeframes for rapid setups — bands adjust slower there
📐 Glossary
EMA – Exponential Moving Average
HLC – High, Low, Close
Slope – Directional gradient of the mid-band
Volume Ratio – Current volume ÷ 20-bar average
Crossover – Fast EMA crossing Slow EMA
STWP – Simple Trade With Patience
💬 Philosophy Behind the Tool
Developed under the STWP methodology — Simple Trade With Patience — this indicator encourages traders to focus on learning the rhythm of the market, not chasing trades.
Every color, label, and slope change is designed to help users see what price action is communicating rather than predict outcomes.
⚠️ Disclaimer
This indicator is created solely for educational and informational purposes.
It does not constitute financial advice, a trading signal, or an investment recommendation.
Trading involves significant risk and may not be suitable for all participants.
Always consult a SEBI-registered financial advisor or licensed professional before making trading or investment decisions.
The author is not liable for financial loss resulting from the use or interpretation of this script.
By using this tool, you acknowledge and accept these terms.
🤝 Final Note
Built with precision and patience by simpletradewithpatience (STWP) — for traders who value structured learning and objective analysis.
Observe deeply. Learn continuously. Trade with discipline.
📈 Trade Less. Learn More. Let Patience Work for You.
🔒 Script Protection Note
This script is published under Protected visibility to maintain data integrity and prevent unauthorized modification.
The logic remains fully usable for all users while keeping the internal code structure secure — ensuring a safe, stable, and educational experience for everyone.
Bubbles VolumeBubbles Volume Indicator
Overview
The Bubbles Volume Indicator is an advanced volume visualization tool that transforms traditional volume analysis into an intuitive, visual experience. By representing volume as dynamically-sized bubbles directly on your price chart, this indicator helps traders quickly identify significant volume events, potential support/resistance levels, and shifts in market sentiment.
Key Features
🔵 Visual Volume Representation
Displays volume as circular bubbles at the midpoint of each candle
Bubble size scales proportionally to volume significance
Instant visual identification of unusual volume activity
Clean, uncluttered chart presentation
📊 Dual Volume Modes
Total Volume Mode: Displays complete trading volume for each bar
Volume Delta Mode: Shows the difference between buying and selling pressure, helping identify market direction and strength
🎨 Advanced Coloring Systems
Simple Mode: Clear green/red coloring for buy/sell pressure
HeatMap Mode: Gradient coloring that intensifies with volume strength, providing instant visual feedback on volume intensity
📍 Significant Level Detection
Automatically identifies and marks price levels with exceptional volume
These levels often act as future support or resistance zones
Historical volume levels remain visible for reference
How to Use
For Day Traders
Identify volume climaxes that may signal reversals
Spot accumulation/distribution patterns through Volume Delta
Confirm breakouts with significant volume bubbles
For Swing Traders
Mark important support/resistance levels based on historical high-volume areas
Identify institutional activity through unusual volume patterns
Validate trend strength using volume confirmation
For Scalpers
Quick visual identification of liquidity pockets
Real-time volume delta for order flow analysis
Filter out low-volume noise with minimum contract settings
Parameter Settings
Volume Settings
Volume Type
Total Volume: Shows all traded volume for each bar - ideal for general volume analysis
Volume Delta: Displays the difference between buying and selling pressure - perfect for order flow analysis
Minimum Contracts
Filters out bubbles below a specified volume threshold
Set to 0 to disable filtering
Helps remove noise during low-volume periods
For Volume Delta: Filters based on absolute delta value
Bubble Display
Show Bubbles
Toggle the visibility of volume bubbles on/off
Bubbles appear at the middle price point (HL2) of each bar
Threshold
Statistical threshold measured in standard deviations
Controls sensitivity of volume significance detection:
1.0 = Shows top ~32% of volumes (more bubbles, common events)
2.0 = Shows top ~5% of volumes (significant events)
3.0 = Shows top ~0.3% of volumes (rare, extreme events)
Higher values display only the most significant volume spikes
HeatMap
OFF: Simple coloring scheme (green for buying, red for selling in Delta mode)
ON: Gradient coloring that intensifies with volume strength
Provides additional visual dimension to volume analysis
Volume Levels
Significant Levels
Draws horizontal lines at price levels where extreme volume occurred
Volume must exceed 3x the threshold setting to qualify
These levels often become important support/resistance zones
Levels Qty
Maximum number of significant volume level lines to display
Older lines are automatically removed when limit is exceeded
Keeps chart clean while maintaining relevant historical levels
Visual Indicators
Bubble Sizes (in order of significance)
Tiny: Minimal volume above baseline
Small: Low significant volume
Normal: Moderate volume activity
Medium: Above-average volume
Large: High volume activity
Huge: Exceptional volume
Labeled: Extreme volume with numeric display
Color Coding
Green: Buying pressure (in Volume Delta mode) or rising prices
Red: Selling pressure (in Volume Delta mode) or falling prices
Gradient Intensity: Stronger colors indicate higher relative volume
Information Display
The indicator includes a real-time information table showing:
Current operating mode (Total Volume or Volume Delta)
Live delta values with directional arrows (in Volume Delta mode)
Active minimum contracts filter setting
Best Practices
Start with default settings to familiarize yourself with the indicator
Adjust threshold based on your trading timeframe (lower for scalping, higher for position trading)
Use Volume Delta mode when analyzing order flow and market sentiment
Enable Significant Levels for swing trading to identify key support/resistance
Apply Minimum Contracts filter to reduce noise in low-volume markets
Technical Notes
The indicator requires volume data to function (not available on all symbols)
Volume Delta calculations use intrabar data for enhanced accuracy
Historical significant levels are preserved for technical analysis
Optimized for both light and dark chart themes
Trading Applications
Breakout Confirmation: Large bubbles during breakouts confirm strength
Reversal Detection: Extreme volume at tops/bottoms may signal reversals
Trend Analysis: Increasing bubble sizes confirm trend strength
Support/Resistance: High-volume levels often become future pivots
Order Flow: Volume Delta reveals real-time buying/selling pressure
Delta Money Flow IndexThe Delta Money Flow Index is a modified version of the traditional Money Flow Index that uses directional volume instead of total volume to measure buying and selling pressure in a different way.
It helps traders identify overbought/oversold conditions based on actual buy/sell pressure rather than just total volume. It's designed for traders who want to see if price movements are backed by genuine buying or selling activity.
How to use it:
- Values above 80 indicate overbought conditions
- Values below 20 indicate oversold conditions
- The 50 level acts as a neutral zone. Above suggests buyers are in control, below suggests sellers are in control.
- Traders can check for divergences for potential reversal signals
- Works best on intraday timeframes where delta volume is most meaningful
What makes it different:
Unlike the standard MFI which uses total volume, the Delta MFI calculates an approximation of volume delta by assigning positive volume to up-closing candles and negative volume to down-closing candles.
This means:
- It focuses on directional pressure, not just activity
- Filters out low-conviction volume that doesn't move price
- Provides clearer signals when actual buying/selling dominates
The indicator includes visual aids like background colors for overbought/oversold and a fill showing whether the Delta MFI is above or below the 50 midpoint for quick interpretation.
Smart Money Flow Index (SMFI) - Advanced SMC [PhenLabs]📊Smart Money Flow Index (SMFI)
Version: PineScript™v6
📌Description
The Smart Money Flow Index (SMFI) is an advanced Smart Money Concepts implementation that tracks institutional trading behavior through multi-dimensional analysis. This comprehensive indicator combines volume-validated Order Block detection, Fair Value Gap identification with auto-mitigation tracking, dynamic Liquidity Zone mapping, and Break of Structure/Change of Character detection into a unified system.
Unlike basic SMC indicators, SMFI employs a proprietary scoring algorithm that weighs five critical factors: Order Block strength (validated by volume), Fair Value Gap size and recency, proximity to Liquidity Zones, market structure alignment (BOS/CHoCH), and multi-timeframe confluence. This produces a Smart Money Score (0-100) where readings above 70 represent optimal institutional setup conditions.
🚀Points of Innovation
Volume-Validated Order Block Detection – Only displays Order Blocks when formation candle exceeds customizable volume multiplier (default 1.5x average), filtering weak zones and highlighting true institutional accumulation/distribution
Auto-Mitigation Tracking System – Fair Value Gaps and Order Blocks automatically update status when price mitigates them, with visual distinction between active and filled zones preventing trades on dead levels
Proprietary Smart Money Score Algorithm – Combines weighted factors (OB strength 25%, FVG proximity 20%, Liquidity 20%, Structure 20%, MTF 15%) into single 0-100 confidence rating updating in real-time
ATR-Based Adaptive Calculations – All distance measurements use 14-period Average True Range ensuring consistent function across any instrument, timeframe, or volatility regime without manual recalibration
Dynamic Age Filtering – Automatically removes liquidity levels and FVGs older than configurable thresholds preventing chart clutter while maintaining relevant levels
Multi-Timeframe Confluence Integration – Analyzes higher timeframe bias with customizable multipliers (2-10x) and incorporates HTF trend direction into Smart Money Score for institutional alignment
🔧Core Components
Order Block Engine – Detects institutional supply/demand zones using characteristic patterns (down-move-then-strong-up for bullish, up-move-then-strong-down for bearish) with minimum volume threshold validation, tracks mitigation when price closes through zones
Fair Value Gap Scanner – Identifies price imbalances where current candle's low/high leaves gap with two-candle-prior high/low, filters by minimum size percentage, monitors 50% fill for mitigation status
Liquidity Zone Mapper – Uses pivot high/low detection with configurable lookback to mark swing points where stop losses cluster, extends horizontal lines to visualize sweep targets, manages lifecycle through age-based removal
Market Structure Analyzer – Tracks pivot progression to identify trend through higher-highs/higher-lows (bullish) or lower-highs/lower-lows (bearish), detects Break of Structure and Change of Character for trend/reversal confirmation
Scoring Calculation Engine – Evaluates proximity to nearest Order Blocks using ATR-normalized distance, assesses FVG recency and distance, calculates liquidity proximity with age weighting, combines structure bias and MTF trend into smoothed final score
🔥Key Features
Customizable Display Limits – Control maximum Order Blocks (1-10), Liquidity Zones (1-10), and FVG age (10-200 bars) to maintain clean charts focused on most relevant institutional levels
Gradient Strength Visualization – All zones render with transparency-adjustable coloring where stronger/newer zones appear more solid and weaker/older zones fade progressively providing instant visual hierarchy
Educational Label System – Optional labels identify each zone type (Bullish OB, Bearish OB, Bullish FVG, Bearish FVG, BOS) with color-coded text helping traders learn SMC concepts through practical application
Real-Time Smart Money Score Dashboard – Top-right table displays current score (0-100) with color coding (green >70, yellow 30-70, red <30) plus trend arrow for at-a-glance confidence assessment
Comprehensive Alert Suite – Configurable notifications for Order Block formation, Fair Value Gap detection, Break of Structure events, Change of Character signals, and high Smart Money Score readings (>70)
Buy/Sell Signal Integration – Automatically plots triangle markers when Smart Money Score exceeds 70 with aligned market structure and fresh Order Block detection providing clear entry signals
🎨Visualization
Order Block Boxes – Shaded rectangles extend from formation bar spanning high-to-low of institutional candle, bullish zones in green, bearish in red, with customizable transparency (80-98%)
Fair Value Gap Zones – Rectangular areas marking imbalances, active FVGs display in bright colors with adjustable transparency, mitigated FVGs switch to gray preventing trades on filled zones
Liquidity Level Lines – Dashed horizontal lines extend from pivot creation points, swing highs in bearish color (short targets above), swing lows in bullish color (long targets below), opacity decreases with age
Structure Labels – "BOS" labels appear above/below price when Break of Structure confirmed, colored by direction (green bullish, red bearish), positioned at 1% beyond highs/lows for visibility
Educational Info Panel – Bottom-right table explains key terminology (OB, FVG, BOS, CHoCH) and score interpretation (>70 high probability) with semi-transparent background for readability
📖Usage Guidelines
General Settings
Show Order Blocks – Default: On, toggles visibility of institutional supply/demand zones, disable when focusing solely on FVGs or Liquidity
Show Fair Value Gaps – Default: On, controls FVG zone display including active and mitigated imbalances
Show Liquidity Zones – Default: On, manages liquidity line visibility, disable on lower timeframes to reduce clutter
Show Market Structure – Default: On, toggles BOS/CHoCH label display
Show Smart Money Score – Default: On, controls score dashboard visibility
Order Block Settings
OB Lookback Period – Default: 20, Range: 5-100, controls bars scanned for Order Block patterns, lower values detect recent activity, higher values find older blocks
Min Volume Multiplier – Default: 1.5, Range: 1.0-5.0, sets minimum volume threshold as multiple of 20-period average, higher values (2.0+) filter for strongest institutional candles
Max Order Blocks to Display – Default: 3, Range: 1-10, limits simultaneous Order Blocks shown, lower settings (1-3) maintain focus on most recent zones
Fair Value Gap Settings
Min FVG Size (%) – Default: 0.3, Range: 0.1-2.0, defines minimum gap size as percentage of close price, lower values detect micro-imbalances, higher values focus on significant gaps
Max FVG Age (bars) – Default: 50, Range: 10-200, removes FVGs older than specified bars, lower settings (10-30) for scalping, higher (100-200) for swing trading
Show FVG Mitigation – Default: On, displays filled FVGs in gray providing visual history, disable to show only active untouched imbalances
Liquidity Zone Settings
Liquidity Lookback – Default: 50, Range: 20-200, sets pivot detection period for swing highs/lows, lower values (20-50) mark shorter-term liquidity, higher (100-200) identify major swings
Max Liquidity Age (bars) – Default: 100, Range: 20-500, removes liquidity lines older than specified bars, adjust based on timeframe
Liquidity Sensitivity – Default: 0.5, Range: 0.1-1.0, controls pivot detection sensitivity, lower values mark only major swings, higher values identify minor swings
Max Liquidity Zones to Display – Default: 3, Range: 1-10, limits total liquidity levels shown maintaining chart clarity
Market Structure Settings
Pivot Length – Default: 5, Range: 3-15, defines bars to left/right for pivot validation, lower values (3-5) create sensitive structure breaks, higher (10-15) filter for major shifts
Min Structure Move (%) – Default: 1.0, Range: 0.1-5.0, sets minimum percentage move required between pivots to confirm structure change
Multi-Timeframe Settings
Enable MTF Analysis – Default: On, activates higher timeframe trend analysis incorporation into Smart Money Score
Higher Timeframe Multiplier – Default: 4, Range: 2-10, multiplies current timeframe to determine analysis timeframe (4x on 15min = 1hour)
Visual Settings
Bullish Color – Default: Green (#089981), sets color for bullish Order Blocks, FVGs, and structure elements
Bearish Color – Default: Red (#f23645), defines color for bearish elements
Neutral Color – Default: Gray (#787b86), controls color of mitigated zones and neutral elements
Show Educational Labels – Default: On, displays text labels on zones identifying type (OB, FVG, BOS), disable once familiar with patterns
Order Block Transparency – Default: 92, Range: 80-98, controls Order Block box transparency
FVG Transparency – Default: 92, Range: 80-98, sets Fair Value Gap zone transparency independently from Order Blocks
Alert Settings
Alert on Order Block Formation – Default: On, triggers notification when new volume-validated Order Block detected
Alert on FVG Formation – Default: On, sends alert when Fair Value Gap appears enabling quick response to imbalances
Alert on Break of Structure – Default: On, notifies when BOS or CHoCH confirmed
Alert on High Smart Money Score – Default: On, alerts when Smart Money Score crosses above 70 threshold indicating high-probability setup
✅Best Use Cases
Order Block Retest Entries – After Break of Structure, wait for price retrace into fresh bullish Order Block with Smart Money Score >70, enter long on zone reaction targeting next liquidity level
Fair Value Gap Retracement Trading – When price creates FVG during strong move then retraces, enter as price approaches unfilled gap expecting institutional orders to continue trend
Liquidity Sweep Reversals – Monitor price approaching swing high/low liquidity zones against prevailing Smart Money Score trend, after stop hunt sweep watch for rejection into premium Order Block/FVG
Multi-Timeframe Confluence Setups – Identify alignment when current timeframe Order Block coincides with higher timeframe FVG plus MTF analysis showing matching trend bias
Break of Structure Continuations – After BOS confirms trend direction, trade pullbacks to nearest Order Block or FVG in direction of structure break using Smart Money Score >70 as entry filter
Change of Character Reversal Plays – When CHoCH detected indicating potential reversal, look for Smart Money Score pivot with opposing Order Block formation then enter on structure confirmation
⚠️Limitations
Lagging Pivot Calculations – Pivot-based features (Liquidity Zones, Market Structure) require bars to right of pivot for confirmation, meaning these elements identify levels retrospectively with delay equal to lookback period
Whipsaw in Ranging Markets – During choppy conditions, Order Blocks fail frequently and structure breaks produce false signals as Smart Money Score fluctuates without clear institutional bias, best used in trending markets
Volume Data Dependency – Order Block volume validation requires accurate volume data which may be incomplete on Forex pairs or limited in crypto exchange feeds
Subjectivity in Scoring Weights – Proprietary 25-20-20-20-15 weighting reflects general institutional behavior but may not optimize for specific instruments or market regimes, user cannot adjust factor weights
Visual Complexity on Lower Timeframes – Sub-hour timeframes generate excessive zones creating cluttered charts, requires aggressive display limit reduction and higher minimum thresholds
No Fundamental Integration – Indicator analyzes purely technical price action and volume without incorporating economic events, news catalysts, or fundamental shifts that override technical levels
💡What Makes This Unique
Unified SMC Ecosystem – Unlike indicators displaying Order Blocks OR FVGs OR Liquidity separately, SMFI combines all three institutional concepts plus market structure into single cohesive system
Proprietary Confidence Scoring – Rather than manual setup assessment, automated Smart Money Score quantifies probability by weighting five institutional dimensions into actionable 0-100 rating
Volume-Filtered Quality – Eliminates weak Order Blocks forming without institutional volume confirmation, ensuring displayed zones represent genuine accumulation/distribution
Adaptive Lifecycle Management – Automatically updates mitigation status and removes aged zones preventing trades on dead levels through continuous validity and age monitoring
Educational Integration – Built-in tooltips, labeled zones, and reference panel make indicator functional for both learning Smart Money Concepts and executing strategies
🔬How It Works
Order Block Detection – Scans for patterns where strong directional move follows counter-move creating last down-candle before rally (bullish OB) or last up-candle before sell-off (bearish OB), validates formations only when candle exhibits volume exceeding configurable multiple (default 1.5x) of 20-bar average volume
Fair Value Gap Identification – Compares current candle’s high/low against two-candles-prior low/high to detect price imbalances, calculates gap size as percentage of close and filters micro-gaps below minimum threshold (default 0.3%), monitors whether subsequent price fills 50% triggering mitigation status
Liquidity Zone Mapping – Employs pivot detection using configurable lookback (default 50 bars) to identify swing highs/lows where retail stops cluster, extends horizontal reference lines from pivot creation and applies age-based filtering to remove stale zones
Market Structure Analysis – Tracks pivot progression using structure-specific lookback (default 5 bars) to determine trend, confirms uptrend when new pivot high exceeds previous by minimum move percentage, detects Break of Structure when price breaks recent pivot level, flags Change of Character for potential reversals
Multi-Timeframe Confluence – When enabled, requests security data from higher timeframe (current TF × HTF multiplier, default 4x), compares HTF close against HTF 20-period MA to determine bias, contributes ±50 points to score ensuring alignment with institutional positioning on superior timeframe
Smart Money Score Calculation – Evaluates Order Block component via ATR-normalized distance producing max 100-point contribution weighted at 25%, assesses FVG factor through age penalty and distance at 20% weight, calculates Liquidity proximity at 20%, incorporates structure bias (±50-100 points) at 20%, adds MTF component at 15%, applies 3-period smoothing to reduce volatility
Visual Rendering and Lifecycle – Draws Order Block boxes, Fair Value Gap rectangles with color coding (green/red active, gray mitigated), extends liquidity dashed lines with fade-by-age opacity, plots BOS labels, displays Smart Money Score dashboard, continuously updates checking mitigation conditions and removing elements exceeding age/display limits
💡Note:
The Smart Money Flow Index combines multiple Smart Money Concepts into unified institutional order flow analysis. For optimal results, use the Smart Money Score as confluence filter rather than standalone entry signal – scores above 70 indicate high-probability setups but should be combined with risk management, higher timeframe bias, and market regime understanding.
Volume Cluster Support and Resistance Levels [QuantAlgo]🟢 Overview
This indicator identifies statistically significant support and resistance levels through volume cluster analysis, isolating price zones characterized by elevated trading activity and institutional participation. By quantifying areas where volume concentration exceeded historical norms, it reveals price levels with demonstrated supply-demand imbalances that exhibit persistent influence on subsequent price action. The methodology is asset-agnostic and timeframe-independent, applicable across equities, cryptocurrencies, forex, and commodities from intraday to weekly intervals.
🟢 Key Features
1. Support and Resistance Levels
The indicator scans historical price data to identify bars where volume exceeds a user-defined threshold multiplier relative to the rolling average. For each qualifying bar, a representative price is calculated using the average of high, low, and close. Proximate price levels within a specified percentage range are then aggregated into discrete clusters using volume-weighted averaging, eliminating redundant signals. Clusters are ranked by cumulative volume to determine statistical significance. Finally, the indicator plots horizontal levels at each cluster price: support levels (green) below current price indicate zones where historical buying pressure exceeded selling pressure, while resistance levels (red) above current price mark zones where sellers historically dominated. These levels represent areas of established liquidity and price discovery, where institutional order flow previously concentrated.
The Touch Count (T) metric quantifies historical price interaction frequency, while Total Volume (TV) measures aggregate trading activity at each level, providing objective criteria for assessing level strength and trade execution decisions.
2. Volume Histogram
A histogram appears below the price chart, displaying relative volume for each bar within the lookback period, with bar height scaled to the maximum volume observed. Green bars represent up-periods (close > open) indicating buying pressure, while red bars show down-periods (close < open) indicating selling pressure. This visualization helps you confirm the validity of support/resistance levels by seeing where volume actually spiked, identify accumulation/distribution patterns, and validate breakouts by checking if they occur on above-average volume.
3. Built-in Alerts
Automated alerts trigger when price crosses below support levels or breaks above resistance levels, allowing you to monitor multiple assets without constant chart-watching.
4. Customizable Color Schemes
The indicator provides four preset color configurations (Classic, Aqua, Cosmic, Custom) optimized for visual clarity across different charting environments. Each scheme maintains consistent color mapping for support and resistance zones across both level lines and volume histogram components. The Custom configuration permits full color specification to accommodate individual charting setups, ensuring optimal visual contrast for extended analysis sessions.
Classic:
Aqua:
Cosmic:
Custom:
🟢 Pro Tips
→ Trade entry optimization: Execute long positions at support levels with high touch counts or upon confirmed resistance breakouts accompanied by above-average volume
→ Risk parameter definition: Position stop-loss orders near identified support/resistance zones with statistical significance to minimize premature exits
→ Breakout validation: Require volume confirmation exceeding historical average when price penetrates resistance to filter false breakouts
→ Level strength assessment: Prioritize levels with higher touch counts and total volume metrics for enhanced probability trade setups
→ Multi-timeframe confluence: Synthesize support/resistance levels across multiple timeframes to identify high-conviction zones where daily support aligns with 4-hour resistance structures
Order Blocks & Market Structure (SMC)# Order Blocks & Market Structure (SMC)
## 📊 Overview
A Smart Money Concepts indicator that identifies institutional order blocks (OB), market structure breaks (MSB), and breaker blocks (BB) with volume-based strength analysis. Designed for traders seeking to identify institutional accumulation/distribution zones and market structure shifts.
## 🎯 Originality Statement
This indicator combines multiple analytical approaches into a unified system:
- **Multi-level OB strength classification** using volume spike detection and body ratio analysis (OB/OB+/OB++)
- **Automatic lifecycle tracking** that converts invalidated Order Blocks to Breaker Blocks with polarity reversal
- **Volume context integration** showing buyer/seller dominance percentage at block formation
- **Dynamic zone extension** that updates OB boundaries until price interaction or invalidation
- **Delayed touch alerts** (5-bar minimum) to filter premature retest signals
Unlike simple order block scripts that only mark zones, this tool provides strength assessment, volume analysis, and intelligent state management throughout the block lifecycle.
## ⚙️ Technical Methodology
**Market Structure Detection:**
Uses pivot-based swing point analysis to identify trend changes. When price closes above a pivot high (bullish MSB) or below a pivot low (bearish MSB), the structure is marked with horizontal reference lines.
**Order Block Identification:**
Searches the specified lookback period for the lowest low (bullish MSB) or highest high (bearish MSB). When a strong directional candle is found (opposite color to trend direction), its range becomes an OB zone.
**Strength Analysis:**
- Compares candle volume against 20-period SMA with configurable multiplier (1.2-3.0x)
- Calculates body-to-range ratio to assess candle strength (0.4-0.8 threshold)
- Assigns strength levels: Standard (no conditions), Strong (one condition), Premium (both conditions)
**Breaker Block Conversion:**
When price closes completely through an OB zone (bullish OB broken downward or bearish OB broken upward), the zone automatically converts to BB with reversed polarity and color.
## 📋 Features
**Market Structure (MSB):**
- Detects bullish and bearish structure breaks
- Configurable swing length (5-50 bars)
- Visual markers with horizontal lines
**Order Blocks (OB):**
- Three strength tiers: OB (standard), OB+ (strong), OB++ (premium)
- Volume percentage display (buyer vs seller dominance)
- Dynamic zone extension until invalidation
**Breaker Blocks (BB):**
- Automatic conversion from failed OBs
- Polarity tracking (bullish ↔ bearish)
- Fixed zones after conversion
## 🔧 Settings Documentation
**Market Structure Group:**
*Show Market Structure* - Enable/disable MSB detection and line drawing
- Default: ON
- When OFF: No structure lines or labels appear
*MSB Labels* - Display text labels at structure break points
- Default: ON
- Labels show "MSB" at the break candle
*Swing Length* - Lookback period for pivot point detection
- Range: 5-50 bars
- Default: 10
- Higher values = longer-term structure, fewer signals
- Lower values = short-term structure, more signals
*Bull Color* - Color for bullish elements (MSB, bullish OB, bullish BB)
- Default: #089981 (green)
*Bear Color* - Color for bearish elements (MSB, bearish OB, bearish BB)
- Default: #f23645 (red)
**Order Block Group:**
*Order Blocks* - Enable/disable OB detection and zone drawing
- Default: ON
- When OFF: No boxes appear (MSB lines still show if enabled)
*OB Strength* - Enable multi-level strength classification
- Default: ON
- When ON: Labels show OB/OB+/OB++ based on analysis
- When OFF: All zones labeled simply as "OB"
*Volume %* - Display buyer/seller volume percentage
- Default: ON
- Shows "X% Buy" or "X% Sell" inside zones
- Calculated over 10 bars from zone formation
*OB Lookback* - How many bars to search for OB candle
- Range: 5-30 bars
- Default: 10
- Searches for lowest low (bullish) or highest high (bearish) within this range
*Vol Threshold* - Minimum volume multiplier for strength upgrade
- Range: 1.2-3.0x
- Default: 1.5x
- Volume must exceed (20-period SMA × threshold) for OB+ or OB++
*Body Ratio* - Minimum body-to-range ratio for strength upgrade
- Range: 0.4-0.8
- Default: 0.6
- Candle body must be at least this proportion of total range for OB+ or OB++
## 📖 How to Use
**For Trend Following:**
1. Wait for MSB in your desired direction
2. OB forms in the breakout area (the institutional entry zone)
3. Price may immediately continue or pull back to retest OB
4. Enter on OB retest with "OB Touch" alert (after 5+ bars from creation)
5. Higher strength OB (OB+, OB++) indicates stronger institutional activity
**For Reversal Trading:**
1. Identify Breaker Blocks (former OBs that failed)
2. BB represents potential reversal zone with opposite polarity
3. Wait for MSB in BB direction for confirmation
4. Enter on pullback to BB zone
**Volume Analysis:**
- 70%+ Buy/Sell dominance = strong institutional bias
- 60-70% = moderate bias
- 50-60% = weak bias, use caution
**Optimal Conditions:**
- Works best on trending markets (4H, Daily, Weekly timeframes)
- Less effective in tight ranges or low-volume periods
- Major pairs/assets with good liquidity recommended
## 🔔 Alert Conditions (8 Types)
The indicator provides the following alerts:
1. **Bullish MSB** - Upward market structure break detected
2. **Bearish MSB** - Downward market structure break detected
3. **Bullish OB Created** - New bullish order block formed
4. **Bearish OB Created** - New bearish order block formed
5. **Bullish BB Created** - Bearish OB converted to bullish BB
6. **Bearish BB Created** - Bullish OB converted to bearish BB
7. **Bullish OB Touch** - Price revisited bullish OB (minimum 5 bars after creation)
8. **Bearish OB Touch** - Price revisited bearish OB (minimum 5 bars after creation)
Touch alerts include a 5-bar delay to avoid alerting on immediate continuation moves.
## ⚠️ Limitations & Risk Disclosure
**Known Limitations:**
- MSB signals can produce whipsaws in ranging or choppy markets
- Not all OB touches result in successful trades
- OB zones may be tested multiple times before activation
- Volume data may be unavailable or unreliable on some instruments/exchanges
- Strength analysis requires sufficient volume history
- Historical repainting: OB zones extend dynamically as price interacts with them
**Risk Considerations:**
This indicator is designed for educational and analytical purposes. It identifies potential institutional zones but does not predict price movement. Past identification of zones does not guarantee future trading success. OB and BB zones represent areas of interest, not guaranteed support/resistance. Always use proper risk management, combine with other analysis methods, and never risk more than you can afford to lose.
## 🎨 Visual Guide
**Colors & Symbols:**
- 🟢 Green boxes = Bullish Order Blocks / Bullish Breaker Blocks
- 🔴 Red boxes = Bearish Order Blocks / Bearish Breaker Blocks
- Horizontal lines = Market Structure Break levels
- "MSB" labels = Structure break points (above/below line)
- "OB" / "OB+" / "OB++" labels = Order Block strength (right side of box)
- "BB" labels = Breaker Block (converted from OB)
- "X% Buy/Sell" labels = Volume analysis (center of box)
**Box Behavior:**
- OB zones extend to the right as long as price interacts with them (not broken)
- When OB is invalidated, it stops extending and converts to BB
- BB zones remain fixed at their invalidation point
## 💡 Best Practices
- Focus on OB+ and OB++ zones for higher probability setups
- Confirm OB touches with price action (rejection wicks, engulfing patterns)
- Use multiple timeframe analysis (Daily OB + 4H entry)
- Avoid trading in the first 1-2 bars after OB creation (wait for touch alert)
- Consider volume % - avoid zones with <60% dominance
- Combine with other confluence factors (Fibonacci, support/resistance)
- Set realistic stop losses beyond the OB/BB zone
---
**Version:** 1.0
**Pine Script:** Version 6
**Category:** Smart Money Concepts, Order Flow, Market Structure
For questions or suggestions, use the TradingView comments section below.
Dynamic Liquidity HeatMap Profile [BigBeluga]🔵 OVERVIEW
The Dynamic Liquidity HeatMap Profile is a smart-flow liquidity tracker that maps where stop-loss clusters and resting limit orders are likely positioned.
Instead of traditional volume profiles based only on executed transactions, this tool projects probable liquidity pools — areas where traders are trapped or positioned and where smart money may hunt stops or fill orders.
It dynamically scans recent price swings, builds liquidity zones above and below price, and visualizes them as a heat map + histogram — highlighting areas with the greatest liquidity attraction.
Orange highlights the highest-concentration liquidity (POC), making potential sweep targets obvious.
🔵 CONCEPTS
Liquidity pools form above swing highs (buy stops) and below swing lows (sell stops).
Market makers & large players often push price into these zones to trigger stops and capture liquidity.
The indicator uses recent volatility + volume expansion to estimate where these pools exist.
Horizontal heat bars show depth and intensity of probable liquidity.
Profile side histogram displays buy-side vs sell-side liquidity distribution.
🔵 FEATURES
Dynamic Liquidity Detection — finds potential stop-loss clusters from recent swing behavior.
Dual-Side Heatmap — split liquidity view above (short stops) and below (long stops) current price.
Volume-Weighted Levels — higher volatility & volume = deeper liquidity expectation.
Real-Time Heat Coloring
• Lime = liquidity below price (potential buy-side fuel)
• Blue = liquidity above price (potential sell-side fuel)
• Orange = peak liquidity (POC)
Liquidity Profile Histogram — plotted at right side, layered by strength.
Auto-Cleaning Engine — removes invalidated liquidity after breaks.
Adjustable lookback window and bin resolution .
🔵 HOW TO USE
Look for price moving toward dense liquidity zones — high probability of wick raids or sweeps.
Orange POC often acts as magnet — strong target zone for smart money.
Combine with SFP / BOS logic to time reversals after liquidity hunts.
In trend, price repeatedly sweeps opposite-side liquidity before continuation.
Use liquidity walls as bias filters — heavy liquidity above often precedes downward move, and vice-versa.
Great for scalping sessions, indices, FX, BTC, ETH.
🔵 CONCLUSION
The Dynamic Liquidity HeatMap Profile gives traders a tactical edge by revealing where the market’s hidden liquidity resides.
It highlights where shorts and longs are positioned, identifies likely sweep zones, and marks the most attractive liquidity magnet (POC).
Use it to anticipate stop hunts, avoid getting trapped, and align with smart-money flow instead of fighting it.
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 !
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.
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! 🚀






















