Skip to content

Range

Conditions

  • Value
  • Low
  • High
Range

Price enters 58,000–60,000

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

Value enters or leaves a zone. Checks on every candle whether a value lies between two limits and passes on true or false. That is how you build alerts for zones: a buy zone for the price, a neutral range for the RSI. The limits are fixed numbers or come from other nodes when you connect the Low and High inputs, such as VAL and VAH of yesterday’s value area. Example: price enters the range 58,000 to 60,000 notifies you once when the price falls or rises into your buy zone.

BTC/USDT price with the range 81,500 to 82,500Below it two strips: when the price is inside the range and when it enters it.Price BTC/USDT81,00082,00083,000is insideentersOct 8Oct 9Oct 10Oct 11
  • Price (close of each candle)
  • Range
  • true as long as
  • true on exactly one candle
The price on 1-hour candles with the range from 81,500 to 82,500. “is inside” is true as long as the price closes within it (bars). “enters” is only true on the candle where it comes in from outside (dots).

Properties of the Range node: the chart with the price of the last 150 candles and the zone between Low and High, two handles at the right edge, below it the Low and High fields.

In the properties, a chart shows the last 150 candles with the zone between Low and High. Drag a limit or type the numbers; a limit that comes from another node can’t be dragged. The top line shows how many candles lie inside the range and how often the condition would be met.

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

When the node is true: while the value is inside or outside, or only at the moment it changes.

  • is inside: True while the value is between Low and High, both limits included.
  • is outside: True while the value is below Low or above High.
  • enters (default): Only true on the candle where the value moves into the range from outside. Good for buy zones.
  • exits: Only true on the candle where the value leaves the range, in either direction. Good for breakouts from a sideways phase.

Default: 40

Lower limit in the unit of the input, such as 58000 for a price or 40 for the RSI. If the Low input is connected, its value applies.

Default: 60

Upper limit, such as 60000 for a price or 60 for the RSI. If the High input is connected, its value applies.

A buy zone: Telegram notifies you when the BTC price comes into the range from 58,000 to 60,000, from above or below.

Example chain: Candle, Range, TelegramConnections: Candle → Range, Range → Telegram.CandleBTC/USDT · 1hRangePrice enters 58,000–60,000Telegramlinked chat · at most every4 h

How to connect the nodes:

  1. Candle (Price) → Range (Value)
  2. Range (true/false) → Telegram (Trigger)

On the board it reads: Price enters 58,000–60,000

Chain as JSON

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

range.json
{
"name": "Example: Range",
"version": 1,
"nodes": [
{ "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } },
{ "id": "z1", "type": "core.range", "position": { "x": 260, "y": 40 }, "settings": { "mode": "enters", "low": 58000, "high": 60000 } },
{ "id": "t1", "type": "core.telegram", "position": { "x": 480, "y": 40 }, "settings": {} }
],
"edges": [
{ "from": "c1.close", "to": "z1.in" },
{ "from": "z1.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
Input Low Number series optional
Input High Number series optional
Output true/false Signal (true/false) –
  • Warm-up with the default settings: 1 candles (this many extra candles are loaded by the replay before the value is reliable).
  • Search also finds it under: zone, range, between, buy zone, band, sideways, value area.

Inside means Low ≤ value ≤ High; Low and High are swapped if needed. Connected Low and High inputs replace the numbers, candle by candle. Enters and exits compare with the candle before and need a value and both limits on both candles.

  • Type in the chain: core.range · Version 1.0.0 · Category key cond
  • Settings in the chain: mode (Condition), low (Low), high (High)
  • Pins in the chain: Input in, lower, upper · Output out
  • Reference tests in the manifest: 4 (with fixed price data: 500 candles of 1h)
  • How a node is built

Version 2026.10.21.23 · Changelog