Tl lock

From MultiCharts
Jump to: navigation, search

Locks corresponding trendline drawing so it cannot be moved manually.

Usage

TL_Lock(TL_ID,true/false)

Parameters

TL_ID - a numerical expression specifying the trendline ID number.
true/false - locks or unlocks the drawing.

Example

Lock the trendline with an ID number of 3:

Value1 = TL_Lock(3,true);

Unlock the trendline with an ID number of 5:

Value1 = TL_Lock(5,false);