OPEN-SOURCE SCRIPT
Mustang Algo - Engulfing Detector

๐ MUSTANG ALGO - ENGULFING DETECTOR
An advanced engulfing candlestick pattern detector with customizable filters for more precise trading signals.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHAT IS THIS INDICATOR?
The Mustang Algo Engulfing Detector identifies bullish and bearish engulfing patterns with advanced filtering options to reduce false signals and improve trade quality. This indicator helps traders spot high-probability reversal opportunities based on candlestick patterns and trend confirmation.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โจ KEY FEATURES
๐น Engulfing Pattern Detection
โข Bullish Engulfing: Identifies potential bullish reversals
โข Bearish Engulfing: Identifies potential bearish reversals
โข Real-time signal labels (BUY/SELL)
๐น Size Filter
โข Filter out small, insignificant candles
โข Adjustable minimum body size percentage
โข Optional filter for the engulfed candle size
โข Ensures only strong patterns are detected
๐น EMA Trend Filter
โข Customizable EMA period (default: 200)
โข BUY signals only above EMA (uptrend)
โข SELL signals only below EMA (downtrend)
โข Visual EMA line on chart
โข Reduces counter-trend false signals
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ HOW TO USE
1. Add the indicator to your chart
2. Adjust the filters according to your trading style
3. Wait for BUY (green) or SELL (red) labels
4. Confirm with your own analysis and risk management
5. Trade in the direction of the signal
โ ๏ธ IMPORTANT: This indicator should be used in conjunction with proper risk management and additional analysis. No indicator is 100% accurate.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ CUSTOMIZABLE SETTINGS
๐ Size Filter Group:
โข Enable/Disable size filtering
โข Min Body Size (%): Minimum candle body size to generate signals (0.01% - 10%)
โข Check Engulfed Candle Size: Also verify the size of the engulfed candle
โข Min Engulfed Body Size (%): Minimum size for the engulfed candle
๐ EMA Filter Group:
โข Enable/Disable EMA filtering
โข EMA Length: Period for the EMA calculation (default: 200)
โข Show EMA on Chart: Display the EMA line
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก BEST PRACTICES
โ Use on higher timeframes (4H, Daily) for better reliability
โ Combine with support/resistance levels
โ Wait for candle close confirmation before entering
โ Use proper stop-loss and take-profit levels
โ Consider market context and overall trend
โ Don't trade every signal blindly
โ Don't ignore risk management
โ Don't use on very low timeframes without additional filters
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ RECOMMENDED SETTINGS
Conservative Trading:
โข Min Body Size: 0.8% - 1.0%
โข EMA Filter: Enabled (200 period)
โข Check Engulfed Size: Enabled
Aggressive Trading:
โข Min Body Size: 0.3% - 0.5%
โข EMA Filter: Disabled or lower period (50-100)
โข Check Engulfed Size: Disabled
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ DISCLAIMER
This indicator is provided for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own research and use proper risk management. Trading involves substantial risk of loss.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Created by Mustang Algo
Version 1.0
If you find this indicator helpful, please leave a like and comment! ๐
An advanced engulfing candlestick pattern detector with customizable filters for more precise trading signals.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHAT IS THIS INDICATOR?
The Mustang Algo Engulfing Detector identifies bullish and bearish engulfing patterns with advanced filtering options to reduce false signals and improve trade quality. This indicator helps traders spot high-probability reversal opportunities based on candlestick patterns and trend confirmation.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โจ KEY FEATURES
๐น Engulfing Pattern Detection
โข Bullish Engulfing: Identifies potential bullish reversals
โข Bearish Engulfing: Identifies potential bearish reversals
โข Real-time signal labels (BUY/SELL)
๐น Size Filter
โข Filter out small, insignificant candles
โข Adjustable minimum body size percentage
โข Optional filter for the engulfed candle size
โข Ensures only strong patterns are detected
๐น EMA Trend Filter
โข Customizable EMA period (default: 200)
โข BUY signals only above EMA (uptrend)
โข SELL signals only below EMA (downtrend)
โข Visual EMA line on chart
โข Reduces counter-trend false signals
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ HOW TO USE
1. Add the indicator to your chart
2. Adjust the filters according to your trading style
3. Wait for BUY (green) or SELL (red) labels
4. Confirm with your own analysis and risk management
5. Trade in the direction of the signal
โ ๏ธ IMPORTANT: This indicator should be used in conjunction with proper risk management and additional analysis. No indicator is 100% accurate.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ CUSTOMIZABLE SETTINGS
๐ Size Filter Group:
โข Enable/Disable size filtering
โข Min Body Size (%): Minimum candle body size to generate signals (0.01% - 10%)
โข Check Engulfed Candle Size: Also verify the size of the engulfed candle
โข Min Engulfed Body Size (%): Minimum size for the engulfed candle
๐ EMA Filter Group:
โข Enable/Disable EMA filtering
โข EMA Length: Period for the EMA calculation (default: 200)
โข Show EMA on Chart: Display the EMA line
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก BEST PRACTICES
โ Use on higher timeframes (4H, Daily) for better reliability
โ Combine with support/resistance levels
โ Wait for candle close confirmation before entering
โ Use proper stop-loss and take-profit levels
โ Consider market context and overall trend
โ Don't trade every signal blindly
โ Don't ignore risk management
โ Don't use on very low timeframes without additional filters
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ RECOMMENDED SETTINGS
Conservative Trading:
โข Min Body Size: 0.8% - 1.0%
โข EMA Filter: Enabled (200 period)
โข Check Engulfed Size: Enabled
Aggressive Trading:
โข Min Body Size: 0.3% - 0.5%
โข EMA Filter: Disabled or lower period (50-100)
โข Check Engulfed Size: Disabled
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ DISCLAIMER
This indicator is provided for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own research and use proper risk management. Trading involves substantial risk of loss.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Created by Mustang Algo
Version 1.0
If you find this indicator helpful, please leave a like and comment! ๐
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.