×

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.

Changes - MultiCharts
Open main menu

Changes

TL SetSize

777 bytes added, 12:12, 26 January 2012
Created page with "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 t..."
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 ====
<syntaxhighlight>TL_SetSize(TL_ID,LineWidth)</syntaxhighlight>

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:

<syntaxhighlight>Value1=TL_SetSize(3,5);</syntaxhighlight>

[[Category:Trendline Drawing]]
Anonymous user