+1 888 340 6572

Tl lock: Difference between revisions

From MultiCharts
(Created page with "Locks corresponding trendline drawing so it cannot be moved manually. == Usage == <syntaxhighlight>TL_Lock(TL_ID,true/false)</syntaxhighlight> == Parameters == :'''TL_ID'...")
 
Line 13: Line 13:


<syntaxhighlight>Value1 = TL_Lock(3,true);</syntaxhighlight>
<syntaxhighlight>Value1 = TL_Lock(3,true);</syntaxhighlight>
Unlock the trendline with an ID number of 5:
<syntaxhighlight>Value1 = TL_Lock(5,true);</syntaxhighlight>


[[Category:Trendline Drawing]]
[[Category:Trendline Drawing]]

Revision as of 13:43, 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,true);