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 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.