OPEN-SOURCE SCRIPT
Seller Exhaustion Detector

Seller Exhaustion Detector (SED)
Overview
Seller Exhaustion Detector identifies the point where a downtrend's selling pressure is spent and buyers begin absorbing supply — the transition from distribution to accumulation. Instead of reacting to a single pattern, it scores seven independent exhaustion footprints and only confirms a signal when structural gates prove the low is actually holding.
How It Works
The detector scores confluence across a 16-point scale:
Liquidity Sweep + Reclaim (3 pts) — tracks untapped pivot-low liquidity pools; a wick below a pool followed by a close back above it marks a stop run absorbed by passive buyers.
CVD Bullish Divergence (3 pts) — price makes a lower low while session-reset cumulative volume delta makes a higher low: sell orders are no longer moving price.
RSI Bullish Divergence (2 pts) — momentum fails to confirm the new price low.
Sell-Volume Dry-Up (2 pts) — red-candle volume contracts near the lows; motivated sellers are done.
Absorption (2 pts) — elevated volume, compressed range, close in the upper half: supply being eaten without downside progress.
Higher Low (2 pts) — first structural higher pivot after the low.
Selling Climax Watch (1 pt) and Confirmed Wick Rejection (1 pt) — capitulation context and next-bar-confirmed hammer rejections.
A score alone never fires a signal. Three hard gates must also pass: the low must have held for a configurable number of bars (or a fresh sweep-reclaim substitutes as confirmation), price must be above a rising/flat EMA9, and fast volume delta must be positive. This eliminates premature signals printed while price is still making new lows.
Signals
Orange circle — selling climax (capitulation bar; watch window begins)
Gold diamond — liquidity pool swept and reclaimed
EXHAUSTION label — confirmed exhaustion (score + all gates)
ACCUMULATE label — post-exhaustion structure reclaim with positive delta
STOP-OUT label — the exhaustion low broke; the signal is invalid
Dashboard — live score breakdown and gate status, with selectable text size
Recommended Use
Built for 1-minute to 5-minute intraday charts on liquid symbols. Use EXHAUSTION as location, ACCUMULATE as trigger, and the invalidation print as a hard exit reference. Tune Climax Multiplier down (~1.7) and Pivot Left/Right to 3–4 for faster symbols.
Limitations
Volume delta is approximated from candle direction (up-volume minus down-volume), not exchange bid/ask data, so absorption and CVD reads are estimates. All components are derived from OHLCV and confirm after the fact by design — the detector locates high-probability reversal conditions; it does not predict bottoms. Not financial advice.
Overview
Seller Exhaustion Detector identifies the point where a downtrend's selling pressure is spent and buyers begin absorbing supply — the transition from distribution to accumulation. Instead of reacting to a single pattern, it scores seven independent exhaustion footprints and only confirms a signal when structural gates prove the low is actually holding.
How It Works
The detector scores confluence across a 16-point scale:
Liquidity Sweep + Reclaim (3 pts) — tracks untapped pivot-low liquidity pools; a wick below a pool followed by a close back above it marks a stop run absorbed by passive buyers.
CVD Bullish Divergence (3 pts) — price makes a lower low while session-reset cumulative volume delta makes a higher low: sell orders are no longer moving price.
RSI Bullish Divergence (2 pts) — momentum fails to confirm the new price low.
Sell-Volume Dry-Up (2 pts) — red-candle volume contracts near the lows; motivated sellers are done.
Absorption (2 pts) — elevated volume, compressed range, close in the upper half: supply being eaten without downside progress.
Higher Low (2 pts) — first structural higher pivot after the low.
Selling Climax Watch (1 pt) and Confirmed Wick Rejection (1 pt) — capitulation context and next-bar-confirmed hammer rejections.
A score alone never fires a signal. Three hard gates must also pass: the low must have held for a configurable number of bars (or a fresh sweep-reclaim substitutes as confirmation), price must be above a rising/flat EMA9, and fast volume delta must be positive. This eliminates premature signals printed while price is still making new lows.
Signals
Orange circle — selling climax (capitulation bar; watch window begins)
Gold diamond — liquidity pool swept and reclaimed
EXHAUSTION label — confirmed exhaustion (score + all gates)
ACCUMULATE label — post-exhaustion structure reclaim with positive delta
STOP-OUT label — the exhaustion low broke; the signal is invalid
Dashboard — live score breakdown and gate status, with selectable text size
Recommended Use
Built for 1-minute to 5-minute intraday charts on liquid symbols. Use EXHAUSTION as location, ACCUMULATE as trigger, and the invalidation print as a hard exit reference. Tune Climax Multiplier down (~1.7) and Pivot Left/Right to 3–4 for faster symbols.
Limitations
Volume delta is approximated from candle direction (up-volume minus down-volume), not exchange bid/ask data, so absorption and CVD reads are estimates. All components are derived from OHLCV and confirm after the fact by design — the detector locates high-probability reversal conditions; it does not predict bottoms. Not financial advice.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.