OPEN-SOURCE SCRIPT
Exhaustion Detector

Detects potential trend exhaustion using volume spikes combined with rejection wicks.
How it works:
The indicator uses a scoring system (0-6) that evaluates each candle across four dimensions: volume intensity relative to average, wick length relative to body size, candle close position, and prior trend context. A score of 4+ triggers a standard signal, 5+ triggers a strong signal.
Bullish Exhaustion (bottom): After a downtrend, price shows a long lower wick with high volume and closes near the top of the candle — suggesting sellers are losing control.
Bearish Exhaustion (top): After an uptrend, price shows a long upper wick with high volume and closes near the bottom — suggesting buyers are losing control.
Volume-Price Divergence (DIV): Extreme volume with a tiny body indicates a tug-of-war between buyers and sellers.
Signals:
EXH↑ / EXH↓ = Exhaustion detected (score 4)
EXH↑↑ / EXH↓↓ = Strong exhaustion (score 5+)
DIV = Volume-price divergence
Features:
Works on any instrument, any timeframe
Adjustable volume, wick, and trend parameters
Info panel with real-time scoring
Built-in alert conditions
How it works:
The indicator uses a scoring system (0-6) that evaluates each candle across four dimensions: volume intensity relative to average, wick length relative to body size, candle close position, and prior trend context. A score of 4+ triggers a standard signal, 5+ triggers a strong signal.
Bullish Exhaustion (bottom): After a downtrend, price shows a long lower wick with high volume and closes near the top of the candle — suggesting sellers are losing control.
Bearish Exhaustion (top): After an uptrend, price shows a long upper wick with high volume and closes near the bottom — suggesting buyers are losing control.
Volume-Price Divergence (DIV): Extreme volume with a tiny body indicates a tug-of-war between buyers and sellers.
Signals:
EXH↑ / EXH↓ = Exhaustion detected (score 4)
EXH↑↑ / EXH↓↓ = Strong exhaustion (score 5+)
DIV = Volume-price divergence
Features:
Works on any instrument, any timeframe
Adjustable volume, wick, and trend parameters
Info panel with real-time scoring
Built-in alert conditions
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.