1,501
edits
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
|||
Line 1: | Line 1: | ||
Displays a trendline, with the specified starting and ending points, on the SubChart containing the study; returns a trendline-specific ID number, required to modify the trendline. | Displays a trendline, with the specified starting and ending points, on the SubChart containing the study; returns a trendline-specific ID number, required to modify the trendline. | ||
==== Usage ==== | |||
<syntaxhighlight>TL_New_s (sDate, sTime_s, sPriceValue, eDate, eTime_s, ePriceValue)</syntaxhighlight> | |||
==== Parameters ==== | |||
[[sDate]] - a numerical expression specifying the trendline starting point date; the date is indicated in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month | |||
[[sTime_s]] - a numerical expression specifying the trendline starting point time, including seconds; the time is indicated in the 24-hour HHmmss format, where 130000 = 1:00:00 PM | |||
[[sPriceValue]] - a numerical expression specifying the trendline starting point price value (vertical position, corresponding to a value on the price scale of a chart) | |||
[[eDate]] - a numerical expression specifying the trendline ending point date | |||
[[eTime_s]] - a numerical expression specifying the trendline ending point time, including seconds | |||
[[ePriceValue]] - a numerical expression specifying the trendline ending point price value | |||
==== Example ==== | ==== Example ==== | ||
Display a trendline, that begins at 9:00:00 AM at a price value of 1381, and ends at 3:00:00 PM at a | Display a trendline, that begins at 9:00:00 AM at a price value of 1381, and ends at 3:00:00 PM at a |