# Alerts

## Alerts — Trader Guide (EN)

> **mrD Signals Premium** — How to set up and use **alerts** to **never miss a signal**, even when away from the chart, and **connect webhooks** for auto-trading with bots.

***

<figure><img src="/files/3ouXji5bjPo15pLB1wwo" alt=""><figcaption></figcaption></figure>

### 1. What is the Alerts System?

Alerts is a feature that lets TradingView **automatically notify** you when a signal fires, via channels:

* **Push notification** on TradingView app (mobile/desktop)
* **Email** to your registered address
* **SMS** (depending on TradingView plan)
* **Webhook** — sends POST requests to your URL (for auto-trading bots, Discord/Telegram bots, custom systems)
* **Sound** in browser

> **Benefit:** You don't need to sit in front of charts all day — just leave alerts running, and you'll be notified the moment a signal appears.

***

### 2. The 8 Alert Modes Available

The system provides **8 alert modes** — choose 1 based on your need:

| Alert Mode                  | Fires when?                                                           | Best for                               |
| --------------------------- | --------------------------------------------------------------------- | -------------------------------------- |
| **None**                    | Never (alerts off)                                                    | Traders who only watch charts directly |
| **All Signals**             | Every signal (Wave + Contra + Adv + DCA + Cloud + Catcher + RSI Band) | Traders wanting to NEVER miss anything |
| **DCA+ Signals**            | Dollar Cost Average entries (with main trend)                         | Long-term DCA traders                  |
| **Advanced Signals**        | Advanced only (STRONG / NORMAL)                                       | High-quality traders                   |
| **Waves Trend Signals**     | Wave Trend only (BUY / SELL)                                          | Trend-following traders                |
| **Contrarian Signals**      | Contrarian only (reversal)                                            | Counter-trend traders                  |
| **Trend Cloud Direction**   | When Trend Cloud changes color (regime change)                        | Regime-following traders               |
| **Trend Catcher Direction** | When Trend Catcher fires pullback                                     | Pullback traders                       |
| **RSI Band Direction**      | When RSI Band changes direction                                       | Momentum traders                       |

> **Default recommendation:** Pick the **mode matching the signals you actually trade**. E.g., if you trade Advanced, choose "Advanced Signals" alerts. Avoid "All" because it'll be very noisy.

***

### 3. How to Enable Alerts in the Indicator

#### Step 1 — Open Indicator Settings

Click the gear icon (⚙️) next to the indicator name on the chart.

#### Step 2 — Find group "ANY ALERT() FUNCTION CALL CONDITIONS"

This group is at the bottom of the input panel.

#### Step 3 — Choose Alert Mode

In the **"Alerts Mode"** dropdown — choose 1 of the 8 modes from section 2.

#### Step 4 — Save settings

Close the panel — settings auto-save.

> **Note:** Steps 1-4 only **enable trigger conditions** in code. For TradingView to actually send notifications, you need additional steps in the next section.

***

### 4. Create an Alert in TradingView

After enabling the mode in the indicator, **you need to create 1 alert** in TradingView to receive notifications:

#### Step 1 — Click "Alert" in TradingView

* Desktop: 🔔 button on the chart toolbar
* Or shortcut: `Alt + A`

#### Step 2 — Choose Condition

* **Condition** dropdown → choose `mrD-Signals [Premium]`
* **Sub-condition** → choose `Any alert() function call`

> **Important:** Must select `Any alert() function call`, NOT other conditions in the dropdown.

#### Step 3 — Set Frequency

* **Frequency**: choose "Once Per Bar Close" — receive 1 alert per bar close
* Or "Once Per Bar" — receive when condition is active (may repaint)

> **Recommendation:** **Once Per Bar Close** to avoid fake alerts from wicks.

#### Step 4 — Set Notification

Tick the channels you want:

* ✅ Notify on app (push)
* ✅ Send email
* ✅ Webhook URL (for auto-trade bot)
* ✅ Play sound (browser)

#### Step 5 — Name + Save

* **Alert name**: e.g., "BTC Advanced Signals"
* **Expiration**: open-ended (never expires) or set a date
* Click **Create**

***

### 5. Message Format — Pre-built

Each alert message **automatically contains info**:

```
Advanced BUY: BTCUSDT
 Timeframe: 1H
 Open: $42,580.50
 https://mrd-indicators.com/
```

Including:

* **Signal type** (Advanced BUY / Wave Trend SELL / Contrarian BUY...)
* **Ticker** (BTCUSDT, EURUSD...)
* **Timeframe** active
* **Open price** of the signal candle
* **Reference link**

> You don't need to customize the message — it's enough info for both manual trading and webhook bots.

***

### 6. Webhook — Auto-Trading Setup

#### What is a Webhook?

A webhook is a **URL endpoint** TradingView sends a POST request to whenever an alert fires. You use it for:

* Auto-trading via bot (3Commas, Cryptohopper, Binance bot...)
* Forward signals to Discord/Telegram
* Log to database / sheet
* Custom systems (Python/Node.js script)

#### How to use

1. In Step 4 of section 4, tick **Webhook URL** and paste your endpoint URL
2. Your bot/server receives the payload and auto-executes the action (buy/sell/notify)

#### Webhook security tips

* **HTTPS only** — avoids man-in-the-middle
* **Secret token** in URL or body to verify origin
* **Rate limit** on your endpoint — TradingView never sends too fast, but be cautious
* **Test mode first**: send 5-10 test alerts before connecting real trading account

#### Example: Sample Webhook Payload

When an alert fires, TradingView sends a message like (plain text):

