Ir al contenido

Time window

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

ConditionsFrom Pro

    Time window

    Mon–Fri · 08:00–22:00

    • in window
    This is how the node looks on the board. It has no inputs; on the right its values go to other nodes.

    Like a shop’s opening hours: the time window only lets alerts through at the times you set, such as 08:00 to 22:00.

    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.

    Time window from 08:00 to 22:00 over one dayEach dot is a candle close; the closes from 08:00 to 21:00 are inside the window.one day, 1-hour candles00:0006:0012:0018:0000:00
    • Time window 08:00 to 22:00
    • candle close inside: true
    • outside: false
    Each dot is a candle close. With “From 8, Until 22” the time window is true for the candles closing between 08:00 and 21:00. Through AND, alerts only arrive in that time.

    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: 8 · from 0 to 23, whole number

    Hour the window starts, from 0 to 23. 8 means from 08:00.

    Default: 22 · from 0 to 24, whole number

    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.

    Default: Mon–Sun

    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

    Default: Europe/Berlin · IANA time zone such as Europe/Berlin, at most 64 characters · under “More”

    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.

    Quiet hours: push only arrives on weekdays between 08:00 and 22:00 when the RSI is below 30.

    Example chain: Candle, RSI, Compare, Time window, AND, PushConnections: Candle → RSI, RSI → Compare, Compare → AND, Time window → AND, AND → Push.CandleBTC/USDT · 1hRSI14 candlesCompareRSI 14 below 30Time windowMon–Fri · 08:00–22:00ANDall inputs truePushat most every 4 h

    How to connect the nodes:

    1. Candle (Price) → RSI (Value)
    2. RSI (RSI) → Compare (Value)
    3. Compare (true/false) → AND (Signal 1)
    4. Time window (in window) → AND (Signal 2)
    5. 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.

    timewindow.json
    {
    "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" }
    ]
    }

    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) –
    • Search also finds it under: time, weekend, night, quiet hours, weekdays.

    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 key cond
    • 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

    Versión 2026.11.29.15 · Changelog