Pular para o conteúdo

Message template

Este conteúdo não está disponível em sua língua ainda.

Data & textFrom Pro

  • A
  • B
  • C
  • D
Message template

{{coin}} is oversold: RSI {{a}} at {{price}}

  • Message
This is how the node looks on the board: inputs on the left, outputs on the right.

Like a mail merge: you write the text once with placeholders such as {{price}}, and Bellchain fills in the current values with every alert.

Writes your own alert text. Builds the text an action sends. Connect the output to an action’s Message input. Placeholders in double curly braces are filled in when the alert fires: {{chain}} with the chain’s name, {{price}} the closing price, {{pair}} the trading pair, {{coin}} the coin, {{time}} the time, {{values}} all values of the chain and {{a}} to {{d}} the values at inputs A to D. Example: “{{coin}} at {{price}}, RSI {{a}}” becomes “BTC at $81,616, RSI 28.7”.

Template
{{coin}} at {{price}}, RSI {{a}}
Message when it fires
BTC at $81,616, RSI 28.7
This is how Bellchain fills in the placeholders when the alert fires, here for BTC/USDT with the RSI at input A.

The settings appear on the right under “Properties” once you click the node on the board. Below each field you find the same explanation as here.

Default: {{chain}}: {{values}} · any text, at most 1,000 characters, multi-line

Up to 1,000 characters. Numbers and times appear in the recipient’s language and time zone. Use **bold**, _italic_ and `code` to highlight text.

The template is connected to the action’s “Message” input. The trigger still comes from the comparison.

Example chain: Candle, RSI, Compare, Message template, TelegramConnections: Candle → RSI, RSI → Compare, RSI → Message template, Compare → Telegram, Message template → Telegram.CandleBTC/USDT · 1hRSI14 candlesCompareRSI 14 below 30Message template{{coin}} is oversold: RSI{{a}} at {{price}}Telegramlinked chat · at most every4 h

How to connect the nodes:

  1. Candle (Price) → RSI (Value)
  2. RSI (RSI) → Compare (Value)
  3. RSI (RSI) → Message template (A)
  4. Compare (true/false) → Telegram (Trigger)
  5. Message template (Message) → Telegram (Message)

On the board it reads: {{coin}} is oversold: RSI {{a}} at {{price}}

Chain as JSON

To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.

message.json
{
"name": "Example: Message template",
"version": 1,
"nodes": [
{ "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } },
{ "id": "r1", "type": "core.rsi", "position": { "x": 260, "y": 40 }, "settings": { "length": 14 } },
{ "id": "k1", "type": "core.compare", "position": { "x": 480, "y": 40 }, "settings": { "operator": "below", "value": 30 } },
{ "id": "m1", "type": "core.message", "position": { "x": 480, "y": 170 }, "settings": { "text": "{{coin}} is oversold: RSI {{a}} at {{price}}" } },
{ "id": "t1", "type": "core.telegram", "position": { "x": 700, "y": 40 }, "settings": {} }
],
"edges": [
{ "from": "c1.close", "to": "r1.in" },
{ "from": "r1.out", "to": "k1.in" },
{ "from": "r1.out", "to": "m1.a" },
{ "from": "k1.out", "to": "t1.in" },
{ "from": "m1.out", "to": "t1.message" }
]
}

Only matching types connect: number series to number series (round pin), signal to signal (square), message to message (diamond).

Direction Pin Type Note
Input A Number series optional
Input B Number series optional
Input C Number series optional
Input D Number series optional
Output Message Message –
  • Search also finds it under: text, message, template, placeholder.
  • Type in the chain: core.message · Version 1.0.0 · Category key data
  • Settings in the chain: text (Text)
  • Pins in the chain: Input a, b, c, d · Output out
  • How a node is built

Versão 2026.11.29.15 · Changelog