749 bytes added,
13:33, 16 September 2013 Returns a price value, at the specified bar number, of a trendline with the specified ID number; returns a value of -2 if the specified trendline ID number is invalid.
If the trendline does not extend to the specified bar, a price value along the same slope as the trendline will be returned.
===Usage===
<syntaxhighlight>
TL_GetValue_bn(TL_ID, barnumber);
</syntaxhighlight>
===Paramteters===
* TL_ID - a numerical expression specifying the trendline ID number;
* Barnumber – a numerical expression specifying a number of a bar;
===Example===
Assign the price value at bar number 100 of a trendline with the ID number of 3 to Value1 variable:
<syntaxhighlight>
Value1=TL_GetValue_bn(3,100);
</syntaxhighlight>
[[Category: Trendline Drawing]]