Skip to content

AND

Logic & timing core.and Version 1.0.0

True when all connected inputs are true. True when all connected inputs are true. Once every input is used, the editor adds another one (up to eight).

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 all true out Signal (true/false) –

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 · Binance · 1hRSI14 periodsMoving averageEMA 200CompareRSI 14 below 30Compare A/BPrice above EMA 200ANDall inputs trueTelegramlinked chat · at most every4 h

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" }
]
}
  • Search also finds it under: and, combine, confluence, all.