OPEN-SOURCE SCRIPT
Sweep Engulf CHoCH

๐ Indicator Overview
The Sweep Engulf CHoCH indicator is designed to detect the Sweep + Engulf + CHoCH (Change of Character) pattern on price charts. This indicator helps traders identify bullish and bearish entry opportunities based on the last three candles forming this pattern.
๐ How the Indicator Works
The indicator analyzes specific conditions in the last three candles:
๐น Bullish Entry (Buy Signal)
โ๏ธ Candle 1 must be bearish (close[2] < open[2])
โ๏ธ Candle 2 must sweep the low of candle 1 (low[1] < low[2])
โ๏ธ Candle 2 must also engulf candle 1 (close[1] > close[2])
โ๏ธ Candle 3 must break structure (CHoCH) by closing above the open of candle 1 (close > open[2])
๐ป Bearish Entry (Sell Signal)
โ๏ธ Candle 1 must be bullish (close[2] > open[2])
โ๏ธ Candle 2 must sweep the high of candle 1 (high[1] > high[2])
โ๏ธ Candle 2 must also engulf candle 1 (close[1] < open[2])
โ๏ธ Candle 3 must break structure (CHoCH) by closing below the open of candle 1 (close < open[2])
The Sweep Engulf CHoCH indicator is designed to detect the Sweep + Engulf + CHoCH (Change of Character) pattern on price charts. This indicator helps traders identify bullish and bearish entry opportunities based on the last three candles forming this pattern.
๐ How the Indicator Works
The indicator analyzes specific conditions in the last three candles:
๐น Bullish Entry (Buy Signal)
โ๏ธ Candle 1 must be bearish (close[2] < open[2])
โ๏ธ Candle 2 must sweep the low of candle 1 (low[1] < low[2])
โ๏ธ Candle 2 must also engulf candle 1 (close[1] > close[2])
โ๏ธ Candle 3 must break structure (CHoCH) by closing above the open of candle 1 (close > open[2])
๐ป Bearish Entry (Sell Signal)
โ๏ธ Candle 1 must be bullish (close[2] > open[2])
โ๏ธ Candle 2 must sweep the high of candle 1 (high[1] > high[2])
โ๏ธ Candle 2 must also engulf candle 1 (close[1] < open[2])
โ๏ธ Candle 3 must break structure (CHoCH) by closing below the open of candle 1 (close < open[2])
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.