Skip to main content

Alerts

The ABC Pattern Scanner provides per-direction alert controls for every state transition. Set up alerts once and walk away — the scanner monitors all 20 symbols and notifies you the moment a pattern triggers or confirms.

Alert Types

Six base alerts are available, each independently togglable:

AlertTriggers WhenRecommended
Long Pattern ActiveA bullish ABC pattern is detected and waiting for entry on any symbol✓ Default On
Short Pattern ActiveA bearish ABC pattern is detected and waiting for entry on any symbol✓ Default On
Long Entry ConfirmedA bullish ABC entry has been confirmed by a follow-through close✓ Default On
Short Entry ConfirmedA bearish ABC entry has been confirmed by a follow-through close✓ Default On
Long Entry UnconfirmedA bullish ABC entry trigger has been crossed intrabar (may retract)Off
Short Entry UnconfirmedA bearish ABC entry trigger has been crossed intrabar (may retract)Off

When the second detection scale is enabled, every alert duplicates with a "(Size 2)" suffix — twelve total alerts.

Confirmed vs Unconfirmed

Confirmed entries fire after the next bar closes in the trade direction. They are high-reliability but happen after the entry bar. Unconfirmed entries fire intrabar the moment the trigger crosses — earlier, but the bar can still close back across the trigger and retract the signal. For automated execution via TradersPost, use Confirmed entries to avoid sending and cancelling orders.

Setting Up Alerts in TradingView

  1. With the ABC Pattern Scanner loaded on your chart, click the alarm clock icon in the top toolbar (or press Alt+A)
  2. Set Condition to ABC Pattern Scanner and select Any alert() function call
  3. Set Frequency to Once Per Bar Close for Confirmed alerts; Once Per Bar for Unconfirmed alerts
  4. Optionally enter a custom Notification message; the scanner provides a default formatted message per alert
  5. Save the alert

The same alert covers all 20 symbols and both detection scales — you do not need separate alerts per symbol.

Webhook-Ready JSON Alert (TradersPost)

For automated execution, the ABC Pattern Scanner can fire a TradersPost-compatible JSON alert on every confirmed entry. Enable Use Custom Alert Message in the Alerts settings group.

Full JSON Payload

The default JSON template includes:

FieldValue
tickerThe symbol on which the pattern triggered
action"buy" (Long Confirmed) or "sell" (Short Confirmed)
quantityAuto-computed position size from account size and per-trade risk %
signalPriceEntry price
stopLoss.stopPriceStop level (the A point of the ABC structure)
takeProfit.limitPriceTake-profit target (per the selected Target Type)
timeISO timestamp
intervalThe chart's timeframe
extras.pattern"abc"
extras.rrRisk/reward ratio of the trade

TradersPost Integration Steps

  1. In TradersPost, create a new strategy and copy its webhook URL
  2. In TradingView's alert dialog, paste the webhook URL into the Webhook URL field under Notifications
  3. Set the alert message to {{strategy.order.alert_message}} (or leave the default if customized)
  4. The ABC Pattern Scanner fills the JSON template with live trade data on every confirmed entry — TradersPost routes the order to your broker
Risk Management Setting

For the {trnQty} placeholder to fill with a real quantity value, Use Risk Management must be enabled in the Risk Management settings group. Set your Account Size and Risk % — quantity is then computed as Account Size × Risk % ÷ |entry − stop|.

Customizing the JSON Template

The full template is editable in the Custom Alert Message text area. TRN-specific placeholders that substitute live trade data:

PlaceholderSubstitutes
{trnAction}"buy" or "sell"
{trnDir}"long" or "short"
{trnPattern}"abc"
{trnEntry}Entry price
{trnSL}Stop loss price
{trnTP}Take-profit price
{trnRR}Risk/reward ratio
{trnQty}Computed position size (requires Use Risk Management on)

Standard TradingView placeholders ({{ticker}}, {{close}}, {{interval}}, {{timenow}}) also work inside the template.

FAQ

What alerts does the ABC Pattern Scanner support?

The ABC Pattern Scanner provides six base alerts per detection scale — Long Pattern Active, Short Pattern Active, Long Entry Confirmed, Long Entry Unconfirmed, Short Entry Confirmed, Short Entry Unconfirmed. Each alert is independently togglable. When the second detection scale is enabled, every alert duplicates with a "(Size 2)" suffix, doubling the alert count.

What is the difference between Confirmed and Unconfirmed entry alerts?

Confirmed entry alerts fire after the next bar closes in the trade direction beyond the entry trigger — high-reliability but later signal. Unconfirmed entry alerts fire intrabar the moment the trigger is crossed — earlier warning but the bar can still close back across the trigger, retracting the signal. Most ABC Pattern Scanner users enable Confirmed and leave Unconfirmed off.

How does the ABC Pattern Scanner integrate with TradersPost?

The ABC Pattern Scanner can fire a TradersPost-compatible JSON alert on every confirmed entry. The JSON includes ticker, action (buy/sell), entry price, stop level, take-profit target, risk-reward ratio, and an auto-computed position size derived from account size and per-trade risk percentage. Connect the webhook URL in TradingView's alert notifications to route trades automatically.

Next Steps