+1 888 340 6572

TL SetExtLeft

From MultiCharts

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);