Box TheoryBox Theory – Description
This indicator is based on the popular “Box Theory” concept, where the previous session’s High–Low range acts as the most important structure for the next session.
Traders use this because the market often reacts to the same areas where liquidity, orders, and imbalances were created in the prior session.
At every new session open, the indicator automatically records:
Previous High
Previous Low
Middle (50% level)
These three levels form a box, which becomes your roadmap for the new session.
This method is widely used because it highlights where most reversals, sweeps, and reactions occur—without needing any extra indicators.
How the Zones Are Calculated
Previous High
The highest price of the last session.
This forms the top edge, which acts as resistance and the basis for the Sell Zone.
Previous Low
The lowest price of the last session.
This forms the bottom edge, acting as support and the basis for the Buy Zone.
Middle Line (50% Level)
The exact midpoint between High and Low.
This is the fair-value zone, where price often consolidates and becomes directionless.
No signals are triggered near the middle, because trades taken here historically have low accuracy.
Buy Zone (Green Area)
The lower part of the box.
Price often reacts here because this area held buyers in the previous session.
When price enters this green zone inside the box, the indicator can show a Buy Zone label.
Sell Zone (Red Area)
The upper part of the box.
Price commonly rejects here because this area acted as resistance previously.
When price enters this red zone inside the box, the indicator can show a Sell Zone label.
How Zone Size Is Set (Sensitivity %)
You can adjust how big the Buy/Sell zones are using the Sensitivity (%) input.
Lower % → Smaller zones → More precise signals
Higher % → Larger zones → Signals appear earlier and from farther away
Formula:
Zone Size = (Previous High − Previous Low) × (Sensitivity % ÷ 100)
This lets you customize how tight or how early your signals appear.
Inside-Box Only Logic
The indicator only works inside the previous session’s range.
If price breaks above the previous High → No sell signal
If price breaks below the previous Low → No buy signal
This avoids false signals during breakouts or trending markets.
Alerts
The indicator includes two alerts:
Buy Zone Alert → Triggers when price enters the Buy Zone
Sell Zone Alert → Triggers when price enters the Sell Zone
Just enable them in TradingView’s alert panel.
Điểm Pivot và cấp độ
ATR ZigZag - Volatility-Filtered Market StructureDescription
This indicator draws ZigZags using an ATR based threshold for direction switching to identify major swing highs and lows. Instead of relying on fractals or fixed bar-count swings, pivots are confirmed only when price moves beyond the prior extreme by:
threshold = ATR(length) × ATR_mult
This filters noise, enforces valid swing structure (high → low → high), and adapts automatically to volatility. The ATR ZigZag is ideal for traders who want a clean, objective view of swing structure without noise. This has many uses, including mapping swing structure, drawing chart patterns, and trading around extremes.
Lag and Repainting
Pivots are confirmed only after price moves sufficiently in the opposite direction. This creates necessary lag. The ZigZag is drawn when this occurs, and will anchor to the high/low in the past. Optional detection dot plots show exactly when confirmation occurred.
What You See
ZigZag: dashed gray line, repainted to anchor at the confirmed highs and lows
Latest Pivot Levels: Dashed horizontal lines at the most recent confirmed high/low.
Optional Live Swing Leg: A real-time line from the last confirmed pivot to the current swing extreme, updating until a new pivot forms.
Optional ATR Boxes: 1×ATR shaded zones around the latest pivot for structural context.
Optional Pivot Confirmation Dots: Markers show the bar where the threshold is crossed and a swing is officially confirmed. This is to understand the lag and see when the ZigZag repainted.
CHOCH & Liquidity Sweep Detectorso think of this one as an upgraded version from the previous liquidity sweep and reversal indicator i shared. This one:
Identifies when price wicks above a swing high then closes below it (bearish sweep 💧)
Identifies when price wicks below a swing low then closes above it (bullish sweep 💧)
Orange labels mark the sweeps with dashed lines showing the liquidity level
CHOCH (Change of Character) Detection
After a liquidity sweep, it watches for structure breaks
Bearish CHOCH: After bullish sweep, price breaks below previous structure low (🔴 SHORT setup)
Bullish CHOCH: After bearish sweep, price breaks above previous structure high (🟢 LONG setup)
Market Structure Tracking
Shows current structure highs/lows with dotted lines
Tracks whether market is in bullish, bearish, or neutral trend
Dashboard (bottom-right)
Shows current trend direction
Liquidity sweep status
CHOCH confirmation
Setup Ready alert when both conditions align
Clear action recommendation
How to use with tf alignment indicator:
Apply both indicators to your 1hr/4hr chart
Wait for alignment (Daily/Weekly/Monthly all bearish or bullish)
Look for liquidity sweep (💧 label appears)
Wait for CHOCH (big red/green label with "CHOCH")
Enter on retest of the broken structure level
ATR ZigZag BreakoutATR ZigZag Breakout
This strategy uses my ATR ZigZag indicator (powered by the ZigZagCore library) to scalp breakouts at volatility-filtered highs and lows.
Everyone knows stops cluster around clear swing highs and lows. Breakout traders often pile in there, too. These levels are predictable areas where aggressive orders hit the tape. The idea here is simple:
→ Let ATR ZigZag define clean, volatility-filtered pivots
→ Arm a stop market order at those pivots
→ Join the breakout when the crowd hits the level
The key to greater success in this simple strategy lies in the ZigZag. Because the pivots are filtered by ATR instead of fixed bar counts or fractals, the levels tend to be more meaningful and less noisy.
This approach is especially suited for intraday trading on volatile instruments (e.g., NQ, GC, liquid crypto pairs).
How It Works
1. Pivot detection
The ATR ZigZag uses an ATR-based threshold to confirm swing highs and lows. Only when price has moved far enough in the opposite direction does a pivot become “official.”
2. Candidate breakout level
When a new swing direction is detected and the most recent high/low has not yet been broken in the current leg, the strategy arms a stop market order at that pivot.
• Long candidate → most recent swing high
• Short candidate → most recent swing low
These “candidate trades” are shown as dotted lines.
3. Entry, SL, and TP
If price breaks through the level, the stop order is filled and a bracket is placed:
• Stop loss = ATR × SL multiplier
• Take profit = SL distance × RR multiplier
Once a level has traded, it is not reused in the same swing leg.
4. Cancel & rotate
If the market reverses and forms a new swing in the opposite direction before the level is hit, the pending order is cancelled and a new candidate is considered in the new direction.
Additional Features
• Optional session filter for backtesting specific trading hours
ZigZag + Fibonacci
⚙️ Main Features
• Automatic ZigZag: Detects the latest high and low pivots based on an adjustable period.
• Dynamic Fibonacci: Automatically draws the 38.2%, 50%, and 61.8% levels based on the last ZigZag movement.
• Display Control:
o Enable or disable the blue line connecting the pivots (ZigZag line).
o Adjust the horizontal length of the Fibonacci lines (in number of bars).
• Customizable Colors:
o Choose different colors for each Fibonacci level.
o Customize the color of the ZigZag line.
________________________________________
🧑🏫 How to Use
1. Add the indicator to your chart on TradingView.
2. Configure the parameters according to your strategy:
o ZigZag Period: defines the sensitivity of the pivots (higher values = wider movements).
o Fibonacci Line Length: how many bars the horizontal lines should extend.
o Show ZigZag Line: check or uncheck to display the blue line between pivots.
o Colors: customize the visual appearance of the Fibonacci levels and ZigZag line.
3. Interpret the Fibonacci levels:
o Use the levels as possible support and resistance zones.
o Combine with other technical signals for more assertive entries and exits.
Volume Profile on Grid with Zscore ColoringThis indicator takes (DeadCatCode) volume profile and starts a new profile when price reaches a new Grid Interval, chosen in the settings.
The candles are also colored by Z score (colors pulled from ChartPrime) based on the 5 deviations from the Daily TWAP, which is anchored from previous days settlement time, 14:59:30CT. The max number of deviations can be changed in the settings to change the sensitivity of the z score coloring.
Session Highs and Lows🔑 Key Levels: Session Liquidity & Structure Mapper
The Key Levels indicator is an essential tool for traders as it automatically plots and projects critical Highs and Lows established during key trading sessions. These levels represent major liquidity pools and define the current market structure, serving as high-probability targets, support, or resistance for the remainder of the trading day.
⚙️ Core Functionality
The indicator operates in two distinct modes, tailored for different asset classes:
1. Asset Class Mode (Toggle)
You can switch between two predefined setups depending on the asset you are trading:
Stock Mode (RTH/ETH): Designed for US stocks and futures (e.g., NQ, ES, YM). It tracks and projects levels for Regular Trading Hours (RTH) (09:30-16:00) and Extended Hours (ETH) (16:00-09:30).
Forex/Default Mode (Asia/London/NY): Designed for global markets (e.g., currency pairs). It tracks and projects levels for the three major liquidity sessions: Asia (19:00-03:00), London (03:00-09:30), and New York (09:30-16:00).
🗺️ Key Levels Mapped
The script continuously tracks and plots the most significant structural levels:
Current Session High/Low: The running high and low of the currently active session.
Previous Session High/Low: The confirmed high and low from the most recently completed session. These are often targeted by market makers.
Previous Day High/Low (PDH/PDL): The high and low of the prior 24-hour day, acting as major structural boundaries and a crucial macro market filter.
🎛️ Advanced Liquidity Management
The indicator is built with specific controls for high-level liquidity analysis:
Extend Through Sweeps (Critical Setting):
OFF (Recommended): The projected line is automatically stopped or deleted the moment the price candle wicks or closes past it. This visually confirms that the liquidity at that level has been "swept" or "mitigated."
ON: The line extends indefinitely, treating the level as simple support/resistance, regardless of interaction.
Previous vs. Current View: You can select a checkbox (e.g., Use PREVIOUS London Level) to hide the current session's running levels and only display the static, confirmed high/low from the prior completed session. This helps declutter the chart and focus only on the confirmed structural levels.
Show Older History: Toggle to keep lines from prior days visible, allowing you to track multi-day structural context.
🎯 Trading Application
The lines plotted by the Key Levels indicator provide immediate, actionable information:
Bias Filter: Use the PDH/PDL to determine the overall market context. Trading above the PDH suggests a bullish bias, while trading below the PDL suggests a bearish bias.
Manipulation/Entry: Wait for price to aggressively sweep a Previous Session High/Low (line stops extending). This often signals a liquidity grab or "manipulation" phase. Look for entries in the opposite direction for the main move (Distribution).
Targets: Key levels (especially unmitigated ones) serve as excellent, objective take-profit targets for active trades.
VYW Stop Loss LinesA simple utility designed to visually display Stop Loss lines on the chart based on an offset from the current price (the orange dashed lines in the screenshot above).
This indicator can also draw a line from the current bar's close price to the Price axis (the dashed gray line in the screenshot above).
Levels Settlement and NY Open with Range ExtensionsOnly work on 30 second chart. A continuation of the levels script. This indicator draws a line from the high and low of the 30 second candle at 14:59:30CT, and extends the lines for 24 hours.
It draws another high low from the 8:30CT 30 second opening candle and extends them for the full 24 to the next NY open, plus another 6.5 hours until the next settlement time at 14:59:30CT.
This gives a very long liquidity box starting from the 30 second candle of the NY open, and a shorter liquidity box starting from the 30 second candle of settlement time. And now these ranges get range extensions for up to 6x, showing potential moves starting from the cost basis of settlement and ny open.
DWMY OHLCShows the prior D/W/M/Y OHLC levels with precise horizontal segments that update at each new session. Great for spotting reaction zones, sweeps, and bias shifts at important levels.
Monthly and Yearly levels are toggled off by default to avoid clutter, but can of course be toggled back on in the settings
LiquidityPulse Higher Timeframe Consecutive Candle Run LevelsLiquidityPulse Higher Timeframe Consecutive Candle Run Levels
Research suggests that financial markets can alternate between trend-persistence and mean-reversion regimes, particularly at short (intraday) or very long timeframes. Extended directional moves, whether prolonged intraday rallies or sell-offs, also carry a statistically higher chance of retracing or reversing (Safari & Schmidhuber, 2025). In addition, studies examining support and resistance behaviour show that swing highs or lows formed after strong directional moves may act as structurally and psychologically important price levels, where subsequent price interactions have an increased likelihood of stalling or bouncing rather than passing through directly (Chung & Bellotti, 2021). By highlighting higher-timeframe candle runs and marking their extremal levels, this indicator aims to display areas where directional momentum previously stopped, providing contextual "watch levels" that traders may incorporate into their broader analysis.
How this information is used in the indicator:
When a sequence of consecutive higher-timeframe candles prints in the same direction, the indicator highlights the lower-timeframe chart with a green or red background, depending on whether the higher-timeframe run was bullish or bearish. The highest high (for a bull run) or lowest low (for a bear run) of that sequence forms a recent extremum, and this value is plotted as a swing-high or swing-low level. These levels appear only after the required number of consecutive higher-timeframe candles (set by the user) have closed, and they continue updating as long as the higher-timeframe streak remains intact. A level "freezes" and stops updating only when an opposite-colour higher-timeframe candle closes (e.g., a red candle ending a bull run, or a green candle ending a bear run). Once frozen, the level remains fixed to preserve that structural information for future analysis or retests. The number of past bull/bear levels displayed on the chart is also adjustable in the settings.
Why capture a level after a long directional run:
When price moves in one direction for several consecutive candles (e.g. 4, 5, or more), it reflects strong directional bias, often associated with momentum, liquidity imbalance, or liquidity grabs. Once that sequence breaks, the final level reached marks a point of exhaustion or structural resistance/support, where that bias failed to continue. These inflection points are often used by traders and trading algorithms to assess potential reversals, retests, or breakout setups. By freezing these levels once the run ends, the indicator creates a map of historically significant price zones, allowing traders to observe how price behaves around them over time.
Additional information displayed by the indicator:
Each detected run includes a label showing the run length (the number of consecutive higher-timeframe candles in the streak) along with the source timeframe used for detection. The indicator also displays an overstretch marker: this numerical value appears when the total size of the candle bodies within the run exceeds a user-defined multiple of the average higher-timeframe body size (default: 1.5x). This helps highlight runs that were unusually strong or extended relative to typical volatility. You can also enable alerts that trigger when this overstretch ratio exceeds a higher threshold.
Key Settings
Timeframe: Choose which HTF to analyse (e.g., 15m, 1h, 4h)
Minimum Candle Run Length: Define how many consecutive candles are needed to trigger a level (e.g., 4)
Overstretch Settings: Customize detection threshold and alert trigger (in multiples of average body size)
Background Tints: Enable/disable visual highlights for bull and bear runs
Display Capacity: Choose how many past bull/bear levels to show
How Traders Can Use This Indicator
Traders can:
-Watch levels for retests, reversals, breakouts, or consolidation
-Identify areas where price showed strong directional conviction
-Spot extended or aggressive moves based on overstretch detection
-Monitor how price reacts when retesting prior run levels
-Build confluence with your existing levels, zones, or indicators
Disclaimer
This tool does not reflect true order flow, liquidity, or institutional positioning. It is a visual aid that highlights specific candle behaviour patterns and does not produce predictive signals. All analysis is subject to interpretation, and past price behaviour does not imply future outcomes.
References:
Trends and Reversion in Financial Markets on Time Scales from Minutes to Decades (Sara A. Safari & Christof Schmidhuber, 2025)
Evidence and Behaviour of Support and Resistance Levels in Financial Time Series (Chung & Bellotti, 2021)
Time-based levelsScript to plot time-based levels such as yearly/quarterly/monthly/Monday open, Monday range, previous month/week/day range.
This script does NOT handle sessions, therefore it's better suited for crypto which is 24/7.
There are various display options.
- Monday open is displayed immediately, but Monday High / Low / Mid 50% are displayed from Tuesday (i.e. when Monday closes and H/L are set for good)
This behaviour can be overridden using the appropriate option within the indicator's inputs parameters
- Levels are time-frame dependant (for instance, a daily level such as "Monday open" only shows on D1 TF and lower TF)
- To avoid redundancies:
* Yearly open is not displayed on January (redundant with monthly open)
* Quarterly open is not displayed on January, April, July and October (redundant with monthly open), neither on Feb. and March (redundant with yearly open)
* Previous day High / Low / Mid 50% are not displayed on Tuesday (redundant with Monday open / High / Low / Mid 50%)
* Daily open is not displayed on Monday (redundant with Monday open)
- Alerts can be created when prices crosses levels such as yearly/quarterly/monthly/Monday open, Monday range, previous month/week/day range
Known issue (TradingView ticket opened as issue is on their side):
On the W1 TF, if the current week spans over 2 months, the monthly open will be incorrect and still use the previous month open instead.
Once the week closes, the monthly open will be displayed correctly. This issue is not present on other TF.
Example: on Feb. 2nd 2023, when W1 TF is selected, monthly open shows January open instead of February open.
MTF 4h Structure + FVG (CORRECTED)This is a fully customizable Multi-Timeframe (MTF) indicator for SMC traders. It overlays true Higher Timeframe market structure onto your current chart. While it defaults to the 4-Hour (4h) structure, you can easily change this to 1h, Daily, or Weekly in the settings to suit your strategy.
Key Features:
1. Dynamic MTF Overlay: Select any Higher Timeframe (HTF) in the settings. The script calculates true pivots on that timeframe and projects them onto your chart without repainting issues.
2. Active Dealing Range: Automatically displays the Swing High and Swing Low of the selected HTF.
3. Equilibrium (EQ): Marks the 50% level of the range to help you identify Premium (Sell) vs. Discount (Buy) zones.
4. HTF Fair Value Gaps (FVG): Detects and draws unmitigated FVGs from your selected timeframe, acting as high-probability POIs.
Visuals & Logic:
- Green/Red: Signals CHoCH (Trend Reversals).
- Gray: Signals BOS (Trend Continuation) - keeping the chart clean.
- Smart Calculation: Calculates structure explicitly on the HTF data to prevent false signals on lower timeframes.
How to use:
1. Add to your chart (e.g., 5m or 15m).
2. Open Settings -> Select your desired "Higher Timeframe" (Default is 4h).
3. Trade in the direction of the HTF Trend (Labels) and look for entries within HTF FVGs in the correct Discount/Premium zone.
Advanced Breakout SystemAdvanced Breakout System
Developed by: Mohammed Bedaiwi
This script hunts for high-probability breakouts by combining price consolidation zones, volume spikes vs. average volume, smart money flow (OBV), and a Momentum Override for explosive moves that skip consolidation. Additionally, it automatically identifies and plots Support and Resistance levels with price labels to help you visualize market structure.
The system follows a "Watch & Confirm" logic: it first prints a WATCH setup, then a BUY only if price confirms strength.
🔑 Color Legend (Visual Guide)
🟡 WATCH – Setup (Yellow Arrow Down) :
Potential breakout setup detected. Monitor the stock and do not enter yet. Triggered when price breaks out of a recent consolidation with strong volume or makes a big momentum move (e.g. >5%) in a single bar.
🟢 BUY – Confirmation (Green Arrow Up) :
Confirmed breakout. Consider entering a long position according to your own rules. Triggered when price trades above the high of the WATCH candle.
🟠 SELL – Break (Orange Arrow) :
Short-term trend weakness. Triggered when price closes below the Fast EMA (9). Used as a protective exit or partial profit-taking.
🔴 SELL – Dump (Dark Red Arrow) :
Distribution / volume dump. Triggered by a bearish candle with abnormally high volume compared to the average (e.g. ≥ Dump Volume Multiplier × average volume).
🟣 SELL – Pattern (Purple Arrow) :
Bearish price-action pattern (such as a bearish engulfing). Indicates a possible top or reversal.
🔴/🟢 Support & Resistance Lines :
Small horizontal lines plotted at key swing points. Red Line: Resistance (Swing High). Green Line: Support (Swing Low). Both include exact price labels for quick reference.
⚙️ Inputs
Entry settings: Consolidation Lookback (default 20) = bars used to detect consolidation. Consolidation Range % (default 12%) = max allowed range size; higher values make the script more sensitive. Volume Spike Multiplier (default 1.2) = factor above average volume to count as a spike. Force Signal on Big Moves (default ON) = forces a WATCH signal if price jumps more than a set % (e.g. 5%) even without consolidation/OBV confirmation.
Exit settings: Enable Fast Exit (EMA 9) toggles the SELL – Break signal. Dump Volume Multiplier defines what counts as “dump” volume (e.g. 2× average).
Support & Resistance: Adjustable Pivot Left/Right bars allow you to control the sensitivity of the support and resistance lines.
⚠️ Disclaimer
Trading involves significant risk of loss. This script is for educational and informational purposes only and is not financial advice or a recommendation to buy or sell any asset. BUY and SELL signals are rule-based and derived from historical behavior and do not guarantee future performance. Always use your own analysis and risk management.
Price Forecast - Future price Ichimoku ATR RSI Kumo It predicts
Future price (projected close)
future high-low (ATR projection)
Ichimoku Future Span overlay
alerts "future price above/below threshold".
Ichimoku Kumo Projection (Leading Span A & B). Senkou Span A (Future A) Senkou Span B (Future B).
ATR Projection Channel (ATR Bands/Volatility Forecast).
Linear regression forecast for +1 bar.
Multi timeframe
RSI+Kumo filter for clearer signals.
IMPORTANT Levels by SBImportant levels by SB based on gann levels.One can plot these levels once on the chart and can work on these levels .When ever market market come at any of these levels .User can wait for the price action and accordingly user can get inside the trade
3-Bar Inversion Pattern (Entry & Invalidation Levels)Very simple 3-bar inversion pattern looking for a bar that extends in the previous bar's direction, bar 2 having a body no bigger than 50% of bar 1's. and Bar 3 having a body close beyond the open of bar 1. Invalidation is set to the highest point of the 3 par pattern.
VYW Weekly Ref LinesThis is a simple script to plot lines where the current weekly high/low are, as well as the previous week high/low.
The script is intendent to work with the Regular Trading Hours session.
Pivot Boss IndicatorsPivot boss indicators shows central pivot range and pivot levels for support and resistance.
CISD by tncylyvCISD (Change in State of Delivery) by tncylyv
The CISD (Change in State of Delivery) indicator is a precision price action tool designed to help traders identify key reversal points based on ICT concepts. Unlike standard support and resistance indicators, this script tracks the specific algorithmic opening prices responsible for the current delivery state and highlights when that state has been invalidated.
🧠 What is CISD?
Change in State of Delivery refers to the moment price shifts from a Buy Program to a Sell Program (or vice versa).
• Bearish CISD (-CISD): Occurs when price closes below the opening price of the up-candle sequence that created the most recent High.
• Bullish CISD (+CISD): Occurs when price closes above the opening price of the down-candle sequence that created the most recent Low.
This indicator automates the identification of these levels, tracking the "Active" reference price in real-time and marking historical reversals.
🚀 Key Features
1. Continuous Active Level Tracking:
o The indicator plots a continuous, stepped line (The "Active CISD") that follows the market structure. As the market expands (makes new highs or lows), the line updates to the new valid reference point.
o This allows you to see the current invalidation level at a glance without cluttering the chart with old lines.
2. Triggered Reversal Lines:
o When a candle closes beyond the Active CISD level, a "Triggered" line is drawn to mark the exact price and location of the reversal.
o These lines serve as excellent historical references for potential Order Blocks or Breakers later in time.
3. Smart Filtering:
o You can choose to display Both Bullish and Bearish setups, or filter to see Bullish Only or Bearish Only. This is ideal for traders who have a specific daily bias and want to remove noise from the chart.
4. Clean & Customizable:
o Fully customizable colors for Bullish and Bearish events.
o Options to toggle Labels, adjust Line Width, and change Line Styles (Solid, Dashed, Dotted).
o "No Continuation" Logic: This version focuses purely on major reversals (Change in State) rather than minor pullbacks, keeping your chart clean.
⚙️ Settings Guide
• Show Active CISD Level: Toggles the continuous stepped line representing the current threshold for a reversal.
• Triggered CISD Display: Choose between Both, Bullish Only, Bearish Only, or None. This controls the historical lines left behind after a reversal occurs.
• Visual Settings: Adjust line width, label sizes, and font styles to match your chart aesthetic.
• Colors: Customize the Shrek Mode (Bullish) and Blood Bath (Bearish) colors.
⚠️ A Note for Developers
This indicator is open source! If you are a Pine Script developer, feel free to check the source code. I’ve utilized some... creative variable naming conventions to make the coding experience more entertaining. Enjoy the read!
________________________________________
Risk Disclaimer: This tool is for educational purposes and market analysis. It does not guarantee future performance. Always manage your risk.
CODY BOT – Breakout SignalsCODY BOT is a minimalist, high-probability breakout indicator designed to keep your chart clean while highlighting actionable trading opportunities.
Unlike traditional indicators that generate too many signals, CODY BOT only alerts you to strong directional moves following consolidation, helping you focus on high-quality entries.
Key Features:
Detects breakouts above recent highs and below recent lows.
Filters weak moves using minimum candle body size.
Includes a cooldown period to prevent signal spam.
Clean and intuitive visual signals with large arrows for easy interpretation.
Optional customization for consolidation lookback bars, minimum candle size, and arrow visibility.
Alerts built-in for server-side and mobile notifications.
How to Use:
Look for BUY arrows when price breaks above consolidation highs.
Look for SELL arrows when price breaks below consolidation lows.
Combine with your preferred risk management and trend confirmation strategies.
VYW GapsThis is a copy of the built-in Gaps indicator with the addition of drawing untouched close prices as well.
By default the lines are drawn as dashed orange lines.
Liquidation Heatmap [Alpha Extract]A sophisticated liquidity zone visualization system that identifies and maps potential liquidation levels based on swing point analysis with volume-weighted intensity measurement and gradient heatmap coloring. Utilizing pivot-based pocket detection and ATR-scaled zone heights, this indicator delivers institutional-grade liquidity mapping with dynamic color intensity reflecting relative liquidity concentration. The system's dual-swing detection architecture combined with configurable weight metrics creates comprehensive liquidation level identification suitable for strategic position planning and market structure analysis.
🔶 Advanced Pivot-Based Pocket Detection
Implements dual swing width analysis to identify potential liquidation zones at pivot highs and lows with configurable lookback periods for comprehensive level coverage. The system detects primary swing points using main pivot width and optional secondary swing detection for increased pocket density, creating layered liquidity maps that capture both major and minor liquidation levels across extended price history.
🔶 Multi-Metric Weight Calculation Engine
Features flexible weight source selection including Volume, Range (high-low spread), and Volume × Range composite metrics for liquidity intensity measurement. The system calculates pocket weights based on market activity at pivot formation, enabling traders to identify which liquidation levels represent higher concentration of potential stops and liquidations with configurable minimum weight thresholds for noise filtering.
🔶 ATR-Based Zone Height Framework
Utilizes Average True Range calculations with percentage-based multipliers to determine pocket vertical dimensions that adapt to market volatility conditions. The system creates ATR-scaled bands above swing highs for short liquidation zones and below swing lows for long liquidation zones, ensuring zone heights remain proportional to current market volatility for accurate level representation.
🔶 Dynamic Gradient Heatmap Visualization
Implements sophisticated color gradient system that maps pocket weights to intensity scales, creating intuitive visual representation of relative liquidity concentration. The system applies power-law transformation with configurable contrast adjustment to enhance differentiation between weak and strong liquidity pockets, using cyan-to-blue gradients for long liquidations and yellow-to-orange for short liquidations.
🔶 Intelligent Pocket State Management
Features advanced pocket tracking system that monitors price interaction with liquidation zones and updates pocket states dynamically. The system detects when price trades through pocket midpoints, marking them as "hit" with optional preservation or removal, and manages pocket extension for untouched levels with configurable forward projection to maintain visibility of approaching liquidity zones.
🔶 Real-Time Liquidity Scale Display
Provides gradient legend showing min-max range of pocket weights with 24-segment color bar for instant liquidity intensity reference. The system positions the scale at chart edge with volume-formatted labels, enabling traders to quickly assess relative strength of visible liquidation pockets without numerical clutter on the main chart area.
🔶 Touched Pocket Border System
Implements visual confirmation of executed liquidations through border highlighting when price trades through pocket zones. The system applies configurable transparency to touched pocket borders with inverted slider logic (lower values fade borders, higher values emphasize them), providing clear historical record of liquidated levels while maintaining focus on active untouched pockets.
🔶 Dual-Swing Density Enhancement
Features optional secondary swing width parameter that creates additional pocket layer with tighter pivot detection for increased liquidation level density. The system runs parallel pivot detection at both primary and secondary swing widths, populating chart with comprehensive liquidity mapping that captures both major swing liquidations and intermediate level clusters.
🔶 Adaptive Pocket Extension Framework
Utilizes intelligent time-based extension that projects untouched pockets forward by configurable bar count, maintaining visibility as price approaches potential liquidation zones. The system freezes touched pocket right edges at hit timestamps while extending active pockets dynamically, creating clear distinction between historical liquidations and forward-projected active levels.
🔶 Weight-Based Label Integration
Provides floating labels on untouched pockets displaying volume-formatted weight values with dynamic positioning that follows pocket extension. The system automatically manages label lifecycle, creating labels for new pockets, updating positions as pockets extend, and removing labels when pockets are touched, ensuring clean chart presentation with relevant liquidity information.
🔶 Performance Optimization Framework
Implements efficient array management with automatic clean-up of old pockets beyond lookback period and optimized box/label deletion to maintain smooth performance. The system includes configurable maximum object counts (500 boxes, 50 labels, 100 lines) with intelligent removal of oldest elements when limits are approached, ensuring consistent operation across extended timeframes.
This indicator delivers sophisticated liquidity zone analysis through pivot-based detection and volume-weighted intensity measurement with intuitive heatmap visualization. Unlike simple support/resistance indicators, the Liquidation Heatmap combines swing point identification with market activity metrics to identify where concentrated liquidations are likely to occur, while the gradient color system instantly communicates relative liquidity strength. The system's dual-swing architecture, configurable weight metrics, ATR-adaptive zone heights, and intelligent state management make it essential for traders seeking strategic position planning around institutional liquidity levels across cryptocurrency, forex, and futures markets. The visual heatmap approach enables instant identification of high-probability reversal zones where cascading liquidations may trigger significant price reactions.






















