Indicator

Indicator

AlgoStorm COT Positioning Index (COT-X)AlgoStorm COT Positioning Index (COT-X)
An institutional positioning engine that normalizes weekly CFTC Commitment of Traders data into a 0–100 COT Index for Commercials, Large Speculators, and Small Traders — with extreme-positioning zones, a raw net-positions mode, and automatic contract mapping for the major futures markets.
The AlgoStorm COT Positioning Index (COT-X) indicator is designed for swing and position traders who want to know who actually holds the futures market before committing to a directional thesis. The COT report is the only public record of that: commercial hedgers, large speculative funds, and the small-trader crowd. Raw net positions are nearly impossible to compare across time, so COT-X normalizes each group with Larry Williams' COT Index. When Commercials — the cohort with physical-market information — reach a positioning extreme against price, that has historically been worth knowing.
DATA TIMING — READ BEFORE LOADING
CFTC data is a TUESDAY snapshot published FRIDAY around 3:30pm ET. Everything on this indicator is at least three days behind the market by design. It is positioning CONTEXT for swing and position decisions over days to weeks — it is not, and cannot be, an execution signal . Alerts fire on the bar where a new report lands.
Technical Architecture: Week-Indexed Positioning Engine
Official Data Pipeline: Sources CFTC series through PulseWire's official LibraryCOT (Legacy report). Net positioning per group = Long − Short, requested per side and differenced in the script — nothing is approximated from price.
Williams Index Normalization: COT Index = 100 × (net − lowest net) / (highest net − lowest net) over the lookback window. Default 26 weeks (Williams' six-month setting); 156 weeks reproduces his classic three-year read. Values of 80+ mark historically extreme long positioning for that group; 20 and below, extreme short.
Week-Slot Ring Buffer: The lookback is counted in WEEKS, not chart bars. One slot is appended per weekly boundary and the live week's slot is refreshed in place, so the index reads identically on daily and weekly charts — a detail most COT scripts get wrong by measuring the lookback in bars.
Automatic Contract Mapping: The chart's futures root (ES, NQ, CL, GC, 6E, ZN and the other majors) is converted to its CFTC contract code automatically. A manual code-override input covers anything the auto-mapping misses, and an on-chart warning explains exactly what to do when a symbol has no COT series — the script never fails silently.
Report Selection: Futures-only report by default, with a toggle for the Futures + Options combined report.
Features & Functionality
Three Trader Cohorts: Commercials and Large Speculators plotted by default, Small Traders (the classic fade cohort) optional — each independently toggleable.
Extreme-Positioning Zones: Configurable thresholds (default 80/20) with a neutral-zone fill, plus an optional background tint whenever Commercials reach an extreme.
Net Positions Mode: Switches the pane to raw Long − Short contract counts with a zero line, for traders who want the unnormalized picture.
Positioning Table: Net position, index value, and extreme state for each cohort at a glance.
Alert Suite: Four conditions — Commercials entering the long- or short-extreme zone, Large Speculators entering the long- or short-extreme zone. Confirmed closes only.
Honest limitations: positioning extremes can persist for months — an extreme is a condition, not a trigger . The Legacy report's groups are broad; the Disaggregated report splits producers from swap dealers, and this version deliberately ships the Legacy read that the classic COT literature is built on. Use Daily or Weekly charts — the index builds one value per week, and intraday charts add nothing.
Open-source under CC BY-NC-SA 4.0. Educational tool — not financial advice. Indicator

Indicator

COT Heatmap [invincible3]COT Heatmap
COT Heatmap is a professional Commitment of Traders dashboard designed to visualize historical positioning pressure between two selected markets, currencies, commodities, indices, or crypto futures. The indicator converts weekly COT positioning data into an easy-to-read heatmap table, allowing traders to compare Non-Commercial and Commercial positioning strength, extremes, long/short participation, and A-B spread pressure directly on the chart.
The tool is built for macro, forex, commodities, futures, and intermarket analysis. It can automatically detect the current chart symbol or allow the user to manually select Pair A and Pair B from a predefined COT market list.
-----------------------------------------------------------------------------------------------
Main Features
Historical COT heatmap table
Auto symbol detection from the chart
Manual Pair A / Pair B selection
Futures Only or Futures + Options data mode
Non-Commercial, Commercial, or Both participant modes
Separate metric control for Pair A and Pair B
Historical weekly values displayed by date
Adjustable table size, position, start date, and number of periods
Heatmap coloring for fast visual interpretation
Optional A-B positioning spread columns
-----------------------------------------------------------------------------------------------
Data Source
The indicator uses weekly COT data through PulseWire’s COT Library.
Available data modes:
Futures Only
Uses futures positioning data only.
Futures and Options
Uses combined futures and options positioning data.
The indicator uses Legacy COT report categories:
Non-Commercial Positions
Commercial Positions
Open Interest
All COT calculations are performed on the weekly timeframe.
-----------------------------------------------------------------------------------------------
Participant Modes
The indicator supports three participant display modes:
Non-Commercial Only
Shows speculative positioning metrics.
Commercial Only
Shows hedger/commercial positioning metrics.
Both
Shows both Non-Commercial and Commercial metrics side by side.
-----------------------------------------------------------------------------------------------
Core Positioning Formulas
For each selected market:
Open Interest
OI = Total Open Interest
Non-Commercial Net Position
NC Net = NC Long − NC Short
Commercial Net Position
Commercial Net = Commercial Long − Commercial Short
Long Change
Long Change = Current Long − Previous Week Long
Short Change
Short Change = Current Short − Previous Week Short
Net Change
Net Change = Long Change − Short Change
-----------------------------------------------------------------------------------------------
Long% and Short% Formulas
The indicator normalizes long and short positions against open interest.
Long Percentage
Long% = Long Positions / Open Interest × 100
Short Percentage
Short% = Short Positions / Open Interest × 100
These values show how much of total open interest is held on the long or short side by a specific participant group.
-----------------------------------------------------------------------------------------------
Flip% Formula
Flip% measures the net long/short bias as a percentage of open interest.
Flip%
Flip% = Long% − Short%
Interpretation:
Positive Flip% = participant group is net long
Negative Flip% = participant group is net short
Higher positive values show stronger bullish positioning
Lower negative values show stronger bearish positioning
Example:
If Non-Commercial Long% = 42%
and Non-Commercial Short% = 25%
Then:
NC Flip% = 42 − 25 = +17%
This means Non-Commercial traders are net long by 17% of open interest.
-----------------------------------------------------------------------------------------------
Difference Metrics
The indicator compares Non-Commercial and Commercial net positioning.
Non-Commercial Difference
NC Difference = NC Net − Commercial Net
This measures how strongly speculative positioning differs from commercial positioning.
Commercial Difference
Commercial Difference = Commercial Net − NC Net
This is the inverse view, useful when analyzing commercial hedger pressure.
-----------------------------------------------------------------------------------------------
Diff13 / Diff26 / Diff52 Formulas
The Diff columns are stochastic-style normalized scores of the positioning difference over different historical windows.
Stochastic Positioning Score
Stoch(X, Length) =
(X − Lowest(X, Length)) / (Highest(X, Length) − Lowest(X, Length)) × 100
If the range is zero, the value returns 50.
Where:
X = selected positioning series
Length = 13, 26, or 52 weeks
NC Diff13 *
NC Diff13 = Stoch(NC Difference, 13)
NC Diff26
NC Diff26 = Stoch(NC Difference, 26)
NC Diff52
NC Diff52 = Stoch(NC Difference, 52)
Commercial Diff13
Commercial Diff13 = Stoch(Commercial Difference, 13)
Commercial Diff26
Commercial Diff26 = Stoch(Commercial Difference, 26)
Commercial Diff52
Commercial Diff52 = Stoch(Commercial Difference, 52)
Interpretation:
Values near 100 show positioning is near the upper extreme of the selected lookback period
Values near 50 show neutral/mid-range positioning
Values near 0 show positioning is near the lower extreme of the selected lookback period
-----------------------------------------------------------------------------------------------
COT Index Formulas
The COT Index measures where current net positioning stands relative to its own historical range.
COT Index
COT Index =
(Current Net Position − Lowest Net Position over N weeks) /
(Highest Net Position over N weeks − Lowest Net Position over N weeks) × 100
If the range is zero, the value returns 50.
-----------------------------------------------------------------------------------------------
Non-Commercial COT Index
NC Index 52
NCIdx52 = Stoch(NC Net, 52)
This shows where current Non-Commercial net positioning stands within its 1-year range.
NC Index 156
NCIdx156 = Stoch(NC Net, 156)
This shows where current Non-Commercial net positioning stands within its 3-year range.
-----------------------------------------------------------------------------------------------
Commercial COT Index
Commercial Index 52
ComIdx52 = Stoch(Commercial Net, 52)
This shows where current Commercial net positioning stands within its 1-year range.
Commercial Index 156
ComIdx156 = Stoch(Commercial Net, 156)
This shows where current Commercial net positioning stands within its 3-year range.
-----------------------------------------------------------------------------------------------
A-B Spread Formulas
The indicator can also compare Pair A and Pair B positioning directly.
A-B Non-Commercial Flip%
A-B NC Flip% = Pair A NC Flip% − Pair B NC Flip%
A-B Commercial Flip%
A-B Commercial Flip% = Pair A Commercial Flip% − Pair B Commercial Flip%
Interpretation:
Positive A-B Flip% means Pair A has stronger positioning than Pair B
Negative A-B Flip% means Pair B has stronger positioning than Pair A
Useful for forex pair analysis, relative commodity analysis, and intermarket comparison
Example:
If EUR NC Flip% = +20%
and USD NC Flip% = +5%
Then:
EUR − USD NC Flip% = +15%
This suggests stronger speculative positioning in EUR relative to USD.
-----------------------------------------------------------------------------------------------
Heatmap Color Logic
The table uses color gradients to make positioning extremes easy to identify.
For score-based columns such as Diff13, Diff26, Diff52, NCIdx52, NCIdx156, ComIdx52, and ComIdx156:
High values move toward the positive color
Mid-range values move toward the neutral color
Low values move toward the negative color
Default colors:
Positive: Blue
Neutral: Pink
Negative: Red
For Long% columns:
Higher Long% is treated as stronger
Lower Long% is treated as weaker
For Short% columns:
Higher Short% is treated as weaker
Lower Short% is treated as stronger
For Flip% columns:
The heatmap uses a signed scale.
Signed Heatmap Normalization
Normalized Flip Value =
(Flip% + Flip Scale) / (2 × Flip Scale)
The value is clamped between 0 and 1.
Default Flip Scale = 35%
This means:
+35% or above = strong positive color
0% = neutral color
−35% or below = strong negative color
-----------------------------------------------------------------------------------------------
How to Read the Table
Each row represents one weekly COT snapshot.
The Date column shows the COT week.
Pair A and Pair B are displayed in separate grouped sections. Each section can include Non-Commercial metrics, Commercial metrics, or both, depending on user settings.
Important interpretation guidelines:
Diff13 / Diff26 / Diff52
Shows short-term, medium-term, and 1-year positioning extremes between Non-Commercial and Commercial groups.
NCIdx52 / NCIdx156
Shows whether speculative positioning is historically stretched or depressed.
ComIdx52 / ComIdx156
Shows whether commercial hedger positioning is historically stretched or depressed.
Long%
Shows the long-side participation as a percentage of open interest.
Short%
Shows the short-side participation as a percentage of open interest.
Flip%
Shows the net directional bias after subtracting short exposure from long exposure.
A-B Flip%
Shows relative positioning pressure between the two selected markets.
-----------------------------------------------------------------------------------------------
Example Use Cases
Forex Analysis
Use Pair A and Pair B to compare currency futures positioning.
Example:
Pair A = EUR
Pair B = USD
This allows EUR/USD positioning analysis using COT data.
Commodity Analysis
Compare metals, energy, or agricultural markets.
Example:
Pair A = Gold
Pair B = Silver
This helps identify relative speculative or commercial positioning strength.
Index Analysis
Compare equity index futures.
Example:
Pair A = NASDAQ
Pair B = S&P 500
This can help identify relative risk appetite and index positioning rotation.
Macro Sentiment Analysis
Use Non-Commercial positioning to track speculative crowding and Commercial positioning to observe hedging pressure.
-----------------------------------------------------------------------------------------------
Notes
COT data is weekly and is not designed for intraday signals. This indicator is best used as a macro positioning tool, sentiment confirmation tool, or higher-timeframe market context dashboard.
The heatmap does not generate direct buy or sell signals. Instead, it provides a structured view of positioning extremes, participant behavior, and relative strength between selected COT markets.
Extreme readings can remain extreme for long periods, so COT data should be combined with price action, trend structure, volatility, liquidity, and broader market context.
-----------------------------------------------------------------------------------------------
Summary
COT Historical Heatmap transforms weekly Commitment of Traders data into a clean, customizable, and visually intuitive positioning dashboard. By combining Net Positioning, Long%, Short%, Flip%, COT Index, Difference Scores, and A-B relative spread analysis, it helps traders understand how Non-Commercial and Commercial participants are positioned across major futures markets.
Indicator

Indicator

True Time Price Profile - Hybrid Dynamic Bins[ALT_analyst]True Time Price Profile - Hybrid Dynamic Bins
◆ NOTICE / DISCLAIMER
This architecture is NOT a standard Volume Profile (VP) or a conventional Time Price Opportunity (TPO) indicator.
It is a highly advanced, multi-variable structural density engine.
It was specifically designed to mathematically extract institutional defense lines and localized price absorption in environments lacking reliable tick volume (e.g., Forex, CFD, Indices),
functioning as a rigorous technical benchmark for supply/demand extraction.
◆ EXECUTIVE SUMMARY
This script is deployed as a Proof of Concept (PoC) to demonstrate the integration of price absorption, time-based variance,
and strict pro-rata energy distribution within a localized UI rendering environment.
By discarding standard aggregation methods, this open-source architecture isolates the true "quality" of price stagnation,
exposing anomalous market states where large capital defends specific price buckets.
◆ ARCHITECTURE & QUANTITATIVE LOGIC
Standard profiles often struggle because they cannot distinguish between a "rapid vacuum passing" and a "defended consolidation."
This engine utilizes three proprietary layers to resolve this logic gap:
Pro-Rata Energy Distribution Engine
To prevent large-range bars (e.g., sudden momentum spikes) from artificially inflating the profile score across empty price vacuums, this script enforces a strict pro-rata allocation matrix.
Let N_bins be the total number of price bins a single bar intersects.
The assigned value for each specific bin is calculated as:
Apportioned Value = Base Value / N_bins
This completely neutralizes vacuum zones, correctly assigning mass only to true areas of conflict.
Velocity & Acceleration (Absorption) Evaluator
Instead of counting volume, the script measures the deceleration of price action.
It compares the high-low range of the current bar (v_curr) against the previous bar (v_prev). A negative acceleration (accel < 0) indicates kinetic energy is being absorbed by limit orders.
This absolute delta is extracted as the base absorption value (|a|).
Time Variance Logic (Market Memory)
A price level tested multiple times over a prolonged period holds significantly more structural integrity than a level tested only once.
The engine applies the statistical variance of the normalized time index (t) to scale the localized importance of a bin:
Variance (σ²) = (Sum of t² / n) - (Average t)²
The final Hybrid Score is the integration of absorbed energy scaled by the logarithmic variance:
Score = Sum( |a| * ln(1 + σ²) )
◆ PRACTICAL APPLICATION: HOW TO TRADE WITH THIS ENGINE
Instead of blindly treating every high-volume node as support/resistance, utilize this engine to identify Structural Friction:
Locating Hidden Institutional Limits:
Bins with exceptionally high Hybrid Scores often act as heavy liquidity pools.
Price action will typically stall or reverse sharply upon re-entering these zones.
Breakout Validation:
If price breaks out of a Value Area (VA) without generating new high-score bins, it indicates a lack of limit-order resistance (a vacuum).
These moves are prone to rapid continuation or swift mean-reversion sweeps.
Cross-Session Node Alignment (Breakout Threshold):
By anchoring the profile to short, sequential sessions, observe if high-scoring nodes (POCs) align horizontally at the same price level across multiple independent profiles.
This structural anomaly signifies a massive, sustained accumulation of limit orders.
A decisive price breach of this specific alignment typically triggers a high-probability volatility breakout, as the defended liquidity pool is rapidly consumed.
◆ SYSTEM CAPABILITIES AND LIMITATIONS
Visual Synthesis of Invisible Nodes:
Resolves precise support/resistance vectors purely from price action kinetics, independent of broker volume feeds.
Dynamic Resolution Scaling:
The bin size is strictly tethered to the Average True Range (ATR), ensuring the profile grid automatically calibrates to the underlying asset's volatility regime.
Limitations & Warnings:
PulseWire enforces a strict cap of 500 max boxes/lines per indicator. To prevent script execution limits or array errors, the maximum lookback and bin count are dynamically capped.
Furthermore, if the scaled ATR drops to absolute zero, the geometric grid cannot initialize.
◆ INPUT PARAMETERS REFERENCE
Live Update Frequency:
Toggle between 'Update on Every Tick' and 'Update on Bar Close'.
CRITICAL WARNING: Using tick updates combined with multiple MTF arrays on a fast timeframe will cause localized UI lag. Use 'Bar Close' as a CPU saver.
Profile Calculation Mode:
Select 'Classic' for standard aggregation, or 'Hybrid' to engage the Absorption + Variance matrix (The core edge of this tool).
Grid Step Multiplier:
Lower values increase vertical resolution.
Warning: Values below 0.05 on high-volatility assets may trigger the 500-box rendering limit.
Show Debug Data Table:
Projects a live array matrix on the bottom right, displaying precise Price, Count, Absorption, Variance, and Hybrid Scores for absolute algorithmic transparency.
Indicator

Nexus Global 15m ORBIntroduction
The Nexus Global 15m ORB indicator is a comprehensive opening range tool designed to map the initial 15-minute price action across the three major global trading sessions: Tokyo, London, and New York. Beyond simply marking the high and low of the opening range, this script integrates Fibonacci-based Optimal Trade Entry (OTE) zones, mathematical trend extensions, and Higher Timeframe (HTF) structural confluence to help traders identify high-probability reversal and continuation zones.
Core Concepts & What It Does
Opening Range Breakout (ORB) strategies rely on the volatility generated at the start of a trading session. The first 15 minutes often establish a support and resistance framework for the hours that follow. This indicator automatically detects these 15-minute windows and projects the range forward until the next session begins.
However, a standard ORB is often not enough to build a complete trading plan. To address this, the indicator incorporates:
- Internal Fibonacci Levels & OTE Zone: Calculates key retracement levels (38.2% and 50%) and highlights a specific Optimal Trade Entry (OTE) box between the 61.8% and 78.6% levels of the session's range.
- Session Trend Extensions: Projects standard Fibonacci extensions (0.618, 1.272, and 1.618) outward from the ORB high and low to serve as dynamic take-profit targets or exhaustion levels.
- HTF Institutional Pivots: Pulls structural swing highs and lows from a user-defined higher timeframe (e.g., 4-hour) and calculates its own macro Fibonacci levels. When these macro levels intersect with the micro 15m ORB range, the indicator highlights them as "Institutional Pivots."
How It Calculates (Underlying Logic)
- Session Tracking: Uses time() functions to detect the exact 15-minute timeframe of the Tokyo (0845-0900 JST), London (0800-0815 GMT), and New York (0930-0945 EST) opens. It dynamically tracks the high and low during this window and locks the values once the window closes.
- Internal Mathematics: The range size (rng) is calculated as ORB High - ORB Low. Internal levels are found by subtracting percentages of the range from the ORB High (e.g., ORB High - (rng * 0.5) for the 50% level).
- HTF Confluence: Utilizes request.security() alongside ta.highest() and ta.lowest() over a customizable lookback period to establish the macro structural range. It then checks if the macro 38.2%, 50%, or 61.8% levels fall sequentially inside the current active ORB boundaries, plotting them distinctly when true.
- Performance Optimization: To ensure the indicator does not cause chart lag (a common issue with heavy line/box drawing scripts), the drawing engine is restricted to update visual arrays strictly on barstate.islast, ensuring lightning-fast load times even on the 1-minute chart.*
How to Use It
- Breakout & Retest: Watch for price to break the ORB High or Low, and then wait for a retracement back to the 38.2% or 50% internal levels to join the trend toward the 1.272 or 1.618 extensions.
- OTE Reversals: If a false breakout (fake-out) occurs, look for price to return to the highlighted OTE Zone (61.8% - 78.6%). This zone often acts as a strong area of defense for institutional order flow, providing excellent risk-to-reward entries back toward the opposite side of the ORB.
- Institutional Pivots: When an HTF line populates inside the session range, treat it as a heavy magnet or resistance. Trades taken in confluence with these pivots carry a much higher structural weighting.
Originality & Usefulness
While there are many ORB tools on PulseWire, the vast majority only display horizontal lines for the high and low. This script is highly original because it combines micro-session timing with macro-structural Fibonacci confluence. By mashing up session tracking with HTF swing analysis and deep optimization drawing methods, it provides a complete, lag-free institutional framework in a single indicator, saving traders from needing multiple overlapping scripts to achieve the same result. Indicator

Gold Macro Dashboard [invincible3]Gold Macro Indicator Dashboard
A professional macro-driven gold dashboard designed to evaluate the broader gold market regime using automatically sourced PulseWire data. The indicator combines real yields, dollar strength, rate expectations, risk-off demand, gold breadth, and confirmation ratios into a single 0–100 Gold Macro Score.
The model uses a fixed daily macro timeframe, so dashboard readings stay consistent across intraday, daily, and weekly charts.
Main Features
Fixed Daily macro scoring
0–100 Gold Macro Score oscillator
Macro Regime classification
Macro Strength score
Real Yield driver
DXY / US Dollar driver
Gold liquidity proxy
US 2Y rate outlook
VIX risk-off signal
Cross-currency gold breadth
Gold/Silver ratio
Gold/S&P 500 ratio
Copper/Gold ratio
US 10Y–2Y yield spread
Crypto-style clean dashboard layout
Dark/light theme adaptive colors
No manual macro inputs
Score Interpretation
80–100: Strong Bull
60–80: Bullish
40–60: Neutral
20–40: Bearish
0–20: Strong Bear
How It Works
The composite score is weighted as follows:
Real Yield 10Y: 30%
US Dollar DXY: 25%
Gold liquidity proxy: 15%
US 2Y rate outlook: 10%
Risk-Off VIX: 10%
Gold breadth: 10%
Gold breadth checks whether gold is trending higher across major currencies, including XAUUSD, XAUEUR, XAUJPY, XAUGBP, and XAUCNH.
Use Case
This indicator is designed for traders and investors who want a macro-level view of gold’s trend quality. It can help identify whether gold strength is supported by broad macro conditions or only short-term price movement.
Disclaimer
This is an educational macro model only. It is not financial advice and should not be used as a standalone buy or sell signal. Always combine it with your own risk management, technical analysis, and market research. Indicator

HTF Profile Projection | Rainbow MatrixGENERAL OVERVIEW
HTF Profile Projection is a live higher-timeframe X-ray. It takes the current, still-forming candle of a higher timeframe (for example the 4H or Daily candle) and projects it to the right of live price, then fills it with a horizontal profile that shows what is happening INSIDE that candle: where volume is concentrating, where buyers or sellers are dominating each price zone, and where price moved through empty space.
The goal is to let a trader read the internal structure of the higher-timeframe candle without leaving the current chart. Instead of seeing the 4H candle as a single block, you see its anatomy — the price levels that hold the most activity, the zones controlled by buyers versus sellers, and the thin gaps the candle ran through quickly. Every bar in the profile is built from real chart-bar data accumulated since the higher-timeframe candle opened, not drawn manually.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
A higher-timeframe candle is a summary. A single 4H or Daily candle compresses hours of two-sided auction into one open, high, low, and close — and in doing so it hides where the volume actually traded and which side was in control at each price. Two candles with an identical body and identical range can have completely different internal structures: one built on heavy buying absorbed near the lows, the other on distribution near the highs. The standard candle cannot show that difference.
Most tools that try to surface this are built around the wrong constraint. Single-timeframe volume profiles describe the visible range, not the live higher-timeframe candle. Intrabar dissection tools that read true sub-candle data depend on functions that require additional data subscriptions and will not load on standard plans.
HTF Profile Projection takes a different route: it accumulates the chart's own bars since the higher-timeframe candle opened, and distributes each bar's activity across the price range it actually traversed. This reconstructs the internal volume and directional balance of the forming higher-timeframe candle using only standard data feeds — and projects it forward as a single, readable object.
The practical value: when price returns to a higher-timeframe candle later, the levels that mattered inside it — the high-volume node, the buyer- or seller-dominated zones, the empty imbalance gaps — are common revisit and reaction areas. Seeing them while the candle is still forming gives structural context that the candle body alone cannot.
HTF PROFILE PROJECTION FEATURES
The indicator includes these main components: a projected higher-timeframe candle, a range-spread movement profile, automatic resolution, a buy/sell dominance read, imbalance zones, a Point of Control marker, and a live info panel. Multilingual interface and full visual customization.
PROJECTED HTF CANDLE
🔹 What It Does
Reads the live, still-forming higher-timeframe candle and draws it (body + wicks) to the right of live price, color-coded by its direction. The horizontal profile attaches inside its price range.
🔹 Method
The higher-timeframe OHLCV is read via request.security() with lookahead=barmerge.lookahead_off, so no future information is used. The candle and its profile update in real time as the higher-timeframe bar forms — the intended live behavior — and reset cleanly when a new higher-timeframe period opens. If the chart timeframe is at or above the selected higher timeframe, the profile is hidden and a guard note is shown, because one chart bar covering the whole period cannot produce a meaningful internal read.
RANGE-SPREAD MOVEMENT PROFILE
🔹 What It Does
Splits the higher-timeframe candle's range into horizontal price buckets and fills each with the activity that occurred there.
🔹 Method
Since the higher-timeframe candle opened, each chart bar's volume and signed direction are accumulated, then distributed across every bucket the bar's low–high range spans — not dumped at a single midpoint. This range-spread approach makes both the per-zone volume and the per-zone buy/sell balance reflect where price actually traded inside the candle, rather than collapsing onto one level.
AUTOMATIC RESOLUTION
🔹 What It Does
The number of price buckets is chosen automatically from volatility. The higher-timeframe range is divided by the average chart-candle size (ATR), so each fraction of the profile corresponds to roughly one typical move of the chart timeframe.
🔹 Why It Matters
Calmer markets produce a finer profile; volatile markets produce a coarser one. The resolution matches the instrument and timeframe automatically, bounded between 4 and 50 buckets to keep the chart readable.
BUY/SELL DOMINANCE (DELTA MODE)
🔹 What It Does
In Delta mode (the default), each zone is colored by which side dominated: green for net buyers, red for net sellers, and gray for balanced zones where heavy two-way trade produced no clear winner. Bar length shows the magnitude of the imbalance.
🔹 Method
Each chart bar is classified by the sign of close versus open and contributes its volume as signed activity (+ for an up bar, − for a down bar). The net per zone is a direction-based proxy for buy/sell pressure, computed locally on standard data feeds — it is not exchange order-flow data, which Pine cannot access without additional subscriptions.
🔹 Volume Mode
Switching Source Metric to Volume colors the profile by a cold-to-hot intensity gradient instead, showing how much traded at each price regardless of direction.
IMBALANCE ZONES
🔹 What It Does
Price zones with little or no activity render distinctly. A contiguous run of empty buckets marks an imbalance — a price range the higher-timeframe candle moved through quickly with little participation.
🔹 Why It Matters
These gaps are not drawn as separate boxes; they emerge from the ABSENCE of activity in the profile. They are common revisit targets, since price often returns to fill ranges it previously skipped.
POINT OF CONTROL MARKER
🔹 What It Does
A horizontal marker tags the dominant bucket — the price level with the most activity (Volume mode) or the strongest net dominance (Delta mode). A label reports that level's share of the period's total.
LIVE INFO PANEL
🔹 What It Shows
A compact corner panel reports the higher timeframe in use, the percentage of the period elapsed, the Point of Control price, the number of imbalance zones, and the total higher-timeframe volume. When the chart-timeframe guard is active, the panel collapses to a single notice so the user always gets feedback.
🔹 Customization
The panel can be placed in any of the four chart corners and rendered in several font sizes. The display language is controlled by the System Language input.
HOW TO USE
This indicator is not a signal generator. It is a structural X-ray: it shows the internal anatomy of the forming higher-timeframe candle.
🔹 Setup
Set the Higher Timeframe input above your current chart timeframe (for example chart 15m, HTF 4H). The forward candle appears to the right of live price. If the chart timeframe is at or above the HTF, the profile hides and the guard note appears.
🔹 Reading Delta Mode (default)
Green zones mark prices where buyers dominated, red where sellers dominated, gray where the auction was balanced. The Point of Control marks the most decisive level inside the candle.
🔹 Reading Volume Mode
The rainbow profile shows where the most volume traded. Long bars are high-activity nodes; gaps are low-volume imbalance zones.
🔹 Tactical Reading
◇ A high-activity node is a price the higher timeframe has accepted — a common reaction level on revisit.
◇ A buyer- or seller-dominated zone shows which side controlled that price during the period.
◇ An imbalance gap is a range price ran through quickly — a frequent magnet for later revisits.
INPUTS EXPLAINED
🔹 System Language
Display language for the panel and labels. Options: English (default), Português, Español, Русский, 中文 (Chinese).
🔹 Higher Timeframe
The higher timeframe to project. Must be above the chart timeframe.
🔹 Show Forward HTF Candle
Toggle for the projected candle body and wicks.
🔹 Auto-Resolution ATR Length
Lookback for the average chart-candle size used to pick the bucket count.
🔹 Source Metric
Volume (intensity gradient) or Delta (buy/sell dominance, default).
🔹 Projection Offset / Profile Width
Position and maximum horizontal length of the profile to the right of price.
🔹 Spike Threshold / Imbalance Threshold
Controls for what counts as a high-activity node and what counts as an empty/imbalance zone.
🔹 Palette Mode
Intensity (cold-to-hot) or Bull-Bear (dominance coloring, default).
🔹 Profile Transparency / Show POC Marker
Visual styling for the profile and the Point of Control line.
🔹 Info Panel / Position / Font Size
Toggle, corner, and size for the live panel.
IMPORTANT NOTES
HTF Profile Projection works on any chart timeframe below the selected higher timeframe. It is built for liquid instruments with reliable volume data: crypto perpetual contracts, large-cap equities, futures, major forex pairs. On low-volume instruments the profile becomes less reliable.
This is a real-time tool. The forming higher-timeframe candle and its profile update intra-period by design; the profile resets when a new higher-timeframe period opens. It uses only request.security() and chart-bar accumulation, so it runs on standard data feeds without footprint() or request.security_lower_tf().
Pine Script v6. Open-source under Mozilla Public License 2.0.
UNIQUENESS
HTF Profile Projection is unique in how it unifies three reads into one object. Most higher-timeframe context tools stack separate features: a candle outline, fair-value-gap rectangles, and volume-spike markers. This indicator merges them — the forward higher-timeframe candle and its volume-by-price profile are a single object. High-activity zones appear as the profile's longest bars; imbalance zones are not drawn at all, they emerge from the absence of activity in the profile. The buy/sell dominance read is reconstructed from chart-bar direction and distributed across each bar's true price range, so it reflects where the auction was actually contested — and it does this on standard data feeds, without the order-flow subscriptions that comparable intrabar tools require. The combination of a live forward-projected candle, automatic volatility-matched resolution, range-spread accumulation, and dominance-versus-balance coloring produces a structural read that behaves differently from single-timeframe volume profiles and from static fair-value-gap tools. Indicator

Relative Volume (RVOL) Surge Dashboard Overview
The **Relative Volume (RVOL) Surge Dashboard** is a utility script designed to visually isolate institutional activity and anomalies in volume. In financial markets, sudden volume spikes that double the recent average often signal institutional presence, news-driven breakouts, or potential trend exhaustion points.
This indicator keeps your main chart clean while feeding you live volume metrics via an on-chart HUD (Heads-Up Display).
Key Features
* **Live Relative Volume Multiplier: ** Instantly displays exactly how many times the current bar's volume is exceeding its standard historical moving average (e.g., 1.54x, 3.10x).
* **Smart UI Dashboard: ** A customizable, clean panel that switches colors (Green/Red) immediately depending on whether a 2x volume surge is active or normal.
* **On-Chart Signals: ** Draws a clean yellow cross at the bottom of the price bar whenever a volume anomaly occurs.
* **Built-in Alert Engine: ** Supports native Trading View alert conditions so you can receive push notifications, email, or webhook alerts the exact second a volume anomaly prints.
How to Use It
1. **Trend Breakout Confirmation: ** Look for the dashboard to trigger a green "2x ALERT: ACTIVE" during a consolidation breakout. High volume confirms validity.
2. **Climactic Reversals: ** If a stock has been in an extended downtrend/uptrend and suddenly prints a massive 2x+ volume spike without making significant price progress, look for a potential reversal.
3. **Customization: ** Use the settings panel to change the lookback period (default is 20 bars) or move the dashboard to any corner of your screen to prevent overlapping other indicators.
DISCLAIMER:
This script is created for educational, informational, and utility purposes only. It does not constitute financial, investment, or trading advice. Past performance of any volume metrics or technical signals is not indicative of future results. Financial markets involve substantial risk of loss, and individual traders are entirely responsible for their own capital allocation and risk management. Always perform your own due diligence before entering any trade. Indicator

AlgoStorm Institutional VWAP Suite (IVS)AlgoStorm Institutional VWAP Suite (IVS)
A multi-anchor, institutional-grade VWAP framework covering five distinct time horizons simultaneously — Daily, Rolling Time-Window, NY, European/London, and Asian/Pacific — with volume-weighted standard deviation bands, a configurable color suite, a live info table, and full alert coverage.
The AlgoStorm Institutional VWAP Suite (IVS) is built on a single conviction: VWAP is not a single line, it is a layered structural map. Professional traders and institutions do not reference one VWAP — they read the relationship between multiple anchored VWAPs across sessions and time windows to understand where the auction is relative to where it has been. IVS makes this entire multi-anchor framework available in one cohesive, configurable overlay, designed for futures, equities, forex, and any instrument with reliable volume data.
Why Multiple VWAPs?
Each anchor tells a different story. The Daily VWAP defines where the current session is balanced. The Rolling VWAP reflects dynamic equilibrium over a configurable time window, acting as a responsive benchmark for swing and position traders. The session VWAPs — NY, London, and Asia — reveal the price acceptance or rejection developing within each regional trading block. When price holds above the NY VWAP but stalls beneath the Daily VWAP, that tension itself is actionable information. IVS maps all five references simultaneously so those relationships are always visible.
Technical Architecture
Each VWAP anchor is computed through a dedicated VwapInstance User-Defined Type (UDT). This object maintains the running sums required for both the VWAP price and the volume-weighted population standard deviation, using the mathematically correct formula σ² = E − E ² . Deviation bands derived from this are true volume-weighted standard deviations — not ATR estimates or fixed percentage offsets.
The Rolling VWAP runs on a High-Fidelity Sliding Time-Window Engine . Rather than anchoring to a calendar boundary, it maintains four parallel arrays (price-volume, volume, squared price-volume, and timestamps) to continuously evict data older than the user-defined window. This produces a genuinely time-accurate rolling VWAP at any timeframe, not a bar-count approximation.
Session resets (NY, London, Asia) use a one-minute anchor window via time("1", range, timezone) , which fires accurately across all chart timeframes — not just 1-minute charts.
Features & Functionality
Daily VWAP: Anchors at each calendar day open using hlc3 as the price source. Resets correctly on the first bar of every session including overnight gaps. Paired with optional volume-weighted standard deviation bands (two configurable multipliers for ±1σ and ±2σ levels).
Daily VWAP Wave (H/L): Plots two companion VWAPs anchored to the daily high and low respectively, with a filled channel between them. This "wave" shows the intraday auction range as a structural envelope rather than a single midline — price inside the wave indicates balance, price outside indicates initiative direction.
Rolling Time-Window VWAP: Fully configurable window in days, hours, and minutes. Defaults to 1 day. Paired with optional volume-weighted standard deviation bands. Unlike a fixed daily anchor, the rolling VWAP adapts continuously, making it a natural trend reference for intraday and swing traders.
NY Session VWAP: Anchors at 09:30 ET (New York open). The primary reference for equities and US futures RTH participants. Resets each session regardless of the chart's display timezone.
European / London Session VWAP: Configurable anchor at either 03:00 ET (London) or 02:00 ET (Frankfurt). Essential for tracking European institutional participation, particularly on DAX and EUR/USD.
Asian / Pacific Session VWAP: Configurable anchor at either 20:00 ET (Tokyo) or 18:00 ET (Sydney). Useful for establishing overnight reference levels and identifying the range that NY will either accept or reject at the open.
Color Suite: Every line has an independently configurable color input. The defaults (Silver, White, Blue, Lime, Red, Yellow) are chosen for visual hierarchy on dark themes, but each can be adjusted for light themes, personal preference, or multi-indicator setups.
Live VWAP Info Table: An optional on-chart table (top-right, togglable) displaying the current numeric value of all six active VWAP levels, color-coded to match their respective lines. Values display as — for any anchor that has not yet reset in the current session. Populated only on the last bar to avoid unnecessary per-bar overhead.
10 Alert Conditions: Cross-above and cross-below alerts for every VWAP line. Alerts fire on bar close (confirmed bar only) to prevent repainting. Each message includes {{ticker}} and {{close}} placeholders for use in webhook automations or notification routing.
Usage Guide
For intraday futures traders (ES, NQ, DAX): Enable the Daily VWAP Wave and NY VWAP as your primary references. Price reclaiming the NY VWAP after a morning flush is a high-probability mean-reversion setup. Price pushing beyond the Daily Wave High with sustained delta confirms initiative buying.
For swing and multi-day traders : The Rolling VWAP is your core tool. Set the window to 3-5 days and treat it as a dynamic fair value anchor. When price returns to the Rolling VWAP after extended deviation, evaluate whether volume supports continuation or reversal.
For session transition analysis : Enable all three session VWAPs. At the NY open, observe where price is relative to the Asian and London anchors. Acceptance above the London VWAP at NY open is structurally bullish. Rejection and failure below it signals continuation of overnight selling.
For deviation band usage : The ±1σ bands define the statistically normal range for the session. Extended moves to ±2σ with declining volume are classic mean-reversion setups. Moves to ±2σ with expanding volume signal initiative behavior and potential trend continuation. Indicator

AlgoStorm Institutional Key Levels (IKL)AlgoStorm Institutional Key Levels (IKL)
For US Index Futures and DAX.
An institutional-grade structural mapping tool built on actual Auction Market Theory (AMT) to track the true liquidity and volume nodes across centralized futures markets.
The retail trading industry has heavily distorted the word "institutional," convincing traders that algorithms are hunting their stop-losses at random pivot highs. The reality is far more objective. Real institutions, hedge funds, and market makers rely on definitive, centralized exchange volume, liquidity depth, and execution algorithms (VWAP/TWAP) to scale into positions without causing market impact.
The AlgoStorm Institutional Key Levels (IKL) indicator maps the precise mathematical benchmarks that dictate this capital flow. Designed for markets with centralized volume (CME, Eurex), it plots highly accurate session opens, Opening Ranges, Initial Balances, and Value Areas, stripping away retail noise to provide a professional framework for your intraday bias.
Technical Specifications & Architecture
Supported Markets: Universal application for centralized futures markets including US Indices (ES, NQ, YM, RTY) and European Indices (DAX/FDAX, FDXM).
Supported Timeframes: Designed specifically for 2-minute through 30-minute charts . (Note: Due to the historical buffers required for multi-session mapping, Pine Script will reject timeframes below 2-minutes).
Timezone Mastery: Flawlessly handles Daylight Saving Time (DST) transitions natively. US Futures are bound strictly to America/New_York , while DAX/Eurex Futures are strictly bound to Europe/Berlin .
Fixed-Pool Drawing Engine: Most level indicators suffer from memory bloat and chart lag due to constant object creation and garbage collection limits. The IKL utilizes a highly optimized "fixed-pool" architecture. Lines and labels are generated only once on the first bar and recycled dynamically.
Smart Label Stagger: Features a forward-pass algorithm that detects and pushes overlapping labels apart (user-adjustable separation), ensuring your chart remains pristine regardless of price compression.
US Futures Mapping (ES / NQ / YM / RTY)
All inputs trigger based on standard America/New_York session times.
Globex Structure: Previous Day High/Low (Full 18:00–17:00 session) and Overnight High/Low (18:00 to 09:30 ET).
RTH Anchors: Previous Day Close (PDC) locked exactly at the 16:00 ET cash close, and the RTH Open (09:30 ET) held all day.
Gap Fill Zone: Automatically draws an asynchronous highlight box between the PDC and current RTH open if an unfilled gap of more than 2 ticks exists.
Auction Metrics: 15-minute Opening Range (09:30–09:45 ET) and the standard Initial Balance (09:30–10:30 ET) with optional 100%, 150%, and 200% IB extension bands.
Eurex / DAX Futures Mapping (FDAX / FDXM)
A complete, standalone module built for the complex, multi-open nature of European futures. Based on Europe/Berlin time.
Asian / Pre-London Phase: Tracks Eurex overnight high/low from 01:00 CET until Frankfurt liquidity arrives at 08:00 CET.
Euro / Frankfurt Session: Plots the 08:00 CET Open and the 30-minute Euro Opening Range (08:00–08:30 CET).
Xetra Cash Session: Plots the definitive Xetra Open (09:00 CET), Xetra OPR (09:00–09:30 CET), and the Previous Xetra Close (17:30 CET) which acts as the DAX equivalent to the US PDC.
US Open Impact: Captures the 15:30 CET open and 30-minute OPR, marking the massive liquidity injection when US equity markets open.
Execution & Volume Mechanics
Algorithmic VWAPs: Plots the exact Daily and Session VWAP bands used by institutional execution desks to grade their fills. Features a full Globex Daily VWAP (resets 18:00 ET), a localized NY VWAP (resets 09:30 ET), and a dedicated Xetra VWAP (resets 09:00 CET).
Custom Value Area Engine: Features a built-in, manual array-based Volume Profile engine. It calculates the Point of Control (POC) and Value Area High/Low (VAH/VAL) for both RTH and Xetra sessions independently, bypassing standard Pine Script volume limitations. Users can customize the Value Area % and price-row tick size.
Indicator

MGI Walls | Rainbow MatrixGENERAL OVERVIEW
The MGI Walls is a multi-timeframe institutional liquidity radar that extracts and renders the price zones where institutional capital concentrates: Volume Profile blocks (Point of Control, Value Area High, Value Area Low), Anchored VWAPs, and Parabolic SAR levels. Instead of showing these levels for a single chart timeframe, the indicator scans up to five macro timeframes simultaneously and merges overlapping zones into a single intensified block whenever multiple timeframes agree on the same price area.
The main goal of this indicator is to give traders a clean, automatic read on where the structural barriers in the market are — without having to manually flip between timeframes, mark POCs by hand, or guess which level the next reaction will respect. Every line, box, and confluence zone you see on the chart was extracted from real volume distribution data, not drawn manually.
It plots up to four level types per timeframe (POC, VAH, VAL, VWAP, SAR), each weighted by the structural significance of its timeframe — a Weekly POC carries five times the gravitational weight of a 15-minute POC. The Wall Fusion Engine then detects when levels from different timeframes fall within a configurable percentage threshold and consolidates them into a single block. The Nearest Wall HUD panel and the institutional collision alerts complete the toolkit.
This indicator was developed for traders who already understand Volume Profile and VWAP concepts and want to see them across multiple timeframes in a single visual, with automatic confluence detection.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
Most Volume Profile indicators on PulseWire — including the standard built-in profiles, Fixed Range Volume Profile, and the various session/visible-range derivatives — share a common architectural choice: they operate on a single timeframe. They show you the POC and Value Area for the current chart only. This treats each timeframe as an isolated decision space.
The problem: institutional flow is not isolated to one timeframe. The market makers operating on the daily horizon see different value areas than those operating on the weekly or 4-hour horizon. Their orders sit at their own POCs and Value Area boundaries. When price approaches a level that only one institutional horizon defends, the reaction is often modest. When price approaches a level that multiple horizons defend simultaneously, the reaction is structurally stronger — that confluence is where the largest pools of resting liquidity accumulate.
This indicator addresses that by performing the extraction across five user-configured timeframes simultaneously via `request.security()`, weighting each level by the gravitational significance of its parent timeframe, and then fusing levels from different timeframes that fall within a configurable margin. The math is standard Volume Profile (POC at the volume-weighted mode, VAH/VAL at the ±2.51σ boundary that approximates the 70% Value Area) — what makes it useful is doing it across five timeframes at once, with hierarchical weighting and confluence merging.
Why traders use it: each block represents an institutional decision zone. A standalone POC line from the 15-minute timeframe is a local reaction point. A POC line that simultaneously aligns with the 4-hour VAH and the daily VWAP is a multi-horizon barrier — a zone defended by three independent pools of institutional capital at once. The fusion engine makes these confluences immediately visible as thicker, more opaque blocks; the polarity of each block reflects the accumulated weight balance of the levels that compose it, not the polarity of the last level to be merged.
The three rendered components — Volume Profile zones, Anchored VWAPs, and Parabolic SAR levels — are not independent layers stacked on the same chart. They map three different aspects of institutional positioning at the same set of timeframes: where past volume concentrated (Volume Profile), where the live volume-weighted consensus price currently sits (VWAPs), and which directional trend regime each timeframe is in (SARs). The Wall Fusion Engine operates across all three layers indiscriminately — a POC from the 4-hour timeframe and a VWAP from the daily timeframe at the same price are fused into a single block, because from the perspective of institutional defense they represent the same structural barrier reinforced by two independent mechanisms. This integration is the reason the three components exist in a single script rather than as three separate indicators: the cross-layer fusion is what surfaces multi-mechanism confluence, which a separate-script approach cannot do.
MGI WALLS FEATURES
The indicator includes 6 main features:
Multi-Timeframe Volume Profile Engine
Anchored MTF VWAPs
Parabolic SAR Levels (MTF)
Wall Fusion Engine with Polarity-Balance Coloring
Nearest Wall HUD Panel
Institutional Collision Alerts
Multilingual interface and full customization across all visual layers.
MULTI-TIMEFRAME VOLUME PROFILE ENGINE
🔹 What It Does
The core of the indicator. For each of the five configured radar timeframes, the engine performs three operations:
◇ Locates the price level that received the highest traded volume in the lookback window — the Point of Control (POC).
◇ Computes the volume-weighted standard deviation of price around that POC.
◇ Builds the Value Area High (VAH) and Value Area Low (VAL) at a calibrated multiplier (±2.51σ) of that deviation, approximating the price range that contained 70% of the total volume.
The result is three institutional reference levels per timeframe — POC, VAH, VAL — extracted natively at the granularity of each timeframe rather than approximated from the current chart's data.
🔹 Method
The extraction runs via `request.security()` with `lookahead=barmerge.lookahead_off` to prevent repainting. The POC is identified as the volume-weighted mode within the lookback window. The Value Area boundaries are derived statistically from the volume-weighted variance of price around the POC, using a calibration factor (vp_k = 2.51) tuned to approximate the conventional 70% Value Area definition. Each level is plotted on the chart as a line or box at its native price location, color-coded by whether it sits above (resistance) or below (support) the current price, and weighted by the timeframe it originated from.
🔹 Hierarchical Weighting
The five timeframes are weighted by structural significance:
◇ TF1 (Micro, default 15m): weight 1 — local reaction point.
◇ TF2 (Intraday, default 1h): weight 1 — session-scale level.
◇ TF3 (Macro 1, default 4h): weight 2 — multi-session level.
◇ TF4 (Macro 2, default Daily): weight 3 — multi-day level.
◇ TF5 (Global, default Weekly): weight 5 — multi-week structural barrier.
The weight controls visual prominence (opacity, border thickness) and, when fusion occurs, the contribution of each level to the polarity balance of the resulting block.
ANCHORED MTF VWAPS
🔹 What It Does
For each of the five radar timeframes, an Anchored VWAP is extracted and rendered as a separate level. The Global VWAP — the average of all five — is also plotted, marked with a globe emoji to distinguish it from the per-timeframe VWAPs.
🔹 Method
The per-timeframe VWAP is computed via a volume-weighted moving average of hlc3 on the native bars of each timeframe, then reported back to the current chart through `request.security()`. The Global VWAP is the unweighted average of the five timeframe VWAPs that are currently available (NA values are skipped).
🔹 Why It Matters
The Volume Profile blocks tell you where past volume concentrated. The VWAPs tell you what the volume-weighted consensus price is for each horizon, updated bar by bar. Together they give a complete read on every bar: where the past institutional reference zones are (the blocks) and where the live volume-weighted average for each horizon currently sits (the VWAPs).
PARABOLIC SAR LEVELS (MTF)
🔹 What It Does
The Parabolic SAR for each of the five radar timeframes is extracted and rendered as an institutional trend-direction anchor. SAR levels are toggleable independently of the Volume Profile and VWAP layers.
🔹 Why It Matters
The SAR provides a directional trend reference per timeframe — when the Weekly SAR sits above price and the Daily SAR sits below, the structure is in conflict and the resolution of that conflict often drives the next swing. When multiple SARs align on the same side, the directional bias is structurally agreed across horizons.
WALL FUSION ENGINE WITH POLARITY-BALANCE COLORING
🔹 What It Does
When two or more levels from different timeframes fall within a configurable percentage threshold (default 0.30%), the engine fuses them into a single block. The fused block inherits the combined weight of all its components — visually thicker, more opaque, more visible than a standalone level. The label of the fused block accumulates the directional triangles of each contributing level (▲ for support, ▼ for resistance).
🔹 Polarity-Balance Coloring
The color of a fused block reflects the accumulated weight balance of its constituent levels — not the polarity of the last level to be merged. A block containing four resistance levels (▼▼▼▼) and two support levels (▲▲) will render red, because the resistance weight dominates. A block where support and resistance weights are equal uses a tiebreaker: the position of the current price relative to the block's midpoint. Price above midpoint resolves to support (green); price below resolves to resistance (red). This produces a coloring scheme that is internally consistent with the triangle labels and with the price's current location.
🔹 Customization
The Wall Merge Margin (%) input controls how aggressively levels are fused. Lower values produce many separate precise lines. Higher values produce massive consolidated institutional blocks. The default of 0.30% is calibrated for liquid instruments on intraday timeframes; for higher-volatility assets or higher timeframes, larger margins (0.50–1.00%) may produce more readable charts.
NEAREST WALL HUD PANEL
🔹 What It Shows
A compact corner panel reports four live values:
◇ RESISTANCE — the price of the nearest wall above the current price
◇ DIST. — the percentage distance from current price to that resistance
◇ SUPPORT — the price of the nearest wall below the current price
◇ DIST. — the percentage distance from current price to that support
The distances are computed against the midpoint of each fused block, so the values reflect the consolidated wall, not any single contributing level.
🔹 Why It Helps
The HUD removes the need to visually measure distances to the walls on every bar. It tells you in plain numerical form how far the nearest barriers are in each direction. Useful for stop placement, target placement, and live decision-making where the visual chart is busy with multiple levels.
🔹 Customization
The HUD can be positioned in any of the four chart corners and rendered in any of five font sizes. The display language is controlled by the System Language input.
snapshot
INSTITUTIONAL COLLISION ALERTS
🔹 What Triggers
Two alert types are available:
◇ VWAP Collision — fires when price crosses or touches the daily, weekly, or monthly VWAP within a 0.15% proximity band.
◇ Volume Profile Wall Hit — fires when price crosses or touches the Global POC, VAH, or VAL within the same proximity band.
🔹 How They Fire
Alerts are gated by `barstate.isconfirmed`, which means they only trigger on the close of the bar that touched the level — not intra-bar. This prevents false signals from wicks that get rejected before the bar closes. Each alert uses `alert.freq_once_per_bar`, ensuring no duplicate firings on the same candle.
🔹 alertcondition() Mode
For users who prefer the PulseWire alert UI rather than the `alert()` function call, two `alertcondition` blocks are also exposed: "VWAP Collision" and "Volume Profile Wall Hit". A third dummy `alertcondition` titled "HOW TO SETUP ALERTS (READ)" provides setup guidance in the alert condition menu.
MULTILINGUAL INTERFACE
The indicator supports five languages for the HUD display and alert messages: English (default), Português, Español, Русский, and 中文 (Chinese). Code, comments, and configuration tooltips remain in English regardless of the selected language.
For reference, the English text of all multilingual UI strings used in the HUD and alerts:
◇ (SUPPORT) / (RESISTANCE) — appended to wall labels indicating polarity
◇ RESISTANCE: / SUPPORT: — HUD row labels for nearest walls
◇ DIST.: — HUD row label for distance percentage
◇ VWAP Collision Alert: "🛡️ Price collided with Institutional VWAP. Defense zone active."
◇ Volume Profile Wall Alert: "🧱 Price hit Macro Volume Profile zone (POC/VAH/VAL). Institutional decision imminent."
HOW TO USE
This indicator is not a signal generator. It is a structural map: it tells you where the institutional barriers are, how strong each one is (by weight and fusion), and how far the nearest one is in each direction.
🔹 Reading the Walls
◇ Each line or block on the chart marks an institutional decision zone.
◇ The triangles in the label (▲ or ▼) and their count indicate the polarity and weight of the level.
◇ Walls with multiple triangles in the same direction are stronger reaction points than single-triangle walls.
◇ A block with mixed triangles is a fused confluence — the color shows which side dominates by weight.
🔹 Reading the HUD
◇ The HUD reports the nearest resistance above and nearest support below the current price.
◇ The percentage distances help size stops and targets against the structural barriers rather than against arbitrary fixed values.
🔹 Tactical Reading
◇ Price approaching a heavy multi-triangle wall: zone of elevated structural significance, where multiple institutional horizons coincide.
◇ Price sitting between two close walls of opposite polarity: ranging structure, defined by two opposing barriers of comparable weight.
◇ Price breaking through a heavy wall on confirmed close: structural shift. The wall often inverts polarity on subsequent retests.
◇ VWAP collision alerts: useful as a contextual reference for mean-reversion or trend-continuation analysis.
🔹 Multi-Timeframe Reading
◇ On lower timeframes (1m, 5m, 15m), configure shorter radar timeframes to track intraday institutional flow.
◇ On higher timeframes (1h, 4h, daily), keep the default 15m/1h/4h/D/W configuration to read multi-day and multi-week structural zones.
◇ The Global VWAP and Global POC (marked with 🌎) represent the consensus across all five timeframes — the most structurally significant single reference.
INPUTS EXPLAINED
🔹 System Language
Display language for the HUD and alert messages. Options: English (default), Português, Español, Русский, 中文 (Chinese).
🔹 Radar Timeframes (TF1 to TF5)
Configure each of the five macro periods to scan. Defaults: 15m, 1h, 4h, Daily, Weekly. The shortest timeframe carries weight 1; the longest carries weight 5.
🔹 Show MTF VWAPs (Radar)
Toggle for the Volume-Weighted Average Price extracted from each radar timeframe.
🔹 Show POC Lines
Toggle for the Point of Control lines — the price level with the highest traded volume in each timeframe.
🔹 Show VA Boxes (VAH / VAL)
Toggle for the Value Area High and Value Area Low — the upper and lower boundaries of the 70% volume zone.
🔹 Show SAR Levels
Toggle for the Parabolic SAR levels from each timeframe.
🔹 Fuse Overlapping Walls
Toggle for the confluence merging engine. When enabled, levels from different timeframes that fall within the Wall Merge Margin are consolidated into a single intensified block.
🔹 Wall Merge Margin (%)
Distance threshold to fuse nearby walls. Range 0.01–3.00, default 0.30. Lower values produce separate precise lines; higher values produce consolidated institutional blocks.
🔹 Show Nearest Wall Panel
Toggle for the corner HUD reporting nearest resistance, nearest support, and the percentage distances.
🔹 Panel Position
Position of the HUD on the chart. Four corners available: Top Right (default), Top Left, Bottom Right, Bottom Left.
🔹 Font Size
HUD font size. Options: Tiny, Small (default), Normal, Large, Huge.
🔹 VWAP Collision Alert
Toggle for the alert that fires when price collides with the daily, weekly, or monthly VWAP.
🔹 Volume Profile Wall Alert (POC/VAH/VAL)
Toggle for the alert that fires when price touches the Global POC, VAH, or VAL.
IMPORTANT NOTES
The MGI Walls works on any timeframe. The default radar configuration (15m/1h/4h/D/W) is calibrated for intraday and swing trading on liquid instruments. For position trading or scalping, the radar timeframes can be reconfigured to scan longer or shorter horizons respectively.
The indicator works best on instruments with reliable volume data: crypto perpetual contracts, large-cap equities, futures, major forex pairs. On low-volume instruments, the Volume Profile component becomes less reliable, though the VWAP and SAR components continue to function correctly.
Alerts fire once per confirmed bar. Historical bars never repaint after they close. The live bar updates intra-bar as expected for a real-time indicator.
The Value Area calibration factor (vp_k = 2.51) is tuned to approximate the conventional 70% Value Area definition under volume-weighted standard deviation. It is a calibration constant derived from observation rather than an arbitrary choice.
Pine Script v6. Open-source under Mozilla Public License 2.0.
UNIQUENESS
The MGI Walls is unique in three ways. First, it performs the Volume Profile, VWAP, and SAR extraction across five timeframes simultaneously rather than on the current chart only, surfacing the institutional reference zones that multiple time horizons agree on rather than only those visible on the active timeframe. Second, it weights each level by the structural significance of its parent timeframe — a Weekly POC carries five times the gravitational weight of a 15-minute POC — and the Wall Fusion Engine consolidates levels from different timeframes that fall within a configurable margin into a single intensified block, making multi-horizon confluence zones immediately visible as visually thicker walls. Third, the fused-block coloring reflects the accumulated weight balance of all constituent levels rather than the polarity of the last level to be merged, producing a visual scheme that is internally consistent with the triangle labels (▲ for support, ▼ for resistance) and with the price's current position relative to the block. The combination of multi-timeframe simultaneous extraction, hierarchical weighting with automatic confluence fusion, and balance-driven block coloring produces a structural map that behaves differently from single-timeframe Volume Profile indicators, particularly at price zones where multiple institutional horizons converge and where the strongest reactions tend to occur.
PUBLICATION METADATA (handoff to operator — not part of description)
Title: MGI Walls | Rainbow Matrix
Visibility: Open-source / Public
Category suggestion: Volume-based (primary) — PulseWire's category for Volume Profile / volume-driven indicators
Tag suggestions (TV allows up to 10; pick the 9 most relevant):
- volume-profile
- poc
- value-area
- vwap
- multi-timeframe
- mtf
- confluence
- institutional
- support-resistance
- parabolic-sar (optional, swap for one above if SAR is a key selling point)
License declaration: Mozilla Public License 2.0 (already in script header)
Screenshot slots in the description (5 "snapshot" placeholders):
1. After GENERAL OVERVIEW — wide chart showing the indicator running on BTC or major instrument, with walls visible across multiple TFs
2. After Multi-Timeframe Volume Profile Engine section — chart annotated with POC/VAH/VAL lines from different TFs
3. After Wall Fusion Engine section — close-up of a fused confluence block with mixed triangles (▲▼) and the polarity-balance color clearly visible
4. After Nearest Wall HUD Panel section — HUD close-up showing the 5-row layout with real values
5. (Optional, swap into one of the above slots) — Black Swan-style touch event showing a collision alert firing
Indicator

VWAP Intraday, Weekly, MonthlyA clean, professional implementation of three anchored VWAPs — Intraday, Weekly and Monthly — with standard deviation bands, cloud fills and candle coloring. Built for futures, stocks and forex traders who use VWAP as a core part of their analysis.
━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IS VWAP?
━━━━━━━━━━━━━━━━━━━━━━━━
Volume Weighted Average Price is the most widely referenced intraday benchmark used by institutional traders, market makers and algorithms. It represents the average price at which all volume has transacted over a given period. Price above VWAP is generally considered bullish, price below is bearish. The standard deviation bands show statistical distance from fair value — the further price extends from VWAP, the more extended and mean-reversion prone the move becomes.
━━━━━━━━━━━━━━━━━━━━━━━━
FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━
▶ Intraday VWAP — resets each session. Band 1 and Band 2 with optional cloud fill.
▶ Weekly VWAP — resets each week. Band 1 and Band 2 with optional cloud fill.
▶ Monthly VWAP — resets each month, correctly anchored to the first session of the calendar month. Band 1 and Band 2 with optional cloud fill.
▶ Candle Coloring — green when price closes above Intraday Band 1, red when below. Neutral inside the bands.
▶ Multiple Anchors — Globex (18:00 ET, best for NQ/ES futures), Midnight (stocks and forex), Market Open (9:30 ET RTH), London session (03:00 ET) and Asia session.
▶ Source Selection — HLC3 (typical price, institutional standard), Close, HL2 or OHLC4.
━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━
Futures traders (NQ, ES, MNQ): use Globex anchor. This anchors VWAP to the 18:00 ET session open, matching institutional platforms like Sierra Chart and Bookmap.
Stock traders: use Midnight or Market Open anchor depending on your preference.
Forex traders: use Midnight anchor for a standard daily reset.
Band 1 (1.0 std dev) is the primary level. Price rejecting from Band 1 and reversing toward VWAP is one of the most reliable setups in VWAP trading. Price closing outside Band 1 signals a strong directional move. Band 2 (2.0 std dev) marks extended moves where mean reversion is statistically more likely.
Weekly and Monthly VWAPs act as macro support and resistance levels. Price above both is a bullish macro structure. Price between them shows a transitional zone. Price below both is bearish.
━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━
All colors, opacity and line thickness are adjustable by clicking each color swatch — the popup includes color, opacity, thickness and line style in one place.
Each band's standard deviation multiplier is adjustable. The default 1.0 and 2.0 are the most commonly used values but some traders prefer 1.5 / 2.5 depending on their instrument and style.
━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
━━━━━━━━━━━━━━━━━━━━━━━━
- Works on any timeframe and any instrument with volume data.
- For accurate Globex VWAP on NQ/ES, ensure your chart data includes the overnight session.
- Monthly VWAP is anchored to the first Globex session of each calendar month, not midnight of the 1st — this matches the institutional convention for futures. Indicator

Black Tie VWAP MTFVolume-Weighted Average Price (VWAP) on Daily, Weekly, and Monthly anchors, with optional 1σ / 2σ / 3σ deviation bands.
VWAP is the institutional fair-value reference. Algorithmic execution programs (TWAP / VWAP slicing) operate around it; large orders accumulate near it; mean-reverting flows fade extreme deviations from it. Most professional traders treat the VWAP as one of the most important intraday levels.
WHAT IT PLOTS
Daily VWAP, anchored to a configurable session reset.
Weekly VWAP, anchored to the start of the trading week.
Monthly VWAP, anchored to the start of the trading month.
Standard deviation bands at 1σ, 2σ, and 3σ around each VWAP, computed cumulatively from the anchor reset.
USAGE
Use VWAP as a fair-value reference. Price above VWAP indicates net buying pressure since the anchor; price below indicates net selling pressure.
Use the 1σ band as a normal-range boundary. Price tagging the 1σ band and rejecting is a common mean-reversion entry.
Use the 2σ band as an exhaustion zone. Closes beyond 2σ are statistically rare and often precede reversion.
Use the 3σ band as an extreme-outlier marker. Closes beyond 3σ are rare and usually news-driven; trade these with caution.
For intraday trading, the Daily VWAP is the primary reference. The Weekly and Monthly VWAPs serve as higher-timeframe context for swing setups.
ALGORITHM
VWAP is computed as the cumulative volume-weighted average of the source price (default HLC3) since the anchor reset.
Standard deviation is computed as the volume-weighted variance: σ = sqrt(E - E ²), where the expected values are taken cumulatively from the anchor reset. This is mathematically equivalent to the closed-form Welford-style streaming variance and avoids floating-point drift on long sessions.
SETTINGS
Source: defaults to HLC3 (institutional standard). HL2 is faster, OHLC4 is smoother.
Daily Anchor Reset: five modes - Midnight UTC (default, instrument-agnostic), Exchange Default (uses symbol's native session), or one of NY / London / Tokyo session opens.
Each VWAP and band has individual visibility and color controls.
Optional fill between VWAP and 1σ bands for visual emphasis. Indicator

Shark Hunt | AnonycryptousShark Hunt | Anonycryptous
Description & user manual
(Some chart snapshots below)
Why makes this indicator different?
Most liquidity indicators show you levels. They draw a box where a swing high or low formed and wait for price to return. They do not tell you whether the return matters. They do not filter what is noise from what is a genuine institutional event. They do not confirm whether the move that touched the level was a stop hunt or just a graze. They show you where. Not what.
Shark Hunt works differently.
It does not just detect liquidity zones. It hunts what happens at them — mechanically, bar by bar, through a multi-layer confirmation engine that evaluates wick penetration, volume, rejection strength, and optional pattern confluence before a signal fires. Every condition has a purpose. Every filter reflects something that institutional order flow actually leaves behind.
Most traders can look at a chart in hindsight and spot a liquidity sweep. They see the wick, they see the reversal, they understand what happened. The challenge is identifying it as it forms, before the move is over. That is what Shark Hunt is built to do.
And then there is the Failure Entry engine.
Not every meaningful institutional move starts at a marked zone. Sometimes price sweeps a structural pivot mid-chart — no zone, no prior markup — and reverses sharply. These are swing failure patterns: a wick through a recent high or low, a close back inside, and the market moving the other way. Shark Hunt includes a complete standalone engine for detecting and trading these setups, with its own signal system, trade block, and performance tracking. It is an indicator within an indicator. When you enable it, the entire color scheme shifts to make the mode change unmistakable.
Most indicators are built for one idea. Shark Hunt is built for two ways of reading the same market — and it tells you clearly which mode you are in.
Important notice
Shark Hunt generates trading signals based on pattern detection and volume analysis.
These signals are not financial advice.
They do not predict the future.
They do not guarantee profitability.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
Shark Hunt is a liquidity zone detection and sweep confirmation indicator built around the behavior of institutional participants — how they build positions, how they run stops, and how that activity shows up on a chart.
What it includes:
- Impulse-scored liquidity zone detection at swing highs and lows
- Three-tier zone significance: scalp, intermediate, and major
- Multi-layer sweep confirmation: wick penetration, volume, rejection, and pattern gates
- Zone flip logic: broken support becomes resistance and vice versa
- Zone hold statistics with percentage display and liquidity value per zone
- Five price pattern detections: imbalances, absorption bars, price failures, level break retests, and wick traps
- Trade block visualization with configurable RR ratio, SL mode, and width
- Failure Entry engine: standalone SFP signal system with independent settings and trade blocks
- Sweep and failure mode color switching: fluor green/red for zone mode, fluor cyan/red for failure mode
- Neon glow rendering for both candles and zones: independently configurable
- Live dashboard showing active mode, zones, trade statistics, and PnL in R
- Alerts for zone sweep longs, zone sweep shorts, failure longs, and failure shorts
2. How zones are built
Shark Hunt detects liquidity pools at confirmed swing highs and lows using a pivot-based engine. Every zone is scored at the moment of formation using a composite impulse quality score — a weighted combination of body strength, volume relative to average, and bar range relative to ATR. Higher scores mean the move away from the zone was more decisive. When two zones form too close together, the weaker one is removed. Only the more significant level survives.
Zone significance is configurable in three modes:
-Scalp
Short pivot lookback. More zones formed, closer to current price. Suited for fast timeframes and intraday scalp setups.
-Intermediate
Balanced detection. A practical default across most instruments and timeframes.
-Major
Extended pivot lookback. Only the most significant structural levels qualify. Fewer zones, higher conviction per zone.
Each zone extends to the right in real time. A stats label shows the percentage of touches where price held without sweeping — the hold rate — and the estimated liquidity value at the formation bar, calculated as volume multiplied by price. These two numbers tell you how historically respected a zone is and how much institutional interest was present when it formed.
When price closes decisively through a zone, the zone flip logic converts it to the opposite side. A broken demand zone becomes supply. A broken supply zone becomes demand. This mirrors how smart money re-uses levels.
3. Sweep confirmation
A sweep fires only when all enabled conditions are satisfied on the same bar at close.
Wick penetration
The wick must break through the zone boundary by at least a configurable percentage of price. This filters grazes from genuine stop hunts. At 0.05%, small but intentional penetrations qualify. At 0.2% and above, only decisive spikes are counted.
Volume confirmation
The sweep bar must have volume at or above a configurable multiple of the rolling average. Institutional sweeps require size to move price and collect stops. A sweep on below-average volume is usually noise. This filter is toggleable.
Wick rejection
The wick that swept the zone must represent a minimum percentage of the bar's total range. A high rejection percentage means the bar closed far from its sweep extreme — price was pushed back hard. A low percentage means price drifted through and kept going. This filter is toggleable.
Pattern confirmation gates
Three optional gates can be added on top of the base sweep conditions:
- Require Price Failure (SFP): the sweep bar must also close back inside a recent pivot. Stop hunt confirmed by structure.
- Require Wick Trap: the sweeping wick must be at least twice the body size and larger than half an ATR. Pin-bar quality required.
- Require Absorption Bar: the sweep bar must fully engulf the previous candle. One-sided institutional commitment on the sweep itself.
Each gate is independent. Any combination can be active simultaneously. When all three are off, the base filters apply. When one or more are on, they stack as AND conditions — all must pass.
A cooldown setting prevents duplicate signals on the same level by requiring a minimum number of bars between confirmed sweeps.
When a sweep confirms, the zone is marked as swept and fades. A trade block is drawn showing the SL zone and TP zone based on the configured stop loss mode and RR ratio.
4. Price patterns
Five independent price pattern detections run continuously alongside the zone engine. Each can be toggled on or off.
-Price imbalances
Three-candle gaps where price moved too fast for two-sided trading. The gap between the first and third candle is visible as a small filled box. These areas act as magnets — price tends to return. A bull imbalance forms when a bullish candle leaves a gap above. A bear imbalance forms the same way in the opposite direction.
-Absorption bars
A candle that fully engulfs the previous candle in body. The current bar opened inside the prior bar's body and closed beyond it on the opposite side. This shows one side overpowering the other in a single bar — a sign of directional commitment. Marked with a small dot above or below the bar.
-Price failures
A bar that breaks a recent swing pivot with its wick but closes back inside. The market attempted a breakout, ran the stops beyond the pivot, then reversed. This is the mechanical signature of an institutional stop hunt at a structural level. Marked with a clean "F" label in bull or bear color.
-Level break and retest
When price closes through a recent pivot level and then returns to test it from the other side, a retest marker fires. Broken resistance retested as support, and vice versa. The cross marker appears at the retest bar.
-Wick traps
Candles with a wick at least twice the body size and larger than half an ATR. These mark areas of strong rejection. When a wick trap appears at or near a zone, it adds weight to the setup. Marked with a directional arrow.
5. Trade block
When a zone sweep confirms, a trade block is drawn from the signal bar forward. It shows the SL zone in red and the TP zone above or below entry.
Two stop loss modes are available:
-Zone mode
The stop is placed at the zone boundary plus a configurable ATR buffer. Consistent across setups — the SL is anchored to the structural level that defined the zone.
-Wick mode
The stop is placed at the deepest point of the sweep wick plus a configurable ATR buffer. Tighter, and closer to the actual sweep extreme. Can vary significantly bar to bar depending on wick size.
The RR ratio scales the TP distance as a multiple of the SL distance. At 1.0, TP equals SL distance — a 1:1 setup. At 2.0, TP is twice the SL distance. The trade block width in bars is configurable.
The backtest engine runs alongside the live chart. Every confirmed signal is tracked. When TP or SL is reached, the result is recorded as positive or negative R and accumulated in the dashboard.
6. Dashboard
The dashboard is displayed in a configurable position at tiny, small, or normal size.
It shows:
- Active mode: Sweep — on or off. Failure — on or off. Immediately visible at a glance.
- Depth: the current zone significance setting.
- Bull liquidity: number of active bull zones, with fresh zone count.
- Bear liquidity: same for bear zones.
- ATR: current ATR value for the active calculation period.
- Trades, longs, shorts, wins, losses, win rate: cumulative signal statistics.
- Total PnL in R: cumulative result across all signals.
- Expected value in R: average result per trade.
Mode colors are active throughout. In zone sweep mode, bull elements appear in fluor green. In failure entry mode, everything bull switches to fluor cyan. Bear elements remain in fluor red in both modes. The mode switch is visible across every element on the chart — zones, candles, markers, trade blocks, and the dashboard simultaneously.
7. Neon glow
Two independent glow systems are available under the Visuals section.
Neon glow candles
Three stacked plotcandle layers render the candles in fluor color with a soft outer glow. Body transparency and wick and border transparency are separately adjustable — softer body, harder wicks gives the most readable result. Two glow layers control the diffuse outer glow and the inner primary glow independently.
For best results: open chart settings, go to the Style tab, and set the default candle body, border, and wick to fully transparent. This removes the standard PulseWire candle rendering and lets only the glow candles show.
Neon glow zones
Four stacked box layers per zone produce a layered neon glow from the zone boundary outward. A single Zone Glow Strength slider controls all layers simultaneously — lower values produce a more intense neon effect, higher values produce a softer ambient glow.
Both systems work in both modes. When failure entry mode is active, the glow shifts to fluor cyan for all bull elements.
8. ⚡ The Failure Entry engine — the Bonus 🦈
Zone sweeps are the core of Shark Hunt. But not every institutional move starts at a marked level.
Sometimes price sweeps a structural pivot that has no zone drawn on it — a recent swing high or low that formed mid-session, between established zones. The move is decisive: a wick beyond the pivot, a close back inside, and price accelerating in the opposite direction. These are swing failure patterns. They are one of the cleanest institutional signatures available — a stop hunt at a structural level, confirmed by the bar's own price action.
The Failure Entry engine is a fully independent system inside Shark Hunt, built specifically to detect and trade these setups.
When Failure Entry mode is enabled, the zone sweep signal system is suspended. Zones remain on the chart as structural context — they often align with logical TP levels for failure trades. But entries come only from the failure engine.
The failure engine uses its own pivot lookback, separate from the zone detection engine. A dedicated wick size filter measured in ATR is the primary quality gate — it controls how large the failure wick must be relative to current volatility. Small values allow minor structural failures. Larger values require significant spike reversals. This is the primary lever for tightening or loosening signal quality.
A separate wick rejection percentage filter ensures the sweep bar closed convincingly away from its extreme. Volume confirmation with its own multiplier can be applied independently. A cooldown prevents duplicate signals on the same pivot.
The failure engine has its own trade block: fluor cyan for TP, fluor red for SL. The SL can be placed at the wick tip or at the pivot level itself, each with its own ATR buffer. The RR ratio and block width are independently configurable.
Performance is tracked separately. The failure PnL, win rate, and expected value accumulate in their own records and are reflected in the total dashboard figures. Every failure trade contributes to the overall session result.
Enabling failure entry mode changes the entire visual environment. All bull elements — zones, candles, markers, trade blocks — switch from fluor green to fluor cyan. The mode status rows in the dashboard confirm what is active at a glance. Switching modes is one toggle. The chart responds immediately across every element.
The failure engine is not a replacement for the zone sweep system. It is a complementary tool for catching institutional moves that do not begin at a pre-mapped level. Used in combination with the zone context still visible on the chart, it gives Shark Hunt coverage of both types of setup — the anticipated sweep at a known level, and the opportunistic reversal at an unmarked pivot.
9. Settings reference
9.1 Zone detection
- Pivot lookback: bars each side to confirm a swing high or low
- Zone significance: scalp, intermediate, or major
- Max active zones per side: upper limit on tracked zones
- Zone ATR width: zone height as a multiple of ATR
- Min zone separation (ATR): minimum distance between zones of the same type
- Show fresh zones only: hide swept zones or keep them faded
- Enable zone flip: convert broken zones to the opposite side
9.2 Sweep confirmation
- Min wick penetration (%): minimum wick break through zone boundary
- Volume confirmation: toggle volume filter on or off
- Min volume multiple: minimum sweep bar volume relative to average
- Volume average period: rolling volume baseline length
- Wick rejection filter: toggle wick size filter on or off
- Min wick rejection (%): minimum wick as percentage of bar range
- Cooldown bars between sweeps: minimum gap between signals
- Require price failure (SFP): optional pattern gate
- Require wick trap: optional pattern gate
- Require absorption bar: optional pattern gate
9.3 Price patterns
- Show price imbalances
- Show absorption bars
- Show price failures
- Show level breaks and retests
- Show wick traps
9.4 Trade block
- Show trade block on sweep
- RR ratio
- SL mode: zone or wick
- SL buffer (ATR)
- Trade block width (bars)
9.5 Visuals
- Bull and bear liquidity zone transparency
- Show zone stats label
- Show % hold
- Show liquidity value
- Zone label size
- Min % hold to show zone
- Enable neon glow candles
- Body transparency (soft)
- Wick and border transparency (hard)
- Primary glow strength
- Secondary glow strength (diffuse)
- Enable neon glow zones
- Zone glow strength
9.6 Failure entry
- Enable failure entry mode
- Pivot lookback
- Min failure wick (ATR)
- Min wick rejection (%)
- Volume confirmation
- Min volume multiple
- Cooldown bars between failures
- SL mode: wick or pivot
- SL buffer (ATR)
- RR ratio
- Trade block width (bars)
- Show trade block on failure
9.7 Dashboard
- Show dashboard
- Position: top left, top right, bottom left, bottom right
- Size: tiny, small, normal
10. How to use
10.1 Initial setup
1. Set zone significance to match your timeframe. Major works well on 3m and 15m as a starting point.
2. Enable the filters you want active. Volume confirmation and wick rejection are on by default — these are the minimum recommended filters.
3. Set your RR ratio. The default of 1.0 is conservative. Adjust based on your own risk management rules.
4. Decide whether to use zone mode or failure entry mode. Both can be tested and compared using the dashboard statistics.
5. If you want neon glow rendering, set default chart candles to transparent first, then enable the glow toggles.
10.2 Reading the chart
Zones in fluor green are bull liquidity pools — unfilled stop clusters below recent swing lows. Zones in fluor red are bear liquidity pools above swing highs. The opacity and label show how historically respected each zone is.
When price approaches a zone, watch the sweep confirmation criteria. A qualifying bar at close triggers the signal and draws the trade block.
"F" labels mark price failure patterns. When an F appears near a zone boundary, it strengthens the setup. A price failure at a liquidity zone is the clearest confluence available in Shark Hunt — a structural stop hunt confirmed by both the zone engine and the failure pattern simultaneously.
Imbalance boxes, absorption dots, retest crosses, and wick trap arrows all provide additional context. None of them are trade signals by themselves. They are confluence indicators — the more of them align with a zone sweep, the higher the contextual quality of the setup.
10.3 Illustrative bull scenario
Educational example only. Not a trading recommendation.
A swing low forms with strong impulse score. A bull liquidity zone is drawn below it, showing 100% hold and a high liquidity value. Several bars later, price dips into the zone with a sharp wick on elevated volume. The wick is larger than the body, covering more than 25% of the bar range. The bar closes above the zone boundary. A fluor green triangle fires below the bar. The trade block appears showing the TP zone above and the SL zone below. An "F" label also appears on the same bar — the zone sweep and the price failure both confirmed simultaneously.
10.4 Illustrative bear scenario
Educational example only. Not a trading recommendation.
Price rallies into a bear liquidity zone marked from a prior swing high. The approach candle is an absorption bar — a dot appears above it. On the next bar, a sharp spike above the zone on high volume forms a wick that covers more than 25% of the bar range, closing back below the zone top. The sweep confirms. A fluor red triangle fires above the bar. The trade block drops from entry to the TP target below. A wick trap arrow also marks the same bar — strong institutional rejection at a known supply level.
10.5 Using failure entry mode
Enable failure entry mode when you want to trade swing failure patterns without requiring a pre-mapped zone.
The zone boundaries remain on the chart. Use them as context. A failure trade that targets a nearby bull or bear zone as its TP has structural justification for the exit level.
The min failure wick (ATR) setting is the primary quality control. Start at 0.4. If you see too many minor failures firing, raise it. If the engine is missing moves you can see visually, lower it.
The dashboard will show failure-specific statistics. Compare the failure win rate and expected value to the zone sweep statistics. Over time, this data tells you which setup type performs better on your instrument and timeframe.
10.6 Timeframe guide
- 1m–2m: scalp depth, loose filters, high zone count, failure mode useful
- 3m–5m: recommended default settings, both engines perform well
- 15m: major depth, tighter wick penetration, fewer but higher quality setups
- 30m and above: increase pivot lookback for both zone and failure engines
11. Tip
The zone hold percentage is information. A zone with 0% hold has been swept every time price visited it. That is a weak zone — it may not hold the next time either. A zone at 95% hold has defended itself repeatedly. That is a level with a track record.
Volume confirmation is your noise filter. On most instruments, genuine institutional sweeps show up on volume. A sweep on below-average volume is usually a retail move or a thin-market spike. Keep volume confirmation on unless your instrument has unreliable volume data.
The pattern confirmation gates stack. Requiring price failure, wick trap, and absorption simultaneously will produce very few signals — but the ones that fire will have three independent confirmations in addition to the base sweep conditions. Use the gates selectively based on how many signals your timeframe normally generates.
Zone glow and candle glow are independent. You can use zone glow without candle glow, or both together. The neon rendering is a visual choice — it does not affect signal logic.
Failure mode changes everything visually. When you enable it, the entire chart shifts to fluor cyan for bull elements. This is intentional — it makes the mode switch obvious. There is no ambiguity about which engine is active.
The dashboard expected value is the most useful long-term metric. A positive expected value means the average signal generates profit over time. A negative value means the current settings lose on average even if the win rate looks reasonable. Track it across sessions to validate your configuration.
Chart snapshots:
12. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator.
Indicator

Premium & Discount Zones with Bias═══════════════════════════════════════════════
PREMIUM & DISCOUNT ZONES WITH BIAS
═══════════════════════════════════════════════
A statistical mean-reversion framework that identifies premium (sell) and discount (buy) zones on your entry timeframe, derived from higher-timeframe structure. Built for intraday traders who want meaningful, stable reference levels without the noise of lower-timeframe volatility.
WHAT IT DOES
─────────────────────────────────────────────
This indicator projects five statistical zones from higher-timeframe candle distributions:
• Upper Sell Zone (95th percentile) — extreme premium, mean reversion likely
• Sell Zone (75th percentile) — standard premium zone
• EQ / Equilibrium (50th percentile) — the statistical midpoint, natural target
• Buy Zone (25th percentile) — standard discount zone
• Lower Buy Zone (5th percentile) — extreme discount, mean reversion likely
The zones are calculated from the distribution of recent higher-timeframe candles (default: 18 × 4H candles = 3 days of structure) using Monte Carlo projection. A Naive Bayes classifier runs on the current chart timeframe to produce a directional bias based on relative volume and momentum.
The key advantage: zones update only when a new HTF candle closes, giving you stable reference levels that stay fixed for hours at a time. No more chasing shifting lines on a 1m chart.
INSPIRATION & CREDIT
─────────────────────────────────────────────
This indicator is inspired by and builds on "Monte Carlo CT " by © Steversteves, published on PulseWire under Mozilla Public License 2.0 at mozilla.org
The original script provided the mathematical foundation of Monte Carlo price projection combined with a Naive Bayes directional classifier. This version reimagines that concept as a premium/discount zone framework: instead of projecting bands forward across the chart, zones are derived from higher-timeframe structure and displayed as stable horizontal reference levels on the entry timeframe. Session awareness, bias table, and full visual customisation have been added for intraday traders.
Full credit and thanks to Steversteves for the original work.
HOW TO USE IT
─────────────────────────────────────────────
RECOMMENDED SETUP
Apply to your entry timeframe (1m, 3m, or 5m recommended). The zones will reflect your chosen higher timeframe (default 4H), giving you structural context without cluttering the entry chart.
CORE CONCEPT
The indicator identifies where price is statistically extended relative to recent structure. When price enters a buy or sell zone, it has a statistical tendency to revert toward the EQ (equilibrium). This is NOT a signal to blindly buy or sell — it is a confluence tool that tells you whether your chosen entry is at a statistically favourable location.
EXAMPLE SETUPS
─────────────────────────────────────────────
BULLISH SETUP (long from discount)
Wait for London or NY kill zone — the Session cell in the table will turn active
Price trades down into the Buy Zone (25th percentile) or Lower Buy Zone (5th percentile)
Check the Bias table — is it showing LONG with elevated probability?
Confirm with your own entry trigger (sweep + reclaim, break of structure, CISD, order block, etc.)
Enter long, targeting EQ as first target or the opposing Sell Zone as runner target
Why this works: you are entering long at a statistically discounted price with directional bias confirmation, targeting the statistical mean or opposing extreme.
BEARISH SETUP (short from premium)
Wait for an active kill zone
Price trades up into the Sell Zone (75th percentile) or Upper Sell Zone (95th percentile)
Check the Bias table — is it showing SHORT with elevated probability?
Confirm with your own entry trigger (failure to break, rejection candle, bearish CISD, etc.)
Enter short, targeting EQ as first target or the opposing Buy Zone as runner target
Why this works: you are selling at a statistically premium price against the likely mean reversion move.
WHAT NOT TO DO
─────────────────────────────────────────────
• Do not trade against the Bias signal. If price is in the Buy Zone but Bias shows SHORT, the setup lacks confluence — skip it
• Do not trade outside active kill zones unless you have another strong edge — the zones are most reliable during high-volume sessions
• Do not treat this indicator as a standalone entry signal. It is a confluence filter that works best combined with your existing framework
• Do not expect zones to hold every time. These are statistical probabilities, not guarantees
SETTINGS EXPLAINED
─────────────────────────────────────────────
ZONE CALCULATION
• Higher Timeframe — Controls which timeframe the zones are derived from. Default 240 (4H) balances structure and responsiveness. For longer-term reference, try Daily. For faster updates, try 60 or 120.
• HTF Candles Lookback — How many HTF candles feed the distribution. Default 18 = 3 days of 4H data. Minimum 10-12 for statistical significance. Higher values give smoother zones; lower values adapt faster to regime changes.
• Use Monte Carlo Projection — ON uses Monte Carlo simulation for distribution projection (more robust, slightly slower). OFF uses direct percentile calculation of historical returns (faster, tighter zones).
• Monte Carlo Simulations — Number of simulation runs when MC is enabled. 200 is the sweet spot. More sims give smoother bands but slower calculation.
• MC Forecast Horizon — How many HTF candles ahead to project. Default 6 × 4H = 24 hours. Increase for longer-term projection, decrease for closer zones.
• Line Offset — How far right the horizontal zone lines extend on your chart. Adjust for visual preference.
BIAS CLASSIFIER SETTINGS
• NB Train Lookback — Training window in current chart bars for the Naive Bayes classifier. Default 240.
• NB Momentum Period — ROC period for the momentum feature. Higher = smoother and less noisy on low timeframes. Default 30.
KILL ZONES
• London and NY kill zone windows in NY time. Adjust if you trade different sessions or different time zones.
COLOURS
• Fully customisable for both the zone lines and the bias table. Separate controls for background, borders, header text, label text, value text, and all highlight colours. Works on both light and dark chart themes.
TABLE DISPLAY
• Toggle table on/off
• Six position options (top/middle/bottom × left/right)
• Three size options: Normal, Small, Tiny
ALERTS
─────────────────────────────────────────────
Two alert conditions are available:
• Price entered BUY ZONE — when close drops below the 25th percentile line
• Price entered SELL ZONE — when close rises above the 75th percentile line
Set these as audio alerts if you want to focus on other charts and be notified only when price reaches a zone.
INSTRUMENTS & TIMEFRAMES
─────────────────────────────────────────────
This indicator is designed for:
• Futures (Gold, Silver, Indices, Oil, etc.)
• Forex majors
• Major crypto pairs
Best performance on liquid instruments with consistent volume. Recommended entry timeframes: 1m, 3m, 5m. Recommended higher timeframe for zones: 4H (default), 2H for faster updates, Daily for swing trading.
FINAL NOTES
─────────────────────────────────────────────
This is a confluence indicator, not a signal generator. Use it in combination with your own entry methodology — order flow reading, structure analysis, liquidity concepts, or any systematic entry framework.
The zones tell you WHERE. Your framework tells you WHEN.
Feedback and suggestions welcome. Trade safe. Indicator

Indicator

Liquidity Grab Detector [AGPro Series]🧲 LIQUIDITY GRAB DETECTOR
Detects single-bar multi-level liquidity raids — the precise moment price sweeps a cluster of 2 or more distinct liquidity pools within a single candle and immediately reverses. Built for ICT, Smart Money, and institutional order-flow analysis, this engine identifies the liquidity raids that matter most: simultaneous multi-level stop hunts that typically precede the sharpest reversals.
═══════════════════════════════════════
🔹 OVERVIEW
Most liquidity tools either track single sweeps or lifecycle-based breach-and-reclaim patterns. This detector focuses on a different, rarer, and higher-conviction event: the single-bar multi-level raid. When one candle sweeps a cluster of two or more untouched liquidity levels (swing highs/lows, session H/L, previous day H/L, previous week H/L) in a single motion, the odds of a meaningful reversal increase significantly. The engine validates each grab with four independent filters, deduplicates overlapping levels, merges adjacent reversal zones for a clean chart, tiers signals by quality, and projects forward target zones.
One-click preset modes (Aggressive / Balanced / Conservative / Custom) make the detector instantly suitable for any style — from high-frequency scalping to premium-only confluence trading — without manual tuning.
This is not a strategy and makes no directional prediction. It is a detection and visualization engine for a specific institutional order-flow footprint.
═══════════════════════════════════════
🔹 UNIQUE EDGE — HOW THIS DIFFERS
The single-bar multi-level criterion is the defining separator from conventional liquidity tools:
▪ Traditional liquidity sweep detectors flag any single-level sweep. High signal rate, low conviction per signal.
▪ Breach-and-reclaim engines (equal-highs / equal-lows style) require a full lifecycle across multiple bars. Different mechanic, different timing.
▪ This detector requires a cluster of 2+ distinct liquidity levels to be swept in a single candle, within a user-defined ATR proximity. ATR-normalized thresholds adapt across all timeframes and symbols.
▪ ATR-based level deduplication merges coincident sources (e.g. Swing + PDH stacked at the same price) into a single logical level, preventing inflated sweep counts.
▪ Zone overlap-awareness: adjacent same-direction reversal zones are merged into a single extended zone rather than piling multiple boxes on top of each other. Premium, chart-clean visualization.
▪ Strikethrough length clamp keeps historical consumed-level lines from crossing the entire chart, even on long-running indicators.
▪ Preset modes encapsulate calibrated filter stacks, making the detector genuinely plug-and-play.
The combined filter stack (cluster + volume + wick + reversal + cooldown + dedup + zone-merging) produces fewer but significantly higher-quality signals with a clean visual footprint.
═══════════════════════════════════════
🔹 METHODOLOGY
Preset modes calibrate the detection engine with one selection:
▪ Aggressive — minimum 2 levels, 0.7 ATR cluster, 1.1× volume, 0.15 ATR wick, 2 bar cooldown.
▪ Balanced — minimum 2 levels, 0.45 ATR cluster, 1.5× volume, 0.3 ATR wick, 5 bar cooldown. Default.
▪ Conservative — minimum 3 levels, 0.35 ATR cluster, 2.0× volume, 0.45 ATR wick, 10 bar cooldown. Premium-only.
▪ Custom — honors manually configured input values.
Level registry with deduplication. The script maintains a live registry of untouched liquidity levels built from four configurable sources. Incoming levels within a configurable ATR tolerance of an existing level are merged. Each level is time-stamped, capped at a configurable maximum count, and pruned once it ages beyond the lookback window or is consumed by a grab.
Cluster detection. On every bar, the engine scans active levels on both sides and classifies a bar as a multi-level sweep candidate when it penetrates the minimum level count whose vertical span fits within the ATR proximity band.
Confirmation layers:
1. Volume spike — grab bar volume must exceed the rolling SMA by the preset multiplier.
2. Wick ratio — rejection wick on the grab side must exceed the preset ATR fraction.
3. Immediate reversal — within a configurable window, price must close back beyond the swept cluster.
4. Cooldown — after a confirmed grab, new detections are suppressed.
Zone overlap-awareness. When a new grab's reversal zone falls within a configurable ATR distance of a recent same-direction zone, the existing zone is extended rather than drawing a new overlapping box. Aggregate targets stay clean.
Quality tier classification. Confirmed grabs are automatically tiered by level count, with 4-level grabs and 5+ level grabs receiving progressively stronger visual emphasis.
═══════════════════════════════════════
🔹 SIGNALS & VISUALS
Confirmed bullish grab — triangle marker below the bar, "LIQ GRAB · N levels swept" label with tier stars for high-quality grabs, and a forward-projected reversal zone above the cluster with a target micro-label.
Confirmed bearish grab — mirror image with bear coloring.
Stagger-aware label placement. When multiple confirmed grabs occur close together on the chart, their labels are automatically offset vertically to prevent visual overlap.
Clean default visual profile. Swept-level strikethrough lines are disabled by default for a premium chart-clean look; enable them for detailed post-grab review. When enabled, a max-age clamp prevents extremely long lines.
Statistics panel (8 rows) — active level count, total grabs, bars since last grab, last grab source composition (dynamic, e.g. "PDL+Swing"), bullish vs bearish breakdown, reversal success rate, and average levels swept per grab.
Alerts — separate alert conditions for bullish and bearish grab confirmations, triggered on bar close.
═══════════════════════════════════════
🔹 KEY INPUTS
Detection Engine
▪ Preset Mode — Aggressive / Balanced / Conservative / Custom.
▪ Minimum Levels Swept, Cluster Proximity, Cooldown — honored in Custom mode.
▪ Level Deduplication (ATR) — merge tolerance for coincident levels.
▪ Level Lookback, Max Active Levels — registry housekeeping.
Liquidity Level Sources — swing highs/lows, session H/L, PDH/PDL, PWH/PWL.
Confirmation Filters — volume multiplier and averaging length, reversal window, minimum wick ratio, ATR length.
Visuals
▪ Toggle labels, strikethroughs, zones, statistics panel.
▪ Label and panel font size (default Normal).
▪ Panel position (8 options) and theme (Dark / Light).
▪ Zone projection length, zone height, zone transparency.
▪ Zone merge distance (ATR-based overlap suppression).
▪ Max strikethrough length (bars).
═══════════════════════════════════════
🔹 HOW TO USE
1. Start with Balanced preset on any timeframe. The ATR-based cluster logic adapts automatically, but 15m–4H timeframes on liquid instruments produce the cleanest signal set.
2. Switch to Conservative for premium-only signals at key institutional levels, or Aggressive when scalping intraday liquidity dynamics.
3. Watch for grab labels near well-defined liquidity clusters — session opens, PDH/PDL interactions, and at range edges. Tiered grabs (4+ levels raided in one bar) deserve special attention.
4. Use the reversal projection zone as a reference target area, not a mechanical take-profit. Combine with your existing structure, order blocks, or mean-reversion levels.
5. Check the "Last Sources" panel row to see which specific liquidity pools were raided most recently.
6. For detailed post-grab analysis, enable "Show Swept Level Strikethroughs" in the Visuals group. For a clean chart, leave disabled.
7. For fine-grained control, select Custom mode and adjust each filter manually.
═══════════════════════════════════════
🔹 LIMITATIONS & TRANSPARENCY
▪ No repaint on confirmed signals — grabs are finalized only after the reversal window closes with all filters passing. Swing pivots used as level sources are inherently delayed by the pivot length (standard pivot behavior).
▪ The reversal success metric uses a fixed 1 ATR / 10 bar definition and is provided as context only. It is not a performance claim or win rate.
▪ In strongly trending markets, multi-level sweeps can occur without reversal, producing failed grabs. The filter stack reduces but does not eliminate this.
▪ On very low-liquidity symbols or extremely short timeframes, volume data can be noisy. Consider disabling the volume filter in those conditions.
▪ Session, PDH/PDL, and PWH/PWL levels are derived from the chart symbol's native session definition.
═══════════════════════════════════════
🔹 RISK DISCLOSURE
This indicator is an analytical and visualization tool. It does not generate buy or sell recommendations, does not guarantee any outcome, and is not a trading strategy. All trading decisions are the sole responsibility of the user. Past pattern behavior does not guarantee future results. Always combine indicator output with your own analysis, risk management, and position sizing framework. Indicator

Institutional Candle Detector [AGPro Series]🕯️ Institutional Candle Detector
Every trader has stared at a massive candle and asked the same question: "Was that the start of a move, the end of one, or just noise?" Most indicators stop at detection — they paint the candle, drop a label, and walk away. This one keeps watching.
Institutional Candle Detector uses a dual-track engine. The body-driven track flags high-conviction candles where ATR-normalized body size and relative volume both expand together, then classifies each event by body/wick geometry. The independent absorption track captures a different signature entirely — low-body candles on extreme volume, the classic aggression-absorbed footprint that body-only detectors miss. Every detected event is then re-evaluated over the following bars to produce a measurable outcome scorecard.
🔹 OVERVIEW
The script scans each bar for two separate, mutually-exclusive institutional signatures:
• Body-driven events. Body must exceed a multiple of ATR AND volume must exceed a multiple of its rolling average. Classified by geometry into Continuation, Reversal or Exhaustion.
• Absorption events. Volume extremely elevated BUT body contained — the market paid for a big move and did not get one. Price was absorbed.
Every detected candle is then given a reaction zone projected forward, and its outcome is automatically tagged after the configured look-forward window — Follow-Through (FT), Reverse (RV) or Consolidation (CN). The panel accumulates aggregate statistics across the loaded chart so the trader can see which candle type actually works on their instrument and timeframe.
🔸 UNIQUE EDGE
What separates this tool from generic "big candle" or "volume spike" indicators:
• Dual-track detection. A single filter cannot capture both explosive moves and absorption. This script runs two engines in parallel with independent thresholds.
• Four-class geometric taxonomy, each backed by a distinct detection path. Continuation and Reversal fire from the body-driven track with different geometry. Exhaustion catches the mid-profile edge cases. Absorption runs entirely off its own volume-first track.
• Automatic after-behavior tracking. Each event is re-examined after N bars and tagged with an outcome code. This is the part most scripts omit — and it's where edge lives.
• Aggregate statistics panel. Follow-through rate, reverse rate, consolidation rate, and per-class counts are computed continuously. The panel tells you whether institutional candles on this asset actually extend, reverse, or fade.
• Forward-projected zones, colored by class. Body-driven bull/bear events use state colors. Absorption uses an indigo accent so the rarer signature is instantly recognizable. Reversal zones use the contrarian color to emphasize the expected directional flip.
🔹 METHODOLOGY
Body-Driven Track (produces CONT, REV, EXH)
– Body is measured as absolute (close − open) and required to exceed Body × ATR multiple.
– Volume is required to exceed a configurable multiple of its SMA average.
– An optional wick filter rejects candles where total wick exceeds the body beyond a given ratio, removing wide-range noise that looks institutional but is not.
– Continuation: body% ≥ configured threshold (clean directional close).
– Reversal: opposing wick% ≥ configured threshold (sharp rejection after initial push).
– Exhaustion: passes the dual-gate but falls into neither clean category — mid profile, often late in a move.
Absorption Track (produces ABS)
– Volume must exceed an independently configurable multiple (higher than body-driven default).
– Body must be small — below a max Body × ATR and below a max Body / Range.
– When absorption fires, it takes precedence over body-driven classification.
After-Behavior Layer
– After lookFwd bars, the script compares the extreme price move in each direction against the original body size.
– If same-direction extension ≥ ftPct × body → Follow-Through (FT).
– If opposite-direction retrace ≥ revPct × body → Reverse (RV).
– Otherwise → Consolidation (CN).
Aggregate counters accumulate across the loaded chart, producing a running scorecard visible in the panel.
🔸 SIGNALS, STATES & MARKERS
On-chart signals
• Institutional body recolored by class — bull/bear direction for CONT and EXH; contrarian color for REV; accent color for ABS.
• Directional triangle marker above/below the bar.
• Classification label: INST-Bull 3.2x CONT or INST-Bear 5.4xV ABS format, ASCII only. Labels offset from the candle to stay readable on dense charts.
• Reaction zone box projected forward from the candle's high-low range, color-coded by class.
• Outcome marker (FT / RV / CN) plotted lookFwd bars after the event.
Alerts available
• Institutional Continuation
• Institutional Reversal
• Institutional Absorption
• Institutional Exhaustion
All four alerts fire on confirmed bars only.
🔹 KEY INPUTS
Detection Core (body-driven track)
– ATR Length (default 14)
– Volume Average Length (default 20)
– Min Body × ATR (default 2.0)
– Min Volume Multiple (default 2.5)
– Wick filter toggle and max Wick/Body ratio (default 2.5)
Absorption Track
– Enable Absorption Detection
– Absorption Min Volume Multiple (default 4.0)
– Absorption Max Body × ATR (default 1.5)
– Absorption Max Body / Range (default 0.40)
Classification
– Continuation body% threshold (default 0.60)
– Reversal opposing-wick% threshold (default 0.40)
After-Behavior
– Look-forward bars (default 5)
– Follow-through threshold as fraction of body (default 0.50)
– Reverse threshold as fraction of body (default 0.60)
Visuals
– Show/hide zones, zone projection length, opacity, max active zones
– Label size (default Small; increase if labels feel too compact)
– Institutional border width
– Outcome marker toggle
Panel
– 8-position panel placement
– Dark / Light theme
– Font size (default Normal)
– Recent events mini-list toggle
🔸 HOW TO USE
1. Start with defaults on a liquid asset. 4H is a strong baseline; 1H for active traders; Daily for swing context. On Daily, consider lowering Min Body × ATR to 1.5 if events are too rare.
2. Watch the panel accumulate events over two to four weeks on your instrument. The follow-through rate tells you whether institutional candles on this chart tend to extend or fade.
3. Trade-context usage:
– Continuation with a high historical follow-through rate on this asset → trend trades in candle direction after pullback into the zone.
– Reversal with a high historical reverse rate → fade setups at key levels.
– Absorption → aggressive flow was met by an equal or greater defender; often precedes a reversal or compression phase.
– Exhaustion → proceed with caution; frequently a late-move signature where the trend is losing clean structure.
4. Reaction zones act as provisional supply/demand. A retest of a zone with another institutional event near it is a confluence worth noting.
5. Tune thresholds per asset. High-liquidity instruments may need Body × ATR of 2.5+ to keep events selective; low-liquidity pairs can go down to 1.5. Absorption volume multiple can also be adjusted upward on already-volatile instruments.
🔹 LIMITATIONS & TRANSPARENCY
• This is an analytical indicator, not a strategy. No entry, exit, or stop logic is defined and no performance claims are made.
• Aggregate statistics are computed over the loaded chart window and will shift as more bars load or as timeframes change.
• Volume quality depends on the data feed; exchange-reported volume differs across sources for the same asset.
• Follow-through evaluation uses a fixed look-forward window; real trade management will differ.
• All results are historical and descriptive. Past behavior of any candle class does not guarantee future behavior.
🔸 RISK DISCLOSURE
Trading carries substantial risk. This tool is provided for analytical and educational purposes. Do your own research. Use position sizing and risk management appropriate to your account. Nothing in this script constitutes financial advice. Indicator

Round Number Magnet Map [AGPro Series]Round Number Magnet Map
════════════════════════════════════════
🔹 OVERVIEW
Round numbers act as psychological magnets on every liquid market. Traders cluster stop orders, limit orders, and mental entries around levels like 2000, 2400, 50000. These levels attract price, get tested repeatedly, and either hold with sharp reactions or break with decisive momentum. Yet most round-number tools ship a hard-coded list (100, 500, 1000) that works on some charts and fails on others.
Round Number Magnet Map is a psychological level engine that detects the right round numbers for any symbol automatically, tracks every touch with a composite reaction grading system, and ranks the strongest magnets in a professional leaderboard. It works out of the box on Bitcoin at 100k, on Ethereum at 2k, on Solana at 10, on EUR/USD at 1.05, on the S&P 500 at 5000, and on gold at 2400 — no configuration required. Traders who prefer manual control can override the auto-detected tiers with their own comma-separated list.
The indicator is asset-agnostic, non-repainting, bar-confirmed, and optimized for speed. It is designed to be a permanent chart companion on any timeframe.
🔹 UNIQUE EDGE
What separates Round Number Magnet Map from generic round-number indicators:
1. Asset-aware auto-detection. The script reads current price magnitude and selects the correct tier spacing automatically — 10000/5000/1000 for high-cap assets, 100/50/10 for mid-cap, 0.01/0.005/0.001 for forex majors. Three nested tiers render simultaneously so both major and minor psychological levels are visible with a clear visual hierarchy.
2. Composite reaction grading. Each touch is not just counted — it is graded. The script combines three inputs: ATR reaction (how many ATRs price traveled after the touch), wick rejection ratio (how strongly the touch bar rejected the level), and relative volume (whether institutional flow confirmed the reaction). The result is a 0-100 score mapped to A/B/C/D grades, so traders can distinguish a truly respected magnet from a level that price simply grazed.
3. Broken-level recovery logic. Most tools mark a level as "broken" the first time price closes through it and leave it broken forever. That is wrong on round numbers — price oscillates around 2000, 3000, 10000 repeatedly across months and years. This engine un-breaks a level the moment price returns to its zone, so the map always reflects current reality.
4. On-chart leaderboard. The panel ranks the top 5 most-touched levels visible in the current chart window, with touch count and composite grade, so the strongest magnets are always one glance away.
5. Clean by design. Rendering is restricted to an ATR-scaled window around current price, with optional toggles to hide broken and untouched levels. The chart stays readable even on high timeframes where dozens of round numbers would otherwise clutter the view.
🔹 METHODOLOGY
Tier generation. When auto-detect is enabled, the script classifies current price into a magnitude bucket (>10000, 1000-10000, 100-1000, 10-100, 1-10, <1, etc.) and assigns a three-tier spacing. Tier 0 is the major step, tier 1 is a half-step, tier 2 is a fine step. All three tiers are generated around current price within an ATR-scaled search range, deduplicated, and capped at a configurable maximum (default 20).
Touch detection. Each level is surrounded by a zone of thickness (ATR × configurable multiplier, default 0.20). A touch is registered when a bar's high-low range intersects the zone and at least N bars have passed since the last touch on that level (cooldown, default 5). This prevents a single consolidation from inflating the touch count.
Reaction grading. Exactly N bars after a touch (default 5), the script computes:
• ATR reaction (60% weight): maximum favorable excursion from the level in the direction of the test, normalized against a target of 2 ATRs = score 100.
• Wick rejection (25% weight): the rejection wick on the touch bar relative to the bar's range.
• Relative volume (15% weight): volume on the touch bar relative to the 20-bar average.
The three components are combined into a single 0-100 composite score. Scores of 80+ are grade A, 65-80 are grade B, 45-65 are grade C, below 45 are grade D.
Break detection. A level is marked as broken only when, during a reaction grading, price has closed beyond the zone by an additional 0.3 ATR in the opposite direction of the test. This strict criterion avoids false breaks from single wicks or low-conviction closes. Broken levels are un-marked automatically when price returns to the zone.
Rendering. Active non-broken levels render as solid blue lines with an optional S/R-style zone box. Broken levels render as dashed gray lines with a BRK badge. Labels show price, touch count, and grade. Priority-0 (major) levels render with increased line width, and levels within 1 ATR of price render thicker still (magnet effect).
🔹 SIGNALS & ALERTS
The script generates four non-repainting, bar-confirmed alert conditions:
• Touch — price has entered a round-number zone.
• Held (Strong Reaction) — a touch has resolved with a composite score ≥ 60, meaning the level held with meaningful reaction strength.
• Broken — a level has been decisively broken by a strong close beyond the zone.
• Magnet Approach — price is within 0.5 ATR of a level, approaching without yet touching.
Each alert fires at bar close and carries ticker and timeframe tokens for routing to external automation.
🔹 KEY INPUTS
Detection
• Auto-Detect Tiers — asset-aware tier selection (recommended).
• Custom Tiers — comma-separated override (e.g., "1000,500,100" for BTC).
• Level Search Range — how far from price to generate levels, in ATR-scaled units.
• Max Active Levels — hard cap on rendered levels (default 20).
Touch & Zone
• Zone Thickness — size of each round-number zone in ATR units (default 0.20).
• ATR Length — period for ATR used in zone and reaction calculations (default 14).
• Touch Cooldown — minimum bars between touches on the same level (default 5).
• Reaction Window — bars after a touch used for reaction grading (default 5).
Reaction Grading
• Weight: ATR Reaction / Wick Rejection / Relative Volume — configurable composite weights. Weights are normalized automatically if they do not sum to 1.
• ATR Normalization Target — the ATR-reaction value that maps to score 100.
Visuals
• Show Zones, Show Level Labels, Hide Broken Levels, Hide Untouched Levels, Magnet Effect.
• Far Levels Transparency, Label Size, Label Offset.
Panel
• Show Panel, Panel Location (6 options), Panel Theme (Dark/Light), Panel Font Size.
Alerts
• Independent toggles for Touch, Held, Broken, Magnet Approach.
🔹 HOW TO USE
The indicator is designed for discretionary trading and framework-based decision making. A few practical patterns:
1. Use the nearest Above and Below levels in the panel as your immediate target and invalidation reference. The Strongest line on the panel is the highest-conviction magnet in view.
2. Grade A and B levels are historically respected by this market. When price approaches one, expect a reaction. When price approaches a Grade D level, expect a clean pass-through or a trap.
3. Confluence with other tools. Round numbers combined with a swing high/low, a moving average, or a Fibonacci level are far more likely to hold than a round number alone. Treat this indicator as one layer in a stacked decision framework.
4. Timeframe selection. Use higher timeframes (1D, 4H) to identify the dominant magnets for position trading, and drop to lower timeframes (1H, 15m) for execution around those same levels.
5. Broken levels are still information. A dashed level with 20+ historical touches is a zone where liquidity has been swept and where retests often provide re-entry opportunities.
🔹 LIMITATIONS & TRANSPARENCY
• This tool identifies psychological levels and grades their historical reaction quality. It does not predict price direction and it is not a trading strategy. Use it as part of a complete decision framework.
• Reaction grades are historical, not forward-looking. A level that held five times may still break on the next test, especially in strong trending conditions or during high-impact news events.
• Touch counts depend on chart history. On symbols with limited history, recent levels may have fewer touches than their true significance warrants.
• The reaction window is fixed (default 5 bars). Reactions that take longer to develop will be graded as weaker than they truly are. Adjust the window to match the instrument and timeframe.
• Extremely low-volume symbols may produce noisy reaction scores because the relative-volume component becomes unreliable. Reduce its weight to 0 in such cases.
🔹 RISK DISCLOSURE
This indicator is a technical analysis tool for educational and discretionary decision support. It does not constitute financial advice, investment advice, a solicitation, or a recommendation to buy or sell any instrument. Past reactions at any level do not guarantee future behavior. All trading involves substantial risk of loss. You are solely responsible for your trading decisions and for managing your capital.
Indicator

Key Levels Pro [AGPro Series]Key Levels Pro
🔑 Overview
Key Levels Pro is a comprehensive, non-repainting level tracker that consolidates every institutionally significant price reference into one clean overlay. Previous day, week, and month highs/lows (PDH, PDL, PWH, PWL, PMH, PML) are plotted alongside Asian, London, and New York session highs and lows. Every level is actively monitored — touch count, break count, and respect rate update in real time, giving you a live quality score for each price zone.
Most level scripts stop at drawing lines. Key Levels Pro goes further: lines automatically thicken on repeated touches, switch to dashed style when broken, and fade to muted color to signal invalidation. Zone rectangles extend back to the formation bar of each level, making historical respect visible at a glance. An ATR-aware label collision system keeps the chart readable on every timeframe, and same-price levels are intelligently deduplicated so you never see four overlapping labels at the same price.
───────────────────────────────────────────────────────
📐 Unique Edge
Unlike generic pivot or S/R scripts, Key Levels Pro tracks the behavioral quality of each level — not just its existence. A level that has been tested five times without breaking carries a different weight than a fresh, untested one. Key Levels Pro surfaces that difference automatically through line width, style, and panel data.
What makes it distinct:
🔹 Complete previous-period coverage (PDH/PDL, PWH/PWL, PMH/PML) in one overlay, without redundant current-period duplicates.
🔹 Live session tracking for Asian, London, and New York simultaneously, with automatic hiding on Daily and higher timeframes.
🔹 Per-level touch count, break count, and respect rate computed from actual historical price interaction.
🔹 Dynamic line thickening on repeated touches (width 1 → 2 → 3).
🔹 Auto-broken state with dashed style + muted color — no distracting flags or banners.
🔹 Historical zone boxes extending back to the formation bar of each level.
🔹 ATR-aware label collision resolution that stacks overlapping labels vertically.
🔹 Price-based deduplication: when two levels share the same price, the higher-priority one wins (Monthly > Weekly > Daily > Session).
🔹 ATR-normalized proximity to the nearest level above and below the current price.
───────────────────────────────────────────────────────
🔬 Methodology
Previous-period levels are pulled from the daily, weekly, and monthly timeframes using request.security() with lookahead enabled for the completed-period values. This approach is standard, transparent, and non-repainting — historical data does not change.
Session levels are tracked bar by bar using customizable session time inputs. Each session resets at its start time and tracks the running high and low until the session closes. The Asian, London, and New York sessions can each be configured independently.
Touch detection uses an ATR-based tolerance band (default 10% of ATR). When price closes within that tolerance of a level, the touch counter increments. A break is registered when price closes on the opposite side of a level compared to the prior bar. Respect rate is calculated as touches / (touches + breaks) × 100.
Line width scales with touch count: 1 touch = width 1, 2–4 touches = width 2, 5+ touches = width 3. Broken levels switch to dashed style and a muted color.
The label collision system operates in three stages: first, all enabled levels are collected into a sorted array; second, same-price levels are deduplicated based on priority (Monthly highest, Session lowest); third, an upward sweep enforces minimum vertical spacing using a blend of ATR and chart-range heuristics, ensuring labels never overlap regardless of market volatility.
───────────────────────────────────────────────────────
📊 Signals & States
This script is a visualization and data tool — it does not generate buy or sell signals.
Level states are communicated visually:
🔹 Active (solid line, full color): level has not been broken.
🔹 Touched (thicker line, 2–3px): level has been tested one or more times.
🔹 Broken (dashed line, muted slate color): level has been decisively closed through.
Info panel states:
🔹 Session: active market session (Asian / London / New York / Off-Hours / N/A on Daily+).
🔹 Near Above / Near Below: price of the closest active level on each side of the current close.
🔹 Dist Above / Below ATR: distance expressed as a multiple of ATR(14).
🔹 Touch and respect rate data for PDH, PDL, PWH, PWL.
───────────────────────────────────────────────────────
⚙️ Key Inputs
Level Groups: Toggle previous day, week, month, and session levels independently.
Session Times: Fully customizable start/end times for Asian, London, and New York sessions in exchange timezone.
Zone Style: Enable/disable S/R zones and adjust zone transparency.
Lines & Labels: Set line extension length, toggle labels, choose label density (All / Reduced / Minimal), set font size, and enable or disable same-price deduplication.
Info Panel: Toggle panel, set location (six positions), and choose theme (Dark / Light).
ATR Settings: Set ATR period and touch tolerance as an ATR multiple (0.02 to 0.50).
───────────────────────────────────────────────────────
📖 How to Use
1. Add the script to a chart — all major levels appear immediately.
2. Adjust session times if trading non-crypto markets.
3. Watch line thickness: thicker = more tested = stronger historical reaction zone.
4. Dashed + muted color = broken. Treat broken levels as potential new S/R from the opposite side (role reversal).
5. Use the panel's Near Above and Near Below fields to gauge proximity before entry or exit decisions.
6. Use "Reduced" density (default) for cleaner charts, or switch to "All" when you need session context.
7. Works on all asset classes: crypto, forex, equities, indices, commodities.
Recommended timeframes: 15m–4H for session levels; 1H–1D for previous-period levels.
───────────────────────────────────────────────────────
⚠️ Limitations & Transparency
🔹 Session tracking is session-relative and resets each new session.
🔹 Touch tolerance is an ATR-based heuristic and may need adjustment on extremely low-volatility instruments.
🔹 All data is historical. Touch count and respect rate describe past price behavior, not future outcomes.
🔹 This script is not a trading strategy, does not issue trade signals, and cannot predict market direction.
🔹 On exotic or illiquid instruments with large gaps, formation-bar zone boxes may appear truncated if the level formed outside the chart's visible range.
───────────────────────────────────────────────────────
🛡️ Risk Disclosure
This script is provided for informational and educational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All trading involves risk. Past level behavior does not guarantee future results. Always use proper risk management and test any approach in a demo environment before committing real capital. Indicator
