1,501
edits
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
|||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the trendline ID number of the oldest (the first to be drawn on the current chart) trendline of the specified origin; returns a value of -2 if the specified trendline ID number is invalid. | Returns a numerical value, indicating the trendline ID number of the oldest (the first to be drawn on the current chart) trendline of the specified origin; returns a value of -2 if the specified trendline ID number is invalid. | ||
==== Usage ==== | |||
<syntaxhighlight>TL_GetFirst (Origin)</syntaxhighlight> | |||
==== Parameters ==== | |||
[[Origin]] - a numerical expression specifying the origin of the trendline: | |||
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 | |||
==== Notes ==== | ==== Notes ==== | ||
If the oldest (the first to be drawn) trendline is deleted, the next oldest (the second to be drawn) trendline becomes the oldest (the first drawn) trendline. | If the oldest (the first to be drawn) trendline is deleted, the next oldest (the second to be drawn) trendline becomes the oldest (the first drawn) trendline. |