RectangleGetAnchorToBars

From MultiCharts
Jump to navigation Jump to search

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);