High/Low
High and low of the last N candles, the previous day or the previous week. Highest and lowest value of the previous N candles, by default without the current one: ideal for breakout alerts. Alternatively the high and low of the previous day or week in the chosen time zone.
Inputs and outputs
Section titled “Inputs and outputs”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 in |
Number series | required |
| Output | High high |
Number series | in the unit of the input |
| Output | Low low |
Number series | in the unit of the input |
Settings
Section titled “Settings”The settings appear on the right under “Properties” once the node is selected on the board. Those marked “More” appear after clicking “More”.
| Setting | Default | Allowed | Meaning |
|---|---|---|---|
Period mode |
last N candles (bars) |
last N candles · previous day · previous week | – |
Candles length |
20 | from 2 to 500, whole number | – |
Current candle current · under “More” |
exclude (exclude) |
exclude · include | – |
Time zone timezone · under “More” |
Europe/Berlin |
IANA time zone such as Europe/Berlin, at most 64 characters | IANA time zone such as Europe/Berlin. Daylight saving time is handled. |
Example
Section titled “Example”A breakout: the price crosses the high of the last 20 candles.
On the board it reads: last 20 candles
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: High/Low", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "SOL/USDT", "timeframe": "1h" } }, { "id": "h1", "type": "core.highlow", "position": { "x": 260, "y": 40 }, "settings": {} }, { "id": "k1", "type": "core.compare-ab", "position": { "x": 480, "y": 40 }, "settings": { "operator": "crossesAbove" } }, { "id": "t1", "type": "core.telegram", "position": { "x": 700, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "h1.in" }, { "from": "c1.close", "to": "k1.a" }, { "from": "h1.high", "to": "k1.b" }, { "from": "k1.out", "to": "t1.in" } ]}Good to know
Section titled “Good to know”- In messages the values are called “20-candle high”, “20-candle low”.
- Warm-up with the default settings: 21 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: high, low, breakout, level, resistance, support.
Technical details
Section titled “Technical details”- Type in the chain:
core.highlow· Version 1.0.0 · Category keyind - Reference tests in the manifest: 2 (with fixed price data
binance-btcusdt-1h-500) - How a node is built