OPEN-SOURCE SCRIPT

HOG Liquidity Hunter

313
HOG Liquidity Hunter – Pivot‑Based Liquidity Zones

📌 Overview
Plots dynamic and resistance zones on swing pivots with an ATR‑based buffer. Anchored only when pivots are confirmed, the zones stay close to current price levels—ideal for spotting liquidity runs or traps.

🔧 How It Works

Detects swing highs and lows using ta.pivothigh() / ta.pivotlow() with a ‑defined lookback.

After a pivot is confirmed, calculates BSL/SSL zone = pivot ± (ATR * margin).

Zones update only on confirmed pivots—no repainting on open bars.

⚙️ Inputs

Lookback: bars to confirm pivots (e.g. 10–20).

ATR Margin Multiplier: buffer width (e.g. 1.25).

✅ Benefits

Structure‑focused: Zones align with real swing points.

Responsive yet stable: Tight ATR margin keeps zones precise, only updating on valid pivots.

Clean visuals: Two uncluttered zones—easy to interpret.

🛠 How to Use

Detect near‑zone bounce entries or exits on 4H/1D charts.

Combine with trend or volume indicators for stronger setups.

Use zones to identify potential stop‑run, liquidity re‑tests, or range turns.

⚠️ Notes & Disclaimers

Zones base off historical pivots; may lag until confirmed.

No future-looking data—relying entirely on closing bar confirmation.

Use alongside a complete trading framework; this is not a standalone signal.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.