RectangleGetBegin BN

From MultiCharts
Revision as of 16:33, 19 August 2021 by Svetlana MultiCharts (talk | contribs) (Created page with "Returns a bar number value of the starting point of a rectangle with the specified ID number; returns a value of -2 if the specified rectangle ID number is invalid. == Usage...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage

RectangleGetBegin_BN(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

RectangleGetBegin_BN(value1);

will return 5 if rectangle with ID = Value1 starts on fifth bar of price series.