×

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.

RectangleDelete - MultiCharts
Open main menu

Removes a rectangle with the specified ID number from a chart; returns a value of 0 if the rectangle was successfully removed, and a value of -2 if the specified rectangle ID number is invalid.

Usage

RectangleDelete(TL_ID)

Where:

TL_ID - a numerical expression specifying the rectangle ID number

Notes

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

Example

Remove the rectangle with an ID number of 4:

Value1=RectangleDelete(4);