Push, email or a webhook with what the script prints, once per closed bar, to an endpoint you control.
Pick the channel per alert. A webhook carries the full alert in the payload, to an endpoint you control.
No intrabar spam, no repeat fires. The webhook carries exactly what the chart shows.
Any service that accepts a POST: a log, a sheet, a chat channel or your own code.