Placeholder and Plot Mapping

Reference for ILPAC alert placeholders and plot values used in custom alert messages and webhook payloads.

When creating TradingView alerts with ILPAC, you can use placeholder variables in the alert message to include dynamic data. This page documents all available placeholders and their corresponding plot values.

How Placeholders Work

In TradingView's alert message field, placeholders are wrapped in double curly braces. When the alert fires, TradingView replaces each placeholder with the actual value from the indicator at the time of the alert.

For example, an alert message like:

ILPAC Alert: {{ticker}} on {{interval}} — {{plot_0}} detected at {{close}}

Might produce a notification reading:

ILPAC Alert: BTCUSDT on 4H — Bullish BOS detected at 67450.00

Standard TradingView Placeholders

These placeholders are available for all TradingView alerts, not specific to ILPAC:

PlaceholderDescription
{{ticker}}The symbol name (e.g., BTCUSDT)
{{exchange}}The exchange name (e.g., BINANCE)
{{interval}}The chart timeframe (e.g., 4H, 1D)
{{time}}The timestamp when the alert triggered
{{open}}The open price of the current bar
{{high}}The high price of the current bar
{{low}}The low price of the current bar
{{close}}The close price of the current bar
{{volume}}The volume of the current bar

ILPAC-Specific Plot Mappings

ILPAC exposes several plot values that can be referenced in alert messages. The exact plot index depends on the indicator version, but the following are the primary outputs:

PlotDescriptionTypical Values
{{plot_0}}Market structure event typeBOS, CHoCH, or empty
{{plot_1}}Market structure directionBullish, Bearish, or empty
{{plot_2}}Swing labelHH, HL, LH, LL, or empty
{{plot_3}}Trendline break detected1 (break) or 0 (no break)
{{plot_4}}FOMO Bubble detected1 (bubble) or 0 (no bubble)
{{plot_5}}FOMO Bubble directionBullish, Bearish, or empty

Plot indices may vary between indicator versions. Check the ILPAC indicator's tooltip in TradingView (hover over the indicator name on your chart) to see the current plot labels and their order.

Example Alert Messages

Basic BOS/CHoCH Alert

{{ticker}} {{interval}}: {{plot_1}} {{plot_0}} detected at {{close}}

Output example: BTCUSDT 4H: Bullish BOS detected at 67450.00

Webhook JSON Payload

For webhook integrations, you can format the message as JSON:

{
  "ticker": "{{ticker}}",
  "timeframe": "{{interval}}",
  "event": "{{plot_0}}",
  "direction": "{{plot_1}}",
  "price": "{{close}}",
  "time": "{{time}}"
}

Multi-Event Alert

ILPAC {{ticker}} {{interval}} | Structure: {{plot_0}} {{plot_1}} | FOMO: {{plot_4}} | Price: {{close}}

Tips for Alert Messages

  • Keep messages concise — mobile push notifications truncate long text
  • Include {{ticker}} and {{interval}} so you know which chart triggered the alert when monitoring multiple assets
  • For webhook payloads, use valid JSON formatting so your automation system can parse the data reliably
  • Test your alert message by creating a temporary alert and waiting for a trigger to verify the output format
⌘K