×

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

Arw Anchor to Bars

752 bytes added, 21:42, 27 February 2017
Created page with "Anchors the corresponding arrow drawing to the visible bar index; returns a value of 0 if the operation was performed successfully, and a value of -2 if the specified trendlin..."
Anchors the corresponding arrow drawing to the visible bar index; 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==
<syntaxhighlight>Arw_Anchor_to_Bars(ArrowID,LogicalExpression)</syntaxhighlight>

Where:
:'''ArrowID''' is a numerical expression specifying the arrow drawing ID number
:'''LogicalExpression''' is a logical value; True = add option and False = remove option

==Notes==
Arrow ID number is returned by Arw_New when the arrow drawing is created.

==Example==

Anchor the arrow drawing with an ID number of 5 to the visible bar index:

<syntaxhighlight>Value1=Arw_Anchor_to_Bars(5, true);</syntaxhighlight>

[[Category:Arrow Drawing]]