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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.