```
Advanced BUY: BTCUSDT
 Timeframe: 1H
 Open: $42,580.50
 https://mrd-indicators.com/
```

Your bot parses this text → makes the action decision.

> **Advanced auto-trade:** You can create separate alerts (BUY and SELL separate) with different webhook URLs so your bot processes them more cleanly.

***

### 7. Recommended Strategies — Choose Alerts by Style

#### Strategy 1 — "Quality only" (for swing traders)

```
Alert Mode: Advanced Signals
Frequency: Once Per Bar Close
Channels: Push + Email + Webhook (bot)
Expected alerts/week: 2-5 (high quality)
```

#### Strategy 2 — "Active scalper" (for day traders)

```
Alert Mode: Waves Trend Signals
Profile: Short-Term
Frequency: Once Per Bar Close
Channels: Push only (fast)
Expected alerts/day: 3-10
```

#### Strategy 3 — "Reversal hunter" (for contrarian traders)

```
Alert Mode: Contrarian Signals
Frequency: Once Per Bar Close
Channels: Push + Email
Expected alerts/week: 2-8 (major tops/bottoms)
```

#### Strategy 4 — "Multi-confirmation" (advanced)

```
Create 2 separate alerts:
  Alert 1: "Trend Cloud Direction" → know regime change
  Alert 2: "Advanced Signals" → know quality entry

Only trade when both fire within a few candles of each other
```

#### Strategy 5 — "Long-term DCA" (for passive traders)

```
Alert Mode: DCA+ Signals
Frequency: Once Per Bar Close
Channels: Email weekly summary
Expected alerts/month: 4-10 (long-term entries)
```

***

### 8. Multi-asset Alerts — Watch Multiple Coins/Symbols

Each alert runs on 1 symbol. To monitor multiple assets:

#### Manual approach

* Open the chart for each asset (BTC, ETH, SOL...)
* Apply indicator → set alerts mode → create alert
* Repeat for each asset

> **Recommendation:** Maximum **5-10 assets** with active alerts at once — too many causes overwhelm.

#### Efficient approach: Watchlist + Mass alerts (TradingView Pro)

TradingView Pro+/Premium plans allow batch-applying alerts to a watchlist. Note: total active alerts is plan-limited.

| Plan         | Active alerts |
| ------------ | ------------- |
| Basic (Free) | 1             |
| Pro          | 20            |
| Pro+         | 100           |
| Premium      | 400           |

***

### 9. Common Issues

#### "I created an alert but receive nothing?"

Check in order:

1. **Indicator alert mode** is set to something other than "None"?
2. **TradingView alert** chose `Any alert() function call`?
3. **Notification channels** (push/email) enabled in TradingView settings?
4. **Alert** is **active** (not expired)?
5. Make sure **profile + signal mode** in the indicator match — e.g., choosing "Advanced Signals" alert but signal mode is "Waves Trend" → still receive Wave alerts, not Advanced. Match the mode.

#### "I'm getting too many alerts, how to reduce?"

* Switch from "All Signals" → specific mode (Advanced / Wave...)
* Increase profile from Short → Mid → Long-Term
* Switch chart TF higher (15m → 1H → 4H)
* Set Frequency to "Once Per Bar Close" instead of "Once Per Bar"

#### "Webhook isn't working?"

* Check URL has **HTTPS** (TradingView doesn't support HTTP for webhooks)
* Test endpoint with curl/Postman first
* Check rate limit / firewall on your server
* Check bot/server logs to see if TradingView is sending anything

#### "Alert fires but price has already moved far?"

This is **correct behavior**:

* The indicator uses "Once Per Bar Close" to avoid repaint
* Bar must close → alert fires → you receive it → may already be a few seconds to few minutes late (depending on TF)
* On small TF (1m, 5m), this latency really matters — consider webhook + bot to reduce latency

#### "Alert disappeared after I changed chart TF?"

The alert is created for the **TF at creation time**. Changing chart TF doesn't affect existing alerts. To get an alert on another TF → create a new alert on that TF.

***

### 10. Golden Rules for Alerts

#### Rule 1 — Don't spam

Too many alerts → trader gets "alert fatigue" → ignores them → misses important alerts. Only enable alerts for **modes you actually trade**.

#### Rule 2 — Use "Once Per Bar Close"

Avoids fake alerts from wicks. Accept 1-bar delay in exchange for alert quality.

#### Rule 3 — Test webhook first

Before connecting a real trading account, **test at least 20-30 alerts** with paper trading account / test environment.

#### Rule 4 — Mobile-friendly

Install TradingView app on your phone + enable push notifications. This is the fastest + cheapest way (free).

#### Rule 5 — Don't over-rely on alerts

Alerts are **assistants**, not autopilot. Before entering a trade, still check:

* Candle color
* Trend Cloud
* Dashboard win rate
* News/market context

***

### 11. ⚠️ Disclaimer

Alerts are a **notification channel**, not a profit guarantee. Auto-trading via webhook is **high risk** — bots can trade in unusual market conditions (flash crash, gap, news event) and cause large losses.

**Always use paper trading / demo** before connecting a bot to a real account. **Set hard risk limits** on the bot (max position, max daily loss).

**Trading carries a high risk of capital loss.** This indicator serves **educational purposes**. Read the full disclaimer at `MRDS_OVERVIEW_EN.md`.

***

> **Final word**: Alerts done right = **never miss signals + less stress + automation possible**. Alerts done wrong = **alert fatigue + miss real signals + impulsive trading**. Choose few but quality.

***

🌐 **Vietnamese version:** `ALERTS_GUIDE_VI.md`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mrd-indicators.com/feature/tradingview-indicators/mrd-signals-premium-eng/alerts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
