×

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

Changes

Jump to navigation Jump to search

TL SetStyle

61 bytes added, 15:25, 11 April 2019
Assigns the specified style to a trendline with the specified ID number; . TL_SetStyle returns a value of 0 if the trendline style was successfully assigned, and a value of -2 if the specified trendline ID number is invalid.
http:== Usage ==<syntaxhighlight>TL_SetStyle(TL_ID,TL_Style)<//www.buyxanaxonlinepill.com/ xanax buy - cheap xanax onlinesyntaxhighlight>
==== Parameters ==== [[:'''TL_ID]] ''' - a numerical expression specifying the trendline ID number .
[[:'''TL_Style]] ''' - a TL style constant or a numerical expression specifying the trendline style as follows:  ::{|
|Tool_Solid
|1
|Tool_Dashed
|2
|[[<nowiki>- - - - - - - - - - - - - - - - - - -]]</nowiki>
|-
|Tool_Dotted
|5
|___ _ _ ___ _ _ ___ _ _ ___
|-
|Tool_Invisible
|6
|
|}
 
== Notes ==
* A trendline specific ID number is returned by [[TL_New]] when the trendline is created.
==== Notes ==== A trendline-specific ID number is returned by [[TL_New]] when the trendline is created. ==== Example ====
Set the style of the trendline with an ID number of 3 to Tool Dashed:
<syntaxhighlight>Value1=TL_SetStyle(3, 2);</syntaxhighlight>
Set the style of the trendline with an ID number of 3 to Tool Dashed:
<syntaxhighlight>Value1=TL_SetStyle(3, Tool_Dashed);</syntaxhighlight>
[[Category:Trendline Drawing]]

Navigation menu