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])
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.