Need conditions to get entry trigger

how get entry alerts for stocks where the day’s second candle close price has crossed above vwap on a 5 minute timeframe??

verify the condition, and the alert will be generated only once.

Please provide below conditions for streak

  1. SMA 20 crosses above R2 or S2 .
  2. 5 minutes tf

Here are the conditions for your requirement