+1 888 340 6572

Arw Anchor to Bars: Difference between revisions

From MultiCharts
(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...")
 
No edit summary
 
Line 17: Line 17:
<syntaxhighlight>Value1=Arw_Anchor_to_Bars(5, true);</syntaxhighlight>  
<syntaxhighlight>Value1=Arw_Anchor_to_Bars(5, true);</syntaxhighlight>  
   
   
[[Category:Arrow Drawing]]
[[Category:ArrowDrawing]]

Latest revision as of 21:43, 27 February 2017

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

Arw_Anchor_to_Bars(ArrowID,LogicalExpression)

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:

Value1=Arw_Anchor_to_Bars(5, true);