Hi can someone please wirte a script to give an alert when volume is tripled to that of its previous 5 min bar

For the above condition use 5 minute time frame

VOLUME > 3 * REF(VOLUME,1)