Skip to content

OR

Logic & timing core.or Version 1.0.0

True as soon as one input is true. True as soon as at least one connected input is true.

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

Direction Pin Type Note
Input Signal in0…in7 Signal (true/false) required · Pins in0 to in7: once all are used, another appears (up to 8). At least 1 must be connected.
Output one true out Signal (true/false) –

No settings.

Strong moves in either direction: minus 5 % or plus 5 % in four hours.

Example chain: Candle, Change %, Compare, Compare, OR, PushConnections: Candle → Change %, Change % → Compare, Change % → Compare, Compare → OR, Compare → OR, OR → Push.CandleETH/USDT · Binance · 1hChange %over 4 candlesComparechange 4 below -5Comparechange 4 above 5ORat least one inputPushat most every 4 h

On the board it reads: at least one input

Chain as JSON

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

or.json
{
"name": "Example: OR",
"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": "k2", "type": "core.compare", "position": { "x": 480, "y": 170 }, "settings": { "operator": "above", "value": 5 } },
{ "id": "o1", "type": "core.or", "position": { "x": 700, "y": 40 }, "settings": {} },
{ "id": "p1", "type": "core.push", "position": { "x": 920, "y": 40 }, "settings": {} }
],
"edges": [
{ "from": "c1.close", "to": "g1.in" },
{ "from": "g1.out", "to": "k1.in" },
{ "from": "g1.out", "to": "k2.in" },
{ "from": "k1.out", "to": "o1.in0" },
{ "from": "k2.out", "to": "o1.in1" },
{ "from": "o1.out", "to": "p1.in" }
]
}
  • Search also finds it under: or, any, one of.