Does tradescript has a feature for identifying gaps is it possible to generate alerts for gaps created intraday, say on 10 minute charts

i found the following in tradescript document

Returns true when the price has gapped up

LOW > REF(HIGH, 1)
Or:

Returns true when the price has gapped down

HIGH < REF(LOW, 1)
You can further specify a minimum percentage for the price gap:

Returns true when the price has gapped up at least 1%

LOW > REF(HIGH, 1) * 1.01

how do i use this to generate alert , for intraday

i DO NOT want to back test, just wish create an alert on say 2-3 scripts when minute bar gaps up or down due to some news or event

once such an alert is in place one can decide if to take a trade

In tradescript there is no such separate function to define or identify gap ups or gap downs