+1 888 340 6572

TL GetValue bn

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

TL_GetValue_bn(TL_ID, barnumber);

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:

Value1=TL_GetValue_bn(3,100);