×

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
Open main menu

Changes

MC TL GetActive

529 bytes added, 14:47, 25 January 2012
Created page with "trendline ID number of the currently selected trendline; returns a value of -1 if no trendlines are currently selected. ==== Usage ==== <syntaxhighlight>MC_TL_GetActive</syn..."
trendline ID number of the currently selected trendline; returns a value of -1 if no trendlines are currently selected.

==== Usage ====
<syntaxhighlight>MC_TL_GetActive</syntaxhighlight>

==== Notes ====
A trendline-specific ID number is assigned by [[MC_TL_New]] when the trendline is created.

==== Example ====
Assign a value, indicating the trendline ID number of the currently selected trendline, to [[Value1]] variable:

<syntaxhighlight>Value1 = MC_TL_GetActive;</syntaxhighlight>

[[Category:Trendline Drawing]]
Anonymous user