Change %
Change versus N candles ago. Percentage change versus the value N candles ago, like ta.roc. With 1h candles, N = 4 means four hours.
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 | % out |
Number series | in percent |
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 |
|---|---|---|---|
Candles back length |
4 | from 1 to 500, whole number | – |
Example
Section titled “Example”Notifies you when ETH loses more than 5 % in four hours.
On the board it reads: over 4 candles
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Change %", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "ETH/USDT", "timeframe": "1h" } }, { "id": "g1", "type": "core.change", "position": { "x": 260, "y": 40 }, "settings": { "length": 4 } }, { "id": "k1", "type": "core.compare", "position": { "x": 480, "y": 40 }, "settings": { "operator": "below", "value": -5 } }, { "id": "p1", "type": "core.push", "position": { "x": 700, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "g1.in" }, { "from": "g1.out", "to": "k1.in" }, { "from": "k1.out", "to": "p1.in" } ]}Good to know
Section titled “Good to know”- In messages the value is called “change 4”.
- Warm-up with the default settings: 4 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: percent, pump, dump, crash, change.
Technical details
Section titled “Technical details”- Type in the chain:
core.change· Version 1.0.0 · Category keyind - Reference tests in the manifest: 1 (with fixed price data
binance-btcusdt-1h-500) - How a node is built