TL GetBegin bn

From MultiCharts
Jump to navigation Jump to search

Returns a numerical value, indicating the bar number of the starting point of a trendline with the specified ID number. TL_GetBegin_bn returns a value of -2 if the specified trendline ID number is invalid.

Usage

TL_GetBegin_bn(TL_ID);

Parameters

  • TL_ID - a numerical expression specifying the trendline ID number.

Example

Assign a value, indicating the bar number of the starting point of a trendline with the ID number of 3, to the Value1 variable:

Value1 = TL_GetBegin_bn(3);