Sign In
  • Strategies
  • Results
  • Automate
  • Pricing
  • Docs

Documentation

  • Introduction
  • Instalation
  • Setup
    • Introduction
    • Placeholders
    • Create alert
    • Get started
    • Binance
    • Binance.US
    • Bitget
    • Bybit
    • Crypto
    • Mexc
    • TradeLocker
    • Playground
    • Notes
  • Share
  • FAQ
  • Contacts
  • Introduction
  • Instalation
  • Setup
    • Introduction
    • Placeholders
    • Create alert
    • Get started
    • Binance
    • Binance.US
    • Bitget
    • Bybit
    • Crypto
    • Mexc
    • TradeLocker
    • Playground
    • Notes
  • Share
  • FAQ
  • Contacts

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:

{{ID}}

The unique ID of the trade.

{{No}}

The trade number.

{{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}}

Opening price of the triggering bar.

{{close}}

Closing price of the triggering bar.

{{high}}

Highest price of the triggering bar

{{low}}

Lowest price of the triggering bar.

{{volume}}

Volume of the triggering bar.

{{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.

Examples

Here are some practical examples of how to use placeholders in your alert messages. These templates demonstrate common use cases and can be customized to fit your needs.

A simple alert for entering a trade with basic information:

Template:
{{type}} - {{order_type}} at {{entry_price}} (ID: {{ID}}) No:{{No}}
Example Output:
Entry - BUY at 50000.00 (ID: Long 123) No:96

A comprehensive alert including entry price and targets:

Template:
{{order_type}} {{exchange}} at {{entry_price}} SL: {{SL}} | TP1: {{TP1}} | TP2: {{TP2}} Time: {{timenow}}
Example Output:
BUY NASDAQ at 50000.00 SL: 100 | TP1: 150 | TP2: 300 Time: 2024-01-20T14:30:00Z

An alert showing current market conditions:

Template:
{{exchange}} {{interval}} Update O: {{open}} H: {{high}} L: {{low}} C: {{close}} Volume: {{volume}}
Example Output:
NASDAQ 5m Update O: 49800.00 H: 50100.00 L: 49750.00 C: 50000.00 Volume: 1234567

Next
How to create alerts?

On this page

  • Placeholders
  • Examples

We develop cutting-edge trading tools to provide more intelligent, quicker, and easier insights into the market.

Follow us on

Please note that the information provided on our website is intended for educational purposes only and should not be construed as financial or investment advice.

Risk Disclaimer: Trading carries inherent risks, and the majority of day traders experience losses. The potential for loss in trading can be significant. Decisions to buy, sell, hold, or trade securities, commodities, and other investments involve risk and should be made based on advice from qualified financial professionals. Past performance is not indicative of future results. All content is hypothetical and selected after the fact to illustrate our product and should not be considered financial advice. It is important to carefully consider whether trading is suitable for you given your financial circumstances.

Read the full disclaimer here.

Terms of use - Privacy policy

Copyright © IsAlgo2025

|