OPEN-SOURCE SCRIPT
Adaptive Liquidity Reclaim Map [PhenLabs]

📊 Adaptive Liquidity Reclaim Map [PhenLabs]
Version: PineScript™ v6
📌 Description
Adaptive Liquidity Reclaim Map (ALRM) turns a common but noisy market event into a publication-ready visual decision: price sweeps a confirmed liquidity zone, decisively reclaims it, and aligns with higher-timeframe direction. The V2 layout is designed to make the active battlefield obvious at a glance—two slim zones, one focal reclaim, and one clean payoff block.
ALRM keeps only the newest buy-side and sell-side zones on the chart. When a reclaim qualifies, it prints a high-contrast score callout, tints the signal candle, and projects transparent risk/reward blocks from the actual sweep-bar invalidation to the runner objective.
🚀 Points of Innovation
🔧 Core Components
🔥 Key Features
🎨 Visualization
📖 Usage Guidelines
✅ Best Use Cases
⚠️ Limitations
💡 What Makes This Unique
🔬 How It Works
Version: PineScript™ v6
📌 Description
Adaptive Liquidity Reclaim Map (ALRM) turns a common but noisy market event into a publication-ready visual decision: price sweeps a confirmed liquidity zone, decisively reclaims it, and aligns with higher-timeframe direction. The V2 layout is designed to make the active battlefield obvious at a glance—two slim zones, one focal reclaim, and one clean payoff block.
ALRM keeps only the newest buy-side and sell-side zones on the chart. When a reclaim qualifies, it prints a high-contrast score callout, tints the signal candle, and projects transparent risk/reward blocks from the actual sweep-bar invalidation to the runner objective.
🚀 Points of Innovation
- Slim active liquidity zones: the latest confirmed swing pools become semi-transparent ATR-sized zones instead of bare horizontal lines.
- Screenshot-first focal signal: a diamond marker and oversized BULL/BEAR RECLAIM callout concentrate attention on the qualified event.
- Transparent quality score: a 0-100 confluence measure combines impulse quality, reclaim close location, HTF alignment, and volatility suitability. It is not a probability or AI prediction.
- Payoff blocks, not just targets: translucent risk and reward rectangles show the geometry of the current setup from entry to runner.
- One event per pool: each confirmed swing can create only one signal, keeping the chart clean during repeated retests.
🔧 Core Components
- Active Liquidity Zones: pivot highs create the newest buy-side zone and pivot lows create the newest sell-side zone. Each zone has a subtle fill, colored border, and optional dashed center.
- Adaptive Reclaim Filter: candle body is normalized by ATR and compared with a threshold that responds to current volatility.
- Confluence Quality Score: impulse, close location, HTF context, and volatility regime are normalized and clamped to a 0-100 quality display.
- Risk/Reward Block: the sweep extreme defines risk, while 1R and runner objectives create the latest payoff map.
🔥 Key Features
- Neon emerald bullish and magenta bearish visuals remain clear on dark TradingView charts.
- Large BULL/BEAR RECLAIM callout includes Quality score and runner framing for an immediate screenshot narrative.
- Optional signal-candle tint makes the event visible even when zoomed out.
- Amber primary objective, subtle runner line, and thin entry line sit inside transparent risk/reward blocks.
- Branded 2-column dashboard shows mode, HTF bias, volatility regime, active pools, last event, and quality.
- Separate bullish and bearish alerts are available for notification workflows.
🎨 Visualization
- Magenta zone: newest buy-side liquidity around a confirmed swing high, where upside sweep attempts are evaluated.
- Emerald zone: newest sell-side liquidity around a confirmed swing low, where downside sweep attempts are evaluated.
- Diamond marker plus large label: a qualified reclaim; the label states direction, confluence quality, and runner R target.
- Red risk block and emerald reward block: the latest payoff geometry from signal-bar entry through the runner objective.
- Amber dotted line: primary target. Fainter amber dotted line: runner. Thin neutral line: entry.
- Top-right ALRM V2 dashboard: compact context for publication screenshots and live decision support.
📖 Usage Guidelines
- Pivot Left Bars — Default: 4 — Range: 2-20 — Controls how much left-side structure is required for a zone. Increase for more significant pools.
- Pivot Right Bars — Default: 4 — Range: 2-20 — Sets confirmation delay and selectivity. Higher values reduce zone turnover.
- ATR Length — Default: 14 — Range: 5-100 — Volatility unit used for impulse, quality, and zone sizing.
- Volatility Lookback — Default: 50 — Range: 10-200 — ATR baseline used to identify the current volatility regime.
- Base Impulse (ATR) — Default: 0.35 — Range: 0.10-2.00 — Minimum normalized candle body before adaptive scaling. Raise it for fewer, more forceful reclaims.
- Liquidity Zone Width (ATR) — Default: 0.10 — Range: 0.02-1.00 — Half-width of the active zone. Keep it near 0.10 for a slim, screenshot-friendly band.
- Require HTF Alignment — Default: On — Range: On/Off — Requires the reclaim to agree with higher-timeframe EMA direction.
- Higher Timeframe — Default: 240 — Range: Any TradingView timeframe — Context timeframe for directional filtering; typically select one above the chart timeframe.
- Primary Target (R) — Default: 1.0 — Range: 0.50-5.00 — Bright amber first objective measured from entry to sweep-bar extreme.
- Runner Target (R) — Default: 2.0 — Range: 0.75-8.00 — Full reward-block objective shown in the signal callout.
- Projection Length — Default: 30 — Range: 5-200 — Number of bars the active risk/reward block extends.
- Show Score Callouts — Default: On — Range: On/Off — Shows the large directional quality label; ALRM retains only the latest callout per direction.
- Tint Signal Candle — Default: On — Range: On/Off — Adds a high-contrast directional tint only to qualified signal candles.
✅ Best Use Cases
- Dark-chart screenshot posts where the setup needs to be understood without a long explanation.
- Intraday index, futures, FX, and crypto charts where stop runs and reclaims are common.
- Liquidity-focused discretionary workflows that want a consistent visual invalidation and payoff reference.
- Multi-timeframe execution plans using a higher-timeframe direction filter with lower-timeframe entries.
⚠️ Limitations
- Pivot confirmation delays a new zone by the selected right-bar setting; ALRM does not predict unconfirmed swings.
- The quality score is a normalized confluence display, not a forecast, probability, machine-learning output, or trade recommendation.
- Risk/reward blocks use the signal-bar sweep extreme and cannot account for spread, slippage, gaps, event risk, or future liquidity changes.
- Higher-timeframe alignment can filter valid countertrend reversals; disable it only with a separate reversal plan.
💡 What Makes This Unique
- ALRM fuses a confirmed liquidity sweep, adaptive impulse logic, and HTF context into a single screenshot-first visual system.
- It replaces stale-line clutter with two current zones, capped callouts, and one active payoff map.
- The same sweep-bar event powers detection, quality framing, invalidation, and targets, so the visual story remains internally consistent.
🔬 How It Works
- ALRM confirms the newest swing high and swing low, then renders each as a slim ATR-sized active liquidity zone.
- When price trades beyond a zone center and closes back through it, ALRM measures reclaim impulse relative to current ATR.
- The threshold adjusts with volatility, while the optional higher-timeframe EMA gate checks directional context without lookahead.
- A qualifying reclaim receives a clamped confluence score, a directional callout, and one projected risk/reward block with primary and runner objectives.
💡 Note:
Use ALRM with market structure, session context, and a defined execution plan. Confirm alerts on bar close, account for instrument-specific costs, and test settings on the market and timeframe you trade. This tool is an analytical aid only and is not financial advice.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
TradingView Charting w/ Crypto Systems: phenlabs.com
Join our growing community: discord.gg/phen
All content provided by PhenLabs is for informational & educational purposes only. Past performance does not guarantee future results.
Join our growing community: discord.gg/phen
All content provided by PhenLabs is for informational & educational purposes only. Past performance does not guarantee future results.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
TradingView Charting w/ Crypto Systems: phenlabs.com
Join our growing community: discord.gg/phen
All content provided by PhenLabs is for informational & educational purposes only. Past performance does not guarantee future results.
Join our growing community: discord.gg/phen
All content provided by PhenLabs is for informational & educational purposes only. Past performance does not guarantee future results.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.