MC TL GetActive

From MultiCharts
Revision as of 16:45, 8 March 2012 by JoshM (talk | contribs)
Jump to navigation Jump to search

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;