Difference between revisions of "TL GetNext"
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
||
Line 1: | Line 1: | ||
Returns an ID number of the first existing trendline drawn subsequent to a trendline with the specified ID number, with both trendlines of a specified origin; returns a value of -2 if the specified object ID number is invalid. | Returns an ID number of the first existing trendline drawn subsequent to a trendline with the specified ID number, with both trendlines of a specified origin; returns a value of -2 if the specified object ID number is invalid. | ||
− | + | ==== Usage ==== | |
+ | <syntaxhighlight>TL_GetNext (TL_ID,Origin)</syntaxhighlight> | ||
==== Parameters ==== | ==== Parameters ==== |
Latest revision as of 12:39, 13 February 2012
Returns an ID number of the first existing trendline drawn subsequent to a trendline with the specified ID number, with both trendlines of a specified origin; returns a value of -2 if the specified object ID number is invalid.
Usage
TL_GetNext (TL_ID,Origin)
Parameters
TL_ID - a numerical expression specifying the trendline ID number
Origin - a numerical expression specifying the origin of the trendlines:
1 - drawn by the current study
2 - drawn by a study other then the current study, or drawn manually by the user
3 - drawn by any study, or drawn manually by the user
4 - drawn by the current study, or drawn manually by the user
5 - drawn by a study other then the current study
6 - drawn by any study
7 - drawn manually by the user
Example
Assign a value to Value1 variable, indicating the ID number of the first existing trendline drawn subsequent to a trendline with the ID number of 3, with both trendlines drawn by the current study:
Value1=TL_GetNext(3,1);