RectangleGetBegin BN
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.