alert()
Alert
Fire if the user armed this alert and
condition is true. At most once per bar.Terminal scripting reference for alerts: the alerts a reader arms on a script and the script fires, with every function and option alerts take.
condition is true. At most once per bar.