Arw Anchor to Bars

From MultiCharts
Jump to: navigation, search

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.




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


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


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

Value1=Arw_Anchor_to_Bars(5, true);