Previous period
- Price
- Open
- High
- Low
previous day
- Open
- High
- Low
- Close
- Mid
Yesterday’s high, low and close. Gives the open, high, low and close of the previous day, week or month and the middle between high and low. Many traders mark these levels every day: yesterday’s high is often resistance, its low support, and a breakout above counts as a sign of strength. Example: “Price crosses above previous day high” reports when BTC rises above yesterday’s high.
What it looks like
Section titled “What it looks like”- Price (close of each candle)
- previous day high
- previous day close
- previous day low
- price crosses above previous day high
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.
Period
Section titled “Period”Which period the values come from.
- previous day (default): The values of the previous day. They hold all day and are renewed at midnight.
- previous week: The values of the last calendar week, Monday to Sunday. They hold all week.
- previous month: The values of the last calendar month. They hold all month.
Time zone
Section titled “Time zone”The time zone in which the day, week and month begin. The default is UTC, like the exchanges’ daily candles; in Berlin that is 1:00 AM in winter and 2:00 AM in summer. With Europe/Berlin the day begins at midnight German time.
Example
Section titled “Example”Notifies you when the price rises above yesterday’s high.
How to connect the nodes:
- Candle (Price) → Previous period (Price)
- Candle (Open) → Previous period (Open)
- Candle (High) → Previous period (High)
- Candle (Low) → Previous period (Low)
- Candle (Price) → Compare A/B (A)
- Previous period (High) → Compare A/B (B)
- Compare A/B (true/false) → Telegram (Trigger)
On the board it reads: previous day
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Previous period", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "y1", "type": "core.previous-period", "position": { "x": 260, "y": 40 }, "settings": {} }, { "id": "k1", "type": "core.compare-ab", "position": { "x": 480, "y": 40 }, "settings": { "operator": "crossesAbove" } }, { "id": "t1", "type": "core.telegram", "position": { "x": 700, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "y1.close" }, { "from": "c1.open", "to": "y1.open" }, { "from": "c1.high", "to": "y1.high" }, { "from": "c1.low", "to": "y1.low" }, { "from": "c1.close", "to": "k1.a" }, { "from": "y1.high", "to": "k1.b" }, { "from": "k1.out", "to": "t1.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 | Price | Number series | required |
| Input | Open | Number series | required |
| Input | High | Number series | required |
| Input | Low | Number series | required |
| Output | Open | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | High | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | Low | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | Close | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | Mid | Number series | appears in messages as a price, e.g. “$81,616” |
Good to know
Section titled “Good to know”- In messages the values are called “previous day open”, “previous day high”, “previous day low”, “previous day close”, “previous day mid”.
- Warm-up with the default settings: 48 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: previous day, prior day, yesterday, pdh, pdl, previous week, previous month, close, level.
Technical details
Section titled “Technical details”First open, highest high, lowest low and last close of the candles of the previous calendar period in the chosen time zone, middle (high + low) / 2. In UTC these are the values of the exchange’s daily candle from yesterday. A period that began before the first loaded candle does not count.
- Type in the chain:
core.previous-period· Version 1.0.0 · Category keyind - Settings in the chain:
period(Period),timezone(Time zone) - Pins in the chain: Input
close,open,high,low· Outputopen,high,low,close,mid - Reference tests in the manifest: 1 (with fixed price data: 500 candles of 1h)
- How a node is built
Version 2026.10.21.23 · Changelog