RectangleGetEnd BN

From MultiCharts
Revision as of 14:42, 20 August 2021 by Svetlana MultiCharts (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns a bar number value of the ending point of a rectangle with the specified ID number; returns a value of -2 if the specified rectangle ID number is invalid.

Usage

RectangleGetEnd_BN(ID)

Where:

ID - numerical expression specifying the rectangle ID number

Notes

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

Example

RectangleGetEnd_BN(value1);

will return 8 if rectangle with ID = Value1 ends on eighth bar of price series.