Gann line
Two anchors and a ray from the first through the second, continuing past the second to the plot's edge.
Geometrically that is the ray again; what makes it a Gann line is the name it is saved under and the fan and grid built on the same two-anchor scale, not a different stroke. The two anchors together define a scale - how much price per bar - called the 1x1.
01The tool, live
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
- 1Press on anchor 1
- 2Drag: a ghost of the whole tool follows the pointer
- 3Release on anchor 2
03What you see
A ray from one point through a second: the 1×1 alone, without the rest of the fan.
It shows what price that chosen scale reaches at later instants, the arithmetic of two anchors carried forward.
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.
05How it is placed
- Open the chart's Tools column and choose Fibonacci › Gann line.
- Press on the pivot, drag to the point that sets the scale, and release. A ghost of the whole tool follows the pointer while you drag.
- With the magnet on, an anchor dropped near a candle's open, high, low or close snaps to it.
Its anchors
- 1The pivot
- 2The point that sets the scale
Put the first anchor at the origin being worked from and the second wherever it makes the scale wanted.
06The geometry
s = (P₂ − P₁)/(b₂ − b₁), P(b) = P₁ + s (b − b₁), b ≥ b₁
Geometrically it is a ray. What makes it a Gann line is the scale it sets, which the fan and the grid are built on.
07Settings and defaults
08Readings — what traders look for
The balance line. Price above it from a low is read as ahead of time, below it as behind.
A chosen rate, such as ten points a bar, drawn from a turn to see whether the market keeps to it.
09What it does not tell you
A line at a rate you chose. The market does not know the rate.
10Limits and common misreadings
The scale is a decision, and the reading follows from it.
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 line.
- 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_line, 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_line",
"anchors": [
{
"t_ms": 1710151200000,
"price": 1.085
},
{
"t_ms": 1710172800000,
"price": 1.0862
}
]
}
}object_move moves its anchors, object_change its look, 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
- Gann, W. D. The Basis of My Forecasting Method (the geometric angles course). 1935.
Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed