Alerts

Set up real-time notifications and automation-ready messages directly from your chart.
  • Enable Alerts
    • Toggle “Enable Alerts” to activate notifications.
    • Choose alert frequency: Once Per Bar Close, Once Per Bar, or All (every event).
    • You can also use TradingView’s “Any alert()” on this indicator via the built-in alertconditions for broad coverage.
  • Core Alert Types
    • ATM Bullish Signals: Triggers on new buy signals (normal/strong per your settings).
    • ATM Bearish Signals: Triggers on new sell signals.
    • ATM TP1 Hit, ATM TP2 Hit, ATM TP3 Hit: Fires when each respective take-profit level is reached for the first time.
    • ATM Stop Loss Hit: Notifies when the SL is crossed (direction-aware).
    • ATM Trend Change: Alerts on major EMA-based trend shifts.
    • ATM Any Alert() Function Call (Master): Catches all key events in a single alert for simplicity.
    • Legacy: ATM TP/SL Hit (Combined): Backward-compatible aggregate TP/SL alert.
  • Placeholders (for precise, automation-friendly messages)
    • Entry: {{plot("Entry")}}
    • TP1: {{plot("TP1")}}
    • TP2: {{plot("TP2")}}
    • TP3: {{plot("TP3")}}
    • SL: {{plot("SL")}}
    • Ticker: {{ticker}}
    • Timeframe: {{interval}}
    • Time: {{time}}
    • Last Price: {{close}}
  • Suggested Alert Message Template
    • “🚨 Signal | Entry: {{plot("Entry")}} | TP1: {{plot("TP1")}} | TP2: {{plot("TP2")}} | TP3: {{plot("TP3")}} | SL: {{plot("SL")}} | Price: {{close}} | TF: {{interval}} | Time: {{time}}”
Tip: For webhook/bot workflows, use the master “Any Alert()” along with the placeholders above to deliver structured JSON or key-value payloads.

Was this article helpful?