×

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

Changes

Jump to navigation Jump to search

TL New bn

946 bytes added, 13:25, 16 September 2013
Created page with "Displays a trendline, with the specified starting and ending points, on the chart that the study is based on; returns a trendline-specific ID number, required to modify the tr..."
Displays a trendline, with the specified starting and ending points, on the chart that the study is based on; returns a trendline-specific ID number, required to modify the trendline.

===Usage===
<syntaxhighlight>
tl_new_bn(sBarNumber, sValue, eBarNumber, eValue);
</syntaxhighlight>

===Parameters===
* sBarNumber - a numerical expression specifying the trendline starting bar number;
* sValue - a numerical expression specifying the trendline starting point price value (vertical position, corresponding to a value on the price scale of a chart);
* eBarNumber - a numerical expression specifying the trendline ending bar number;
* eValue - a numerical expression specifying the trendline ending point price value;

===Example===
Display a trendline that begins at the bar number 100, price = 1700 and ends at the bar number 200, price 1750:
<syntaxhighlight>
tl_new_bn(100, 1700, 200, 1750);
</syntaxhighlight>

[[Category: Trendline Drawing]]

Navigation menu