Indicator · Pine Script v6 · On the chart

Liquidation Heatmap

by ymlee1104

This indicator draws a liquidation heatmap on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code388
Settings31inputs
LicenceNone stated
Last update7 months ago13 Mar 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Liquidation Heatmap estimates pocket intensity from volume, price range, or their product over a configurable lookback, then filters by minimum intensity and merges nearby labels. An optional ZigZag plots swings, while ATR bands and two swing widths mark broader price areas. Users can show a color scale, keep touched pockets, and draw manual long and short liquidation lines from a chosen start time. It does not place trades.

Details

Published by

ymlee1104 on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
ZigZagbooltrueuseZig
이격float0.7Zigdev
두께int3Zigthk
크기stringsize.normalZigtxtSz
IndicatorbooltrueshowInd
Touched PocketsboolfalsekeepTouch
ScalebooltrueshowScale
Bar Extensionint0extBars
Calculation ModestringVol x RangecalcMode
Lookback Lengthint480lookback
Min Intensity (M)float0.4minIntensity
Label Merge %float0.09mergeDist
Show all 31 settings
SettingTypeDefaultVariable
ATR Periodint1440atrLen
ATR Band (%)float1.9atrMult
1st Swing Width (Sensitive)int3swing1
2nd Swing Width (Robust)int10swing2
Use Custom ScalebooltrueuseManScale
Scale Max (M)float25.0valMax
Scale Min (M)float0.0valMin
Auto Scale Contrastfloat0.1contrast
Touched Transparencyint85touchAlpha
Long Colorcolorcolor.rgb(1, 203, 254, 1)colLong
Short Colorcolorcolor.rgb(254, 0, 220)colShort
Price Offset (%)float0.00offsetPct
showLiqLinesbooltrueshowLiqLines
시작timetimestamp("2026-01-11 21:00 +0900")start_time
Lengthint15show_length
Long Liq Price(From)float277.0liqLongPFrom
(To)Long Liq Pricefloat276.0liqLongPTo
Short Liq Price(From)float285.0liqShortPFrom
(To)Short Liq Pricefloat286.0liqShortPTo
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Snag - VWAP

by dearvn
257 stars

This indicator plots a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc

Indicator v5 Moving averagesVolatility & bands Repaints
Updated 7 weeks ago · None stated GitHub repository of Snag - VWAP

VWAP - Basic

by TradersPost
228 stars

VWAP - Basic plots an anchored Volume Weighted Average Price directly on the main price chart alongside two standard deviation bands. It calculates typical price weighted by volume, resetting the cumulative calculations at user-selected session, weekly, or mon

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of VWAP - Basic

D/W/M VWAPs

by cryptorife
75 stars

This indicator plots daily, weekly, and monthly volume-weighted average prices on the price chart, using a selectable source that defaults to hlc3. For each enabled period it also draws two standard-deviation bands around the VWAP, with multipliers defaulting

Indicator v4 VolumeVolatility & bands
Updated 3 years ago · GPL-3.0 GitHub repository of D/W/M VWAPs

LoD Intraday Entry

by ChartsLector
41 stars

This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c

Indicator v6 Support & resistanceVolatility & bands
Updated 4 days ago · None stated GitHub repository of LoD Intraday Entry
11 stars

This indicator identifies and visualizes key support and resistance zones directly on the price chart using historical 1-hour bar evidence. It calculates zone strength by weighting price rejections, support-resistance flips, relative volume spikes, price gaps,

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · MIT GitHub repository of 1-Hour Key Level Heatmap

This overlay indicator marks Wyckoff-style buying and selling climaxes on the price chart. It filters trend with an exponential moving average and a higher-timeframe EMA, then flags accumulation or distribution when price and ATR sit relative to their swing av

Indicator v6 TrendVolatility & bands
Updated 1 year ago · MIT GitHub repository of Ultimate Wyckoff Indicator V3 (Refined)

More Support & resistance scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers