Tool
Gann Box
calc.gann_box
Inputs
The swing leg the box is built on — a zigzag bundle whose start and end pivots anchor the grid and set its size and direction.
Outputs
A bundle describing the Gann box — the anchored grid and its projected ratio levels over the leg, ready to read as support/resistance lines.
Gann Box overlays a grid of proportional price-and-time divisions across a chosen swing leg. The horizontal lines mark Gann ratio levels of the leg's range; together they map where price may find support, resistance, or turning points within the move.
How it works
You wire in one zigzag leg (its start and end anchor the box) and choose how many division ratios are active with ratio_count. Each active ratio_0 .. ratio_12 is a fraction of the leg — the node projects a horizontal level at that fraction of the leg's price range across the box. The ratios define the rows of the grid; the leg's two endpoints set its overall size and direction.
Modes
Configuration
How many division ratios are active, from 1 to 13. Only ratio_0 through ratio_(ratio_count−1) are projected as grid levels; the remaining ratio slots are ignored. More ratios make a denser grid with finer divisions.
The first division ratio — a fraction of the leg's range projected as a horizontal grid level (e.g. 0.25 marks the quarter level).
The second division ratio, active when ratio_count ≥ 2.
The third division ratio, active when ratio_count ≥ 3.
The fourth division ratio, active when ratio_count ≥ 4.
The fifth division ratio, active when ratio_count ≥ 5.
The sixth division ratio, active when ratio_count ≥ 6.
The seventh division ratio, active when ratio_count ≥ 7.
The eighth division ratio, active when ratio_count ≥ 8.
The ninth division ratio, active when ratio_count ≥ 9.
The tenth division ratio, active when ratio_count ≥ 10.
The eleventh division ratio, active when ratio_count ≥ 11.
The twelfth division ratio, active when ratio_count ≥ 12.
The thirteenth and last division ratio, active when ratio_count is 13 (the maximum).
Connects to
Examples
- Anchor a Gann box on the last major impulse leg with ratio_count 8 and treat the 0.5 and 0.618 grid lines as reaction levels for entries.
- Use a sparse box (ratio_count 4 with quarter ratios) on a clean trend leg to flag the quarter, half, and three-quarter retracement zones.
Common mistakes
- Setting ratio_count above the number of ratios you meaningfully filled, so trailing zero ratios pile up on the leg start and clutter the grid.
- Anchoring the box on a noisy or incomplete leg — the whole grid inherits a bad reference and its levels stop lining up with real reactions.