OPEN-SOURCE SCRIPT

Stop Hunt Magnet Heatmap [mqsxn]

199
The Stop Hunt Magnet Heatmap visualizes where clusters of equal highs and lows have formed, creating “magnet zones” of liquidity that price is often drawn toward. These zones represent the stop-loss pools of retail traders which is where smart money loves to hunt.

The script automatically detects these liquidity pockets and paints them as dimmed green (above highs) and dimmed red (below lows) zones on your chart. With its Bookmap-style evolving mode, you can watch the liquidity map accumulate historically as if the heatmap were run at every candle, giving you a unique visual edge on potential stop hunts.

✨ Features

Automatic liquidity detection based on swing highs/lows.
Granularity control to merge nearby levels into stronger zones.
Dynamic thickness to control zone visualization.
Price range limiter to keep the chart clean and focused.
Evolving Heatmap mode (Bookmap-style accumulation across history).
Full-Chart mode to stretch current magnets across the whole chart window.
Dimmed visuals so it blends seamlessly into your chart background.

⚙️ Inputs & Settings

Core Settings
- Swing Lookback (bars left/right): Defines how many candles to the left/right must confirm a -pivot high/low.
-Min Touches to Qualify: Minimum times a level must be tested before it is considered a magnet.
- Extend Heatmap Bars: How far forward to extend the drawn boxes/lines when not in full-chart or evolving mode.
-Level Granularity (ticks): Rounds detected levels to a grid of N ticks; merges nearby equal highs/lows.
- Zone Thickness (half-height, ticks): Vertical half-height of each magnet zone.

Scope Limits
- Limit price range to last N bars: Only generate magnets within the high/low window of the last N bars (avoids far-away levels).

Full-Chart Paint
- Paint CURRENT magnets across whole window: When enabled, extends current detected magnets all the way across the chart window.
- Full-Chart: draw back N bars: Defines how far back the full-chart magnets stretch.

Evolving Heatmap (per-bar)
- Accumulate heatmap per bar (Bookmap-style): When enabled, freezes liquidity zones from the moment they are detected and accumulates them over time, creating a historical heatmap.
- Evolving: keep at most last N bars of history: Limit how many bars back the evolving map is retained to avoid clutter and improve performance.

Visuals
- Liquidity Above Highs (Dimmed): Color for bullish stop-hunt zones (default lime, faint).
- Liquidity Below Lows (Dimmed): Color for bearish stop-hunt zones (default red, faint).
- Line Style: Choose how the outline of each zone is drawn (solid, dotted, dashed).

Follow mqsxn for more!

Find more of my indicators and strategies in my Discord (7 day free trial): whop.com/checkout/plan_oAIXFOiCZlHmk?d2c=true

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.