Quantura - Supply & Demand Zone DetectionIntroduction
“Quantura – Supply & Demand Zone Detection” is an advanced indicator designed to automatically detect and visualize institutional supply and demand zones, as well as breaker blocks, directly on the chart. The tool helps traders identify key areas of market imbalance and potential reversal or continuation zones, based on price structure, volume, and ATR dynamics.
Originality & Value
This indicator provides a unique and adaptive method of zone detection that goes beyond simple pivot or candle-based logic. It merges multiple layers of confirmation—volume sensitivity, ATR filters, and swing structure—while dynamically tracking how zones evolve as the market progresses. Unlike traditional supply and demand indicators, this script also detects and plots Breaker Zones when previous imbalances are violated, giving traders an extra layer of market context.
The key values of this tool include:
Automated detection of high-probability supply and demand zones.
Integration of both volume and ATR filters for precision and adaptability.
Dynamic zone merging and updating based on price evolution.
Identification of breaker blocks (invalidated zones) to visualize market structure shifts.
Optional bullish and bearish trade signals when zones are retested.
Clear, visually optimized plotting for efficient chart interpretation.
Functionality & Core Logic
The indicator continuously scans recent price data for swing highs/lows and combines them with optional volume and ATR conditions to validate potential zones.
Demand Zones are formed when price action indicates accumulation or a strong bullish rejection from a low area.
Supply Zones are created when distribution or strong bearish rejection occurs near local highs.
Breaker Blocks appear when existing zones are invalidated by price, helping traders visualize potential market structure shifts.
Bullish and bearish signals appear when price re-enters an active zone or breaks through a breaker block.
Parameters & Customization
Demand Zones / Supply Zones: Enable or disable each individually.
Breaker Zones: Activate breaker block detection for invalidated zones.
Volume Filter: Optional filter to only confirm zones when volume exceeds its long-term average by a user-defined multiplier.
ATR Filter: Optional filter for volatility confirmation, ensuring zones form under strong momentum conditions.
Swing Length: Controls the number of bars used to detect structural pivots.
Sensitivity Controls: Adjustable ATR and volume multipliers to fine-tune detection responsiveness.
Signals: Toggle for on-chart bullish (▲) and bearish (▼) signal plotting when price interacts with zones.
Color Customization: User-defined bullish and bearish colors for both standard and breaker zones.
Core Calculations
Zones are detected using pivot highs and lows with a defined lookback and lookahead period.
Additional filters apply if ATR and volume are enabled, requiring conditions like “ATR > average * multiplier” and “Volume > average * multiplier.”
Detected zones are merged if overlapping, keeping the chart clean and logical.
When price breaks through a zone, the original box is closed, and a new breaker zone is plotted automatically.
Bullish and bearish markers appear when zones are retested from the opposite side.
Visualization & Display
Demand zones are shaded in semi-transparent bullish color (default: blue).
Supply zones are shaded in semi-transparent bearish color (default: red).
Breaker zones appear when previous imbalances are broken, helping to spot structural shifts.
Optional arrows (▲ / ▼) indicate potential buy or sell reactions on zone interaction.
Use Cases
Identify institutional areas of accumulation (demand) or distribution (supply).
Detect potential breakout traps and market structure shifts using breaker zones.
Combine with other tools such as volume profile, EMA, or liquidity indicators for deeper confirmation.
Observe retests and reactions of zones to anticipate possible reversals or continuations.
Apply multi-timeframe analysis to align higher timeframe zones with lower timeframe entries.
Limitations & Recommendations
The indicator does not predict future price movement; it highlights structural imbalances only.
Performance depends on chosen swing length and sensitivity—users should optimize parameters for each market.
Works best in volatile markets where supply and demand imbalances are clearly expressed.
Should be used as part of a broader trading framework, not as a standalone signal generator.
Markets & Timeframes
The “Quantura – Supply & Demand Zone Detection” indicator is suitable for all asset classes including cryptocurrencies, Forex, indices, commodities, and equities. It performs reliably across multiple timeframes, from intraday scalping to higher timeframe swing analysis.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Important
This description complies with TradingView’s Script Publishing and House Rules. It clearly explains the indicator’s originality, underlying logic, functionality, and intended use without unrealistic claims or performance guarantees.
成交量
Volume Spike & RSI | Buy/Sell SignalsThis indicator is designed for intraday traders who seek clean, actionable buy and sell signals using a blend of momentum (RSI) and volume analysis. It automatically detects momentum bursts based on the RSI crossing user-defined levels with a simultaneous volume spike—helping filter out weak or late signals. Signals are highlighted by discrete, color-coded arrows and non-overlapping labels for easy chart interpretation without clutter.
How it works
Buy signal: Generated when the RSI crosses above your chosen “Buy Threshold” (default 60) AND the volume on that bar is above its 20-period average. This suggests strong momentum with real volume support.
Sell signal: Generated when the RSI crosses below your chosen “Sell Threshold” (default 40) AND the volume on that bar is above average, signaling momentum loss or bearish pressure.
Visuals:
Buy signals are illustrated by green upward labels/arrows beneath candles.
Sell signals feature red downward labels/arrows above candles.
All signals adjust spacing dynamically, so they never overlap the price bar.
Bars are colored lime when momentum and volume are both high.
Customization
Fully adjustable RSI “Buy” and “Sell” levels.
Customizable sensitivity for the volume spike via the SMA period input.
Label spacing can be tuned in settings so signals always remain visible, regardless of volatility.
Alerts
Built-in alert conditions for both buy and sell events, compatible with TradingView’s native alerting system.
How to use
1. Add the indicator to your intraday chart (works on any timeframe).
2. When a buy or sell label/arrow appears, it marks a technical momentum burst with real volume conviction. Use these as actionable entries or exits—always manage risk with your personal trading plan.
3. Adjust parameters in the script’s settings as needed for your market or style.
Originality & credits
The logic and code were developed specifically for this script, combining classic RSI levels with volume confirmation and careful non-overlapping visual presentation to ensure clarity for intraday trading.
This tool is for educational and informational purposes only. It is not financial advice or a guarantee of performance. Always test on demo before using in live trading.
[FS] Pivot Measurements# Pivot Measurements
An advanced TradingView indicator that combines LuxAlgo's pivot point detection algorithm with automatic measurement calculations between consecutive pivots.
## Features
### Pivot Detection
- **Regular Pivots**: Detects standard pivot highs and lows using configurable pivot length
- **Missed Pivots**: Identifies missed reversal levels that occurred between regular pivots
- **Visual Indicators**:
- Regular pivot highs: Red downward triangle (▼)
- Regular pivot lows: Teal upward triangle (▲)
- Missed pivots: Ghost emoji (👻)
- **Zigzag Lines**: Connects pivots with colored lines (solid for regular, dashed for missed)
- **Ghost Levels**: Horizontal lines indicating missed pivot levels
### Measurement System
- **Automatic Measurements**: Calculates price movements between consecutive pivots
- **Visual Display**:
- Transparent colored boxes (blue for upward, red for downward movements)
- Measurement labels showing:
- Price change (absolute and percentage)
- Duration (bars, days, hours, minutes)
- Volume approximation
- **Smart Positioning**: Labels positioned outside boxes (above for upward, below for downward)
- **Color Coding**: Blue for positive movements, red for negative movements
## Parameters
### Pivot Detection
- **Pivot Length** (default: 50): Number of bars on each side to identify a pivot point
- **Regular Pivots**: Toggle and colors for regular pivot highs and lows
- **Missed Pivots**: Toggle and colors for missed pivot detection
### Measurements
- **Number of Measurements** (1-10, default: 10): Maximum number of measurements to display
- **Show Measurement Boxes**: Toggle to show/hide measurement boxes and labels
- **Box Transparency** (0-100, default: 90): Transparency level for measurement boxes
- **Border Transparency** (0-100, default: 50): Transparency level for box borders
- **Label Background Transparency** (0-100, default: 30): Transparency level for label backgrounds
- **Label Size**: Size of measurement labels (tiny, small, normal, large)
## Usage
1. Add the indicator to your chart
2. Configure the **Pivot Length** based on your timeframe:
- Lower values for shorter timeframes (e.g., 10-20 for 1-5 min)
- Higher values for longer timeframes (e.g., 50-100 for daily)
3. Adjust pivot colors and visibility as needed
4. Customize measurement display settings:
- Set the number of measurements to display
- Adjust transparency levels for boxes, borders, and labels
- Choose label size
## Technical Details
- **Pine Script Version**: v6
- **Pivot Detection**: Based on () algorithm for detecting regular and missed pivots
- **Measurement Calculation**:
- Measures between consecutive pivots (from most recent to older)
- Calculates price change, percentage change, duration, and approximate volume
- Automatically sorts pivots chronologically
- **Performance**: Optimized with helper functions to reduce code duplication
## Notes
- The indicator automatically limits the number of stored pivots to optimize performance
- Measurements are only created when there are at least 2 pivots detected
- All measurements are recalculated on each bar update
- The indicator uses `max_bars_back=5000` to ensure sufficient historical data
## License
This indicator uses LuxAlgo's pivot detection algorithm from (). Please refer to the original LuxAlgo license for pivot detection components.
Quantura - Fair Value GapIntroduction
“Quantura – Fair Value Gap” is a precision-engineered institutional concept indicator designed to automatically identify, visualize, and manage Fair Value Gaps (FVGs) across any market or timeframe. It enables traders to observe price inefficiencies, potential liquidity voids, and retracement areas that often act as magnets for price rebalancing.
Originality & Value
Unlike many public FVG scripts that only highlight candle gaps, this indicator integrates dynamic filters and adaptive logic to determine the strength and reliability of each gap. It merges overlapping zones intelligently and optionally extends valid imbalances forward for ongoing reference.
Its value lies in:
Dynamic statistical filtering based on gap standard deviation.
Optional volume confirmation for high-confidence FVGs.
Automatic merging of overlapping or adjacent gaps for clean visualization.
Support for both bullish and bearish imbalances.
Signal alerts when gaps are filled or rebalanced by price.
Functionality & Core Logic
Detects Fair Value Gaps by comparing candle-to-candle price displacement.
Applies a Gap Filter (standard deviation-based) to qualify valid gaps.
Optionally validates gaps formed under significant volume conditions.
Draws color-coded boxes to mark bullish (discount) and bearish (premium) inefficiencies.
Monitors each FVG until price fills the gap, at which point the box is visually closed.
Provides optional signal markers (“▲” or “▼”) when rebalancing occurs.
Parameters & Customization
Gap Filter: Sets the minimum statistical deviation required for a valid FVG. Higher values detect fewer, stronger gaps.
Volume Filter: Toggles additional validation using relative volume strength.
Volume Sensitivity: Adjusts how much above-average volume must be present to confirm a gap.
Bullish/Bearish Colors: Customize color schemes for imbalance zones.
Extend Gaps: Optionally extend open gaps forward for better confluence tracking.
Signals: Enables or disables gap-fill signal markers.
Visualization & Display
Bullish FVGs: Appear in blue-tinted boxes, indicating potential demand-side inefficiencies.
Bearish FVGs: Appear in red-tinted boxes, representing potential supply-side inefficiencies.
Overlapping zones are merged automatically to maintain clarity.
Filled gaps remain visible for historical context, allowing for post-event analysis.
Optional signal arrows display when price returns to rebalance an FVG.
Use Cases
Identify institutional inefficiencies and liquidity voids.
Detect premium and discount levels in trending markets.
Combine with market structure or order block indicators for confluence.
Track when price rebalances inefficiencies to refine entry/exit points.
Build FVG-based algorithmic strategies that rely on structural imbalance resolution.
Limitations & Recommendations
The indicator detects structural imbalances but does not predict future direction or guarantee profitability.
Volume filters may behave differently across brokers due to data-source differences.
Use alongside structure or liquidity tools for enhanced decision-making.
Extreme volatility or illiquid assets may generate temporary invalid gaps.
Markets & Timeframes
Compatible with all markets (crypto, forex, equities, indices, futures) and all timeframes. Recommended for multi-timeframe confluence analysis — e.g., detecting higher-timeframe FVGs and refining lower-timeframe entries.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Compliance Note
This description adheres fully to TradingView’s House Rules and Script Publishing Requirements . It provides a detailed explanation of originality, core logic, limitations, and appropriate use — with no unrealistic or misleading performance claims.
Quantura - Average Intraday Candle VolumeIntroduction
“Quantura – Average Intraday Candle Volume” is a quantitative visualization tool that calculates and displays the average traded volume for each intraday time position based on a user-defined historical lookback period. It allows traders to analyze recurring intraday volume patterns, identify high-activity sessions, and detect liquidity shifts throughout the trading day.
Originality & Value
This indicator goes beyond standard volume averages by normalizing and aligning volume data according to the time of day. Instead of simply smoothing recent bars, it builds an intraday volume profile based on historical daily averages, enabling users to understand when during the day volume typically peaks or drops.
Its originality and usefulness come from:
Converting standard volume data into time-aligned intraday averages.
Visualization of historical intraday liquidity behavior, not just total daily volume.
Dynamic scaling using normalization and transparency to emphasize active and quiet periods.
Optional day-separator lines for precise intraday structure recognition.
Gradient-based coloring for better visual interpretation of volume intensity.
Functionality & Core Logic
The indicator divides each day into discrete intraday time positions (based on chart timeframe).
For each position, it stores and updates historical volume values across the selected number of days.
It calculates an average volume per time position by aggregating all stored values and dividing them by the number of valid days.
The result is plotted as a continuous histogram showing typical intraday volume distribution.
The bar colors and transparency dynamically reflect the relative intensity of volume at each point in the day.
Parameters & Customization
Number of Days for Averaging: Defines how many past days are included in the volume average calculation (default: 365).
UTC Offset: Allows synchronization of intraday cycles with local or exchange time zones.
Base Color: Sets the main color for plotted volume columns.
Color Mode: Choose between “Gradient” (transparency dynamically adjusts by intensity) or “Normal” (fixed opacity).
Day Line: Toggles dashed vertical lines marking the start of each trading day.
Visualization & Display
Volume is plotted as a series of histogram bars, each representing the average volume for a specific intraday time position.
A gradient color mode enhances readability by fading lower-intensity areas and highlighting high-volume regions.
Optional day-separator lines visually segment historical sessions for easy reference.
Works seamlessly across all chart timeframes that divide the 24-hour day into regular bar intervals.
Use Cases
Identify when trading activity typically peaks (e.g., session opens, news windows, or overlapping markets).
Compare current intraday volume to historical averages for early anomaly detection.
Enhance algorithmic or discretionary strategies that depend on volume-timing alignment.
Combine with volatility or price structure indicators to confirm market activity zones.
Evaluate session consistency across different time zones using the UTC offset parameter.
Limitations & Recommendations
The indicator requires intraday data (below 1D resolution) to function properly.
Volume behavior may vary across brokers and assets; adjust averaging period accordingly.
Does not predict price movement — it provides volume-based context for analysis.
Works best when combined with structure or momentum-based indicators.
Markets & Timeframes
Compatible with all intraday markets — including crypto, Forex, equities, and futures — and all intraday timeframes (from 1 minute to 4 hours). It is particularly valuable for analyzing assets with continuous 24-hour trading activity.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Important
This description complies with TradingView’s Script Publishing and House Rules. It provides a clear explanation of the indicator’s originality, logic, and purpose, without any unrealistic performance or predictive claims.
Nifty Futures Momentum ScalperNifty Futures Momentum Scalper
Backtesting
VPA , RSI, momentum trades with EMA crossover
God of Scalping BTCUnleash divine precision in the chaotic realm of BTC scalping with the God of Scalping BTC—a bespoke, price-action powerhouse crafted for lightning-fast entries and exits on 1-5 minute charts. Forged from raw momentum velocity (no recycled RSI or MACD here), this indicator detects micro-trend accelerations to pinpoint surge moments where BTC's volatility bends to your will.Core Mechanics:Velocity Engine: Calculates fast (default: 3-bar) and slow (default: 8-bar) price speeds, then derives normalized acceleration using ATR (14-bar) to filter noise in BTC's wild swings.
Surge Detection: Smoothed signal line confirms crossovers—bullish when acceleration surges above signal with positive bias; bearish on the downside.
Volume Guardian: Triggers only on 20%+ volume spikes above its EMA (10-bar), ensuring conviction behind the chaos.
Visual Oracle:Blue/Red Lines: Fast (EMA close, 3-bar) and slow (EMA close, 8-bar) velocity trends for trend context.
Background Glow: Subtle green/red tint for real-time momentum bias.
Divine Arrows: Green triangles below bars for BUY surges; red above for SELL—your scalp signals from the heavens.
Scalping Ritual:Optimal Altar: Load on BTCUSD/USDT (1m-5m). Tune lengths for your broker's feed.
Invocation: Enter long on green arrow (target 0.1-0.3% gains), short on red. Tight stops at recent swings; exit on opposite signal or threshold breach (1.5x mult).
Alerts: Built-in notifications—"God Surge Buy: BTC Scalp Entry!"—to summon you mid-prayer (er, trade).
Backtested for BTC's fury, this isn't a holy grail, but a scalper's Excalibur: pure, adaptive, and unyielding. Trade wisely—markets are mortal, your edge is eternal.
SRD
SRD v11 - Multi-Timeframe Volume Profile (POC, VAH, VAL)
Key Features
Dual Timeframe Analysis:
📈 Main Analysis (Daily): Calculates and displays the most significant levels based on a user-defined period of daily bars. This is ideal for identifying intraday and short-term trading opportunities.
📊 Strategic Analysis (Weekly): Plots key levels from a weekly perspective, giving you a broader, long-term view of market sentiment and structure. This can be toggled on or off.
Volume Profile Core Levels: The indicator automatically calculates and visualizes the three most important levels derived from volume analysis for both timeframes:
🎯 POC (Point of Control): The price level with the highest traded volume for the specified period. It acts as a powerful magnet for price and a key reference for market equilibrium.
🔴 VAH (Value Area High): The highest price level within the "Value Area" (where ~70% of the volume was traded). It often acts as a significant resistance zone.
🟢 VAL (Value Area Low): The lowest price level within the Value Area. It often serves as a strong support zone.
🟠 24-Hour High: An optional feature that plots the highest price reached in the last 24 hours, providing a crucial reference point for breakout and reversal traders.
Dynamic and Non-Repainting: The levels are calculated based on historical confirmed bars and update automatically as new periods (daily or weekly) close. The lines extend to the right, remaining relevant until a new calculation period begins.
Integrated Alert System: Never miss a key price interaction. The indicator includes a comprehensive alert system for:
Breakouts: Triggers when the price crosses above or below the POC, VAH, or VAL.
Touches: Triggers when the price touches one of these key levels without breaking through it (within a small tolerance).
Unified Alert: A single alert that notifies you of any of the above conditions.
Customization
The SRD v11 is fully customizable to fit your trading style. You can adjust:
Timeframes: Change the base timeframes for both the main (default Daily) and strategic (default Weekly) analysis.
Analysis Periods: Define the number of bars (days or weeks) to include in the Volume Profile calculation.
Visuals: Customize the color, width, and style (solid, dashed, dotted) of every line and label for clear and intuitive visualization.
Toggle Elements: Easily show or hide the strategic (weekly) analysis and the 24-hour high line.
How to Use It >
Identify Key Zones: Use the VAH (resistance) and VAL (support) lines to identify potential entry and exit zones. The area between VAH and VAL is the "Value Area," where the market has found acceptance.
Monitor the POC: The Point of Control is the ultimate level of equilibrium. Watch for price reactions around the POC. A sustained break above or below can signal a new trend.
Combine Timeframes: Use the strategic (weekly) levels as major, long-term points of interest and the main (daily) levels for your day-to-day trading setup. Confluence between levels from different timeframes can indicate extremely strong support or resistance.
Set Alerts: Configure alerts for breakouts or touches to be notified of critical market movements in real-time, even when you are away from the charts.
VWAP Reversion (Sequential Stats + Profit/Loss Points)First time posting. This is my attempt to evaluate the effectiveness of VWAP reversion. I decided to make this an indicator with its own integrated stats.
If you set the session length to lets say 100, but choose a 1 minute timeframe, it will only load as many sessions as the chart will allow for that timeframe. increasing the timeframe will allow you to go back further with more sessions.
I plan to implement more and more as I refine it. I just wanted to get my working copy out into the universe. I'd like to add some method of "scaling in". Perhaps if the price goes further and further away from the original entry, say for each additional std. deviation band further, it could add another entry signal.
My trading journey is just beginning, I've never coded before, and this was made entirely through the fusion of my attempt to communicate the ideas in my head for ChatGPT to turn into code!
Dashboard — Vol & PriceDashboard for traders
Indicator Description
1. Prev Day High
What it shows: the previous trading day's high.
Why it shows: a resistance level. Many traders watch to see if the price will hold above or below this level. A breakout can signal buying strength.
2. Prev Day Low
What it shows: the previous day's low.
Why it shows: a support level. If the price breaks downwards, it signals weakness and a possible continuation of the decline.
3. Today
What it shows:
The difference between the current price and yesterday's close (in absolute values and as a percentage).
Color: green for an increase, red for a decrease.
Why it shows: immediately shows how strong a gap or movement is today relative to yesterday. This is an indicator of current momentum.
4. ADR, % (Average Daily Range)
What it shows: Average daily range (High – Low), expressed as a percentage of the closing price, for the selected period (default 7 days).
Why it's useful: To understand the "normal" volatility of an instrument. For example, if the ADR is 3%, then a 1% move is small, while a 6% move is very large.
5. ATR (Average True Range)
What it shows: Average fluctuation range (including gaps), in absolute points, for the specified period (default 7 days).
Why it's useful: A classic volatility indicator. Useful for setting stops, calculating position sizes, and identifying "noise" movements.
6. ATR (Today), %
What it shows: How much the current movement today (from yesterday's close to the current price) represents in % of the average ATR.
Why it shows: Shows whether the instrument has "played out" its average range. If the value is already >100%, there is a high probability that the movement will begin to slow.
7. Vol (Today)
What it shows:
Current trading volume for the day (in millions/billions).
Comparison with yesterday as a percentage (for example: 77.32M (-52.78%)).
Color: green if the volume is higher than yesterday; red if lower.
Why it shows:Quickly shows whether the market is active today. Volume = fuel for price movement.
8. Avg Vol (20d)
What it shows: Average daily volume over the last 20 trading days.
Why it's useful:"normal" activity level. It's a convenient backdrop for assessing today's turnover.
9. Rel. Vol (Today), % (Relative Volume)
What it shows: Deviation of the current volume from the average (20 days).
Formula: `(today / average - 1)` * 100`.
+30% = volume 30% above average, -40% = 40% below average.
Color: green for +, red for –.
Why it's useful:A key indicator for a trader. If RelVol > 100% (green), the market is "charged," and the movement is more significant. If low, activity is weak and movements are less reliable.
10. Normalized RS (Relative Strength)
What it shows: the relative strength of a stock to a selected benchmark (e.g., SPY), normalized by the period (default 7 days).
100 = same result as the market.
> 100 = the stock is stronger than the index.
<100 = weaker than the index.
Why it's needed: filtering ideas. Strong stocks rise faster when the market rises, weak stocks fall more sharply. This helps trade in the direction of the trend and select the best candidates.
In summary:
Prev High / Low — key support and resistance levels.
Today — an instant understanding of the current momentum.
ADR and ATR — volatility and potential movement.
ATR (Today) — how much the instrument has already "run."
Vol + Rel.Vol — activity and confirmation of the movement's strength.
RS — selecting strong/weak leaders against the market.
SatoshiFrame Lot Size CalculatorSatoshiFrame Lot Size Calculator that help you to manage your lot size in forex and crypto trade
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.
ONLY LONG – 4H Breakout → 1H EMA(12/21) [Signals]🔹 ONLY LONG – 4H Breakout → 1H EMA(12/21)
Author: SystemsOverFeelings
Type: Signal-only indicator (non-repainting)
Timeframe: Designed for the 1H chart
Markets: BTCUSDT perpetual& major pairs
📖 Concept
A high-timeframe confirmation model for trend-continuation longs.
It detects:
A 4-Hour breakout candle closing above recent range highs,
With very-high volume confirmation, and
Then waits for a 1-Hour pullback into the EMA(12/21) band or a Break of Structure (BOS) to re-enter.
No repainting — all 4H logic uses request.security(..., lookahead_off) for confirmed data.
🧩 Signal Logic
✅ 4H Trigger: Breakout candle with volume > SMA(20) × user multiplier.
✅ Armed Regime: Green background = system ready for 1H entries.
🟢 LONG Signal: 1H candle consolidates inside or touches the EMA band, or shows BOS confirmation.
❌ EXIT Signal: 4H EMA(12) crosses below EMA(21).
All signals are visually marked and alert-ready.
⚙️ Adjustable Parameters
4H volume multiplier
Range lookback days
Pullback strictness (inside/touch)
1H BOS pivot length & mode
Expiry time for invalidated setups
🔔 Alerts
Built-in alerts for:
4H breakout trigger
1H long entry signal
4H band exit
Use them directly via “Create Alert → Condition → This Script → Choose Signal.”
💡 Notes
Works best on BTC/ETH 1H chart.
Non-repainting, multi-timeframe logic.
Use for directional bias or entry timing — not financial advice.
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.
SMC Clean: Structure + LiquidityThis indicator provides Smart Money Concepts (SMC) tools designed to help traders analyze market structure, liquidity pools, and institutional trading zones. It combines several popular SMC methods into one powerful, customizable tool, with a clean and controlled chart display.
Features and How it Works:
Swing Highs and Lows: The indicator identifies confirmed swing highs and swing lows using a lookback period (default: 15 bars). These points form the basis for market structure analysis.
Equal Highs/Equal Lows (EQH/EQL): When price action creates repeated swing highs or lows within a defined tolerance, the tool automatically marks these areas as potential liquidity pools. These are levels where multiple stop orders may accumulate, sometimes leading to significant market moves.
Liquidity Lines & Sweeps: Liquidity lines highlight unswept highs and lows, making it easy to see where price may hunt liquidity. When price crosses a swing high/low and closes back, a sweep label is shown (optional).
BOS/CHOCH Detection:
Break of Structure (BOS): Signals a continuation of the current trend if price closes beyond the previous swing point.
Change of Character (CHOCH): Highlights when price reverses and breaks a key swing from the opposite direction, hinting at a potential trend change or shift in market regime.
Only confirmed swing points are considered to avoid repainting.
Premium & Discount Zones Explained:
After a new confirmed swing high and swing low, the area between them forms a “range.”
The premium zone is the upper half (from midpoint to swing high): this is typically considered where price is “expensive” or overvalued for the current swing, and is often watched for potential sell setups.
The discount zone is the lower half (from swing low to midpoint): this is where price is “cheap” or undervalued for the current swing, commonly monitored for potential buy setups.
Colored boxes mark these zones on your chart for instant reference.
Dashboard (Movable Position):
A visually enhanced dark-themed dashboard shows the current market structure (Bullish/Bearish), liquidity bias (Buy-Side, Sell-Side, or Balanced, based on unswept levels), and last swept side (i.e., which liquidity pool was last taken by price).
Dashboard position can be set anywhere on your chart for best visibility.
Customization Options:
Enable/disable any feature individually for a cleaner chart.
Control colors, transparency, and swing sensitivity via user settings.
How to Use:
Add the indicator to your chart and adjust settings to fit your trading style.
Use swing lines and dashboard to determine current market structure and bias.
Watch equal highs/lows and liquidity lines for possible sweep events.
Use the premium/discount zones to locate optimal areas for trade entries—with institutional logic, buy when price reaches the discount (lower) zone, and look for sales in the premium (upper) zone.
Use BOS/CHOCH signals as objective confirmations of trend or regime changes. Always interpret signals in context of broader price action.
Important Notes:
This indicator is educational and analytical—NO signals are guaranteed.
All calculations are non-repainting and use only confirmed price data (no lookahead).
No claims of predicting future price movement or performance are made.
Disclaimer:
This tool is for technical analysis education only. It is not a financial advice nor a guaranteed trading system. Please test all signals and concepts before using in live markets.
Smart Flow Tracker [The_lurker]
Smart Flow Tracker (SFT): Advanced Order Flow Tracking Indicator
Overview
Smart Flow Tracker (SFT) is an advanced indicator designed for real-time tracking and analysis of order flows. It focuses on detecting institutional patterns, massive orders, and potential reversals through analysis of lower timeframes (Lower Timeframe) or live ticks. It provides deep insights into market behavior using a multi-layered intelligent detection system and a clear visual interface, giving traders a competitive edge.
SFT focuses on trade volumes, directions, and frequencies to uncover unusual activity that may indicate institutional intervention, massive orders, or manipulation attempts (traps).
Indicator Operation Levels
SFT operates on three main levels:
1. Microscopic Monitoring: Tracks every trade at precise timeframes (down to one second), providing visibility not available in standard timeframes.
2. Advanced Statistical Analysis: Calculates averages, deviations, patterns, and anomalies using precise mathematical algorithms.
3. Behavioral Artificial Intelligence: Recognizes behavioral patterns such as hidden institutional accumulation, manipulation attempts and traps, and potential reversal points.
Key Features
SFT features a set of advanced functions to enhance the trader's experience:
1. Intelligent Order Classification System: Classifies orders into six categories based on size and pattern:
- Standard: Normal orders with typical size.
- Significant 💎: Orders larger than average by 1.5 times.
- Major 🔥: Orders larger than average by 2.5 times.
- Massive 🐋: Orders larger than average by 3 times.
- Institutional 🏛️: Consistent patterns indicating institutional activity.
- Reversal 🔄: Large orders indicating direction change.
- Trap ⚠️: Patterns that may be price traps.
2. Institutional Patterns Detection: Tracks sequences of similar-sized orders, detects organized institutional activity, and is customizable (number of trades, variance ratio).
3. Reversals Detection: Compares recent flows with previous ones, detects direction shifts from up to down or vice versa, and operates only on large orders (Major/Massive/Institutional).
4. Traps Detection: Identifies sequences of large orders in one direction, followed by an institutional order in the opposite direction, with early alerts for false moves.
5. Flow Delta Bar: Displays the difference between buy and sell volumes as a percentage for balance, with instant updates per trade.
6. Dynamic Statistics Panel: Displays overall buy and sell ratios with real-time updates and interactive colors.
How It Works and Understanding
SFT relies on logical sequential stages for data processing:
A. Data Collection: Uses the `request.security_lower_tf()` function to extract data from a lower timeframe (like 1S) even on a higher timeframe (like 5D). For each time unit, it calculates:
- Adjusted Volume: Either normal volume or "price-weighted volume" (hlc3 * volume) based on user choice.
- Trade Direction: Compared to previous close (rise → buy, fall → sell).
B. Building Temporary Memory: Maintains a dynamic list (sizeHistory) of the last 100 trade sizes, continuously calculating the moving average (meanSize).
C. Intelligent Classification: Compares each new trade to the average:
- > 1.5 × average → Significant.
- > 2.5 × average → Major.
- > 3.0 × average → Massive.
- Institutional Patterns Check: A certain number of trades (e.g., 5) with a specified variance ratio (±5%) → Institutional.
D. Advanced Detection:
- Reversal: Compares buy/sell totals in two consecutive periods.
- Trap: Sequence of large trades in one direction followed by an opposite institutional trade.
E. Display and Alerts: Results displayed in an automatically updated table, with option to enable alerts for notable events.
Settings (Fully Customizable)
SFT offers extensive options to adapt to the trader's needs:
A. Display Settings:
- Language: English / Arabic.
- Table Position: 9 options (e.g., Top Right, Middle Right, Bottom Left).
- Display Size: Tiny / Small / Normal / Large.
- Max Rows: 10–100.
- Enable Flow Delta Bar: Yes / No.
- Enable Statistics Panel: Yes / No (displays buy/sell % ratio).
B.- Technical Settings:
- Data Source: Lower Timeframe / Live Tick (simulation).
- Timeframe: Optional (e.g., 1S, 5S, 1).
- Calculation Type: Volume / Price Volume.
C. Intelligent Detection System:
- Enable Institutional Patterns Detection.
- Pattern Length: 3–20 trades.
- Allowed Variance Ratio: 1%–20%.
- Massive Orders Detection Factor: 2.0–10.0.
D. Classification Criteria:
- Significant Orders Factor: 1.2–3.0.
- Major Orders Factor: 2.0–5.0.
E. **Advanced Detection**:
- Enable Reversals Detection (with review period).
- Enable Traps Detection (with minimum sequence limit).
F. Alerts System:
- Enable for each type: Massive orders, institutional patterns, reversals, traps, severe imbalance (60%–90%).
G. Color System: Manual customization for each category:
- Standard Buy 🟢: Dark gray green.
- Standard Sell 🔴: Dark gray red.
- Significant Buy 🟢: Medium green.
- Significant Sell 🔴: Medium red.
- Major Orders 🟣: Purple.
- Massive Orders 🟠: Orange.
- Institutional 🟦: Sky blue.
- Reversal 🔵: Blue.
- Trap 🟣: Pink-purple.
Target Audiences
SFT benefits a wide range of traders and investors:
1. Scalpers: Instant detection of large orders, liquidity points identification, avoiding traps in critical moments.
2. Day Traders: Tracking smart money footprint, determining real session direction, early reversals detection.
3. Swing Traders: Confirming trend strength, detecting institutional accumulation/distribution, identifying optimal entry points.
4. Investors: Understanding true market sentiments, avoiding entry at false peaks, identifying real value zones.
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
Smart Flow Tracker (SFT): مؤشر متقدم لتتبع تدفقات الأوامر
نظرة عامة
Smart Flow Tracker (SFT) مؤشر متقدم مصمم لتتبع وتحليل تدفقات الأوامر في الوقت الفعلي. يركز على كشف الأنماط المؤسسية، الأوامر الضخمة، والانعكاسات المحتملة من خلال تحليل الأطر الزمنية الأقل (Lower Timeframe) أو التيك الحي. يوفر رؤية عميقة لسلوك السوق باستخدام نظام كشف ذكي متعدد الطبقات وواجهة مرئية واضحة، مما يمنح المتداولين ميزة تنافسية.
يركز SFT على حجم الصفقات، اتجاهها، وتكرارها لكشف النشاط غير العادي الذي قد يشير إلى تدخل مؤسسات، أوامر ضخمة، أو محاولات تلاعب (فخاخ).
مستويات عمل المؤشر
يعمل SFT على ثلاثة مستويات رئيسية:
1. المراقبة المجهرية: يتتبع كل صفقة على مستوى الأطر الزمنية الدقيقة (حتى الثانية الواحدة)، مما يوفر رؤية غير متوفرة في الأطر الزمنية العادية.
2. التحليل الإحصائي المتقدم: يحسب المتوسطات، الانحرافات، الأنماط، والشذوذات باستخدام خوارزميات رياضية دقيقة.
3. الذكاء الاصطناعي السلوكي: يتعرف على أنماط سلوكية مثل التراكم المؤسسي المخفي، محاولات التلاعب والفخاخ، ونقاط الانعكاس المحتملة.
الميزات الرئيسية
يتميز SFT بمجموعة من الوظائف المتقدمة لتحسين تجربة المتداول:
1. نظام تصنيف الأوامر الذكي: يصنف الأوامر إلى ست فئات بناءً على الحجم والنمط:
- Standard (قياسي)**: أوامر عادية بحجم طبيعي.
- Significant 💎 (مهم)**: أوامر أكبر من المتوسط بـ1.5 ضعف.
- Major 🔥 (كبير)**: أوامر أكبر من المتوسط بـ2.5 ضعف.
- Massive 🐋 (ضخم)**: أوامر أكبر من المتوسط بـ3 أضعاف.
- Institutional 🏛️ (مؤسسي)**: أنماط متسقة تشير إلى نشاط مؤسسي.
- Reversal 🔄 (انعكاس)**: أوامر كبيرة تشير إلى تغيير اتجاه.
- Trap ⚠️ (فخ)**: أنماط قد تكون فخاخًا سعرية.
2. كشف الأنماط المؤسسية: يتتبع تسلسل الأوامر المتشابهة في الحجم، يكشف النشاط المؤسسي المنظم، وقابل للتخصيص (عدد الصفقات، نسبة التباين).
3. كشف الانعكاسات: يقارن التدفقات الأخيرة بالسابقة، يكشف تحول الاتجاه من صعود إلى هبوط أو العكس، ويعمل فقط على الأوامر الكبيرة (Major/Massive/Institutional).
4. كشف الفخاخ: يحدد تسلسل أوامر كبيرة في اتجاه واحد، يليها أمر مؤسسي في الاتجاه المعاكس، مع تنبيه مبكر للحركات الكاذبة.
5. شريط دلتا التدفق: يعرض الفرق بين حجم الشراء والبيع كنسبة مئوية للتوازن، مع تحديث فوري لكل صفقة.
6. لوحة إحصائيات ديناميكية: تعرض نسبة الشراء والبيع الإجمالية مع تحديث لحظي وألوان تفاعلية.
طريقة العمل والفهم
يعتمد SFT على مراحل منطقية متسلسلة لمعالجة البيانات:
أ. جمع البيانات: يستخدم دالة `request.security_lower_tf()` لاستخراج بيانات من إطار زمني أدنى (مثل 1S) حتى على إطار زمني أعلى (مثل 5D). لكل وحدة زمنية، يحسب:
- الحجم المعدّل: إما الحجم العادي (volume) أو "الحجم المرجّح بالسعر" (hlc3 * volume) حسب الاختيار.
- اتجاه الصفقة: مقارنة الإغلاق الحالي بالسابق (ارتفاع → شراء، انخفاض → بيع).
ب. بناء الذاكرة المؤقتة: يحتفظ بقائمة ديناميكية (sizeHistory) لآخر 100 حجم صفقة، ويحسب المتوسط المتحرك (meanSize) باستمرار.
ج. التصنيف الذكي: يقارن كل صفقة جديدة بالمتوسط:
- > 1.5 × المتوسط → Significant.
- > 2.5 × المتوسط → Major.
- > 3.0 × المتوسط → Massive.
- فحص الأنماط المؤسسية: عدد معين من الصفقات (مثل 5) بنسبة تباين محددة (±5%) → Institutional.
د. الكشف المتقدم:
- الانعكاس: مقارنة مجموع الشراء/البيع في فترتين متتاليتين.
- الفخ: تسلسل صفقات كبيرة في اتجاه واحد يتبعها صفقة مؤسسية معاكسة.
هـ. العرض والتنبيه: عرض النتائج في جدول محدّث تلقائيًا، مع إمكانية تفعيل تنبيهات للأحداث المميزة.
لإعدادات (قابلة للتخصيص بالكامل)
يوفر SFT خيارات واسعة للتكييف مع احتياجات المتداول:
أ. إعدادات العرض:
- اللغة: English / العربية.
- موقع الجدول: 9 خيارات (مثل Top Right, Middle Right, Bottom Left).
- حجم العرض: Tiny / Small / Normal / Large.
- الحد الأقصى للصفوف: 10–100.
- تفعيل شريط دلتا التدفق: نعم / لا.
- تفعيل لوحة الإحصائيات: نعم / لا (تعرض نسبة الشراء/البيع %).
ب. الإعدادات التقنية:
- مصدر البيانات: Lower Timeframe / Live Tick (محاكاة).
- الإطار الزمني: اختياري (مثل 1S, 5S, 1).
- نوع الحساب: Volume / Price Volume.
ج. نظام الكشف الذكي:
- تفعيل كشف الأنماط المؤسسية.
- طول النمط: 3–20 صفقة.
- نسبة التباين: 1%–20%.
- عامل كشف الأوامر الضخمة: 2.0–10.0.
د. معايير التصنيف:
- عامل الأوامر المهمة: 1.2–3.0.
- عامل الأوامر الكبرى: 2.0–5.0.
هـ. الكشف المتقدم:
- تفعيل كشف الانعكاسات (مع فترة مراجعة).
- تفعيل كشف الفخاخ (مع حد أدنى للتسلسل).
و. نظام التنبيهات:
- تفعيل لكل نوع: أوامر ضخمة، أنماط مؤسسية، انعكاسات، فخاخ، عدم توازن شديد (60%–90%).
ز. نظام الألوان**: تخصيص يدوي لكل فئة:
- شراء قياسي 🟢: أخضر رمادي داكن.
- بيع قياسي 🔴: أحمر رمادي داكن.
- شراء مهم 🟢: أخضر متوسط.
- بيع مهم 🔴: أحمر متوسط.
- أوامر كبرى 🟣: بنفسجي.
- أوامر ضخمة 🟠: برتقالي.
- مؤسسي 🟦: أزرق سماوي.
- انعكاس 🔵: أزرق.
- فخ 🟣: وردي-أرجواني.
الفئات المستهدفة
يستفيد من SFT مجموعة واسعة من المتداولين والمستثمرين:
1. السكالبرز (Scalpers): كشف لحظي للأوامر الكبيرة، تحديد نقاط السيولة، تجنب الفخاخ في اللحظات الحرجة.
2. المتداولون اليوميون (Day Traders): تتبع بصمة الأموال الذكية، تحديد اتجاه الجلسة الحقيقي، كشف الانعكاسات المبكرة.
3. المتداولون المتأرجحون (Swing Traders): تأكيد قوة الاتجاه، كشف التراكم/التوزيع المؤسسي، تحديد نقاط الدخول المثلى.
4. المستثمرون: فهم معنويات السوق الحقيقية، تجنب الدخول في قمم كاذبة، تحديد مناطق القيمة الحقيقية.
⚠️ إخلاء مسؤولية:
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
Volume x PriceThis indicator displays the traded volume weighted by the closing price of each candle. It's useful for visualizing the intensity of capital movement in the market, beyond traditional volume.
Calculation: Volume × Closing Price
Display: Column-style histogram
Coloring:
🟩 Green if the session was bullish (close > open)
🟥 Red if the session was bearish (close < open)
Ideal for spotting high-activity zones with directional bias. It complements classic volume analysis and helps identify strong capital inflows or outflows.
Volume Delta & Divergence (VDD) by CoryP1990 – Quant ToolkitVolume Delta & Divergence (VDD) visualizes directional order flow by tracking session-aware Cumulative Volume Delta (CVD) and highlighting structural mismatches between price pivots and CVD. It’s designed to catch persistent buying/selling pressure and to flag divergences where price moves without supporting order flow.
How it works
Per-bar delta: classify ticks as uptick or downtick using price change inside each bar; compute delta = uptickVol − downtickVol.
Cumulative Delta (CVD): sum delta across the session (optional continuous mode available).
Smooth: apply an EMA to the CVD (CVD-EMA) to reduce noise and reveal structural shifts.
Divergence detection: detect price pivots (left/right = X bars); sample the CVD-EMA at the exact pivot bars and compare the last two price pivots vs the corresponding CVD-EMA values.
Bear divergence: price makes a higher high while CVD-EMA makes a lower high → fading buy pressure at the top.
Bull divergence: price makes a lower low while CVD-EMA makes a higher low → improving buying pressure into the lows.
Markers: non-repainting pivot confirmation requirement (markers appear only after pivots are confirmed) and markers are placed on the actual pivot bar for clarity.
Visuals / legend
Teal line: CVD-EMA (smoothed cumulative delta). Rising → net buying pressure; falling → net selling pressure.
Red triangle (above): Bear divergence - price HH vs CVD LH.
Green triangle (below): Bull divergence - price LL vs CVD HL.
No background tint - VDD is a structural order flow tool (markers + CVD line only). Use the VWMA / trend overlays to provide directional context.
Use cases
Detect hidden exhaustion at highs (fade setups) and hidden accumulation at lows (bounce setups).
Confirm or invalidate momentum moves: price rising but CVD falling warns the move lacks order flow support.
Spot campaign-style pressure across a session (session reset) versus multi-day campaigns (disable reset).
Combine with VWMA(50) or higher-TF alignment to filter signals and increase quality.
Defaults
CVD EMA length = 34
Pivot left/right = 5
Reset CVD at session start = ON (recommended for intraday)
Show raw CVD = OFF
Marker size = small (use normal for screenshots)
Example — META (5m, 5-day view)
The 5-day time range 5-minute interval on META shows the pattern VDD is built for: a midday bear divergence (price ticks to a marginal high while the CVD-EMA flattens and then rolls lower) that precedes a multi-hour drift lower, and later bull divergences near intraday lows where the CVD-EMA prints higher lows as price prints lower lows, followed by constructive bounces. With resetSession=ON you can see these flows replay across sessions and judge whether a divergence is isolated or repeated (higher-quality).
Practical tips
Default demo: 5-minute chart on liquid names (META, AAPL, SPY) - lenEMA=34, pivot=5, resetSession=ON.
Scalp: 1m with shorter EMA (e.g., 13) and pivot=3.
Swing / campaign: 4H/Daily with resetSession=OFF and longer EMA (e.g., 89).
Filter with VWMA(50) and require above-average volume at the pivot region for higher-probability signals.
Use alerts (script exposes bear/bull alertconditions) to monitor divergences in real time.
Limitations / disclaimers
Markers are confirmation-based (non-repainting), i.e. they appear after the pivot completes, not as a predictive tick.
No single divergence equals a trade; combine with trend, volume, and risk management.
Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.
MPI Burst Regime by CoryP1990 – Quant ToolkitThe Microstructure Pressure Index (MPI) Burst Regime indicator detects rare, clustered volume bursts (Percentile + Z-score), converts them into an MPI (% of bursts over a rolling window), then signals and shades short-term up-pressure regimes only when structural filters (VWMA slope, Close > VWMA / Bollinger Upper) align. Includes Anchored VWAP end-detector to spot regime neutralization.
Microstructure Pressure Index (MPI) — Burst → Cluster → Regime
Why this is different
Most volume tools flag single high-volume bars. MPI requires repeated bursts within a cluster window and then promotes them into a persistent regime (MPI%). This reduces noise and signals regime or campaign-style pressure rather than one-off spikes.
How it works
Burst gate: bar is a candidate if volume ≥ Xth percentile of recent history and/or Z-score ≥ threshold (user selectable).
Clustering: require ≥ minBursts within a clusWin window to avoid lone spikes.
MPI: percent of burst bars within lenMPI via SMA% or EMA%.
RegimeUp: MPI ≥ mpiTrig + cluster OK + structural filters (VWMA slope, Close > VW/BB) + optional session filter.
End detector: optional Session/Anchored VWAP + pin/flat/slope/volume collapse + IIP neutralization triggers regime end.
Recommended settings
Start: 5-minute charts.
Auto-tune: ON (recommended) - script adapts windows to timeframe.
If you want more sensitivity: lower mpiTrig or shorten lenMPI.
To be stricter/rarer: raise pctVol and zThr, increase minBursts.
Inputs
Auto-adapt - toggle timeframe auto-tuning.
MPI window, Percentrank lookback, Volume percentile, Z-score lookback, Z threshold, MPI trigger
Bollinger (len, mult), VWMA length
Structural filters: Close>VW, Close>UB, VWMA slope requirement
Clustering: minBursts, clusWin and SMA% / EMA% choice for MPI
Visualization: markers, shading, cooldown, confirm on close
VWAP: Session / Anchored (auto/manual) and end-detector thresholds
Alerts
Use the built-in alerts: MPI Burst Trigger (Up), MPI Regime Active (Up), MPI Regime END (VWAP), Single Burst Bar. The indicator supports “Confirm on close” gating to avoid intrabar noise.
Example - (BYND, 5min)
On BYND, MPI flagged multiple clustered volume bursts hours before the vertical move and maintained a shaded up-regime as price rode the Bollinger upper band and VWMA sloped up. The regime reliably ended as VWMA flattened, volume collapsed and VWAP neutralized.
What you’re looking at (walkthrough):
Pre-run clustering: several green MPI markers appear before the large gap/rally... these are clustered percentile+Z bursts (not one-offs).
Regime persistence: once MPI% crosses the threshold and structural filters (VWMA slope, Close>VWMA) hold, the indicator shades the regime (lime). This shading persisted through the main thrust.
Price structure confirmation: price tracks the BB upper band during the push - classic accumulation → expansion behavior.
Regime END: after the top, VWMA slopes down, volume collapses and VWAP conditions trend toward neutralization - end detector flags the regime end.
Settings used in this demo (recommended start):
Chart: 5-min (demo)
Auto-Tune: ON (recommended)
lenMPI = 60, lenRank = 300, pctVol = 98, zLen = 300, zThr = 1.96, mpiTrig = 25
minBursts = 3, clusWin = 10, mpiMode = SMA%
confirmOnClose = true, session only = true for the screenshot
Why this matters:
Most volume tools flag single prints. MPI requires repeated bursts within a window and converts that density into an MPI% regime. That reduces false positives and surfaces regime or campaign-style pressure you can act upon or study.
Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.
KATIK Anchor Levels1. This Pine Script, "KATIK Anchor Levels", automatically identifies recent swing highs and lows to define an active anchor zone on the chart.
2. It accepts three user inputs: `leftBars` and `rightBars` (pivot sensitivity) and `lookback` (how far to consider anchors).
3. Pivot points are detected with `ta.pivothigh()` and `ta.pivotlow()`, which confirm a pivot after the specified left/right bars.
4. The most recent confirmed pivot values are saved into `lastHigh` and `lastLow` (persisting across bars).
5. The script plots the recent swing high as a red line and the recent swing low as a green line for immediate visual reference.
6. It shades the area between those two lines with a yellow fill to highlight the current **anchor zone**.
7. Logical conditions `insideZone`, `breakAbove`, and `breakBelow` determine whether price is neutral, bullish, or bearish relative to the anchor.
8. Three `alertcondition()` calls let you create alerts for price entering the zone, breaking above, or breaking below the anchor.
9. Best used on intraday (15–60 min) or higher timeframes with `leftBars/rightBars` tuned (smaller values = more pivots, larger = stronger pivots).
10. Limitations: pivots require sufficient bars to confirm (so anchors can lag) and the simple method doesn’t use volume/VWAP—adjust sensitivity or combine with other indicators for higher confidence.
Liquidity Spectrum Visualizer BigBeluga - optimized by nguyenthlThis optimized version of the original Liquidity Spectrum Visualizer is designed for traders who want the same analytical output as the original indicator, but with significantly faster execution and smoother performance.
The script preserves the original visualization and logic — it still maps volume activity across price bins to highlight liquidity clusters — but the internal calculations have been carefully restructured to reduce computational load and improve responsiveness on live charts.
What’s new and why it matters
Single-pass binning algorithm: Each bar is processed once, reducing loop complexity from O(N×M) to O(N). This allows the indicator to run fluidly on higher timeframes and large datasets.
Precomputed min/max levels: Eliminates redundant array scans, improving efficiency for real-time analysis.
Minimal label usage: Only key high/low markers are drawn, removing visual clutter and improving chart readability.
Optimized resource handling: Boxes and lines are refreshed as a group, minimizing redraw lag.
Why this is useful
This version is particularly helpful for traders using complex layouts, slower machines, or multi-chart setups. It offers the same analytical insight into liquidity zones while keeping chart performance stable and responsive.
How to use it
Apply the indicator as you would the original version. It visualizes liquidity distributions, helping identify areas of concentrated activity or potential support/resistance zones.
The script includes optional features such as gradient rendering and POC (Point of Control) highlighting, which can be toggled on or off for clarity.
Notes
The purpose of this version is purely performance optimization — analytical integrity is fully preserved.
The chart example provided focuses solely on this indicator, with no additional overlays, so users can clearly see its visual output.
Institutional AbsorptionHighlights potential zones where institutional participants may be absorbing aggressive buying or selling pressure.
It analyzes candle structure and volume to detect possible bullish and bearish absorption events, providing a visual cue for traders studying market imbalance and liquidity dynamics.
The script compares each candle’s wick–body ratio and volume relative to its moving average.
A bullish absorption setup occurs when strong volume appears after a sharp downward move with long lower wicks, while bearish absorption occurs after upward moves with long upper wicks, suggesting the presence of large counter-orders.
+ Features
Detects bullish and bearish absorption candles.
Customizable wick to body ratio and volume multiple thresholds.
Optional filter to require candle color alignment with trend (green/red).
Option to ignore tiny body (doji-like) candles.
+ How to Use
Adjust wick–body ratio, volume multiplier, and lookback length under “Conditions (Absorption)”.
Enable “Require candle color” to strengthen directional context.
Use alerts to receive notifications when new absorption signals appear.
+ Notes
This tool aims to visualize possible absorption behavior, not confirm institutional activity.
Combine it with your broader market structure, volume, or order flow analysis for a more comprehensive analysis.






















