This script provides a framework to add alerts to a script.
It uses a method and provides code that: — Allows the indicator's users to select the plotting of markers representing the different conditions used to trigger alerts. — Allows filtering of the markers on direction: both, longs only, shorts only. — Uses a single alert for the indicator. It will trigger on any number of marker conditions selected by the user when the alert is configured. The user can thus create the combination that suits his needs. — Includes the marker's number in the alert's message.