Ir al contenido

Compare

Esta página aún no está disponible en tu idioma.

ConditionsIn Free

  • Value
Compare

RSI 14 below 30

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

Like a thermostat: Compare checks at every candle whether a value is above or below your threshold, and switches to true when it is.

Checks a value against a fixed number. Checks on every candle whether a value is above or below a threshold and passes on true or false. That turns a number into a signal that can trigger an action. Example: “RSI 14 below 30” is true while the RSI is below 30. The action notifies you once, when it becomes true.

RSI 14 with the threshold 30Below it two strips: when “below 30” is true and when “crosses below 30” is.RSI 1430RSI 14 below 30RSI 14 crosses below 30Oct 7Oct 8Oct 9
  • RSI 14
  • true as long as
  • true on exactly one candle
The BTC/USDT RSI 14 with the threshold 30. “below” is true as long as the RSI is under it (bars). “crosses below” is only true on the candle where it drops under 30 (dots).

Properties of the Compare node: the chart with the RSI of the last 150 candles and the threshold as a dashed line, a handle at the right edge, below it the Threshold field.

In the properties, a chart shows the last 150 candles of the value with the threshold as a dashed line. Drag it or move it with the arrow keys; dots mark the candles where the comparison would be true.

More under Chart above the price.

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: below

When the comparison is true. “above” and “below” hold as long as the value stays there. “crosses” only holds on the one candle where the value breaks through the threshold.

  • above: True while the value is greater than the threshold.
  • below (default): True while the value is less than the threshold.
  • at least: Like “above”, but also true when the value exactly reaches the threshold.
  • at most: Like “below”, but also true when the value exactly reaches the threshold.
  • crosses above: Only true on the candle where the value rises from below to above the threshold.
  • crosses below: Only true on the candle where the value falls from above to below the threshold.
  • crosses: Only true on the candle where the value crosses the threshold in either direction.

Default: 30

The number to compare with, in the unit of the input: for the RSI e.g. 30, for a price e.g. 100000, for Change % e.g. -5 for minus 5%.

The comparison turns the RSI into a signal: true while the RSI is below 30. Telegram notifies you as soon as the signal becomes true.

Example chain: Candle, RSI, Compare, TelegramConnections: Candle → RSI, RSI → Compare, Compare → Telegram.CandleBTC/USDT · 1hRSI14 candlesCompareRSI 14 below 30Telegramlinked chat · at most every4 h

How to connect the nodes:

  1. Candle (Price) → RSI (Value)
  2. RSI (RSI) → Compare (Value)
  3. Compare (true/false) → Telegram (Trigger)

On the board it reads: RSI 14 below 30

Chain as JSON

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

compare.json
{
"name": "Example: Compare",
"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": "t1", "type": "core.telegram", "position": { "x": 700, "y": 40 }, "settings": {} }
],
"edges": [
{ "from": "c1.close", "to": "r1.in" },
{ "from": "r1.out", "to": "k1.in" },
{ "from": "k1.out", "to": "t1.in" }
]
}

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

Direction Pin Type Note
Input Value Number series required
Output true/false Signal (true/false) –
  • Search also finds it under: below, above, crosses, threshold, condition.

“crosses above” is true when the value is now above the threshold and was at most on it one candle before, “crosses below” the other way round; the same rule as ta.crossover and ta.crossunder in TradingView.

  • Type in the chain: core.compare · Version 1.0.0 · Category key cond
  • Settings in the chain: operator (Condition), value (Threshold)
  • Pins in the chain: Input in · Output out
  • Reference tests in the manifest: 2 (with fixed price data: 500 candles of 1h)
  • How a node is built

Versión 2026.11.29.15 · Changelog