This script is designed to identify specific gap and candlestick patterns, incorporating wick conditions for enhanced accuracy. It detects gap up and gap down movements between candles, then looks for shooting star (bearish reversal) or hammer (bullish reversal) formations. Additionally, the script applies a condition where the wicks of these patterns must be longer than the previous candle’s range. When both the gap and wick criteria are met, the script generates signals for potential reversals in the market