×

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 GetStyle

958 bytes added, 11:41, 26 January 2012
Created page with "Returns a numerical value, indicating the style of a trendline with the specified ID number; returns a value of -2 if the specified trendline ID number is invalid. ==== Usa..."
Returns a numerical value, indicating the style of a trendline with the specified ID number; returns a value of -2 if the specified trendline ID number is invalid.

==== Usage ====
<syntaxhighlight>TL_GetStyle(TL_ID)</syntaxhighlight>

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

==== Return ====
Trendline styles:
{|
|1
|Tool Solid
|______________________
|-
|2
|Tool Dashed
|[[- - - - - - - - - - - - - - - - - - -]]
|-
|3
|Tool Dotted
|............................................
|-
|4
|Tool Dashed2
|__ _ __ _ __ _ __ _ __ _ __
|-
|5
|Tool Dashed3
|___ _ _ ___ _ _ ___ _ _ ___
|}
==== Notes ====
A trendline-specific ID number is returned by [[TL_New]] when the trendline is created.

==== Example ====
Assign a value, indicating the style of a trendline with the ID number of 3, to Value1 variable:

<syntaxhighlight>Value1=TL_GetStyle(3);</syntaxhighlight>



[[Category:Trendline Drawing]]
Anonymous user