×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

RectangleGetAnchorToBars - MultiCharts
Open main menu

RectangleGetAnchorToBars

Revision as of 14:06, 19 August 2021 by Svetlana MultiCharts (talk | contribs) (Created page with "Returns the value of the "anchor to bar" option of the rectangle drawing with a specified ID. == Usage == <syntaxhighlight>RectangleGetAnchorToBars(ID)</syntaxhighlight> Wh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the value of the "anchor to bar" option of the rectangle drawing with a specified ID.

Usage

RectangleGetAnchorToBars(ID)

Where:

ID - a numerical expression specifying the rectangle ID number

Notes

A rectangle-specific ID number is returned by RectangleNew when the rectangle is created.

Example

Assign the "anchor to bars" option of the rectangle drawing with an ID number of 3 to the Condition1 variable:

Condition1=RectangleGetAnchorToBars(3);