TL GetExtRight

From MultiCharts
Jump to navigation Jump to search

Returns a logical value, indicating whether the trendline with the specified ID number is extended to the right; returns a value of True if the trendline is extended, and a value of False if the trendline is not extended or if the specified trendline ID number is invalid.

Usage

TL_GetExtRight(TL_ID)

Where: TL_ID - a numerical expression specifying the trendline ID number

Notes

A trendline-specific ID number is returned by TL_New when the trendline is created.

Example

Assign a true/false value, indicating whether the trendline with an ID number of 3 is extended to the right, to ExtR variable:

Variable:ExtR(False); 
ExtR=TL_GetExtRight(3);