×

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 SetLocation BN - MultiCharts
Open main menu

Arw SetLocation BN

Revision as of 11:44, 2 October 2014 by BAV (talk | contribs) (Created page with "Modifies location of an arrow object with the specified ID number; returns a value of 0 if location of the object was successfully modified, and a value of -2 if the specified...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Modifies location of an arrow object with the specified ID number; returns a value of 0 if location of the object was successfully modified, and a value of -2 if the specified object ID number is invalid.

Contents

Usage

Arw_SetLocation_BN (ObjectID, BarNumber, PriceValue)

Parameters

ObjectID - a numerical expression specifying the object ID number.
BarNumber - a numerical expression specifying the bar number at which the object is to be placed.
PriceValue - a numerical expression specifying the price value (vertical position, corresponding to a value on the price scale of a chart), where the object should be placed.

Notes

  • An object-specific ID number is returned by Arw New DT when the arrow object is created.

Example

Move the arrow object with an ID number of 3 to the top of the current bar:

Value1=Arw_SetLocation_BN(3, currentbar,High);