# 🔔 Alerts

{% hint style="warning" %}
Note: Use the non-backtest version
{% endhint %}

Infinity Algo V3.0 offers customizable alerts to keep you informed of important trading opportunities and market conditions. Setting up alerts helps ensure timely responses to key signals, directly enhancing your trading effectiveness.

***

## 📋 How to Set Up Alerts

{% tabs %}
{% tab title="🖥️ Desktop" %}
**Desktop Alert Setup**

**Step 1: Open Alert Dialog**

**Right-click** on your TradingView chart or press `ALT + A`

![Alert Menu Access](https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FXLsh0U6f3GJRD1zymbhY%2Fimage.png?alt=media\&token=6bfd123c-15dc-44d0-92aa-d13d01e2a496)

**Step 2: Select Indicator**

Choose **Infinity Algo V3.0** from the indicators list

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2F2c4bk0cdIb4Unzt8eURK%2Fimage.png?alt=media&#x26;token=2aadb06a-0cfc-4990-aa63-afd5d106c1a0" alt="" width="375"><figcaption><p>Indicator Selection</p></figcaption></figure>

**Step 3: Configure Alert**

Select your preferred alert condition from the available options

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FGmfnqhfwBmsPCPm503wh%2Fimage.png?alt=media&#x26;token=c371c0b2-dad9-4585-96a3-c824744ddab8" alt="" width="375"><figcaption><p>Alert Selection</p></figcaption></figure>

**Step 4: Configure Notifications**

Select your preferred notifications from the available options

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FfXhC70DVvUj1bM2PASka%2Fimage.png?alt=media&#x26;token=67838085-8031-4aa2-822c-27003666c5cf" alt="" width="375"><figcaption><p>TradingView Notification</p></figcaption></figure>
{% endtab %}

{% tab title="📱 Mobile" %}
**Mobile Alert Setup**

**Step 1: Click Settings**

Tap the **Settings** icon in the bottom right corner

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2F0PNBkESkWOZbQUswKVlr%2FIMG_0638.PNG?alt=media&#x26;token=1095dd53-39f3-46f6-ac72-3d40783bf6be" alt="Settings Button" width="375"><figcaption><p>Settings in bottom toolbar</p></figcaption></figure>

**Step 2: Click on Alerts**

Select **Alerts** from the tools menu

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FRXKvtESkHP04S4vmjWBR%2FIMG_0636.PNG?alt=media&#x26;token=098ad89c-2a8b-481f-b424-824a6219585c" alt="Alerts Option" width="375"><figcaption><p>Alerts in Analysis Hub</p></figcaption></figure>

**Step 3: Click Create Alert**

Tap the **Create alert** button

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2F1u5Y0dZSESEGf2FE8FDo%2FIMG_0637.PNG?alt=media&#x26;token=49e98983-4407-4168-ab52-f0cce08496ab" alt="Create Alert Button" width="375"><figcaption><p>Create new alert</p></figcaption></figure>

**Step 4: Select Infinity Algo**

Choose **Infinity Algo V3.0** from the condition dropdown

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FbtopX47qjJ559RtBAQbQ%2FIMG_0642.png?alt=media&#x26;token=c07b5862-d5f3-4a48-ba3d-ac2c03438583" alt="Select Infinity Algo" width="375"><figcaption><p>Infinity Algo in conditions</p></figcaption></figure>

**Step 5: Select Alert Type**

Pick your desired signal from the list

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FAkbR5cbi75NDKy5aRizc%2FIMG_0643.PNG?alt=media&#x26;token=c28281f1-b9af-4e6e-a55b-15d038fccb86" alt="Alert Type Selection" width="375"><figcaption><p>Available alert signals</p></figcaption></figure>

**Step 6: Select Notification Type**

Enable your preferred notification methods

<figure><img src="https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2F9R6TFyYsArkmeSePsVRd%2FIMG_0640.PNG?alt=media&#x26;token=c3544d43-28d2-417e-9be6-93d97648a816" alt="Notification Settings" width="375"><figcaption><p>Notification options</p></figcaption></figure>
{% endtab %}
{% endtabs %}

***

### 🎯 Available Alert Conditions

**Quick Reference Table**

| Signal Type          | Alert Numbers | Trigger Setting    | Purpose         |
| -------------------- | ------------- | ------------------ | --------------- |
| **📈 Long Entries**  | `1.0` - `1.4` | Once Per Bar Close | Buy signals     |
| **📉 Short Entries** | `1.5` - `1.9` | Once Per Bar Close | Sell signals    |
| **💰 Take Profits**  | `2.0` - `2.1` | Once Per Bar       | Profit targets  |
| **🛡️ Stop Loss**    | `2.2` - `2.3` | Once Per Bar       | Risk management |
| **⏰ Pre-Signals**    | `2.4` - `2.5` | Once Per Bar Close | Early warnings  |

**Detailed Alert Options**

{% tabs %}
{% tab title="📈 Entry Signals" %}
**Buy Signals**

