+1 888 340 6572

TL SetSize

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Assigns the specified width to a trendline with the specified ID number; returns a value of 0 if the line width was successfully assigned, and a value of -2 if the specified trendline ID number is invalid.

Usage

TL_SetSize(TL_ID,LineWidth)

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

LineWidth - a numerical expression specifying the trendline width; trendline width can range from 0 to 6

Notes

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

Example

Assign the width of 5 to the trendline with an ID number of 3:

Value1=TL_SetSize(3,5);