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.