Difference between revisions of "MC TL GetActive"
Jump to navigation
Jump to search
(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...") |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
trendline ID number of the currently selected trendline; returns a value of -1 if no trendlines are currently selected. | 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> | <syntaxhighlight>MC_TL_GetActive</syntaxhighlight> | ||
− | + | == Notes == | |
− | A trendline-specific ID number is assigned by [[MC_TL_New]] when the trendline is created. | + | * 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 | + | Assign a value, indicating the trendline ID number of the currently selected trendline, to the ''Value1'' variable: |
<syntaxhighlight>Value1 = MC_TL_GetActive;</syntaxhighlight> | <syntaxhighlight>Value1 = MC_TL_GetActive;</syntaxhighlight> | ||
+ | |||
+ | At this link, there is an base logic that shows how this command can allow MC to receive interactive user input. You can adapt it to your specific needs. http://www.multicharts.com/discussion/viewtopic.php?f=5&t=7764 | ||
[[Category:Trendline Drawing]] | [[Category:Trendline Drawing]] |
Latest revision as of 09:58, 12 August 2012
trendline ID number of the currently selected trendline; returns a value of -1 if no trendlines are currently selected.
Usage
MC_TL_GetActive
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 the Value1 variable:
Value1 = MC_TL_GetActive;
At this link, there is an base logic that shows how this command can allow MC to receive interactive user input. You can adapt it to your specific needs. http://www.multicharts.com/discussion/viewtopic.php?f=5&t=7764