Yes. Indicator alerts work on built-in indicators and on wrun scripts. Open the alert dialog from the three dots menu on the indicator's legend row (Add alert on…), from the chart's right-click menu, or from Alert on, Indicators in the alerts menu. An indicator with an armed alert shows an amber bell on its legend row. Pick an output or a signal, pick the condition (crossing, entering or leaving a channel, moving up or down), and save.
For your own script, two things matter:
- Publish it first. An alert runs a published version of the script; on a draft, the chart asks you to publish.
- Declare the signals you want. Every drawn output can be a condition, and an
alert()call in your code adds a ready-made signal to the alert dialog. Alerts in the wrun docs shows how.
OpenMarket checks indicator alerts on its servers, on every price tick of the chart's market, so a wick that reaches a level counts. With Once per bar close, and for the moving up or down conditions and strategy alerts, the check runs once, when the bar closes. When many ticks arrive at once they can be checked together, so a value that crosses a level and comes back inside that burst can be missed (when an alert checks and fires). How many you can keep armed at once depends on your plan (Plans and limits). Indicator alerts run on 1m, 5m, 15m, 30m, 1h, 4h and 1d charts. When an indicator or a market cannot take an alert, the menu row says why. An alert on a script that pins an index or yield market, such as US500 or DXY, is refused: see Can my scripts read index and yield markets?