I would like to build a trading bot alert in PineScript that performs the following:
9-15 EMA Crossover:
When the 9-period EMA crosses above the 15-period EMA, it's a bullish signal. When the 9-period EMA crosses below the 15-period EMA, it's a bearish signal. Candle Pattern Confirmation:
After a bullish crossover, check for any of the following bullish candle patterns in the next 3 or 5 minutes: Hammer Bullish Engulfing Morning Star Bullish Piercing Pattern If any of these patterns are detected, trigger an alert