×

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
Open main menu

Changes

TL SetExtRight

918 bytes added, 12:11, 26 January 2012
Created page with "Adds or removes a right-side extension for a trendline with the specified ID number; returns a value of 0 if the operation was performed successfully, and a value of -2 if the..."
Adds or removes a right-side extension for a trendline with the specified ID number; returns a value of 0 if the operation was performed successfully, and a value of -2 if the specified trendline ID number is invalid.

==== Usage ====
<syntaxhighlight>TL_SetExtRight(TL_ID,LogicalExpression)</syntaxhighlight>

Where: [[TL_ID]] - a numerical expression specifying the trendline ID number

[[LogicalExpression]] - a logical value; True = Add and False = Remove

==== Notes ====
A trendline-specific ID number is returned by [[TL_New]] when the trendline is created.

==== Example ====
Add a right-side extension to the trendline with an ID number of 3:

<syntaxhighlight>Value1=TL_SetExtRight(3,True);</syntaxhighlight>

Remove a right-side extension from the trendline with an ID number of 3:

<syntaxhighlight>Value1=TL_SetExtRight(3,False);</syntaxhighlight>

[[Category:Trendline Drawing]]
Anonymous user