Skip to content
StatePath
Tool Atlasobject.gann

Tool

Gann Object

object.gann

OutputSink

Inputs

point_aBundle (untagged)

First anchor Point (the pivot).

point_bBundle (untagged)

Second anchor Point (sets the unit ray).

Outputs

Bundle (untagged)

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.

Gann Object overview diagram

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

Gann Linegann_line

A single 1×1 trend ray from the pivot at the chosen scale.

Gann Line diagram
Gann Fangann_fan

The classic ray fan (1×8…8×1) from the pivot.

Gann Fan diagram
Gann Gridgann_grid

A repeating 45° grid built from the unit ray.

Gann Grid diagram

Placement options

Stampedstamped

One object per confirmed anchor, oldest removed beyond the cap.

Stamped diagram
Singlesingle

One object that follows the latest confirmed anchor.

Single diagram

Line style options

Solidsolid

An unbroken line.

Solid diagram
Dasheddash

A dashed line. Width above 1 forces solid — a platform rule.

Dashed diagram
Dotteddot

A dotted line. Width above 1 forces solid — a platform rule.

Dotted diagram
Dash-dotdashdot

Alternating dashes and dots. Width above 1 forces solid.

Dash-dot diagram
Dash-dot-dotdashdotdot

A dash followed by two dots. Width above 1 forces solid.

Dash-dot-dot diagram

Direction options

Uptrendup

Rays / grid rise from the pivot.

Uptrend diagram
Downtrenddown

Rays / grid fall from the pivot.

Downtrend diagram

Configuration

modeenum

Gann family: line (2 anchors + scale), fan (2 + scale + direction), grid (2 + scale + direction).

Choices:gann_linegann_fangann_grid
placementenum

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.

Choices:stampedsingle
max_objectsscalar

Stamped-placement cap: the oldest object is removed once more than this many are on the chart (FIFO).

colorscalar

Object color (#rrggbb).

widthscalar

Line / border / glyph width in pixels.

line_styleenum

Line pattern. The MQL platforms force solid when width > 1.

Choices:soliddashdotdashdotdashdotdot
scalescalar

Gann scale — price units per bar.

directionenum

Trend direction for the fan and grid.

Choices:updown

Connects to

Reads from

See also