OR
True as soon as one input is true. True as soon as at least one connected input is true.
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 | 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) | – |
Settings
Section titled “Settings”No settings.
Example
Section titled “Example”Strong moves in either direction: minus 5 % or plus 5 % in four hours.
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.
{ "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" } ]}Good to know
Section titled “Good to know”- Search also finds it under: or, any, one of.
Technical details
Section titled “Technical details”- Type in the chain:
core.or· Version 1.0.0 · Category keylogic - How a node is built