×

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 GetEnd bn

596 bytes added, 13:28, 16 September 2013
Created page with "Returns a numerical value, indicating the bar number of the ending point of a trendline with the specified ID number. TL_GetEnd_bn returns a value of -2 if the specified trend..."
Returns a numerical value, indicating the bar number of the ending point of a trendline with the specified ID number.
TL_GetEnd_bn returns a value of -2 if the specified trendline ID number is invalid.

===Usage===
<syntaxhighlight>
TL_GetEnd_bn(TL_ID);
</syntaxhighlight>

===Parameters===
* TL_ID - a numerical expression specifying the trendline ID number.

===Example===
Assign a value, indicating the bar number of the ending point of a trendline with the ID number of 3, to the Value1 variable:
<syntaxhighlight>
Value1 = TL_GetEnd_bn(3);
</syntaxhighlight>

[[Category: Trendline Drawing]]