Bollinger Bands
Este conteúdo não está disponível em sua língua ainda.
- Value
20 candles · width 2
- Upper
- Middle
- Lower
Channel of the usual price swings. Draws a band around the average of the last candles. It widens when the price swings a lot and narrows when things are calm. Most of the time the price stays inside. Example: when the price drops below the lower band, it has fallen unusually far for its normal swings. A very narrow band shows an unusually quiet phase.
What it looks like
Section titled “What it looks like”- Price (close of each candle)
- Band (20 candles, width 2)
- Middle
- drops below the lower band
Setting it in the chart
Section titled “Setting it in the chart”
In the properties, a chart shows the last 150 candles with the middle and the band, computed with your settings. Drag an edge to change the width in standard deviations (σ), or type it; next to it you see how far the band reaches in dollars at the last candle. Dots mark where a candle’s high or low touches the band, the top line shows how often.
More under Chart above the price.
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.
Candles
Section titled “Candles”How many candles the average and the swings are measured over. 20 is the usual value.
How far the bands sit from the average, measured in standard deviations. With the usual value 2 the price stays inside most of the time. Larger values like 2.5 or 3 only let very strong moves out.
Example
Section titled “Example”Notifies you when the price drops below the lower Bollinger Band.
How to connect the nodes:
- Candle (Price) → Bollinger Bands (Value)
- Candle (Price) → Compare A/B (A)
- Bollinger Bands (Lower) → Compare A/B (B)
- Compare A/B (true/false) → Push (Trigger)
On the board it reads: 20 candles · width 2
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Bollinger Bands", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "b1", "type": "core.bb", "position": { "x": 260, "y": 40 }, "settings": {} }, { "id": "k1", "type": "core.compare-ab", "position": { "x": 480, "y": 40 }, "settings": { "operator": "crossesBelow" } }, { "id": "p1", "type": "core.push", "position": { "x": 700, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "b1.in" }, { "from": "c1.close", "to": "k1.a" }, { "from": "b1.lower", "to": "k1.b" }, { "from": "k1.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 | Value | Number series | required |
| Output | Upper | Number series | in the unit of the input |
| Output | Middle | Number series | in the unit of the input |
| Output | Lower | Number series | in the unit of the input |
Good to know
Section titled “Good to know”- In messages the values are called “upper band”, “middle band”, “lower band”.
- Warm-up with the default settings: 20 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: volatility, band, squeeze, standard deviation.
- More on this, with ready-made templates and their test results: Bollinger Bands alerts.
Technical details
Section titled “Technical details”SMA in the middle, bands at width times the (population) standard deviation; the same formula as ta.bb in TradingView.
- Type in the chain:
core.bb· Version 1.0.0 · Category keyind - Settings in the chain:
length(Candles),mult(Width) - Pins in the chain: Input
in· Outputupper,middle,lower - Reference tests in the manifest: 1 (with fixed price data: 500 candles of 1h)
- How a node is built
Versão 2026.11.29.15 · Changelog