Skip to content
StatePath
Tool Atlasobject.shape

Tool

Shape Object

object.shape

OutputSink

Inputs

point_aBundle (untagged)

First anchor Point.

point_bBundle (untagged)

Second anchor Point.

point_cBundle (untagged)

Third anchor Point (three-anchor modes only).

Outputs

Bundle (untagged)

A chart-object sink — it draws on the terminal chart and outputs nothing. Nothing can be wired from it.

Shape Object draws a rectangle, triangle, or ellipse over the anchor points, optionally filled — zones, consolidation boxes, pattern outlines.

Shape Object overview diagram

How it works

Wire the anchor Points: two for a rectangle, three for a triangle or ellipse. The shape follows the anchors; enable fill for a solid figure. MetaTrader 4 has no native fill — a filled shape falls back to a solid draw-behind look.

Modes

Mode options

Rectanglerectangle

A rectangle spanned by two anchors.

Rectangle diagram
Triangletriangle

A triangle over three anchors.

Triangle diagram
Ellipseellipse

An ellipse over three anchors.

Ellipse 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

Configuration

modeenum

Shape family: rectangle (2 anchors), triangle or ellipse (3 anchors).

Choices:rectangletriangleellipse
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.

fillscalar

Fill the shape solid (MetaTrader 4 falls back to a draw-behind solid look).

Connects to

Reads from

See also