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])
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。