Locked trendline drawings cannot be moved manually. Keyword returns a value of True for locked drawings, and a value of False for unlocked.
- TL_ID - a numerical expression specifying the trendline ID number
A trendline-specific ID number is returned by TL_New when the trendline is created.
Assign Lock property of the trendline drawing with an ID number of 3 to Condition1 variable: