×

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 DT - MultiCharts
Open main menu

RectangleGetBegin DT

Revision as of 13:09, 20 August 2021 by Svetlana MultiCharts (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns a DateTime value, indicating the date and time 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_DT(ID)

Where:

ID - a numerical expression specifying the rectangle ID number

Notes

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

Example

RectangleGetBegin_DT(value1);

will return 41422.752623935186 if rectangle with ID = Value1 starts at 08:30:00.722 on 5/28/2013