×

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

TL SetExtLeft

Revision as of 12:10, 26 January 2012 by 194.84.116.138 (talk) (Created page with "Adds or removes a left-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 left-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_SetExtLeft(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 left-side extension to the trendline with an ID number of 3:

Value1=TL_SetExtLeft(3,True);

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

Value1=TL_SetExtLeft(3,False);