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. اقرأ المزيد في شروط الاستخدام.