PROTECTED SOURCE SCRIPT
Advanced Liquidity Pools (Revention)

Overview
This indicator provides a sophisticated visualization of potential Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) zones based on recent market structure swing points (pivots). It goes beyond simply plotting levels by incorporating a dynamic probability estimation to highlight the liquidity pool calculated as most likely to be targeted next. The goal is to offer traders a clearer view of potential stop-hunt zones and areas where market manipulation might occur.
Key Features
Dynamic Liquidity Boxes: Identifies BSL (above price) and SSL (below price) using pivot highs/lows and visualizes them as filled boxes extending into the future.
Hunt Odds Visualization: The color intensity and transparency of each box dynamically adjust based on a calculated "hunt odds" score. This score estimates the likelihood of the zone being targeted based on its age, current market volatility (ranging vs. trending), and the direction of the most recent liquidity sweep. Boxes with higher calculated odds appear more prominent.
Most Probable Target Highlight: The single BSL or SSL box with the highest calculated odds, adjusted for the last sweep direction, is highlighted with a distinct background color (default yellow), drawing attention to the area deemed most likely for the next liquidity grab.
Contextual Information: Optionally displays text directly on the highlighted box showing:
The calculated "Hunt Odds" percentage.
A Higher Timeframe (HTF) Alignment Score (0-4), indicating how many selected higher timeframes show a trend (based on EMA crossover) that aligns with the direction needed to reach the highlighted target.
How It Works
Pivot Detection: Identifies swing highs and lows based on the user-defined Pivot Lookback.
Zone Creation: Creates a box around each pivot, extending forward in time. The height is based on a multiple of the Average True Range (ATR).
Odds Calculation: For each active (non-mitigated) box, it calculates a "Hunt Odds" score using weighted factors:
Age: Older zones have lower odds.
Market Condition: Zones have higher odds during detected ranging periods.
Last Sweep: The zone opposite the most recently swept liquidity side receives higher odds.
Highlighting: Determines the highest-odds BSL and SSL, then selects the "most probable" target based primarily on the last_sweep_dir (prioritizing the opposite side) or secondarily on the highest overall odds.
HTF Alignment: Checks the trend direction (via EMA cross) on up to four user-selected higher timeframes and counts how many align with the direction towards the highlighted target.
Visualization: Updates the background color, border width, and text display for each box based on its odds and whether it's the highlighted target. Mitigated boxes are removed.
Disclaimer
The "Hunt Odds" percentage displayed is a speculative estimate derived solely from the indicator's internal logic and simplified market factors (age, range detection, last sweep). It is NOT a statistically validated probability of future price movement. Market dynamics are complex, and liquidity hunts are influenced by numerous factors not captured by this indicator. This tool should be used as a visual aid to supplement your own market analysis, confluence finding, and risk management strategies. Do not base trading decisions solely on the highlighted zone or the calculated odds.
Potential Use Cases
Identifying potential areas where stop-loss orders may be clustered.
Visualizing how market conditions (ranging) might increase the likelihood of stop hunts.
Gauging higher timeframe trend alignment towards key liquidity zones.
Serving as a component within a broader trading strategy focused on liquidity concepts and market manipulation patterns (e.g., waiting for rejection or acceptance at highlighted zones).
This indicator provides a sophisticated visualization of potential Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) zones based on recent market structure swing points (pivots). It goes beyond simply plotting levels by incorporating a dynamic probability estimation to highlight the liquidity pool calculated as most likely to be targeted next. The goal is to offer traders a clearer view of potential stop-hunt zones and areas where market manipulation might occur.
Key Features
Dynamic Liquidity Boxes: Identifies BSL (above price) and SSL (below price) using pivot highs/lows and visualizes them as filled boxes extending into the future.
Hunt Odds Visualization: The color intensity and transparency of each box dynamically adjust based on a calculated "hunt odds" score. This score estimates the likelihood of the zone being targeted based on its age, current market volatility (ranging vs. trending), and the direction of the most recent liquidity sweep. Boxes with higher calculated odds appear more prominent.
Most Probable Target Highlight: The single BSL or SSL box with the highest calculated odds, adjusted for the last sweep direction, is highlighted with a distinct background color (default yellow), drawing attention to the area deemed most likely for the next liquidity grab.
Contextual Information: Optionally displays text directly on the highlighted box showing:
The calculated "Hunt Odds" percentage.
A Higher Timeframe (HTF) Alignment Score (0-4), indicating how many selected higher timeframes show a trend (based on EMA crossover) that aligns with the direction needed to reach the highlighted target.
How It Works
Pivot Detection: Identifies swing highs and lows based on the user-defined Pivot Lookback.
Zone Creation: Creates a box around each pivot, extending forward in time. The height is based on a multiple of the Average True Range (ATR).
Odds Calculation: For each active (non-mitigated) box, it calculates a "Hunt Odds" score using weighted factors:
Age: Older zones have lower odds.
Market Condition: Zones have higher odds during detected ranging periods.
Last Sweep: The zone opposite the most recently swept liquidity side receives higher odds.
Highlighting: Determines the highest-odds BSL and SSL, then selects the "most probable" target based primarily on the last_sweep_dir (prioritizing the opposite side) or secondarily on the highest overall odds.
HTF Alignment: Checks the trend direction (via EMA cross) on up to four user-selected higher timeframes and counts how many align with the direction towards the highlighted target.
Visualization: Updates the background color, border width, and text display for each box based on its odds and whether it's the highlighted target. Mitigated boxes are removed.
Disclaimer
The "Hunt Odds" percentage displayed is a speculative estimate derived solely from the indicator's internal logic and simplified market factors (age, range detection, last sweep). It is NOT a statistically validated probability of future price movement. Market dynamics are complex, and liquidity hunts are influenced by numerous factors not captured by this indicator. This tool should be used as a visual aid to supplement your own market analysis, confluence finding, and risk management strategies. Do not base trading decisions solely on the highlighted zone or the calculated odds.
Potential Use Cases
Identifying potential areas where stop-loss orders may be clustered.
Visualizing how market conditions (ranging) might increase the likelihood of stop hunts.
Gauging higher timeframe trend alignment towards key liquidity zones.
Serving as a component within a broader trading strategy focused on liquidity concepts and market manipulation patterns (e.g., waiting for rejection or acceptance at highlighted zones).
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.