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
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.