Fibonacci levels
- High
- Low
10 candles before · 10 after
- 0 % · end
- 23.6 %
- 38.2 %
- 50 %
- 61.8 %
- 78.6 %
- 100 % · start
- up
- near
Retracements of the last swing. Places the Fibonacci levels 23.6 %, 38.2 %, 50 %, 61.8 % and 78.6 % between the start and end of the last move from a swing low to a swing high or the other way round. 0 % is at the end of the move, 100 % at its start. The levels only change once a new swing is confirmed, as with the Swing points node. The “near” output reports when a candle comes within ±x % of a chosen level. Example: “Price crosses below Fib 61.8 %” reports when a pullback after a rise reaches the 61.8 % level; “near 61.8 % ±0.3 %” already when it gets within 0.3 %.
What it looks like
Section titled “What it looks like”- Price (close of each candle)
- 0 %, end of the swing
- 38.2 % and 50 %
- 61.8 %
- 100 %, start
- pullback below 61.8 %
Setting it in the chart
Section titled “Setting it in the chart”
In the properties, a chart shows the levels over the last 150 candles, with their names on the right. Click a level or its name, or pick it with the arrow keys: the band ±x % for the “near” output lies around it. Drag an edge of the band or type the number under “Band ±”; dots mark the candles that came that close to the level. Levels far from the price sit at the edge with an arrow.
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 before
Section titled “Candles before”How many candles before a high must all be lower, before a low higher. With more candles only clearer turning points count.
Candles after
Section titled “Candles after”How many candles after a high must not rise above it before it counts as a swing. The node reports it that many candles later; with fewer candles the report comes sooner, but also for smaller turning points.
Which level the “near” output refers to. In the chart above you can also pick it by clicking its line.
- 0 %: The end of the swing, the last confirmed swing high or low.
- 23.6 %: A shallow pullback, typical in a strong trend.
- 38.2 %: A common pullback after which many trends continue.
- 50 %: The middle of the swing.
- 61.8 % (default): The golden ratio, the most watched level.
- 78.6 %: A deep pullback close to the start of the swing.
- 100 %: The start of the swing, the swing low or high before it.
Band ±
Section titled “Band ±”How close a candle must come to the level, in percent of the level: “near” is true as soon as the candle’s high or low reaches into the band. 0.3 means 0.3 % above and below, so with a level of $80,000 that is $240. With 0 only a candle that touches the level itself counts.
Example
Section titled “Example”A deep pullback: after a rise the price falls below the 61.8 % level of the last swing.
How to connect the nodes:
- Candle (High) → Fibonacci levels (High)
- Candle (Low) → Fibonacci levels (Low)
- Candle (Price) → Compare A/B (A)
- Fibonacci levels (61.8 %) → Compare A/B (B)
- Compare A/B (true/false) → AND (Signal 1)
- Fibonacci levels (up) → AND (Signal 2)
- AND (all true) → Telegram (Trigger)
On the board it reads: 10 candles before · 10 after
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Fibonacci levels", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "f1", "type": "core.fibonacci", "position": { "x": 260, "y": 40 }, "settings": {} }, { "id": "k1", "type": "core.compare-ab", "position": { "x": 480, "y": 40 }, "settings": { "operator": "crossesBelow" } }, { "id": "a1", "type": "core.and", "position": { "x": 700, "y": 40 }, "settings": {} }, { "id": "t1", "type": "core.telegram", "position": { "x": 920, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.high", "to": "f1.high" }, { "from": "c1.low", "to": "f1.low" }, { "from": "c1.close", "to": "k1.a" }, { "from": "f1.f618", "to": "k1.b" }, { "from": "k1.out", "to": "a1.in0" }, { "from": "f1.up", "to": "a1.in1" }, { "from": "a1.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 | High | Number series | required |
| Input | Low | Number series | required |
| Output | 0 % · end | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | 23.6 % | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | 38.2 % | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | 50 % | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | 61.8 % | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | 78.6 % | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | 100 % · start | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | up | Signal (true/false) | – |
| Output | near | Signal (true/false) | – |
Good to know
Section titled “Good to know”- In messages the values are called “Fib 0 %”, “Fib 23.6 %”, “Fib 38.2 %”, “Fib 50 %”, “Fib 61.8 %”, “Fib 78.6 %”, “Fib 100 %”.
- Warm-up with the default settings: 520 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: fibonacci, fib, retracement, pullback, level, swing, golden ratio, 61.8.
Technical details
Section titled “Technical details”Swing from the last two points of a zigzag line through the confirmed swing highs and lows of the last 500 candles, swings as in the Swing points node; if two highs follow without a low in between, the higher one counts, for lows the lower one. Level = end − ratio × (end − start). “near”: low ≤ level × (1 + x / 100) and high ≥ level × (1 − x / 100).
- Type in the chain:
core.fibonacci· Version 1.0.0 · Category keyind - Settings in the chain:
left(Candles before),right(Candles after),level(Level),width(Band ±) - Pins in the chain: Input
high,low· Outputend,f236,f382,f500,f618,f786,start,up,near - Reference tests in the manifest: 2 (with fixed price data: 500 candles of 1h)
- How a node is built
Version 2026.10.21.23 · Changelog