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
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.