TL_GetBeginDate (Reserved Word)
This reserved word returns the date of the starting point of the trendline. The start point is the one with the earlier date. If the trendline is vertical, the lower of the two points is considered to be the starting point.
Value1 = TL_GetBeginDate(Tl_ID)
Tl_ID is a numeric expression representing the ID number of the trendline whose start date you want to obtain.
Value1 is any numeric variable or array, and holds the date of the starting point. The date is returned using YYMMDD or YYYMMDD format (three digits are used to express the year 2000 and higher).
It is important to remember that if an invalid ID number is used, the reserved word will return a value of -2 and no additional operations will be performed on any trendlines by the trading strategy, analysis technique, or function that generated the error. For a list of error codes, see EasyLanguage Drawing Object Error Codes.
Example
The trendline referenced by Value99 begins on January 14, 1999. The following will return 990114:
Value1 = TL_GetBeginDate(Value99) ;