Skip to main content
A script cannot address an outside service: Lipi has no webhook function, and no argument names an address. Where an alert goes and how it is delivered is set on the platform when the alert is created. What the script controls is the alert’s message text:
  • alert(message) takes a message built on the bar, so it can carry data such as a price.
  • alertcondition(condition, title, message) takes a fixed message.
The message is the one part of the alert the script writes.
A strategy’s orders are simulated and send nothing; strategy.entry and strategy.exit take no alert message. A strategy that must tell another system about a trade calls alert beside the order (example: How to send a webhook when your condition fires). See Alerts for where each function may be called and when it fires.