Pular para o conteúdo

AND

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

Logic & timingIn Free

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

all inputs true

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

Like a door with several locks: it only opens when every key fits. AND is only true when all connected conditions hold at the same time.

True when all conditions are met. Combines several signals: it is only true when all connected inputs are true at the same time. Once every input is used, another one appears, up to eight. Example: “RSI 14 below 30” and “Price above EMA 200” into AND report a dip within an uptrend.

AND with two inputs over 16 candlesThe output is only true when A and B are true on the same candle.Signal 1, e.g. RSI below 30Signal 2, e.g. price above EMAAND
  • input true
  • output true
  • false
Each box is one candle. AND is only true when both signals are true on the same candle.

No settings.

The dip buyer from the templates: RSI below 30 and at the same time price above the EMA 200.

Example chain: Candle, RSI, Moving average, Compare, Compare A/B, AND, TelegramConnections: Candle → RSI, RSI → Compare, Candle → Moving average, Candle → Compare A/B, Moving average → Compare A/B, Compare → AND, Compare A/B → AND, AND → Telegram.CandleBTC/USDT · 1hRSI14 candlesMoving averageEMA 200CompareRSI 14 below 30Compare A/BPrice above EMA 200ANDall inputs trueTelegramlinked chat · at most every4 h

How to connect the nodes:

  1. Candle (Price) → RSI (Value)
  2. RSI (RSI) → Compare (Value)
  3. Candle (Price) → Moving average (Value)
  4. Candle (Price) → Compare A/B (A)
  5. Moving average (Average) → Compare A/B (B)
  6. Compare (true/false) → AND (Signal 1)
  7. Compare A/B (true/false) → AND (Signal 2)
  8. AND (all true) → Telegram (Trigger)

On the board it reads: all inputs true

Chain as JSON

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

and.json
{
"name": "Example: AND",
"version": 1,
"nodes": [
{ "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } },
{ "id": "r1", "type": "core.rsi", "position": { "x": 260, "y": 40 }, "settings": { "length": 14 } },
{ "id": "e1", "type": "core.ma", "position": { "x": 260, "y": 170 }, "settings": { "kind": "ema", "length": 200 } },
{ "id": "k1", "type": "core.compare", "position": { "x": 480, "y": 40 }, "settings": { "operator": "below", "value": 30 } },
{ "id": "k2", "type": "core.compare-ab", "position": { "x": 480, "y": 170 }, "settings": { "operator": "above" } },
{ "id": "a1", "type": "core.and", "position": { "x": 700, "y": 40 }, "settings": {} },
{ "id": "t1", "type": "core.telegram", "position": { "x": 920, "y": 40 }, "settings": {} }
],
"edges": [
{ "from": "c1.close", "to": "r1.in" },
{ "from": "r1.out", "to": "k1.in" },
{ "from": "c1.close", "to": "e1.in" },
{ "from": "c1.close", "to": "k2.a" },
{ "from": "e1.out", "to": "k2.b" },
{ "from": "k1.out", "to": "a1.in0" },
{ "from": "k2.out", "to": "a1.in1" },
{ "from": "a1.out", "to": "t1.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 all true Signal (true/false) –
  • Search also finds it under: and, combine, confluence, all.
  • Type in the chain: core.and · 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