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:
| Alert | Triggers When | Recommended |
|---|---|---|
| Long Pattern Active | A bullish ABC pattern is detected and waiting for entry on any symbol | ✓ Default On |
| Short Pattern Active | A bearish ABC pattern is detected and waiting for entry on any symbol | ✓ Default On |
| Long Entry Confirmed | A bullish ABC entry has been confirmed by a follow-through close | ✓ Default On |
| Short Entry Confirmed | A bearish ABC entry has been confirmed by a follow-through close | ✓ Default On |
| Long Entry Unconfirmed | A bullish ABC entry trigger has been crossed intrabar (may retract) | Off |
| Short Entry Unconfirmed | A 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 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
- With the ABC Pattern Scanner loaded on your chart, click the alarm clock icon in the top toolbar (or press Alt+A)
- Set Condition to
ABC Pattern Scannerand select Any alert() function call - Set Frequency to Once Per Bar Close for Confirmed alerts; Once Per Bar for Unconfirmed alerts
- Optionally enter a custom Notification message; the scanner provides a default formatted message per alert
- 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:
| Field | Value |
|---|---|
ticker | The symbol on which the pattern triggered |
action | "buy" (Long Confirmed) or "sell" (Short Confirmed) |
quantity | Auto-computed position size from account size and per-trade risk % |
signalPrice | Entry price |
stopLoss.stopPrice | Stop level (the A point of the ABC structure) |
takeProfit.limitPrice | Take-profit target (per the selected Target Type) |
time | ISO timestamp |
interval | The chart's timeframe |
extras.pattern | "abc" |
extras.rr | Risk/reward ratio of the trade |
TradersPost Integration Steps
- In TradersPost, create a new strategy and copy its webhook URL
- In TradingView's alert dialog, paste the webhook URL into the Webhook URL field under Notifications
- Set the alert message to
{{strategy.order.alert_message}}(or leave the default if customized) - The ABC Pattern Scanner fills the JSON template with live trade data on every confirmed entry — TradersPost routes the order to your broker
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:
| Placeholder | Substitutes |
|---|---|
{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.