×

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.

RectangleGetBegin BN - MultiCharts
Open main menu

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.