TL GetValue bn

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

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