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])
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.