Alerts

Each strategy will come with a minimum of four built-in alerts, designed for both entry and exit signals. These alerts serve the dual purpose of keeping you informed about every action the strategy takes and enabling automation if you wish to implement alert-based automation.

Placeholders

These placeholders can be used in the alert message, and they will be replaced with dynamic values when the alert is triggered. They are the sole method for including dynamic values that can vary from bar to bar.
The placeholders need to be enclosed within double curly braces. Below are the placeholders you can use:

{{type}}

The type of action can be either Entry, Exit, Stop Loss (SL) hit, Take Profit (TP) hit, hard close, or x candle close.

{{order_type}}

The type of the order can be either BUY or SELL.

{{entry_price}}

The entry price of the order.

{{current_price}}

The current price

{{@qty}}

The stop loss price.

{{@TP1}}

The take profit 1 price.

{{@TP2}}

The take profit 2 price.

{{@TP3}}

The take profit 3 price.

{{SL}}

The stop loss in pips/points.

{{TP1}}

The take profit 1 in pips/points.

{{TP2}}

The take profit 2 in pips/points.

{{TP3}}

The take profit 3 in pips/points.

{{exchange}}

Exchange of the symbol used in the alert (NASDAQ, NYSE, MOEX, etc.). Note that for delayed symbols, the exchange will end with “_DL” or “_DLY.” For example, “NYMEX_DL.”

{{interval}}

Returns the timeframe of the chart the alert is created on. Note that Range charts are calculated based on 1m data, so the placeholder will always return “1” on any alert created on a Range chart.

{{open}}, {{high}}, {{low}}, {{close}}, {{volume}}

Corresponding values of the bar on which the alert has been triggered.

{{time}}

Returns the time at the beginning of the bar. Time is UTC, formatted as yyyy-MM-ddTHH:mm:ssZ, so for example: 2019-08-27T09:56:00Z.

{{timenow}}

Current time when the alert triggers, formatted in the same way as {{time}}. The precision is to the nearest second, regardless of the chart’s timeframe.

Add TradingView alert

After setting up the alert message on the strategy you're using, to start receiving alert messages on TradingView, you'll need to add one. With our strategies, you'll only need to create one, and it will send alerts on any entry as well as on any exit, one alert per strategy.
The video below will show you how to add one.