* **`1.0` Buy Signal - Normal** → Counter-trend buy signals
* **`1.1` Buy Signal - Smart** → Trend-following buy signals
* **`1.2` Normal or Smart Buy** → Triggers for either type
* **`1.3` Buy Signal - HL Sniper** → Precision buy entry signals
* **`1.4` Buy Signal - AI** ⭐ → AI optimized signals

**Sell Signals**

* **`1.5` Sell Signal - Normal** → Counter-trend sell signals
* **`1.6` Sell Signal - Smart** → Trend-following sell signals
* **`1.7` Normal or Smart Sell** → Triggers for either type
* **`1.8` Sell Signal - HL Sniper** → Precision sell entry signals
* **`1.9` Sell Signal - AI** ⭐ → AI optimized signals

{% hint style="info" %}
**AI Alerts**: The `1.4` and `1.9` alerts work for BOTH standard AI and AI Sniper modes
{% endhint %}
{% endtab %}

{% tab title="💰 Exit Alerts" %}
**Take Profit Alerts**

* **`2.0` Take Profit Long** → Long position profit target hit
* **`2.1` Take Profit Short** → Short position profit target hit

**Stop Loss Alerts**

* **`2.2` Stop Loss Long Hit** → Stop loss triggered on long
* **`2.3` Stop Loss Short Hit** → Stop loss triggered on short

{% hint style="warning" %}
**Critical**: Use `Once Per Bar` for exits to trigger immediately when price touches levels
{% endhint %}
{% endtab %}

{% tab title="⏰ Pre-Signals" %}
**Early Warning System**

* **`2.4` Possible Long Coming** → Potential buy signal ahead
* **`2.5` Possible Short Coming** → Potential sell signal ahead

These alerts help you prepare for upcoming opportunities without false triggers.
{% endtab %}
{% endtabs %}

***

### ⚠️ Critical Alert Settings

{% hint style="danger" %}
**MUST READ**: Incorrect trigger settings will cause missed trades or false alerts!
{% endhint %}

**Entry Signals Configuration**

| Setting          | Value                              | Reason                                    |
| ---------------- | ---------------------------------- | ----------------------------------------- |
| **Trigger**      | `Once Per Bar Close`               | Confirms signal on candle close           |
| **Why Critical** | ✅ Prevents false alerts from wicks | Avoids premature entries                  |
| **Never Use**    | ❌ `Once Per Bar`                   | Will trigger on temporary price movements |

**Exit Signals Configuration**

| Setting          | Value                    | Reason                             |
| ---------------- | ------------------------ | ---------------------------------- |
| **Trigger**      | `Once Per Bar` or faster | Immediate execution needed         |
| **Why Critical** | ✅ Instant TP/SL triggers | Protects profits and limits losses |
| **Never Use**    | ❌ `Once Per Bar Close`   | Delays exit until candle closes    |

***

### 🧩 Optional - TradingView Variables (Placeholders) — Advanced

Add these to the **alert message** so your alerts include live data.

**Advanced: (work on indicator alerts)**

| Placeholder                           | Meaning                    | Example                |
| ------------------------------------- | -------------------------- | ---------------------- |
| `{{exchange}}`                        | Exchange                   | `BINANCE`              |
| `{{ticker}}`                          | Symbol                     | `BTCUSDT`              |
| `{{interval}}`                        | Chart timeframe (see note) | `15` (=15m)            |
| `{{time}}`                            | Bar time (UTC)             | `2025-01-01T12:00:00Z` |
| `{{timenow}}`                         | Alert fire time (UTC)      | `2025-01-01T12:00:03Z` |
| `{{open}} {{high}} {{low}} {{close}}` | O/H/L/C of the bar         | `43250.5`              |
| `{{volume}}`                          | Bar volume                 | `1234.56`              |
| `{{syminfo.currency}}`                | Quote currency             | `USD`                  |
| `{{syminfo.basecurrency}}`            | Base (for FX/crypto pairs) | `BTC` or `na`          |

**How It Works**

{% columns %}
{% column width="50%" %}
**Step 1: Create Template** Add placeholders in your alert message:

![Alert Setup](https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FGYSnPELERloNa2Nw8O9j%2Fimage.png?alt=media\&token=f77902ab-dcd0-47ea-a84f-e7d8d558cfbf)

```
🟢 LONG SIGNAL - {{ticker}}

📍 MARKET INFORMATION
Exchange: {{exchange}}
Symbol: {{ticker}}
Currency: {{syminfo.currency}}
Base Currency: {{syminfo.basecurrency}}

📈 PRICE DATA
Open: {{open}}
High: {{high}}
Low: {{low}}
Close: {{close}}
Volume: {{volume}}

⏱️ TIMING
Timeframe: {{interval}}
Bar Time: {{time}}
Alert Triggered: {{timenow}}
```

{% endcolumn %}

{% column %}
**Step 2: Get Live Data** Variables are replaced with actual values once alert is received

