Bentrix Docs
HomePricingDashboard

Fib retracement

Fibonacci2 anchors7 levelsin every package

Two anchors and a list of horizontal lines drawn at stated fractions of the price move between them.

Level 0 sits on the second anchor's price and level 100 on the first's - that orientation is the convention here, and the second click is what chooses it. The list is in percent, an empty list means the kind's own defaults, and it is capped at 32 levels. What it shows is arithmetic and no more: each line is a fraction chosen of one distance chosen, and drawing it is not evidence price has ever stopped there. Read the gap between two levels in price before reading their names - two levels closer together than the round-trip cost of dealing (the spread and commission of one trade in and out) enclose a range dealing would consume.

01The tool, live

Live figureDrag anchor 1 or 2. Scroll to zoom, drag the bars to pan.

Placed and drawn by Bentrix’s own code over the same synthetic bars on every page — an illustration of the tool’s geometry, not a market.

02Its parts, named

023.638.25061.8100161.812Anchor 2The other end of the moveIts levelsone line for each number ofits level listWhat it drawsthe lines the tool computesfrom its anchorsAnchor 1One end of the move
  1. 1Press on anchor 1
  2. 2Drag: a ghost of the whole tool follows the pointer
  3. 3Release on anchor 2
Placed by Bentrix’s own code on the sample bars. The placement plays once as you reach the figure.

03What you see

Horizontal lines at set fractions of the distance between two prices. Level 0 stands on the second point's price and level 100 on the first's, so the lines between them show how much of the move has been given back.

From a swing low to a swing high (or the reverse): horizontal levels at 0, 23.6, 38.2, 50, 61.8, 100 and 161.8 % of the swing. Traders read a pullback that pauses at 38.2 or 61.8 % as having retraced that share of the move. The levels are yours to change (at most 32).

04Where it comes from

Leonardo of Pisa — Fibonacci — described the sequence in 1202. Applying its ratios to market swings came with R. N. Elliott and his followers in the 1930s and 1940s, and retracement levels became a staple of charting software in the 1980s. The 50 % line is not a Fibonacci ratio: it is older, from Dow and Gann.

05How it is placed

  1. Open the chart's Tools column and choose Fibonacci › Fib retracement.
  2. Press on one end of the move, drag to the other end of the move, and release. A ghost of the whole tool follows the pointer while you drag.
  3. With the magnet on, an anchor dropped near a candle's open, high, low or close snaps to it.

Its anchors

  1. 1One end of the move
  2. 2The other end of the move

Put the first anchor at one end of the move and the second at the other; the level lines then run from the leftmost anchor to the plot's right edge.

06The geometry

Pℓ=P2+ℓ100(P1−P2)
P1,P2the first and the second anchor's prices
ℓa level in percent: 0 is the second anchor, 100 the first

The ratios come from the Fibonacci sequence 1, 1, 2, 3, 5, 8, 13…, in which each number divided by the next tends to 0.618 and by the one after to 0.382. A level above 100, such as 161.8, lies beyond the first anchor: the move extended rather than retraced.

07Settings and defaults

Fib retracementits properties window
Anchors2Each is a moment and a price, never a pixel: the tool stays on its bars through a zoom, another interval or older history.
Levels0, 23.6, 38.2, 50, 61.8, 100, 161.8The list is yours to edit in the tool's properties, written as numbers separated by commas.
Colour, width and line stylethe chart's ink, width 1Width from 1 to 5; Solid, Dash, Dot or Dash-dot.
TextnoneA name written on the tool.
Visibilityevery intervalThe intervals the tool is drawn on.
LockoffA locked tool is not moved by a drag.

08Readings — what traders look for

Where a pullback pauses. After a move, readers watch whether the correction slows near 38.2, 50 or 61.8.

Shallow or deep. A pullback that holds above 38.2 is read as a strong move; one past 61.8 as a move in doubt.

Confluence. A level that coincides with an earlier high or low, or a moving average, gets more attention than one standing alone.

Extensions. Levels beyond 100 are used as distances to compare the next leg against.

09What it does not tell you

!

The levels are fractions of a move you chose. Markets have no obligation to turn at them, and studies of whether they do more often than at other prices are not conclusive.

10Limits and common misreadings

Which swing? Two readers picking different highs and lows get different levels from the same chart.

Many lines, some will be touched. With seven levels on a chart, price pausing near one of them is expected by chance.

Direction. If 0 and 100 are the wrong way round, the anchors are in the wrong order.

11On other chart types

A drawing is fixed to moments and prices, so it keeps its place on every chart type. On a chart built by price or by activity — Renko, Range bars, Point & Figure, Kagi, Line break — each anchor stands on the brick, bar or column that holds its moment. No chart type refuses a drawing.

12In Bentrix

  • Where it is: the chart's Tools column › Fibonacci › Fib retracement.
  • Its properties: select the tool and open its properties window; the small bar that floats beside a selected tool has its lock.
  • Undo: Ctrl+Z takes back the last drawing step on that chart.
  • In a pane: every tool can also be placed in an indicator's own pane.

13From an agent or a program

An agent or a program places the tool with object_place: the chart, the kind fib_retracement, and its anchors in placement order, each a moment (t_ms, milliseconds since 1970 on the workbench's feed) and a price. Acting on a chart needs the lab permission, and tools that act are part of Plus.

{
  "name": "object_place",
  "arguments": {
    "chart": "<chart uri>",
    "kind": "fib_retracement",
    "anchors": [
      {
        "t_ms": 1710151200000,
        "price": 1.085
      },
      {
        "t_ms": 1710172800000,
        "price": 1.0862
      }
    ],
    "levels": "0, 23.6, 38.2, 50, 61.8, 100, 161.8"
  }
}

object_move moves its anchors, object_change its look, object_set_levels its level list, object_find lists a chart's drawings and object_delete removes one. All of them are in the MCP reference, and every SDK language has the same calls.

15Sources

  1. Frost, A. J., and Robert R. Prechter. Elliott Wave Principle. New Classics Library, 1978.
  2. Fischer, Robert. Fibonacci Applications and Strategies for Traders. Wiley, 1993.
  3. Kirkpatrick, Charles D., and Julie R. Dahlquist. Technical Analysis: The Complete Resource for Financial Market Technicians. 2nd ed., FT Press, 2010.

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed