OPEN-SOURCE SCRIPT

Sweep Engulf CHoCH

359
๐Ÿ“– 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])

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.