Pi coding alert to be created

Please suggest pi coding alert when volume shoots “>X number” in 1 minute chart. I dont want to buy or sell, just need an alert

Eg - need alert if a scrip volume cross above 5000 in minute candle

In tradescript it can be coded based on OHLC, as per the above volume condition it is not possible with tradescript