×

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.

TL SetExtRight - MultiCharts
Open main menu

TL SetExtRight

Revision as of 12:11, 26 January 2012 by 194.84.116.138 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

TL_SetExtRight(TL_ID,LogicalExpression)

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:

Value1=TL_SetExtRight(3,True);

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

Value1=TL_SetExtRight(3,False);