Candle
Price and volume from an exchange at candle close. Provides open, high, low, close and volume of a trading pair at every candle close. All connected indicators use this timeframe. Binance only for now.
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 | Price close |
Number series | appears in messages as a price, e.g. “$81,616” |
| Output | Open open |
Number series | appears in messages as a price, e.g. “$81,616” |
| Output | High high |
Number series | appears in messages as a price, e.g. “$81,616” |
| Output | Low low |
Number series | appears in messages as a price, e.g. “$81,616” |
| Output | Volume volume |
Number series | – |
Settings
Section titled “Settings”The settings appear on the right under “Properties” once the node is selected on the board. Those marked “More” appear after clicking “More”.
| Setting | Default | Allowed | Meaning |
|---|---|---|---|
Exchange exchange |
Binance (binance) |
Binance | – |
Pair pair |
BTC/USDT |
any text, at most 26 characters, must be filled in before activating | Base and quote currency with a slash, such as BTC/USDT. |
Timeframe timeframe |
1 hour (1h) |
1 minute · 3 minutes · 5 minutes · 15 minutes · 30 minutes · 1 hour · 2 hours · 4 hours · 6 hours · 8 hours · 12 hours · 1 day · 3 days · 1 week · 1 month | – |
Example
Section titled “Example”The candle provides the closing price of BTC/USDT every hour. The RSI is calculated from it, the comparison checks the threshold, Telegram notifies you.
On the board it reads: BTC/USDT · Binance · 1h
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Candle", "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": "t1", "type": "core.telegram", "position": { "x": 700, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "r1.in" }, { "from": "r1.out", "to": "k1.in" }, { "from": "k1.out", "to": "t1.in" } ]}Good to know
Section titled “Good to know”- In messages the values are called “Price”, “Open”, “High”, “Low”, “Volume”.
- Search also finds it under: price, ohlc, exchange, coin, market.
Technical details
Section titled “Technical details”- Type in the chain:
core.candle· Version 1.0.0 · Category keysrc - Source: Candles from an exchange, loaded by the engine
- Reference tests in the manifest: 1 (with fixed price data
binance-btcusdt-1h-500) - How a node is built