Skip to content

Change %

Indicators core.change Version 1.0.0

Change versus N candles ago. Percentage change versus the value N candles ago, like ta.roc. With 1h candles, N = 4 means four hours.

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

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 –

Notifies you when ETH loses more than 5 % in four hours.

Example chain: Candle, Change %, Compare, PushConnections: Candle → Change %, Change % → Compare, Compare → Push.CandleETH/USDT · Binance · 1hChange %over 4 candlesComparechange 4 below -5Pushat most every 4 h

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.

change.json
{
"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" }
]
}
  • 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.
  • Type in the chain: core.change · Version 1.0.0 · Category key ind
  • Reference tests in the manifest: 1 (with fixed price data binance-btcusdt-1h-500)
  • How a node is built