OPEN-SOURCE SCRIPT
Sweep Engulf 2 Candle

๐ Overview:
This script identifies Bullish Engulfing and Bearish Engulfing candlestick patterns on the chart. These formations are widely used in technical analysis to spot potential reversals in price action. The indicator helps traders quickly identify these patterns by marking them directly on the chart with small arrows.
๐ Features:
โ Bullish Engulfing & Bearish Engulfing Detection
โ Customizable Display Options (Enable/Disable Bullish or Bearish signals)
โ Real-Time Alerts (Receive notifications when a pattern is formed)
โ Optimized Marker Size (Smaller icons for better chart visibility)
๐ How It Works:
1. Bullish Engulfing Condition:
2. Bearish Engulfing Condition:
โ๏ธ How to Use:
๐ Notes:
This script identifies Bullish Engulfing and Bearish Engulfing candlestick patterns on the chart. These formations are widely used in technical analysis to spot potential reversals in price action. The indicator helps traders quickly identify these patterns by marking them directly on the chart with small arrows.
๐ Features:
โ Bullish Engulfing & Bearish Engulfing Detection
โ Customizable Display Options (Enable/Disable Bullish or Bearish signals)
โ Real-Time Alerts (Receive notifications when a pattern is formed)
โ Optimized Marker Size (Smaller icons for better chart visibility)
๐ How It Works:
1. Bullish Engulfing Condition:
- The second candle's low is lower than the first candle's low.
- The second candle's close is higher than the first candle's open (if the first candle is bearish) OR higher than the first candle's close (if the first candle is bullish).
2. Bearish Engulfing Condition:
- The second candle's high is higher than the first candle's high.
- The second candle's close is lower than the first candle's close (if the first candle is bearish) OR lower than the first candle's open (if the first candle is bullish).
โ๏ธ How to Use:
- Add the script to your TradingView chart.
- Adjust settings to enable/disable Bullish or Bearish Engulfing patterns.
- Enable alerts to receive real-time notifications when a pattern is detected.
- Use this indicator to support your technical analysis and trade decisions.
๐ Notes:
- This indicator is best used in combination with other technical analysis tools like support & resistance levels, trendlines, or volume analysis.
- It works on all timeframes and asset
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.