OPEN-SOURCE SCRIPT
Exhaustion Improved Scalping Consolidation and Squeeze Indicator

This custom indicator, called " Exhaustion & Improved Scalping Consolidation and Squeeze Indicator," is designed to help traders identify potential trading opportunities in the context of price consolidations, squeezes, and momentum exhaustion. It is an overlay indicator that combines several popular technical analysis tools, including the Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Bollinger Bands, Keltner Channels, and Rate of Change (ROC). By analyzing these metrics, the indicator aims to provide visual cues on price charts to support better decision-making in the markets.
Use Case for Trading:
Consolidation Detection: The indicator identifies periods of price consolidation, which typically occur when a market is experiencing low volatility and trading in a narrow range. During these periods, the RSI value is between 45 and 55, the MACD histogram is close to zero, and the ROC value is low. The indicator highlights these consolidation periods by coloring the price bars yellow. Traders can use this information to anticipate potential breakouts and prepare for a possible trend initiation.
Squeeze Detection: The indicator detects squeezes by comparing the Bollinger Bands and Keltner Channels. A squeeze occurs when the Bollinger Bands are within the Keltner Channels, indicating that price volatility is decreasing. The indicator colors the price bars orange during a squeeze, which can be a signal for traders to watch for an upcoming increase in volatility and potential trend expansion.
Momentum Exhaustion Detection: The indicator identifies exhaustion in momentum by analyzing the RSI and MACD histogram. When the RSI is above 70, indicating overbought conditions, and the MACD histogram is decreasing, it may signal that the current upward momentum is losing strength. The indicator colors the price bars white in these situations. Traders can use this information to potentially exit long positions or prepare for a trend reversal.
Use Case for Trading:
Consolidation Detection: The indicator identifies periods of price consolidation, which typically occur when a market is experiencing low volatility and trading in a narrow range. During these periods, the RSI value is between 45 and 55, the MACD histogram is close to zero, and the ROC value is low. The indicator highlights these consolidation periods by coloring the price bars yellow. Traders can use this information to anticipate potential breakouts and prepare for a possible trend initiation.
Squeeze Detection: The indicator detects squeezes by comparing the Bollinger Bands and Keltner Channels. A squeeze occurs when the Bollinger Bands are within the Keltner Channels, indicating that price volatility is decreasing. The indicator colors the price bars orange during a squeeze, which can be a signal for traders to watch for an upcoming increase in volatility and potential trend expansion.
Momentum Exhaustion Detection: The indicator identifies exhaustion in momentum by analyzing the RSI and MACD histogram. When the RSI is above 70, indicating overbought conditions, and the MACD histogram is decreasing, it may signal that the current upward momentum is losing strength. The indicator colors the price bars white in these situations. Traders can use this information to potentially exit long positions or prepare for a trend reversal.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.