Lipi Reference Lipi

Functions

alert()

This function is useful for generating scirpt alerts directly on the chart in real time, such as popups, sounds, or sending notifications (via webhook, app) when a condition is met and an alert is triggered once per bar.

Syntax

                alert(series string message) → void
              

Arguments

message required series string The custom text message shown in the alert notification

Return Type

void

Example


          indicator("RSI Alert", overlay=false)

rsi = talib.rsi(close, 14)

if talib.crossover(rsi, 70) {
    alert("RSI crossed above 70!")
}