+1 888 340 6572

TL GetEnd bn

From MultiCharts

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

Usage

TL_GetEnd_bn(TL_ID);

Parameters

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

Example

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

Value1 = TL_GetEnd_bn(3);