Tool
Gann Object
object.gann
Inputs
First anchor Point (the pivot).
Second anchor Point (sets the unit ray).
Outputs
A chart-object sink — it draws on the terminal chart and outputs nothing. Nothing can be wired from it.
Gann Object draws a Gann study over two anchor points: a Gann line, fan, or grid, scaled in price units per bar.
How it works
Wire 'point_a' (the pivot) and 'point_b' (the unit ray). Scale sets price units per bar; the fan and grid also take a trend direction. Single placement follows the latest points.
Modes
Mode options
A single 1×1 trend ray from the pivot at the chosen scale.
The classic ray fan (1×8…8×1) from the pivot.
A repeating 45° grid built from the unit ray.
Placement options
One object per confirmed anchor, oldest removed beyond the cap.
One object that follows the latest confirmed anchor.
Line style options
An unbroken line.
A dashed line. Width above 1 forces solid — a platform rule.
A dotted line. Width above 1 forces solid — a platform rule.
Alternating dashes and dots. Width above 1 forces solid.
A dash followed by two dots. Width above 1 forces solid.
Direction options
Rays / grid rise from the pivot.
Rays / grid fall from the pivot.
Configuration
Gann family: line (2 anchors + scale), fan (2 + scale + direction), grid (2 + scale + direction).
How the object tracks the anchor stream: 'stamped' leaves one object per triggering bar (capped by max_objects); 'single' keeps one object moved in place.
Stamped-placement cap: the oldest object is removed once more than this many are on the chart (FIFO).
Object color (#rrggbb).
Line / border / glyph width in pixels.
Line pattern. The MQL platforms force solid when width > 1.
Gann scale — price units per bar.
Trend direction for the fan and grid.