Pular para o conteúdo

OR

Este conteúdo não está disponível em sua língua ainda.

Logic & timingFrom Pro

  • Signal 1
  • Signal 2
  • more, up to 8
OR

at least one input

  • one true
This is how the node looks on the board: inputs on the left, outputs on the right.

Like a house with several doors: you get in as soon as one of them is open. OR is true as soon as at least one condition holds.

True as soon as one condition is met. Combines several signals: it is true as soon as at least one connected input is true. Up to eight inputs. Example: “change 4 below −5” or “change 4 above 5” reports strong moves in either direction.

OR with two inputs over 16 candlesThe output is true as soon as A or B is true.Signal 1, e.g. RSI below 30Signal 2, e.g. price above EMAOR
  • input true
  • output true
  • false
Each box is one candle. OR is true as soon as one of the signals is true, and also when both are.

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 · 1hChange %over 4 candlesComparechange 4 below −5Comparechange 4 above 5ORat least one inputPushat most every 4 h

How to connect the nodes:

  1. Candle (Price) → Change % (Value)
  2. Change % (%) → Compare (Value)
  3. Change % (%) → Compare (Value)
  4. Compare (true/false) → OR (Signal 1)
  5. Compare (true/false) → OR (Signal 2)
  6. OR (one true) → Push (Trigger)

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" }
]
}

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 Signal (true/false) required · grows: once all are used, another one appears, up to 8. At least 1 must be connected.
Output one true Signal (true/false) –
  • Search also finds it under: or, any, one of.
  • Type in the chain: core.or · Version 1.0.0 · Category key logic
  • Pins in the chain: Input in0 … in7 · Output out
  • How a node is built

Versão 2026.11.29.15 · Changelog