Bentrix Docs
HomePricingDashboard

Gann box

Gann2 anchors7 levelscan be filledin every package

Two anchors and the box they span, divided at each price level and each time level, percent of its height and its width.

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

02538.25061.87510012Its levelsone line for each number ofits level listAnchor 2The far cornerWhat it drawsthe move's price and time cutinto the same fractions, withthe box filled when fill is onAnchor 1A turn
  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

The box two points span, divided at set fractions of its height and of its width — the same list for price and for time.

A box between two points divided at fixed fractions of its height and width.

What it shows

It shows the move's price and time cut into the same fractions, with the box filled when fill is on.

04Where it comes from

William Delbert Gann (1878–1955) traded stocks and commodities and taught, in courses sold from the 1920s to the 1950s, that price and time should be read together and that a market moving one unit of price per unit of time was in balance. His written claims about his own results have not been verified by later researchers, and nothing here rests on them. Dividing a range of price and a span of time into the same parts — eighths and thirds in his own work — is his idea of squaring price with time.

05How it is placed

  1. Open the chart's Tools column and choose Fibonacci › Gann box.
  2. Press on a turn, drag to the far corner, 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. 1A turn
  2. 2The far corner

Put the first anchor on a turn and the second where the span of price and time to study ends.

06The geometry

Pℓ=P1+ℓ100(P2−P1),bℓ=b1+ℓ100(b2−b1)
bi, Pithe bar and the price of anchor i
ℓthe level, in per cent
Pℓ, bℓthe price of the level's horizontal line and the bar of its vertical one

One horizontal and one vertical line for each level in the list.

07Settings and defaults

Gann boxits 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, 25, 38.2, 50, 61.8, 75, 100The list is yours to edit in the tool's properties, written as numbers separated by commas.
FilloffTurned on, it tints the area the tool encloses.
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

Price fractions as a retracement tool would show them: 50 is the half-way price.

Time fractions: readers watch whether turns fall near the half or the three-quarter time lines.

Both at once. A turn where a price line and a time line cross is what Gann called price and time squaring.

09What it does not tell you

!

A box divides a range you chose. Its lines are fractions, not findings.

10Limits and common misreadings

The far corner is a guess when the box is drawn into the future.

Many lines — seven levels give fourteen — make touches likely.

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 › Gann box.
  • 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 gann_box, 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": "gann_box",
    "anchors": [
      {
        "t_ms": 1710151200000,
        "price": 1.085
      },
      {
        "t_ms": 1710172800000,
        "price": 1.0862
      }
    ],
    "levels": "0, 25, 38.2, 50, 61.8, 75, 100"
  }
}

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. Gann, W. D. The Basis of My Forecasting Method (the geometric angles course). 1935.
  2. 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