TL GetSize

From MultiCharts
Jump to navigation Jump to search

Returns a numerical value indicating the width of a trendline with the specified ID number; returns a value of -2 if the specified trendline ID number is invalid.

Usage

TL_GetSize(TL_ID)

Where: TL_ID - a numerical expression specifying the trendline ID number

Notes

A trendline-specific ID number is returned by TL_New when the trendline is created.

Example

Assign a value, indicating the width of a trendline with the ID number of 3, to Value1 variable:

Value1=TL_GetSize(3);