Difference between revisions of "Tl lock"

From MultiCharts
Jump to navigation Jump to search
 
Line 16: Line 16:
 
Unlock the trendline with an ID number of 5:  
 
Unlock the trendline with an ID number of 5:  
  
<syntaxhighlight>Value1 = TL_Lock(5,true);</syntaxhighlight>
+
<syntaxhighlight>Value1 = TL_Lock(5,false);</syntaxhighlight>
  
 
[[Category:Trendline Drawing]]
 
[[Category:Trendline Drawing]]

Latest revision as of 13:51, 8 May 2013

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);