TL Get Anchor to Bars

From MultiCharts
Revision as of 16:18, 15 June 2017 by Angelina (talk | contribs) (Created page with "Returns the value of the "anchor to bar" option of the trendline drawing with a specified ID. ==Usage== <syntaxhighlight>TL_Get_Anchor_to_Bars(TL_ID)</syntaxhighlight> :'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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);