Ir al contenido

Cooldown

Esta página aún no está disponible en tu idioma.

Logic & timingFrom Pro

  • Signal
Cooldown

max. once per 12 h

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

Like a turnstile that stays locked for a while after each pass: the cooldown lets one signal through and then holds back all others for the time you set.

At most one signal per time span. Only lets through the moment a signal turns true, then blocks for the set time. That helps against a flood of alerts when a value swings around a threshold for a long time. Every action already has its own cooldown; use this node when several actions should rest together. Example: with 12 hours in front of Push and Telegram, after a crash alert no further one comes for half a day, on both channels.

Cooldown 4 hours on 1-hour candlesOnly the switch to true gets through, then it is blocked for four hours.SignalCooldown · 4 h0 h4 h8 h12 h
  • signal true
  • gets through
  • held back
  • cooldown running
Only the moment the signal turns true gets through (dots). After that it is blocked for 4 hours (shaded); a new signal during that time is held back (circle).

The settings appear on the right under “Properties” once you click the node on the board. Below each field you find the same explanation as here.

Default: 4 h · from 0 to 168 h

How long the output stays blocked after a signal got through. 4 hours suit most alerts, 12 or 24 rare events like a crash. With 0 every new signal gets through.

The crash alert from the templates: after one alert it stays quiet for 12 hours, for both channels at once.

Example chain: Candle, Change %, Compare, Cooldown, Push, TelegramConnections: Candle → Change %, Change % → Compare, Compare → Cooldown, Cooldown → Push, Cooldown → Telegram.CandleETH/USDT · 1hChange %over 4 candlesComparechange 4 below −5Cooldownmax. once per 12 hPushat most every 4 hTelegramlinked chat · at most every4 h

How to connect the nodes:

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

On the board it reads: max. once per 12 h

Chain as JSON

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

cooldown.json
{
"name": "Example: Cooldown",
"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": "d1", "type": "core.cooldown", "position": { "x": 700, "y": 40 }, "settings": { "hours": 12 } },
{ "id": "p1", "type": "core.push", "position": { "x": 920, "y": 40 }, "settings": {} },
{ "id": "t1", "type": "core.telegram", "position": { "x": 920, "y": 170 }, "settings": {} }
],
"edges": [
{ "from": "c1.close", "to": "g1.in" },
{ "from": "g1.out", "to": "k1.in" },
{ "from": "k1.out", "to": "d1.in" },
{ "from": "d1.out", "to": "p1.in" },
{ "from": "d1.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
Output Trigger Signal (true/false) –
  • Search also finds it under: throttle, spam, pause, rate limit.

Remembers the close of the candle where a signal last got through; the blocking time counts from there.

  • Type in the chain: core.cooldown · Version 1.0.0 · Category key logic
  • Settings in the chain: hours (Cooldown (hours))
  • Pins in the chain: Input in · Output out
  • Memory: computes candle by candle and keeps its state
  • How a node is built

Versión 2026.11.29.15 · Changelog