TL GetActive
From MultiCharts
This reserved word returns a numeric value representing the ID of the currently active trendline.
Usage
TL_GetActive
Notes
When the reserved word performs its operation successfully, trendline ID is returned.
When a reserved word cannot perform its operation, it returns an error code.
Example
Value1=TL_GetActive;
Assigns the ID of the currently active trendline to Value1.
Value1 is any numeric variable or array.
Trendline reserved word should be assigned to a numeric variable or array in order to determine whether the reserved word performed its operation successfully or not.