TL Get Anchor to Bars

From MultiCharts
Jump to: navigation, search

Returns the value of the "anchor to bar" option of the trendline drawing with a specified ID.

Usage

TL_Get_Anchor_to_Bars(TL_ID)
Where: TL_ID is 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 the "anchor to bars" option of the trendline drawing with an ID number of 3 to the Condition1 variable:

Condition1=TL_Get_Anchor_to_Bars(3);