![Alert Output](https://2387257950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cf3dRpPzq1Qbyc8GksH%2Fuploads%2FYTQcaYYNrQ1CnyNOomEL%2Fimage.png?alt=media\&token=07938767-0762-41c1-8911-4e75a14eeb9d)

{% endcolumn %}
{% endcolumns %}

<details>

<summary><strong>Quick Copy-Paste Templates</strong></summary>

#### Simple Long

```
🟢 LONG {{ticker}} @ {{close}}
{{exchange}} | {{interval}} | {{timenow}}
```

#### Detailed Long

```
🟢 BUY SIGNAL TRIGGERED
Symbol: {{ticker}}
Entry: {{close}}
Exchange: {{exchange}}
Timeframe: {{interval}}
Volume: {{volume}}
Time: {{timenow}}
```

#### Professional Long

```
═══ LONG ENTRY ═══
{{exchange}}:{{ticker}}
Price: {{close}}
Range: {{low}} - {{high}}
Volume: {{volume}}
{{interval}} timeframe
═════════════════
```

### 📉 **SHORT/SELL SIGNALS**

#### Simple Short

```
🔴 SHORT {{ticker}} @ {{close}}
{{exchange}} | {{interval}} | {{timenow}}
```

#### Detailed Short

```
🔴 SELL SIGNAL TRIGGERED
Symbol: {{ticker}}
Entry: {{close}}
Exchange: {{exchange}}
Timeframe: {{interval}}
Volume: {{volume}}
Time: {{timenow}}
```

#### Risk-Focused Short

```
⚠️ SHORT POSITION OPENED
{{ticker}} at {{close}}
Daily High: {{high}}
Risk Level: Monitor Closely
Time: {{timenow}}
```

### 💰 **TAKE PROFIT (TP)**

#### TP Long Hit

```
✅ TAKE PROFIT (LONG)
{{ticker}}: Target Reached at {{close}}
Entry → Exit: Profit Locked
{{interval}} | {{timenow}}
```

#### TP Short Hit

```
✅ TAKE PROFIT (SHORT)
{{ticker}}: Target Reached at {{close}}
Short Covered Successfully
{{interval}} | {{timenow}}
```

#### Multi-TP Alert

```
💰 TP LEVEL HIT - {{ticker}}
Price: {{close}}
Partial Exit Recommended
Remaining Position: Hold
Time: {{timenow}}
```

### 🛡️ **STOP LOSS (SL)**

#### SL Long Hit

```
🛑 STOP LOSS (LONG)
{{ticker}}: Stop Hit at {{close}}
Position Closed - Risk Management Active
{{interval}} | {{timenow}}
```

#### SL Short Hit

```
🛑 STOP LOSS (SHORT)
{{ticker}}: Stop Hit at {{close}}
Short Position Closed
{{interval}} | {{timenow}}
```

#### Urgent SL

```
⚠️ STOP LOSS TRIGGERED ⚠️
{{ticker}} @ {{close}}
IMMEDIATE ACTION: Position Closed
Protect Capital
Time: {{timenow}}
```

### ⏰ **POSSIBLE SIGNALS (Pre-Alerts)**

#### Possible Long Coming

```
⏳ POSSIBLE LONG SETUP
{{ticker}} preparing for entry
Current: {{close}}
Watch Level: {{high}}
Timeframe: {{interval}}
Stand By...
```

#### Possible Short Coming

```
⏳ POSSIBLE SHORT SETUP
{{ticker}} preparing for entry
Current: {{close}}
Watch Level: {{low}}
Timeframe: {{interval}}
Stand By...
```

</details>

### 🔍 Troubleshooting Guide

| Issue                    | Possible Causes       | Solution                                                                                                                     |
| ------------------------ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| **Alert not triggering** | Wrong signal mode     | <p>• Verify settings matches alert settings<br>• Check <code>Once Per Bar Close</code><br>• Enable AI if using AI alerts</p> |
| **Too many alerts**      | Sensitivity too low   | <p>• Use combined alerts<br>• Increase sensitivity<br>• Switch to higher timeframe</p>                                       |
| **False alerts**         | Wrong trigger setting | <p>• Use <code>Once Per Bar Close</code> for entries<br>• Check for repainting<br>• Verify timeframe</p>                     |
| **Missing TP/SL**        | Wrong trigger type    | <p>• Must use <code>Once Per Bar</code><br>• Not <code>Once Per Bar Close</code></p>                                         |

***

### 💡 Pro Tips & Best Practices

#### Alert Naming Convention

#### Alert Management

* **Name your alerts clearly** - Include timeframe and signal type
* **Test alerts first** - Use "Once" frequency to verify setup
* **Use alert messages** - Customize with ticker, timeframe, and action
* **Consider multiple timeframes** - Set alerts on different charts
* **Regular review** - Update alerts as market conditions change

#### Mobile Notifications

* Enable push notifications in TradingView mobile app
* Configure email alerts for backup
* Consider webhook integration for automated systems

***

### ✅ Summary Checklist

{% hint style="info" %}
**Remember These Key Points:**

* ✅ Entry signals: `Once Per Bar Close`
* ✅ Exit signals: `Once Per Bar` or faster
* ✅ AI alerts work for both AI modes
* ✅ Name alerts descriptively
* ✅ Test before live trading
* ✅ Review settings regularly
  {% endhint %}

By following these guidelines, you'll maximize the effectiveness of Infinity Algo's alert system and never miss important trading opportunities.
