← All guides

TradingView strategy and Pine Script alerts as phone calls

Updated 19 November 2026

Any TradingView alert with a webhook can become a phone call, including alerts from your own Pine Script indicators and strategies. The script decides when the alert fires and what it says; the webhook decides where it goes.

Indicator: alertcondition()

Add a condition to your indicator, then create an alert on it and pick the condition in the alert dialog:

//@version=5
indicator("RSI phone alert", overlay=false)
r = ta.rsi(close, 14)
plot(r)
alertcondition(ta.crossunder(r, 30), "RSI below 30", "{{ticker}} RSI crossed below 30 at {{close}}")

The third argument is the default message, read out on the call. Keep it short and spoken-friendly.

Script-driven: alert()

With alert() the script builds the message itself. Create one alert on the script and choose "Any alert() function call":

//@version=5
indicator("Breakout phone alert", overlay=true)
level = ta.highest(high, 20)[1]
if ta.crossover(close, level)
    alert(syminfo.ticker + " broke the 20-bar high at " + str.tostring(close), alert.freq_once_per_bar_close)

Strategies

Create an alert on the strategy; it fires on each order fill. In the message use placeholders such as {{strategy.order.action}} and {{strategy.order.contracts}}, for example: {{ticker}} {{strategy.order.action}} {{strategy.order.contracts}} at {{strategy.order.price}}.

Connect it to a phone call

  1. In the alert dialog, open Notifications and tick Webhook URL.
  2. Paste your Pingstamp webhook URL and create the alert.
  3. Send a test from your Pingstamp dashboard first, so you know the call reaches you.

Settings that matter

Pine Script reference: TradingView Pine Script v5 reference.

Want alerts that actually ring?

Pingstamp turns any TradingView alert into a phone call, calls again if you miss it, and keeps a receipt of when you were reached. The first 50 traders get it free for life with code FOUNDER.

Start free

Related guides