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