×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

TL GetActive

194 bytes added, 17:08, 8 March 2012
no edit summary
This reserved word returns a numeric value representing the ID of the currently active trendline.
==== Usage ====
<syntaxhighlight>TL_GetActive</syntaxhighlight>
==== Notes ==== * When the reserved word performs its operation successfully, trendline ID is returned.  * When a reserved word cannot perform its operation, it returns an error code.* TL_GetActive should be assigned to a [[Variable|numeric variable]] or [[Array|array]] in order to determine if the operation is performed successfully. In other words, if the returning value of TL_GetActive isn't saved, it's not possible to check whether or not the selection of the trendline succeeded.
==== Example ==== <syntaxhighlight>Value1=TL_GetActive;</syntaxhighlight>
Assigns the ID of the currently active trendline to the Value1variable. The variable to which the returning value is assigned can be a numeric variable or numeric array.
Value1 is any numeric variable or array.
 
Trendline reserved word should be assigned to a numeric variable or array in order to determine whether the reserved word performed its operation successfully or not.
[[Category:Trendline Drawing]]

Navigation menu