TL SetSize

From MultiCharts
Jump to navigation Jump to search

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);