OPEN-SOURCE SCRIPT

Mustang Algo - Engulfing Detector

100
๐ŸŽ 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! ๐Ÿš€

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.