TL New bn

From MultiCharts
Revision as of 13:25, 16 September 2013 by Roman MultiCharts (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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);