Time window
Este conteúdo não está disponível em sua língua ainda.
Mon–Fri · 08:00–22:00
- in window
Allows alerts only at certain times. Is true when a candle closes inside the time window, otherwise false. Connect it to AND so alerts only arrive during that time. Example: from 08:00 to 22:00 on all days keeps your nights quiet. A window from 22:00 to 06:00 runs past midnight.
What it looks like
Section titled “What it looks like”- Time window 08:00 to 22:00
- candle close inside: true
- outside: false
Settings
Section titled “Settings”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.
From (hour)
Section titled “From (hour)”Hour the window starts, from 0 to 23. 8 means from 08:00.
Until (hour)
Section titled “Until (hour)”Hour the window ends, from 0 to 24. 22 means until just before 22:00. If “Until” is smaller than “From”, the window runs past midnight. If both are equal, it applies around the clock.
Which days the window applies on, also a single weekday such as Mondays. On the other days it is false all day. A window past midnight counts by the day the candle closes.
Choices: Mon–Sun · Mon–Fri · Sat–Sun · Mondays · Tuesdays · Wednesdays · Thursdays · Fridays · Saturdays · Sundays
Time zone
Section titled “Time zone”The time zone for times and days, such as Europe/Berlin or America/New_York. Bellchain handles daylight saving time. Europe/Berlin fits Germany, Austria and Switzerland.
Example
Section titled “Example”Quiet hours: push only arrives on weekdays between 08:00 and 22:00 when the RSI is below 30.
How to connect the nodes:
- Candle (Price) → RSI (Value)
- RSI (RSI) → Compare (Value)
- Compare (true/false) → AND (Signal 1)
- Time window (in window) → AND (Signal 2)
- AND (all true) → Push (Trigger)
On the board it reads: Mon–Fri · 08:00–22:00
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Time window", "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": "k1", "type": "core.compare", "position": { "x": 480, "y": 40 }, "settings": { "operator": "below", "value": 30 } }, { "id": "w1", "type": "core.timewindow", "position": { "x": 40, "y": 170 }, "settings": { "days": "weekdays", "from": 8, "to": 22 } }, { "id": "a1", "type": "core.and", "position": { "x": 700, "y": 40 }, "settings": {} }, { "id": "p1", "type": "core.push", "position": { "x": 920, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "r1.in" }, { "from": "r1.out", "to": "k1.in" }, { "from": "k1.out", "to": "a1.in0" }, { "from": "w1.out", "to": "a1.in1" }, { "from": "a1.out", "to": "p1.in" } ]}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 | – | – | No inputs: the data comes straight from the source. |
| Output | in window | Signal (true/false) | – |
Good to know
Section titled “Good to know”- Search also finds it under: time, weekend, night, quiet hours, weekdays.
Technical details
Section titled “Technical details”What counts is the time a candle closes, in the chosen time zone. “From” is included, “Until” is not.
- Type in the chain:
core.timewindow· Version 1.0.0 · Category keycond - Settings in the chain:
from(From (hour)),to(Until (hour)),days(Days),timezone(Time zone) - Pins in the chain: Output
out - How a node is built
Versão 2026.11.29.15 · Changelog