TL GetLock

From MultiCharts
Revision as of 23:37, 27 February 2017 by Angelina (talk | contribs) (Created page with "Locked trendline drawings cannot be moved manually. Keyword returns a value of True for locked drawings, and a value of False for unlocked. ==Usage== <syntaxhighlight>TL_Ge...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Locked trendline drawings cannot be moved manually. Keyword returns a value of True for locked drawings, and a value of False for unlocked.

Usage

TL_GetLock(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 Lock property of the trendline drawing with an ID number of 3 to Condition1 variable:

Condition1=TL_GetLock(3);