TL GetLock

From MultiCharts
Jump to: navigation, 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);