×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

TL SetEnd bn

1,088 bytes added, 13:32, 16 September 2013
Created page with "Modifies the ending point location of a trendline with the specified ID number; returns a value of 0 if the ending point location was successfully modified, and a value of -2 ..."
Modifies the ending point location of a trendline with the specified ID number; returns a value of 0 if the ending point location was successfully modified, and a value of -2 if the specified trendline ID number is invalid.
Of the two end points of a trendline, the point with the later date and time is always considered to be the ending point; if the trendline is vertical, the point with the higher price value is considered to be the ending point.

===Usage===
<syntaxhighlight>
TL_SetEnd_bn(tl_id, barNumber, value);
</syntaxhighlight>

===Parameters===
* TL_ID - a numerical expression specifying the trendline ID number.
* barNumber – a numerical expression specifying number of the ending bar
* value - a numerical expression specifying the new starting point price value (vertical position, corresponding to a value on the price scale of a chart).

===Example===
Move the ending point of the trendline with an ID number of 2 bar number 200 with a price value of 1400:
<syntaxhighlight>
Value1 = TL_SetBegin_bn(2, 200, 1400);
</syntaxhighlight>

[[Category: Trendline Drawing]]

Navigation menu