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 open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.