×

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.

Arw Anchor to Bars - MultiCharts
Open main menu

Arw Anchor to Bars

Revision as of 21:43, 27 February 2017 by Angelina (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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