+1 888 340 6572

Arw SetLocation BN

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

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