×

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.

TL New bn - MultiCharts
Open main menu

TL New bn

Revision as of 23:38, 27 February 2017 by Angelina (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

tl_new_bn(sBarNumber, sValue, eBarNumber, eValue);

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:

tl_new_bn(100, 1700, 200, 1750);