OPEN-SOURCE SCRIPT
Mis à jour Hidden Liquidity Profile [Alpha Extract]

A sophisticated liquidity-mapping and support/resistance profiling framework that analyzes historical candle structure, volume, wick behaviour, and price distribution to identify hidden supply and demand zones across the chart. Hidden Liquidity Profile is designed to reveal where meaningful liquidity may be concentrated by separating sell-side and buy-side pressure into price bins, then projecting those zones forward as heat boxes, horizon lines, key price tags, and a real-time support/resistance dashboard.
Rather than relying on simple pivot highs and lows, the system evaluates how volume interacted with candle ranges, upper wicks, lower wicks, candle bodies, and recency weighting. This creates a dynamic liquidity profile that highlights where price may encounter resistance, support, absorption, or reaction zones.
🔶 Hidden Liquidity Profiling Engine
Builds separate supply and demand profiles across the selected lookback range. The system divides price into configurable bins, then distributes liquidity strength into those bins based on volume, candle range, wick size, body size, and age decay.
Pine Script®
This allows the indicator to estimate where sell liquidity and buy liquidity are most likely concentrated rather than only marking obvious visible highs and lows.
🔶 Supply & Demand Separation
The profile separates upper-wick and lower-wick pressure into two distinct liquidity maps.
Upper wick activity contributes to the supply profile, helping identify areas where sellers may have previously absorbed price movement. Lower wick activity contributes to the demand profile, helping identify zones where buyers may have previously defended price.
This separation gives traders a clearer view of whether nearby levels are more likely to behave as resistance, support, or balanced liquidity.
🔶 Age-Weighted Liquidity Decay
Applies a recency decay model so newer candles have stronger influence than older candles. This keeps the profile focused on liquidity that is more relevant to the current market environment while still preserving broader historical context.
The Age Decay Power setting controls how aggressively older liquidity fades. Higher values emphasize recent price action more strongly, while lower values retain more historical structure.
🔶 Price Bin Distribution System
Divides the analyzed price range into configurable price bins and assigns liquidity strength into each level. The Price Bins setting controls the resolution of the profile.
More bins create a finer, more detailed liquidity map. Fewer bins create a smoother, broader view of major supply and demand areas.
🔶 Distribution Radius Smoothing
Uses a configurable distribution radius to spread liquidity strength around nearby bins. This prevents the profile from becoming too fragmented and helps form smoother liquidity clusters.
This is especially useful on volatile assets where important liquidity zones often form across small ranges rather than at one exact tick.
🔶 Liquidity Heat Box Visualization
Displays supply and demand as horizontal heat boxes projected to the right side of the chart.
Supply liquidity is shown on the sell side using the selected sell color, while demand liquidity is shown on the buy side using the selected buy color. Wider and brighter boxes represent stronger normalized liquidity at that price level.
This creates a visual depth-style map that helps traders quickly identify where meaningful liquidity may be stacked above and below current price.
🔶 Forward Horizon Lines
Projects stronger liquidity levels forward using horizontal lines. These lines act as future reference zones where price may react, pause, reject, or accelerate through.
The Line Trigger setting controls how strong a liquidity level must be before it is projected. The Line Width Scale setting adjusts how visually dominant stronger levels appear.
🔶 Key Level Detection Framework
Identifies the strongest supply and demand levels from the profile and labels them directly on the chart.
The system can prioritize local peaks, helping avoid overcrowding and ensuring that selected levels represent distinct liquidity clusters rather than multiple nearby bins from the same zone.
This scoring model favors levels with strong dominant liquidity while still accounting for total combined activity.
🔶 Supply HVN & Demand HVN Labels
Marks high-volume liquidity nodes as Supply HVN or Demand HVN depending on which side of the profile dominates at that price.
Each label includes the level type, normalized strength percentage, and exact price. This allows traders to quickly identify the most important liquidity levels without manually reading the full heat map.
🔶 Nearest Support & Resistance Logic
Calculates the most relevant resistance above price and support below price using both liquidity strength and distance from current price.
Levels closer to current price receive more practical importance, while still needing enough liquidity strength to qualify. This helps the dashboard focus on actionable nearby zones instead of simply displaying the strongest level anywhere in the lookback range.
🔶 Aura Point Of Control
Identifies the strongest combined liquidity level across the profile. This Aura POC represents the price zone with the highest combined supply and demand activity.
The POC can act as a major reference point for balance, rotation, acceptance, rejection, or future retests.
🔶 Liquidity Pressure Balance
Compares total normalized demand against total normalized supply to estimate the broader pressure bias across the analyzed range.
When demand is meaningfully stronger, the dashboard shows a demand bias. When supply dominates, it shows a supply bias. When the two sides are close, the market is classified as balanced.
🔶 Real-Time S/R Dashboard
Includes a compact dashboard showing the most important liquidity information directly on the chart:
• Nearest resistance level
• Nearest support level
• Aura POC
• Supply, demand, or balanced pressure
• Active liquidity level count
• Current ticker reference
This gives traders a quick summary of where the strongest nearby reaction zones are and whether the broader liquidity profile is tilted toward supply or demand.
🔶 Customizable Visual Controls
Provides flexible display controls for heat boxes, horizon lines, key level tags, dotted key level lines, and the dashboard.
Traders can adjust the number of analyzed bars, price bin resolution, liquidity smoothing, projection distance, box width, line width, and trigger thresholds to match different assets and timeframes.
🔶 Clean Overlay Design
The full liquidity map is displayed directly on price without requiring a separate oscillator pane. Heat boxes appear to the right of the chart, while key levels and labels extend across the active lookback area.
This keeps the chart readable while still providing a detailed view of hidden supply and demand structure.
🔶 Why Choose Hidden Liquidity Profile [Alpha Extract]?
Hidden Liquidity Profile provides a more advanced way to identify potential support, resistance, and liquidity reaction zones by analyzing volume-weighted candle structure across the full price range. Instead of marking only visible swing highs and lows, it evaluates where supply and demand pressure may be concentrated based on wick behaviour, candle body participation, volume energy, and recency-weighted price distribution.
The heat boxes reveal liquidity density, the horizon lines project important levels forward, the HVN labels highlight the strongest zones, and the dashboard summarizes nearest support, resistance, POC, and pressure bias in real time.
Perfect for liquidity traders, support/resistance traders, intraday traders, swing traders, and market structure analysts who want a cleaner way to visualize hidden supply and demand zones directly on the chart.
Rather than relying on simple pivot highs and lows, the system evaluates how volume interacted with candle ranges, upper wicks, lower wicks, candle bodies, and recency weighting. This creates a dynamic liquidity profile that highlights where price may encounter resistance, support, absorption, or reaction zones.
🔶 Hidden Liquidity Profiling Engine
Builds separate supply and demand profiles across the selected lookback range. The system divides price into configurable bins, then distributes liquidity strength into those bins based on volume, candle range, wick size, body size, and age decay.
This allows the indicator to estimate where sell liquidity and buy liquidity are most likely concentrated rather than only marking obvious visible highs and lows.
🔶 Supply & Demand Separation
The profile separates upper-wick and lower-wick pressure into two distinct liquidity maps.
Upper wick activity contributes to the supply profile, helping identify areas where sellers may have previously absorbed price movement. Lower wick activity contributes to the demand profile, helping identify zones where buyers may have previously defended price.
This separation gives traders a clearer view of whether nearby levels are more likely to behave as resistance, support, or balanced liquidity.
🔶 Age-Weighted Liquidity Decay
Applies a recency decay model so newer candles have stronger influence than older candles. This keeps the profile focused on liquidity that is more relevant to the current market environment while still preserving broader historical context.
The Age Decay Power setting controls how aggressively older liquidity fades. Higher values emphasize recent price action more strongly, while lower values retain more historical structure.
🔶 Price Bin Distribution System
Divides the analyzed price range into configurable price bins and assigns liquidity strength into each level. The Price Bins setting controls the resolution of the profile.
More bins create a finer, more detailed liquidity map. Fewer bins create a smoother, broader view of major supply and demand areas.
🔶 Distribution Radius Smoothing
Uses a configurable distribution radius to spread liquidity strength around nearby bins. This prevents the profile from becoming too fragmented and helps form smoother liquidity clusters.
This is especially useful on volatile assets where important liquidity zones often form across small ranges rather than at one exact tick.
🔶 Liquidity Heat Box Visualization
Displays supply and demand as horizontal heat boxes projected to the right side of the chart.
Supply liquidity is shown on the sell side using the selected sell color, while demand liquidity is shown on the buy side using the selected buy color. Wider and brighter boxes represent stronger normalized liquidity at that price level.
This creates a visual depth-style map that helps traders quickly identify where meaningful liquidity may be stacked above and below current price.
🔶 Forward Horizon Lines
Projects stronger liquidity levels forward using horizontal lines. These lines act as future reference zones where price may react, pause, reject, or accelerate through.
The Line Trigger setting controls how strong a liquidity level must be before it is projected. The Line Width Scale setting adjusts how visually dominant stronger levels appear.
🔶 Key Level Detection Framework
Identifies the strongest supply and demand levels from the profile and labels them directly on the chart.
The system can prioritize local peaks, helping avoid overcrowding and ensuring that selected levels represent distinct liquidity clusters rather than multiple nearby bins from the same zone.
This scoring model favors levels with strong dominant liquidity while still accounting for total combined activity.
🔶 Supply HVN & Demand HVN Labels
Marks high-volume liquidity nodes as Supply HVN or Demand HVN depending on which side of the profile dominates at that price.
Each label includes the level type, normalized strength percentage, and exact price. This allows traders to quickly identify the most important liquidity levels without manually reading the full heat map.
🔶 Nearest Support & Resistance Logic
Calculates the most relevant resistance above price and support below price using both liquidity strength and distance from current price.
Levels closer to current price receive more practical importance, while still needing enough liquidity strength to qualify. This helps the dashboard focus on actionable nearby zones instead of simply displaying the strongest level anywhere in the lookback range.
🔶 Aura Point Of Control
Identifies the strongest combined liquidity level across the profile. This Aura POC represents the price zone with the highest combined supply and demand activity.
The POC can act as a major reference point for balance, rotation, acceptance, rejection, or future retests.
🔶 Liquidity Pressure Balance
Compares total normalized demand against total normalized supply to estimate the broader pressure bias across the analyzed range.
When demand is meaningfully stronger, the dashboard shows a demand bias. When supply dominates, it shows a supply bias. When the two sides are close, the market is classified as balanced.
🔶 Real-Time S/R Dashboard
Includes a compact dashboard showing the most important liquidity information directly on the chart:
• Nearest resistance level
• Nearest support level
• Aura POC
• Supply, demand, or balanced pressure
• Active liquidity level count
• Current ticker reference
This gives traders a quick summary of where the strongest nearby reaction zones are and whether the broader liquidity profile is tilted toward supply or demand.
🔶 Customizable Visual Controls
Provides flexible display controls for heat boxes, horizon lines, key level tags, dotted key level lines, and the dashboard.
Traders can adjust the number of analyzed bars, price bin resolution, liquidity smoothing, projection distance, box width, line width, and trigger thresholds to match different assets and timeframes.
🔶 Clean Overlay Design
The full liquidity map is displayed directly on price without requiring a separate oscillator pane. Heat boxes appear to the right of the chart, while key levels and labels extend across the active lookback area.
This keeps the chart readable while still providing a detailed view of hidden supply and demand structure.
🔶 Why Choose Hidden Liquidity Profile [Alpha Extract]?
Hidden Liquidity Profile provides a more advanced way to identify potential support, resistance, and liquidity reaction zones by analyzing volume-weighted candle structure across the full price range. Instead of marking only visible swing highs and lows, it evaluates where supply and demand pressure may be concentrated based on wick behaviour, candle body participation, volume energy, and recency-weighted price distribution.
The heat boxes reveal liquidity density, the horizon lines project important levels forward, the HVN labels highlight the strongest zones, and the dashboard summarizes nearest support, resistance, POC, and pressure bias in real time.
Perfect for liquidity traders, support/resistance traders, intraday traders, swing traders, and market structure analysts who want a cleaner way to visualize hidden supply and demand zones directly on the chart.
Notes de version
Minor bug fix to the table Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Access more of our systems and insights at alphaextract.xyz
All analysis provided by Alpha Extract is for educational and informational purposes only.
All analysis provided by Alpha Extract is for educational and informational purposes only.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Access more of our systems and insights at alphaextract.xyz
All analysis provided by Alpha Extract is for educational and informational purposes only.
All analysis provided by Alpha Extract is for educational and informational purposes only.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.