> For the complete documentation index, see [llms.txt](https://docs.bigbeluga.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bigbeluga.com/main-toolkits/market-core-pro-tm/any-alert-function-call.md).

# Any alert() Function Call

The Market Core Pro toolkit features a highly optimized All-in-One Alert system utilizing the TradingView `alert()` function. This allows you to track dozens of technical patterns, structural breaks, and liquidity sweeps across your charts simultaneously using a single active TradingView alert slot.

<div align="left" data-with-frame="true"><figure><img src="/files/mMuGio2GkC0AHtgXroCo" alt="" width="404"><figcaption></figcaption></figure></div>

### Any alert() Function Call

Instead of configuring separate alerts for every single market condition—which quickly fills up your TradingView alert limits—you can manage everything inside the indicator settings.

To set up an All-in-One alert:

{% stepper %}
{% step %}

### Enable the Feature on Your Chart First

Before you can turn on an alert for any tool, you must make sure that specific tool is turned on and visible on your main chart.

* Example: If you want Order Block (OB) Alerts, you must first scroll to the top of your indicator settings and make sure Show OB is checked and active. If your chart isn't tracking Order Blocks, the alerts won't have any data to read!

<div data-with-frame="true"><figure><img src="/files/B0ltL2Jo7FY8hm0J8c7s" alt=""><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Toggle the Alert Signal

Once the feature is visible on your chart, scroll down to the                                                               `―――――― 🔶 Any alert() function call 🔶 ――――――` section.&#x20;

Find the specific alert line and change it from `❌Disabled` to your choice:

* `🔵All`          — Triggers on both upward and downward conditions.
* `🟢Bullish`  — Triggers only on upward/buy conditions.
* `🔴Bearish`  — Triggers only on downward/sell conditions.

<div data-with-frame="true"><figure><img src="/files/isnRyngsAj5vB5togV7S" alt=""><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Set Your Live Message Template

Scroll to the very bottom to the Define the message template text box. Type your custom alert text using the dynamic tags. These tags automatically swap out for real market data the exact second the alert goes off.

<div data-with-frame="true"><figure><img src="/files/fWnJJD2JaLYvDa4ToCn9" alt=""><figcaption></figcaption></figure></div>

Easy Template Example to Copy & Use:

```
🚨 Core Alert! {{ticker}} ({{interval}}) - {{trigger}} triggered at {{close}}!
```

<table data-full-width="true"><thead><tr><th width="175">Placeholder</th><th width="510">Description</th><th>Example</th></tr></thead><tbody><tr><td>{{tickerid}}</td><td>Ticker identifier representing the chart's symbol</td><td>'BINANCE:BTCUSDT'</td></tr><tr><td>{{ticker}}</td><td>Symbol name without exchange prefix, e.g. 'MSFT'.</td><td>'MSFT'</td></tr><tr><td>{{exchange }}</td><td>Prefix of current symbol name <br>(i.e. for 'CME_EOD:TICKER' prefix is 'CME_EOD').</td><td>'BYBIT'</td></tr><tr><td>{{close}}</td><td>Close price of the current bar</td><td>'1650.55'</td></tr><tr><td>{{open}}</td><td>Current open price</td><td>'4650.55'</td></tr><tr><td>{{high}}</td><td>Current high price</td><td>'7550.56'</td></tr><tr><td>{{low}}</td><td>Current low price</td><td>'5645.55'</td></tr><tr><td>{{timenow}}</td><td>Current time</td><td></td></tr><tr><td>{{volume}}</td><td>Current bar volume</td><td>'1675555'</td></tr><tr><td>{{interval}}</td><td>A string representation of the chart's timeframe</td><td>'W'</td></tr><tr><td>{{trigger}}</td><td>Alert name</td><td>'FlowTrend Bullish'</td></tr><tr><td>{{country}}</td><td>Returns the two-letter code <br>of the country where the symbol is traded</td><td>"NASDAQ:AAPL" it will return "US"</td></tr><tr><td>{{description}}</td><td>Description for the current symbol</td><td></td></tr><tr><td>{{root}}</td><td>Root for derivatives like futures contract</td><td>If the current chart symbol is continuous futures ('ES1!'), it would display 'ES'</td></tr><tr><td>{{industry}}</td><td>Returns the industry of the symbol, <br>or <a href="https://www.tradingview.com/chart/Q4w4v6Jk/#var_na">na</a> if the symbol has no industry</td><td>'Internet Software/Services'</td></tr><tr><td>{{type}}</td><td>The type of market the symbol belongs to</td><td>'crypto'</td></tr></tbody></table>
{% endstep %}

{% step %}

### Connect It to TradingView (Final Step)

Now, press Alt + A on your keyboard (or click the Clock icon on the right menu bar) to open the official TradingView Alert Creation box. Configure this window exactly like this:

<figure><img src="/files/lDwbfkd1GK1eIfM3EY7L" alt=""><figcaption></figcaption></figure>

* Condition (First Dropdown): Select `Market Core Pro`
* Condition (Second Dropdown): Select `Any alert() function call`

<div data-with-frame="true"><figure><img src="/files/aereR1Xq1ZU62u8CZP7C" alt=""><figcaption></figcaption></figure></div>

Edit Alert name

<div data-with-frame="true"><figure><img src="/files/XFZloATsqBymFYtAVbol" alt=""><figcaption></figcaption></figure></div>

Click **Create**, and your smart all-in-one alert is officially live and running 24/7!
{% endstep %}
{% endstepper %}

***

## Alerts Breakdown

| **Alert**                          | **Description**                                                                                          |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------- |
| OB Breakout Alerts                 | Triggers an alert when price breaks through an Order Block.                                              |
| OB Touch Alerts                    | Triggers an alert when price tests or touches an Order Block.                                            |
| BOS (Break of Structure) Alerts    | Triggers an alert when a Break of Structure (BOS) occurs in the trend direction.                         |
| ChoCh (Change of Character) Alerts | Triggers an alert when a Change of Character (ChoCh) signals a potential trend reversal.                 |
| CISD (Change In State of Delivery) | Triggers an alert when a Change In State of Delivery (+CISD/-CISD) signals a potential reversal pattern. |
| FVG Break Alerts                   | Triggers an alert when price closes past or invalidates a Fair Value Gap.                                |
| FVG Created Alerts                 | Triggers an alert as soon as a new Fair Value Gap is detected on the chart.                              |
| FVG Retest Alerts                  | Triggers an alert when price moves back to retest an open Fair Value Gap.                                |
| iFVG Retest Alerts                 | Triggers an alert when price retests an Inverted Fair Value Gap.                                         |
| SFP Alerts                         | Triggers an alert when a Swing Failure Pattern (liquidity sweep and close inside) forms.                 |
| SR Formed Alerts                   | Triggers an alert when a new Support or Resistance key level is established.                             |
| SR Crossed Alerts                  | Triggers an alert when price crosses above or below an active Support/Resistance level.                  |
| Daily MTF Cross Alerts             | Triggers an alert when price crosses a significant Daily higher-timeframe level.                         |
| Weekly MTF Cross Alerts            | Triggers an alert when price crosses a significant Weekly higher-timeframe level.                        |
| Monthly MTF Cross Alerts           | Triggers an alert when price crosses a significant Monthly higher-timeframe level.                       |
| Channel Break Alerts               | Triggers an alert when price breaks out or down from a standard linear channel.                          |
| Channel Target Alerts              | Triggers an alert when price reaches the projected target of a channel breakout.                         |
| Wedge Break Alerts                 | Triggers an alert when price breaks out of a wedge chart pattern.                                        |
| Wedge Target Alerts                | Triggers an alert when price hits the calculated target of a wedge pattern breakout.                     |
| Liquidity Grab Created Alerts      | Triggers an alert when a potential high/low liquidity grab area is identified.                           |
| Liquidity Grab Crossed Alerts      | Triggers an alert when price actively sweeps or crosses an established liquidity level.                  |
| Liquidity Bubble Alerts            | Triggers an alert when a high-volume liquidity cluster (bubble) forms on a pivot point.                  |
| Fibonacci Range Alerts             | Triggers an alert when price crosses key boundaries of a Fibonacci structure.                            |
| Session Break Alerts               | Triggers an alert when price breaks out or down from the current trading session range boundaries.       |
